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

#include "sipAPInepomuk.h"

#line 37 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/nepomuk/kratingwidget.sip"
#include <nepomuk/kratingwidget.h>
#line 12 "sipnepomukpart4.cpp"

#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 16 "sipnepomukpart4.cpp"
#line 374 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 19 "sipnepomukpart4.cpp"
#line 345 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 22 "sipnepomukpart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 25 "sipnepomukpart4.cpp"
#line 184 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 28 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 31 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 34 "sipnepomukpart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 37 "sipnepomukpart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 40 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 43 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 46 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 49 "sipnepomukpart4.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qframe.sip"
#include <qframe.h>
#line 52 "sipnepomukpart4.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 55 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 58 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 61 "sipnepomukpart4.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 64 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 67 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 70 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 73 "sipnepomukpart4.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 76 "sipnepomukpart4.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 79 "sipnepomukpart4.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 82 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 85 "sipnepomukpart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 88 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 91 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 94 "sipnepomukpart4.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 99 "sipnepomukpart4.cpp"
#line 424 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 102 "sipnepomukpart4.cpp"
#line 412 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 105 "sipnepomukpart4.cpp"
#line 508 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 108 "sipnepomukpart4.cpp"
#line 562 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 111 "sipnepomukpart4.cpp"
#line 533 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 114 "sipnepomukpart4.cpp"
#line 550 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 117 "sipnepomukpart4.cpp"
#line 618 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 120 "sipnepomukpart4.cpp"
#line 247 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 123 "sipnepomukpart4.cpp"
#line 436 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 126 "sipnepomukpart4.cpp"
#line 388 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 129 "sipnepomukpart4.cpp"
#line 360 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 132 "sipnepomukpart4.cpp"
#line 325 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 135 "sipnepomukpart4.cpp"
#line 296 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 138 "sipnepomukpart4.cpp"
#line 225 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 141 "sipnepomukpart4.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 144 "sipnepomukpart4.cpp"
#line 74 "/usr/local/share/py-sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 147 "sipnepomukpart4.cpp"
#line 47 "/usr/local/share/py-sip/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 150 "sipnepomukpart4.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 211 "sipnepomukpart4.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 214 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 217 "sipnepomukpart4.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 220 "sipnepomukpart4.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 223 "sipnepomukpart4.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 228 "sipnepomukpart4.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 231 "sipnepomukpart4.cpp"
#line 99 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 234 "sipnepomukpart4.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 237 "sipnepomukpart4.cpp"
#line 165 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 240 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 243 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qdockwidget.sip"
#include <qdockwidget.h>
#line 246 "sipnepomukpart4.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 249 "sipnepomukpart4.cpp"
#line 334 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 252 "sipnepomukpart4.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 257 "sipnepomukpart4.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qprinterinfo.h>
#line 260 "sipnepomukpart4.cpp"
#line 202 "/usr/local/share/py-sip/QtGui/qstandarditemmodel.sip"
#include <qstandarditemmodel.h>
#line 263 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 266 "sipnepomukpart4.cpp"
#line 66 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 269 "sipnepomukpart4.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 274 "sipnepomukpart4.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 279 "sipnepomukpart4.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 284 "sipnepomukpart4.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 289 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 292 "sipnepomukpart4.cpp"
#line 75 "/usr/local/share/py-sip/QtGui/qundostack.sip"
#include <qundostack.h>
#line 295 "sipnepomukpart4.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 298 "sipnepomukpart4.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qprinter.sip"
#include <qprinter.h>
#line 301 "sipnepomukpart4.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#line 304 "sipnepomukpart4.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qlayout.sip"
#include <qlayout.h>
#line 307 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 310 "sipnepomukpart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 313 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 316 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 319 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 322 "sipnepomukpart4.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 325 "sipnepomukpart4.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 328 "sipnepomukpart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 331 "sipnepomukpart4.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 362 "sipnepomukpart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 365 "sipnepomukpart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 368 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 371 "sipnepomukpart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 374 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 377 "sipnepomukpart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 380 "sipnepomukpart4.cpp"


class sipKRatingWidget : public KRatingWidget
{
public:
    sipKRatingWidget(QWidget *);
    virtual ~sipKRatingWidget();

    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.
     */
    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_mouseReleaseEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent *);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent *);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent *);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent *);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent *);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent *);
    void sipProtectVirt_enterEvent(bool,QEvent *);
    void sipProtectVirt_moveEvent(bool,QMoveEvent *);
    void sipProtectVirt_closeEvent(bool,QCloseEvent *);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent *);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent *);
    void sipProtectVirt_actionEvent(bool,QActionEvent *);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent *);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent *);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent *);
    void sipProtectVirt_dropEvent(bool,QDropEvent *);
    void sipProtectVirt_showEvent(bool,QShowEvent *);
    void sipProtectVirt_hideEvent(bool,QHideEvent *);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent *);
    void sipProtect_resetInputContext();
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    void sipProtectVirt_enabledChange(bool,bool);
    void sipProtectVirt_paletteChange(bool,const QPalette&);
    void sipProtectVirt_fontChange(bool,const QFont&);
    void sipProtectVirt_windowActivationChange(bool,bool);
    void sipProtectVirt_languageChange(bool);
    bool sipProtectVirt_event(bool,QEvent *);
    void sipProtectVirt_changeEvent(bool,QEvent *);
    void sipProtect_drawFrame(QPainter *);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent *);
    void sipProtectVirt_leaveEvent(bool,QEvent *);
    void sipProtectVirt_paintEvent(bool,QPaintEvent *);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent *);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QSize sizeHint() const;
    bool event(QEvent *);
    void paintEvent(QPaintEvent *);
    void changeEvent(QEvent *);
    int devType() const;
    void setVisible(bool);
    QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    QPaintEngine * paintEngine() const;
    void mousePressEvent(QMouseEvent *);
    void mouseReleaseEvent(QMouseEvent *);
    void mouseDoubleClickEvent(QMouseEvent *);
    void mouseMoveEvent(QMouseEvent *);
    void wheelEvent(QWheelEvent *);
    void keyPressEvent(QKeyEvent *);
    void keyReleaseEvent(QKeyEvent *);
    void focusInEvent(QFocusEvent *);
    void focusOutEvent(QFocusEvent *);
    void enterEvent(QEvent *);
    void leaveEvent(QEvent *);
    void moveEvent(QMoveEvent *);
    void resizeEvent(QResizeEvent *);
    void closeEvent(QCloseEvent *);
    void contextMenuEvent(QContextMenuEvent *);
    void tabletEvent(QTabletEvent *);
    void actionEvent(QActionEvent *);
    void dragEnterEvent(QDragEnterEvent *);
    void dragMoveEvent(QDragMoveEvent *);
    void dragLeaveEvent(QDragLeaveEvent *);
    void dropEvent(QDropEvent *);
    void showEvent(QShowEvent *);
    void hideEvent(QHideEvent *);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void inputMethodEvent(QInputMethodEvent *);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    void enabledChange(bool);
    void paletteChange(const QPalette&);
    void fontChange(const QFont&);
    void windowActivationChange(bool);
    void languageChange();
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[47];
};

sipKRatingWidget::sipKRatingWidget(QWidget *a0): KRatingWidget(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKRatingWidget::metaObject() const
{
    return sip_nepomuk_qt_metaobject(sipPySelf,sipType_KRatingWidget);
}

int sipKRatingWidget::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KRatingWidget::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_nepomuk_qt_metacall(sipPySelf,sipType_KRatingWidget,_c,_id,_a);

    return _id;
}

void *sipKRatingWidget::qt_metacast(const char *_clname)
{
    return (sip_nepomuk_qt_metacast && sip_nepomuk_qt_metacast(sipPySelf,sipType_KRatingWidget,_clname)) ? this : KRatingWidget::qt_metacast(_clname);
}

QSize sipKRatingWidget::sizeHint() const
{
    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KRatingWidget::sizeHint();

    return ((sipVH_QtGui_4)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[4]))(sipGILState,meth);
}

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKRatingWidget::paintEvent(QPaintEvent *a0)
{
    typedef void (*sipVH_QtGui_3)(sip_gilstate_t,PyObject *,QPaintEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_paintEvent);

    if (!meth)
    {
        KRatingWidget::paintEvent(a0);
        return;
    }

    ((sipVH_QtGui_3)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[3]))(sipGILState,meth,a0);
}

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

int sipKRatingWidget::devType() const
{
    typedef int (*sipVH_QtCore_8)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::devType();

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

void sipKRatingWidget::setVisible(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_setVisible);

    if (!meth)
    {
        QWidget::setVisible(a0);
        return;
    }

    ((sipVH_QtGui_7)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[7]))(sipGILState,meth,a0);
}

QSize sipKRatingWidget::minimumSizeHint() const
{
    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::minimumSizeHint();

    return ((sipVH_QtGui_4)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[4]))(sipGILState,meth);
}

int sipKRatingWidget::heightForWidth(int a0) const
{
    typedef int (*sipVH_QtGui_29)(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::heightForWidth(a0);

    return ((sipVH_QtGui_29)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[29]))(sipGILState,meth,a0);
}

QPaintEngine * sipKRatingWidget::paintEngine() const
{
    typedef QPaintEngine * (*sipVH_QtGui_28)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::paintEngine();

    return ((sipVH_QtGui_28)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[28]))(sipGILState,meth);
}

void sipKRatingWidget::mousePressEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtGui_27)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipKRatingWidget::mouseReleaseEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtGui_27)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipKRatingWidget::mouseDoubleClickEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtGui_27)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipKRatingWidget::mouseMoveEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtGui_27)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipKRatingWidget::wheelEvent(QWheelEvent *a0)
{
    typedef void (*sipVH_QtGui_5)(sip_gilstate_t,PyObject *,QWheelEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtGui_5)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[5]))(sipGILState,meth,a0);
}

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKRatingWidget::enterEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QWidget::enterEvent(a0);
        return;
    }

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

void sipKRatingWidget::leaveEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KRatingWidget::leaveEvent(a0);
        return;
    }

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

void sipKRatingWidget::moveEvent(QMoveEvent *a0)
{
    typedef void (*sipVH_QtGui_24)(sip_gilstate_t,PyObject *,QMoveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtGui_24)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[24]))(sipGILState,meth,a0);
}

void sipKRatingWidget::resizeEvent(QResizeEvent *a0)
{
    typedef void (*sipVH_QtGui_2)(sip_gilstate_t,PyObject *,QResizeEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtGui_2)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[2]))(sipGILState,meth,a0);
}

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKRatingWidget::contextMenuEvent(QContextMenuEvent *a0)
{
    typedef void (*sipVH_QtGui_22)(sip_gilstate_t,PyObject *,QContextMenuEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtGui_22)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[22]))(sipGILState,meth,a0);
}

void sipKRatingWidget::tabletEvent(QTabletEvent *a0)
{
    typedef void (*sipVH_QtGui_21)(sip_gilstate_t,PyObject *,QTabletEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QWidget::tabletEvent(a0);
        return;
    }

    ((sipVH_QtGui_21)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[21]))(sipGILState,meth,a0);
}

void sipKRatingWidget::actionEvent(QActionEvent *a0)
{
    typedef void (*sipVH_QtGui_20)(sip_gilstate_t,PyObject *,QActionEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QWidget::actionEvent(a0);
        return;
    }

    ((sipVH_QtGui_20)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKRatingWidget::dragEnterEvent(QDragEnterEvent *a0)
{
    typedef void (*sipVH_QtGui_19)(sip_gilstate_t,PyObject *,QDragEnterEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtGui_19)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKRatingWidget::dragMoveEvent(QDragMoveEvent *a0)
{
    typedef void (*sipVH_QtGui_18)(sip_gilstate_t,PyObject *,QDragMoveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtGui_18)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKRatingWidget::dragLeaveEvent(QDragLeaveEvent *a0)
{
    typedef void (*sipVH_QtGui_17)(sip_gilstate_t,PyObject *,QDragLeaveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtGui_17)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipKRatingWidget::dropEvent(QDropEvent *a0)
{
    typedef void (*sipVH_QtGui_16)(sip_gilstate_t,PyObject *,QDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtGui_16)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[16]))(sipGILState,meth,a0);
}

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

int sipKRatingWidget::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    typedef int (*sipVH_QtGui_15)(sip_gilstate_t,PyObject *,QPaintDevice::PaintDeviceMetric);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::metric(a0);

    return ((sipVH_QtGui_15)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[15]))(sipGILState,meth,a0);
}

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

QVariant sipKRatingWidget::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[34]),sipPySelf,NULL,sipName_inputMethodQuery);

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKRatingWidget::enabledChange(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QWidget::enabledChange(a0);
        return;
    }

    ((sipVH_QtGui_7)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[7]))(sipGILState,meth,a0);
}

void sipKRatingWidget::paletteChange(const QPalette& a0)
{
    typedef void (*sipVH_QtGui_11)(sip_gilstate_t,PyObject *,const QPalette&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QWidget::paletteChange(a0);
        return;
    }

    ((sipVH_QtGui_11)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[11]))(sipGILState,meth,a0);
}

void sipKRatingWidget::fontChange(const QFont& a0)
{
    typedef void (*sipVH_QtGui_10)(sip_gilstate_t,PyObject *,const QFont&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QWidget::fontChange(a0);
        return;
    }

    ((sipVH_QtGui_10)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[10]))(sipGILState,meth,a0);
}

void sipKRatingWidget::windowActivationChange(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_windowActivationChange);

    if (!meth)
    {
        QWidget::windowActivationChange(a0);
        return;
    }

    ((sipVH_QtGui_7)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[7]))(sipGILState,meth,a0);
}

void sipKRatingWidget::languageChange()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_languageChange);

    if (!meth)
    {
        QWidget::languageChange();
        return;
    }

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

bool sipKRatingWidget::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[41],sipPySelf,NULL,sipName_eventFilter);

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKRatingWidget::customEvent(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_customEvent);

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

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

void sipKRatingWidget::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[45],sipPySelf,NULL,sipName_connectNotify);

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

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

void sipKRatingWidget::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[46],sipPySelf,NULL,sipName_disconnectNotify);

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

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

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

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

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

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

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

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

void sipKRatingWidget::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipKRatingWidget::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipKRatingWidget::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent *a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipKRatingWidget::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QWidget::keyPressEvent(a0) : keyPressEvent(a0));
}

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

void sipKRatingWidget::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

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

void sipKRatingWidget::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipKRatingWidget::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent *a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

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

void sipKRatingWidget::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent *a0)
{
    (sipSelfWasArg ? QWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipKRatingWidget::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent *a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipKRatingWidget::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent *a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipKRatingWidget::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipKRatingWidget::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipKRatingWidget::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipKRatingWidget::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent *a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

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

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

int sipKRatingWidget::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

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

void sipKRatingWidget::sipProtect_resetInputContext()
{
    QWidget::resetInputContext();
}

void sipKRatingWidget::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipKRatingWidget::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipKRatingWidget::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipKRatingWidget::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipKRatingWidget::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipKRatingWidget::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

void sipKRatingWidget::sipProtectVirt_enabledChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::enabledChange(a0) : enabledChange(a0));
}

void sipKRatingWidget::sipProtectVirt_paletteChange(bool sipSelfWasArg,const QPalette& a0)
{
    (sipSelfWasArg ? QWidget::paletteChange(a0) : paletteChange(a0));
}

void sipKRatingWidget::sipProtectVirt_fontChange(bool sipSelfWasArg,const QFont& a0)
{
    (sipSelfWasArg ? QWidget::fontChange(a0) : fontChange(a0));
}

void sipKRatingWidget::sipProtectVirt_windowActivationChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::windowActivationChange(a0) : windowActivationChange(a0));
}

void sipKRatingWidget::sipProtectVirt_languageChange(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QWidget::languageChange() : languageChange());
}

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

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

void sipKRatingWidget::sipProtect_drawFrame(QPainter *a0)
{
    QFrame::drawFrame(a0);
}

void sipKRatingWidget::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? KRatingWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipKRatingWidget::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? KRatingWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipKRatingWidget::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? KRatingWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipKRatingWidget::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent *a0)
{
    (sipSelfWasArg ? KRatingWidget::paintEvent(a0) : paintEvent(a0));
}

void sipKRatingWidget::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent *a0)
{
    (sipSelfWasArg ? KRatingWidget::resizeEvent(a0) : resizeEvent(a0));
}


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

    {
        char * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KRatingWidget,&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 1615 "sipnepomukpart4.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KRatingWidget,&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_KRatingWidget,sipName_timerEvent);

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KRatingWidget,&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_KRatingWidget,sipName_childEvent);

    return NULL;
}


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

    {
        QEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KRatingWidget,&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_KRatingWidget,sipName_customEvent);

    return NULL;
}


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

    {
        char * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KRatingWidget,&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_KRatingWidget,sipName_connectNotify);

    return NULL;
}


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

    {
        char * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KRatingWidget,&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_KRatingWidget,sipName_disconnectNotify);

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KRatingWidget,&sipCpp,sipType_QMouseEvent,&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_KRatingWidget,sipName_mouseReleaseEvent);

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KRatingWidget,&sipCpp,sipType_QMouseEvent,&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_KRatingWidget,sipName_mouseDoubleClickEvent);

    return NULL;
}


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

    {
        QWheelEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KRatingWidget,&sipCpp,sipType_QWheelEvent,&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_KRatingWidget,sipName_wheelEvent);

    return NULL;
}


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

    {
        QKeyEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KRatingWidget,&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_KRatingWidget,sipName_keyPressEvent);

    return NULL;
}


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

    {
        QKeyEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KRatingWidget,&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_KRatingWidget,sipName_keyReleaseEvent);

    return NULL;
}


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

    {
        QFocusEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KRatingWidget,&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_KRatingWidget,sipName_focusInEvent);

    return NULL;
}


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

    {
        QFocusEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KRatingWidget,&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_KRatingWidget,sipName_focusOutEvent);

    return NULL;
}


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

    {
        QEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KRatingWidget,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_enterEvent(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_KRatingWidget,sipName_enterEvent);

    return NULL;
}


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

    {
        QMoveEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KRatingWidget,&sipCpp,sipType_QMoveEvent,&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_KRatingWidget,sipName_moveEvent);

    return NULL;
}


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

    {
        QCloseEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KRatingWidget,&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_KRatingWidget,sipName_closeEvent);

    return NULL;
}


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

    {
        QContextMenuEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KRatingWidget,&sipCpp,sipType_QContextMenuEvent,&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_KRatingWidget,sipName_contextMenuEvent);

    return NULL;
}


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

    {
        QTabletEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KRatingWidget,&sipCpp,sipType_QTabletEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_tabletEvent(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_KRatingWidget,sipName_tabletEvent);

    return NULL;
}


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

    {
        QActionEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KRatingWidget,&sipCpp,sipType_QActionEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_actionEvent(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_KRatingWidget,sipName_actionEvent);

    return NULL;
}


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

    {
        QDragEnterEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KRatingWidget,&sipCpp,sipType_QDragEnterEvent,&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_KRatingWidget,sipName_dragEnterEvent);

    return NULL;
}


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

    {
        QDragMoveEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KRatingWidget,&sipCpp,sipType_QDragMoveEvent,&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_KRatingWidget,sipName_dragMoveEvent);

    return NULL;
}


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

    {
        QDragLeaveEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KRatingWidget,&sipCpp,sipType_QDragLeaveEvent,&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_KRatingWidget,sipName_dragLeaveEvent);

    return NULL;
}


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

    {
        QDropEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KRatingWidget,&sipCpp,sipType_QDropEvent,&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_KRatingWidget,sipName_dropEvent);

    return NULL;
}


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

    {
        QShowEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KRatingWidget,&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_KRatingWidget,sipName_showEvent);

    return NULL;
}


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

    {
        QHideEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KRatingWidget,&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_KRatingWidget,sipName_hideEvent);

    return NULL;
}


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

    {
        QPaintDevice::PaintDeviceMetric a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pE",&sipSelf,sipType_KRatingWidget,&sipCpp,sipType_QPaintDevice_PaintDeviceMetric,&a0))
        {
            int sipRes;

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

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QInputMethodEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KRatingWidget,&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_KRatingWidget,sipName_inputMethodEvent);

    return NULL;
}


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

    {
        sipKRatingWidget *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipKRatingWidget *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        WId a0 = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p|mbb",&sipSelf,sipType_KRatingWidget,&sipCpp,&a0,&a1,&a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_create(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_KRatingWidget,sipName_create);

    return NULL;
}


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

    {
        bool a0 = 1;
        bool a1 = 1;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p|bb",&sipSelf,sipType_KRatingWidget,&sipCpp,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_destroy(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_KRatingWidget,sipName_destroy);

    return NULL;
}


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

    {
        bool a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KRatingWidget,&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_KRatingWidget,sipName_focusNextPrevChild);

    return NULL;
}


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

    {
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KRatingWidget,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_focusNextChild();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KRatingWidget,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_focusPreviousChild();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KRatingWidget,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_enabledChange(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_KRatingWidget,sipName_enabledChange);

    return NULL;
}


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

    {
        const QPalette * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KRatingWidget,&sipCpp,sipType_QPalette,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paletteChange(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_KRatingWidget,sipName_paletteChange);

    return NULL;
}


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

    {
        const QFont * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KRatingWidget,&sipCpp,sipType_QFont,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_fontChange(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_KRatingWidget,sipName_fontChange);

    return NULL;
}


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

    {
        bool a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KRatingWidget,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_windowActivationChange(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_KRatingWidget,sipName_windowActivationChange);

    return NULL;
}


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

    {
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KRatingWidget,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_languageChange(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_KRatingWidget,sipName_languageChange);

    return NULL;
}


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

    {
        QEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KRatingWidget,&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_KRatingWidget,sipName_event);

    return NULL;
}


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

    {
        QEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KRatingWidget,&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_KRatingWidget,sipName_changeEvent);

    return NULL;
}


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

    {
        QPainter * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KRatingWidget,&sipCpp,sipType_QPainter,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_drawFrame(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KRatingWidget,&sipCpp))
        {
            unsigned sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->rating();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KRatingWidget,&sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->maxRating();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KRatingWidget,&sipCpp))
        {
            Qt::Alignment *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::Alignment(sipCpp->alignment());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KRatingWidget,&sipCpp))
        {
            Qt::LayoutDirection sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->layoutDirection();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Qt_LayoutDirection);
        }
    }

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

    return NULL;
}


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

    {
        KRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KRatingWidget,&sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->spacing();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KRatingWidget *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize((sipSelfWasArg ? sipCpp->KRatingWidget::sizeHint() : sipCpp->sizeHint()));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KRatingWidget *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->halfStepsEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KRatingWidget,&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_KRatingWidget,sipName_icon);

    return NULL;
}


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

    {
        int a0;
        KRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bi",&sipSelf,sipType_KRatingWidget,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setRating(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        KRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bi",&sipSelf,sipType_KRatingWidget,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMaxRating(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        KRatingWidget *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        KRatingWidget *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        KRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bi",&sipSelf,sipType_KRatingWidget,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSpacing(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Qt::Alignment * a0;
        int a0State = 0;
        KRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KRatingWidget,&sipCpp,sipType_Qt_Alignment,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAlignment(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_Qt_Alignment,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Qt::LayoutDirection a0;
        KRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BE",&sipSelf,sipType_KRatingWidget,&sipCpp,sipType_Qt_LayoutDirection,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLayoutDirection(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QIcon * a0;
        KRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KRatingWidget,&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_KRatingWidget,sipName_setIcon);

    return NULL;
}


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

    {
        const QPixmap * a0;
        KRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KRatingWidget,&sipCpp,sipType_QPixmap,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCustomPixmap(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QPixmap * a0;
        KRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KRatingWidget,&sipCpp,sipType_QPixmap,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPixmap(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        KRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bi",&sipSelf,sipType_KRatingWidget,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPixmapSize(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KRatingWidget,&sipCpp,sipType_QMouseEvent,&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_KRatingWidget,sipName_mousePressEvent);

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KRatingWidget,&sipCpp,sipType_QMouseEvent,&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_KRatingWidget,sipName_mouseMoveEvent);

    return NULL;
}


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

    {
        QEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KRatingWidget,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_leaveEvent(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_KRatingWidget,sipName_leaveEvent);

    return NULL;
}


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

    {
        QPaintEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KRatingWidget,&sipCpp,sipType_QPaintEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paintEvent(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_KRatingWidget,sipName_paintEvent);

    return NULL;
}


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

    {
        QResizeEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KRatingWidget,&sipCpp,sipType_QResizeEvent,&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_KRatingWidget,sipName_resizeEvent);

    return NULL;
}


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

    if (targetType == sipType_KRatingWidget)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QFrame)->ctd_cast((QFrame *)(KRatingWidget *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKRatingWidget *>(sipCppV);
    else
        delete reinterpret_cast<KRatingWidget *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

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

        if (sipParseArgs(sipArgsParsed,sipArgs,"|JH",sipType_QWidget,&a0,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKRatingWidget(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


static PyMethodDef methods_KRatingWidget[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), meth_KRatingWidget_actionEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_alignment), meth_KRatingWidget_alignment, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_KRatingWidget_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KRatingWidget_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_KRatingWidget_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KRatingWidget_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_KRatingWidget_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_create), meth_KRatingWidget_create, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KRatingWidget_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), meth_KRatingWidget_destroy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KRatingWidget_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_KRatingWidget_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_KRatingWidget_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_KRatingWidget_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_drawFrame), meth_KRatingWidget_drawFrame, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_KRatingWidget_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enabledChange), meth_KRatingWidget_enabledChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), meth_KRatingWidget_enterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_KRatingWidget_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_KRatingWidget_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), meth_KRatingWidget_focusNextChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), meth_KRatingWidget_focusNextPrevChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_KRatingWidget_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), meth_KRatingWidget_focusPreviousChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fontChange), meth_KRatingWidget_fontChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_halfStepsEnabled), meth_KRatingWidget_halfStepsEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_KRatingWidget_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_icon), meth_KRatingWidget_icon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), meth_KRatingWidget_inputMethodEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_KRatingWidget_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), meth_KRatingWidget_keyReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_languageChange), meth_KRatingWidget_languageChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_layoutDirection), meth_KRatingWidget_layoutDirection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), meth_KRatingWidget_leaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_maxRating), meth_KRatingWidget_maxRating, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), meth_KRatingWidget_metric, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_KRatingWidget_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_KRatingWidget_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_KRatingWidget_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_KRatingWidget_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), meth_KRatingWidget_moveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_KRatingWidget_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paletteChange), meth_KRatingWidget_paletteChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rating), meth_KRatingWidget_rating, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KRatingWidget_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resetInputContext), meth_KRatingWidget_resetInputContext, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_KRatingWidget_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAlignment), meth_KRatingWidget_setAlignment, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCustomPixmap), meth_KRatingWidget_setCustomPixmap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHalfStepsEnabled), meth_KRatingWidget_setHalfStepsEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIcon), meth_KRatingWidget_setIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLayoutDirection), meth_KRatingWidget_setLayoutDirection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMaxRating), meth_KRatingWidget_setMaxRating, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOnlyPaintFullSteps), meth_KRatingWidget_setOnlyPaintFullSteps, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPixmap), meth_KRatingWidget_setPixmap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPixmapSize), meth_KRatingWidget_setPixmapSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRating), meth_KRatingWidget_setRating, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSpacing), meth_KRatingWidget_setSpacing, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_KRatingWidget_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_KRatingWidget_sizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_spacing), meth_KRatingWidget_spacing, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tabletEvent), meth_KRatingWidget_tabletEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KRatingWidget_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), meth_KRatingWidget_updateMicroFocus, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_KRatingWidget_wheelEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowActivationChange), meth_KRatingWidget_windowActivationChange, METH_VARARGS, NULL}
};


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


pyqt4ClassTypeDef pyqt4Type_nepomuk_KRatingWidget = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KRatingWidget,
        {0}
    },
    sipNameNr_KRatingWidget,
    -1,
    -1,
    {0, 0, 1},
    supers_KRatingWidget,
    0,
    66, methods_KRatingWidget,
    0, 0,
    0, 0,
    init_KRatingWidget,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KRatingWidget,
    release_KRatingWidget,
    cast_KRatingWidget,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KRatingWidget::staticMetaObject,
    0,
    pyqt4_signals_KRatingWidget
};

#line 25 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/nepomuk/kratingpainter.sip"
#include <nepomuk/kratingpainter.h>
#line 3625 "sipnepomukpart4.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 3629 "sipnepomukpart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3632 "sipnepomukpart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3635 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 3638 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 3641 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 3644 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 3647 "sipnepomukpart4.cpp"


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

    {
        KRatingPainter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KRatingPainter,&sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->maxRating();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KRatingPainter *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->halfStepsEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KRatingPainter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KRatingPainter,&sipCpp))
        {
            Qt::Alignment *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::Alignment(sipCpp->alignment());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KRatingPainter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KRatingPainter,&sipCpp))
        {
            Qt::LayoutDirection sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->layoutDirection();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Qt_LayoutDirection);
        }
    }

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

    return NULL;
}


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

    {
        KRatingPainter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KRatingPainter,&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_KRatingPainter,sipName_icon);

    return NULL;
}


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

    {
        KRatingPainter *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KRatingPainter *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPixmap(sipCpp->customPixmap());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KRatingPainter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KRatingPainter,&sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->spacing();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        KRatingPainter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bi",&sipSelf,sipType_KRatingPainter,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMaxRating(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        KRatingPainter *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Qt::Alignment * a0;
        int a0State = 0;
        KRatingPainter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KRatingPainter,&sipCpp,sipType_Qt_Alignment,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAlignment(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_Qt_Alignment,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Qt::LayoutDirection a0;
        KRatingPainter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BE",&sipSelf,sipType_KRatingPainter,&sipCpp,sipType_Qt_LayoutDirection,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLayoutDirection(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QIcon * a0;
        KRatingPainter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KRatingPainter,&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_KRatingPainter,sipName_setIcon);

    return NULL;
}


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

    {
        bool a0;
        KRatingPainter *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QPixmap * a0;
        KRatingPainter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KRatingPainter,&sipCpp,sipType_QPixmap,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCustomPixmap(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        KRatingPainter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bi",&sipSelf,sipType_KRatingPainter,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSpacing(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QPainter * a0;
        const QRect * a1;
        int a2;
        int a3 = -1;
        KRatingPainter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8J9i|i",&sipSelf,sipType_KRatingPainter,&sipCpp,sipType_QPainter,&a0,sipType_QRect,&a1,&a2,&a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->paint(a0,*a1,a2,a3);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QRect * a0;
        const QPoint * a1;
        KRatingPainter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9J9",&sipSelf,sipType_KRatingPainter,&sipCpp,sipType_QRect,&a0,sipType_QPoint,&a1))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->ratingFromPosition(*a0,*a1);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QPainter * a0;
        const QRect * a1;
        Qt::Alignment * a2;
        int a2State = 0;
        int a3;
        int a4 = -1;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J8J9J1i|i",sipType_QPainter,&a0,sipType_QRect,&a1,sipType_Qt_Alignment,&a2,&a2State,&a3,&a4))
        {
            Py_BEGIN_ALLOW_THREADS
            KRatingPainter::paintRating(a0,*a1,*a2,a3,a4);
            Py_END_ALLOW_THREADS

            sipReleaseType(a2,sipType_Qt_Alignment,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QRect * a0;
        Qt::Alignment * a1;
        int a1State = 0;
        Qt::LayoutDirection a2;
        const QPoint * a3;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9J1EJ9",sipType_QRect,&a0,sipType_Qt_Alignment,&a1,&a1State,sipType_Qt_LayoutDirection,&a2,sipType_QPoint,&a3))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KRatingPainter::getRatingFromPosition(*a0,*a1,a2,*a3);
            Py_END_ALLOW_THREADS

            sipReleaseType(a1,sipType_Qt_Alignment,a1State);

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    return NULL;
}


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

    delete reinterpret_cast<KRatingPainter *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KRatingPainter();
            Py_END_ALLOW_THREADS
        }
    }

    return sipCpp;
}


static PyMethodDef methods_KRatingPainter[] = {
    {SIP_MLNAME_CAST(sipName_alignment), meth_KRatingPainter_alignment, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customPixmap), meth_KRatingPainter_customPixmap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getRatingFromPosition), meth_KRatingPainter_getRatingFromPosition, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_halfStepsEnabled), meth_KRatingPainter_halfStepsEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_icon), meth_KRatingPainter_icon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isEnabled), meth_KRatingPainter_isEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_layoutDirection), meth_KRatingPainter_layoutDirection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_maxRating), meth_KRatingPainter_maxRating, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paint), meth_KRatingPainter_paint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintRating), meth_KRatingPainter_paintRating, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ratingFromPosition), meth_KRatingPainter_ratingFromPosition, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAlignment), meth_KRatingPainter_setAlignment, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCustomPixmap), meth_KRatingPainter_setCustomPixmap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setEnabled), meth_KRatingPainter_setEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHalfStepsEnabled), meth_KRatingPainter_setHalfStepsEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIcon), meth_KRatingPainter_setIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLayoutDirection), meth_KRatingPainter_setLayoutDirection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMaxRating), meth_KRatingPainter_setMaxRating, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSpacing), meth_KRatingPainter_setSpacing, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_spacing), meth_KRatingPainter_spacing, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_nepomuk_KRatingPainter = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KRatingPainter,
        {0}
    },
    sipNameNr_KRatingPainter,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {0, 0, 1},
    0,
    0,
    20, methods_KRatingPainter,
    0, 0,
    0, 0,
    init_KRatingPainter,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KRatingPainter,
    release_KRatingPainter,
    cast_KRatingPainter,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/nepomuk/kmetadatatagwidget.sip"
#include  <nepomuk/kmetadatatagwidget.h>
#line 4333 "sipnepomukpart4.cpp"

#line 44 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/nepomuk/resource.sip"
#include <nepomuk/resource.h>
#line 4337 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 4340 "sipnepomukpart4.cpp"
#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 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 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 4355 "sipnepomukpart4.cpp"
#line 29 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/nepomuk/property.sip"
#include <nepomuk/property.h>
#line 4358 "sipnepomukpart4.cpp"
#line 29 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/nepomuk/class.sip"
#include <nepomuk/class.h>
#line 4361 "sipnepomukpart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/nepomuk/tag.sip"
#include <nepomuk/tag.h>
#line 4364 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 4367 "sipnepomukpart4.cpp"
#line 190 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 4370 "sipnepomukpart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/nepomuk/variant.sip"
#include <nepomuk/variant.h>
#line 4373 "sipnepomukpart4.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 4376 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 4379 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 4382 "sipnepomukpart4.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 4385 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 4388 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 4391 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 4394 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 4397 "sipnepomukpart4.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 4400 "sipnepomukpart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4403 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 4406 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 4409 "sipnepomukpart4.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 4412 "sipnepomukpart4.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 4415 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 4418 "sipnepomukpart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4421 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 4424 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 4427 "sipnepomukpart4.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 4432 "sipnepomukpart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4435 "sipnepomukpart4.cpp"
#line 424 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 4438 "sipnepomukpart4.cpp"
#line 412 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 4441 "sipnepomukpart4.cpp"
#line 508 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 4444 "sipnepomukpart4.cpp"
#line 562 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 4447 "sipnepomukpart4.cpp"
#line 533 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 4450 "sipnepomukpart4.cpp"
#line 550 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 4453 "sipnepomukpart4.cpp"
#line 618 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 4456 "sipnepomukpart4.cpp"
#line 247 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 4459 "sipnepomukpart4.cpp"
#line 436 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 4462 "sipnepomukpart4.cpp"
#line 388 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 4465 "sipnepomukpart4.cpp"
#line 374 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 4468 "sipnepomukpart4.cpp"
#line 360 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 4471 "sipnepomukpart4.cpp"
#line 345 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 4474 "sipnepomukpart4.cpp"
#line 325 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 4477 "sipnepomukpart4.cpp"
#line 296 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 4480 "sipnepomukpart4.cpp"
#line 225 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 4483 "sipnepomukpart4.cpp"
#line 184 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 4486 "sipnepomukpart4.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 4489 "sipnepomukpart4.cpp"
#line 74 "/usr/local/share/py-sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 4492 "sipnepomukpart4.cpp"
#line 47 "/usr/local/share/py-sip/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 4495 "sipnepomukpart4.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 4556 "sipnepomukpart4.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 4559 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 4562 "sipnepomukpart4.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 4565 "sipnepomukpart4.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 4568 "sipnepomukpart4.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 4573 "sipnepomukpart4.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 4576 "sipnepomukpart4.cpp"
#line 99 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 4579 "sipnepomukpart4.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 4582 "sipnepomukpart4.cpp"
#line 165 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 4585 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 4588 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qdockwidget.sip"
#include <qdockwidget.h>
#line 4591 "sipnepomukpart4.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 4594 "sipnepomukpart4.cpp"
#line 334 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 4597 "sipnepomukpart4.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 4602 "sipnepomukpart4.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qprinterinfo.h>
#line 4605 "sipnepomukpart4.cpp"
#line 202 "/usr/local/share/py-sip/QtGui/qstandarditemmodel.sip"
#include <qstandarditemmodel.h>
#line 4608 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 4611 "sipnepomukpart4.cpp"
#line 66 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 4614 "sipnepomukpart4.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 4619 "sipnepomukpart4.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 4624 "sipnepomukpart4.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 4629 "sipnepomukpart4.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 4634 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 4637 "sipnepomukpart4.cpp"
#line 75 "/usr/local/share/py-sip/QtGui/qundostack.sip"
#include <qundostack.h>
#line 4640 "sipnepomukpart4.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 4643 "sipnepomukpart4.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qprinter.sip"
#include <qprinter.h>
#line 4646 "sipnepomukpart4.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#line 4649 "sipnepomukpart4.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qlayout.sip"
#include <qlayout.h>
#line 4652 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 4655 "sipnepomukpart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4658 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 4661 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 4664 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 4667 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 4670 "sipnepomukpart4.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4673 "sipnepomukpart4.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4676 "sipnepomukpart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 4679 "sipnepomukpart4.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 4710 "sipnepomukpart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 4713 "sipnepomukpart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 4716 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 4719 "sipnepomukpart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 4722 "sipnepomukpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 4725 "sipnepomukpart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 4728 "sipnepomukpart4.cpp"


class sipNepomuk_TagWidget : public Nepomuk::TagWidget
{
public:
    sipNepomuk_TagWidget(const Nepomuk::Resource&,QWidget *);
    sipNepomuk_TagWidget(QWidget *);
    virtual ~sipNepomuk_TagWidget();

    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.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    bool sipProtectVirt_event(bool,QEvent *);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent *);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent *);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent *);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent *);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent *);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent *);
    void sipProtectVirt_enterEvent(bool,QEvent *);
    void sipProtectVirt_leaveEvent(bool,QEvent *);
    void sipProtectVirt_paintEvent(bool,QPaintEvent *);
    void sipProtectVirt_moveEvent(bool,QMoveEvent *);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent *);
    void sipProtectVirt_closeEvent(bool,QCloseEvent *);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent *);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent *);
    void sipProtectVirt_actionEvent(bool,QActionEvent *);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent *);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent *);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent *);
    void sipProtectVirt_dropEvent(bool,QDropEvent *);
    void sipProtectVirt_showEvent(bool,QShowEvent *);
    void sipProtectVirt_hideEvent(bool,QHideEvent *);
    void sipProtectVirt_changeEvent(bool,QEvent *);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent *);
    void sipProtect_resetInputContext();
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    void sipProtectVirt_enabledChange(bool,bool);
    void sipProtectVirt_paletteChange(bool,const QPalette&);
    void sipProtectVirt_fontChange(bool,const QFont&);
    void sipProtectVirt_windowActivationChange(bool,bool);
    void sipProtectVirt_languageChange(bool);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    int devType() const;
    void setVisible(bool);
    QSize sizeHint() const;
    QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    QPaintEngine * paintEngine() const;
    bool event(QEvent *);
    void mousePressEvent(QMouseEvent *);
    void mouseReleaseEvent(QMouseEvent *);
    void mouseDoubleClickEvent(QMouseEvent *);
    void mouseMoveEvent(QMouseEvent *);
    void wheelEvent(QWheelEvent *);
    void keyPressEvent(QKeyEvent *);
    void keyReleaseEvent(QKeyEvent *);
    void focusInEvent(QFocusEvent *);
    void focusOutEvent(QFocusEvent *);
    void enterEvent(QEvent *);
    void leaveEvent(QEvent *);
    void paintEvent(QPaintEvent *);
    void moveEvent(QMoveEvent *);
    void resizeEvent(QResizeEvent *);
    void closeEvent(QCloseEvent *);
    void contextMenuEvent(QContextMenuEvent *);
    void tabletEvent(QTabletEvent *);
    void actionEvent(QActionEvent *);
    void dragEnterEvent(QDragEnterEvent *);
    void dragMoveEvent(QDragMoveEvent *);
    void dragLeaveEvent(QDragLeaveEvent *);
    void dropEvent(QDropEvent *);
    void showEvent(QShowEvent *);
    void hideEvent(QHideEvent *);
    void changeEvent(QEvent *);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void inputMethodEvent(QInputMethodEvent *);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    void enabledChange(bool);
    void paletteChange(const QPalette&);
    void fontChange(const QFont&);
    void windowActivationChange(bool);
    void languageChange();
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[47];
};

sipNepomuk_TagWidget::sipNepomuk_TagWidget(const Nepomuk::Resource& a0,QWidget *a1): Nepomuk::TagWidget(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipNepomuk_TagWidget::sipNepomuk_TagWidget(QWidget *a0): Nepomuk::TagWidget(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipNepomuk_TagWidget::metaObject() const
{
    return sip_nepomuk_qt_metaobject(sipPySelf,sipType_Nepomuk_TagWidget);
}

int sipNepomuk_TagWidget::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Nepomuk::TagWidget::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_nepomuk_qt_metacall(sipPySelf,sipType_Nepomuk_TagWidget,_c,_id,_a);

    return _id;
}

void *sipNepomuk_TagWidget::qt_metacast(const char *_clname)
{
    return (sip_nepomuk_qt_metacast && sip_nepomuk_qt_metacast(sipPySelf,sipType_Nepomuk_TagWidget,_clname)) ? this : Nepomuk::TagWidget::qt_metacast(_clname);
}

int sipNepomuk_TagWidget::devType() const
{
    typedef int (*sipVH_QtCore_8)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::devType();

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

void sipNepomuk_TagWidget::setVisible(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_setVisible);

    if (!meth)
    {
        QWidget::setVisible(a0);
        return;
    }

    ((sipVH_QtGui_7)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[7]))(sipGILState,meth,a0);
}

QSize sipNepomuk_TagWidget::sizeHint() const
{
    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::sizeHint();

    return ((sipVH_QtGui_4)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[4]))(sipGILState,meth);
}

QSize sipNepomuk_TagWidget::minimumSizeHint() const
{
    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::minimumSizeHint();

    return ((sipVH_QtGui_4)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[4]))(sipGILState,meth);
}

int sipNepomuk_TagWidget::heightForWidth(int a0) const
{
    typedef int (*sipVH_QtGui_29)(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::heightForWidth(a0);

    return ((sipVH_QtGui_29)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[29]))(sipGILState,meth,a0);
}

QPaintEngine * sipNepomuk_TagWidget::paintEngine() const
{
    typedef QPaintEngine * (*sipVH_QtGui_28)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::paintEngine();

    return ((sipVH_QtGui_28)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[28]))(sipGILState,meth);
}

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipNepomuk_TagWidget::mousePressEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtGui_27)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipNepomuk_TagWidget::mouseReleaseEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtGui_27)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipNepomuk_TagWidget::mouseDoubleClickEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtGui_27)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipNepomuk_TagWidget::mouseMoveEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtGui_27)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipNepomuk_TagWidget::wheelEvent(QWheelEvent *a0)
{
    typedef void (*sipVH_QtGui_5)(sip_gilstate_t,PyObject *,QWheelEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtGui_5)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[5]))(sipGILState,meth,a0);
}

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipNepomuk_TagWidget::enterEvent(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_enterEvent);

    if (!meth)
    {
        QWidget::enterEvent(a0);
        return;
    }

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

void sipNepomuk_TagWidget::leaveEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QWidget::leaveEvent(a0);
        return;
    }

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

void sipNepomuk_TagWidget::paintEvent(QPaintEvent *a0)
{
    typedef void (*sipVH_QtGui_3)(sip_gilstate_t,PyObject *,QPaintEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QWidget::paintEvent(a0);
        return;
    }

    ((sipVH_QtGui_3)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipNepomuk_TagWidget::moveEvent(QMoveEvent *a0)
{
    typedef void (*sipVH_QtGui_24)(sip_gilstate_t,PyObject *,QMoveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtGui_24)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[24]))(sipGILState,meth,a0);
}

void sipNepomuk_TagWidget::resizeEvent(QResizeEvent *a0)
{
    typedef void (*sipVH_QtGui_2)(sip_gilstate_t,PyObject *,QResizeEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtGui_2)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[2]))(sipGILState,meth,a0);
}

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipNepomuk_TagWidget::contextMenuEvent(QContextMenuEvent *a0)
{
    typedef void (*sipVH_QtGui_22)(sip_gilstate_t,PyObject *,QContextMenuEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtGui_22)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[22]))(sipGILState,meth,a0);
}

void sipNepomuk_TagWidget::tabletEvent(QTabletEvent *a0)
{
    typedef void (*sipVH_QtGui_21)(sip_gilstate_t,PyObject *,QTabletEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QWidget::tabletEvent(a0);
        return;
    }

    ((sipVH_QtGui_21)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[21]))(sipGILState,meth,a0);
}

void sipNepomuk_TagWidget::actionEvent(QActionEvent *a0)
{
    typedef void (*sipVH_QtGui_20)(sip_gilstate_t,PyObject *,QActionEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QWidget::actionEvent(a0);
        return;
    }

    ((sipVH_QtGui_20)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipNepomuk_TagWidget::dragEnterEvent(QDragEnterEvent *a0)
{
    typedef void (*sipVH_QtGui_19)(sip_gilstate_t,PyObject *,QDragEnterEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtGui_19)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipNepomuk_TagWidget::dragMoveEvent(QDragMoveEvent *a0)
{
    typedef void (*sipVH_QtGui_18)(sip_gilstate_t,PyObject *,QDragMoveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtGui_18)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipNepomuk_TagWidget::dragLeaveEvent(QDragLeaveEvent *a0)
{
    typedef void (*sipVH_QtGui_17)(sip_gilstate_t,PyObject *,QDragLeaveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtGui_17)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipNepomuk_TagWidget::dropEvent(QDropEvent *a0)
{
    typedef void (*sipVH_QtGui_16)(sip_gilstate_t,PyObject *,QDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtGui_16)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[16]))(sipGILState,meth,a0);
}

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipNepomuk_TagWidget::changeEvent(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_changeEvent);

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

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

int sipNepomuk_TagWidget::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    typedef int (*sipVH_QtGui_15)(sip_gilstate_t,PyObject *,QPaintDevice::PaintDeviceMetric);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::metric(a0);

    return ((sipVH_QtGui_15)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[15]))(sipGILState,meth,a0);
}

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

QVariant sipNepomuk_TagWidget::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[34]),sipPySelf,NULL,sipName_inputMethodQuery);

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipNepomuk_TagWidget::enabledChange(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QWidget::enabledChange(a0);
        return;
    }

    ((sipVH_QtGui_7)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[7]))(sipGILState,meth,a0);
}

void sipNepomuk_TagWidget::paletteChange(const QPalette& a0)
{
    typedef void (*sipVH_QtGui_11)(sip_gilstate_t,PyObject *,const QPalette&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QWidget::paletteChange(a0);
        return;
    }

    ((sipVH_QtGui_11)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[11]))(sipGILState,meth,a0);
}

void sipNepomuk_TagWidget::fontChange(const QFont& a0)
{
    typedef void (*sipVH_QtGui_10)(sip_gilstate_t,PyObject *,const QFont&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QWidget::fontChange(a0);
        return;
    }

    ((sipVH_QtGui_10)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[10]))(sipGILState,meth,a0);
}

void sipNepomuk_TagWidget::windowActivationChange(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_windowActivationChange);

    if (!meth)
    {
        QWidget::windowActivationChange(a0);
        return;
    }

    ((sipVH_QtGui_7)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[7]))(sipGILState,meth,a0);
}

void sipNepomuk_TagWidget::languageChange()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_languageChange);

    if (!meth)
    {
        QWidget::languageChange();
        return;
    }

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

bool sipNepomuk_TagWidget::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[41],sipPySelf,NULL,sipName_eventFilter);

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipNepomuk_TagWidget::customEvent(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_customEvent);

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

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

void sipNepomuk_TagWidget::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[45],sipPySelf,NULL,sipName_connectNotify);

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

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

void sipNepomuk_TagWidget::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[46],sipPySelf,NULL,sipName_disconnectNotify);

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

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

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

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

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

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

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

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

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

void sipNepomuk_TagWidget::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipNepomuk_TagWidget::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipNepomuk_TagWidget::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipNepomuk_TagWidget::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipNepomuk_TagWidget::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent *a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipNepomuk_TagWidget::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QWidget::keyPressEvent(a0) : keyPressEvent(a0));
}

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

void sipNepomuk_TagWidget::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

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

void sipNepomuk_TagWidget::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipNepomuk_TagWidget::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipNepomuk_TagWidget::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent *a0)
{
    (sipSelfWasArg ? QWidget::paintEvent(a0) : paintEvent(a0));
}

void sipNepomuk_TagWidget::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent *a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipNepomuk_TagWidget::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent *a0)
{
    (sipSelfWasArg ? QWidget::resizeEvent(a0) : resizeEvent(a0));
}

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

void sipNepomuk_TagWidget::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent *a0)
{
    (sipSelfWasArg ? QWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipNepomuk_TagWidget::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent *a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipNepomuk_TagWidget::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent *a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipNepomuk_TagWidget::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipNepomuk_TagWidget::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipNepomuk_TagWidget::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipNepomuk_TagWidget::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent *a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

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

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

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

int sipNepomuk_TagWidget::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

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

void sipNepomuk_TagWidget::sipProtect_resetInputContext()
{
    QWidget::resetInputContext();
}

void sipNepomuk_TagWidget::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipNepomuk_TagWidget::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipNepomuk_TagWidget::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipNepomuk_TagWidget::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipNepomuk_TagWidget::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipNepomuk_TagWidget::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

void sipNepomuk_TagWidget::sipProtectVirt_enabledChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::enabledChange(a0) : enabledChange(a0));
}

void sipNepomuk_TagWidget::sipProtectVirt_paletteChange(bool sipSelfWasArg,const QPalette& a0)
{
    (sipSelfWasArg ? QWidget::paletteChange(a0) : paletteChange(a0));
}

void sipNepomuk_TagWidget::sipProtectVirt_fontChange(bool sipSelfWasArg,const QFont& a0)
{
    (sipSelfWasArg ? QWidget::fontChange(a0) : fontChange(a0));
}

void sipNepomuk_TagWidget::sipProtectVirt_windowActivationChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::windowActivationChange(a0) : windowActivationChange(a0));
}

void sipNepomuk_TagWidget::sipProtectVirt_languageChange(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QWidget::languageChange() : languageChange());
}


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

    {
        char * a0;
        sipNepomuk_TagWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Nepomuk_TagWidget,&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 5963 "sipnepomukpart4.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipNepomuk_TagWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Nepomuk_TagWidget,&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_TagWidget,sipName_timerEvent);

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipNepomuk_TagWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Nepomuk_TagWidget,&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_TagWidget,sipName_childEvent);

    return NULL;
}


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

    {
        QEvent * a0;
        sipNepomuk_TagWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Nepomuk_TagWidget,&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_TagWidget,sipName_customEvent);

    return NULL;
}


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

    {
        char * a0;
        sipNepomuk_TagWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Nepomuk_TagWidget,&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_TagWidget,sipName_connectNotify);

    return NULL;
}


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

    {
        char * a0;
        sipNepomuk_TagWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Nepomuk_TagWidget,&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_TagWidget,sipName_disconnectNotify);

    return NULL;
}


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

    {
        QEvent * a0;
        sipNepomuk_TagWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Nepomuk_TagWidget,&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_TagWidget,sipName_event);

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipNepomuk_TagWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Nepomuk_TagWidget,&sipCpp,sipType_QMouseEvent,&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_TagWidget,sipName_mousePressEvent);

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipNepomuk_TagWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Nepomuk_TagWidget,&sipCpp,sipType_QMouseEvent,&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_TagWidget,sipName_mouseReleaseEvent);

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipNepomuk_TagWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Nepomuk_TagWidget,&sipCpp,sipType_QMouseEvent,&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_TagWidget,sipName_mouseDoubleClickEvent);

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipNepomuk_TagWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Nepomuk_TagWidget,&sipCpp,sipType_QMouseEvent,&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_TagWidget,sipName_mouseMoveEvent);

    return NULL;
}


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

    {
        QWheelEvent * a0;
        sipNepomuk_TagWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Nepomuk_TagWidget,&sipCpp,sipType_QWheelEvent,&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_TagWidget,sipName_wheelEvent);

    return NULL;
}


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

    {
        QKeyEvent * a0;
        sipNepomuk_TagWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Nepomuk_TagWidget,&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_TagWidget,sipName_keyPressEvent);

    return NULL;
}


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

    {
        QKeyEvent * a0;
        sipNepomuk_TagWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Nepomuk_TagWidget,&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_TagWidget,sipName_keyReleaseEvent);

    return NULL;
}


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

    {
        QFocusEvent * a0;
        sipNepomuk_TagWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Nepomuk_TagWidget,&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_TagWidget,sipName_focusInEvent);

    return NULL;
}


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

    {
        QFocusEvent * a0;
        sipNepomuk_TagWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Nepomuk_TagWidget,&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_TagWidget,sipName_focusOutEvent);

    return NULL;
}


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

    {
        QEvent * a0;
        sipNepomuk_TagWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Nepomuk_TagWidget,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_enterEvent(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_TagWidget,sipName_enterEvent);

    return NULL;
}


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

    {
        QEvent * a0;
        sipNepomuk_TagWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Nepomuk_TagWidget,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_leaveEvent(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_TagWidget,sipName_leaveEvent);

    return NULL;
}


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

    {
        QPaintEvent * a0;
        sipNepomuk_TagWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Nepomuk_TagWidget,&sipCpp,sipType_QPaintEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paintEvent(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_TagWidget,sipName_paintEvent);

    return NULL;
}


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

    {
        QMoveEvent * a0;
        sipNepomuk_TagWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Nepomuk_TagWidget,&sipCpp,sipType_QMoveEvent,&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_TagWidget,sipName_moveEvent);

    return NULL;
}


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

    {
        QResizeEvent * a0;
        sipNepomuk_TagWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Nepomuk_TagWidget,&sipCpp,sipType_QResizeEvent,&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_TagWidget,sipName_resizeEvent);

    return NULL;
}


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

    {
        QCloseEvent * a0;
        sipNepomuk_TagWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Nepomuk_TagWidget,&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_TagWidget,sipName_closeEvent);

    return NULL;
}


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

    {
        QContextMenuEvent * a0;
        sipNepomuk_TagWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Nepomuk_TagWidget,&sipCpp,sipType_QContextMenuEvent,&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_TagWidget,sipName_contextMenuEvent);

    return NULL;
}


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

    {
        QTabletEvent * a0;
        sipNepomuk_TagWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Nepomuk_TagWidget,&sipCpp,sipType_QTabletEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_tabletEvent(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_TagWidget,sipName_tabletEvent);

    return NULL;
}


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

    {
        QActionEvent * a0;
        sipNepomuk_TagWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Nepomuk_TagWidget,&sipCpp,sipType_QActionEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_actionEvent(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_TagWidget,sipName_actionEvent);

    return NULL;
}


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

    {
        QDragEnterEvent * a0;
        sipNepomuk_TagWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Nepomuk_TagWidget,&sipCpp,sipType_QDragEnterEvent,&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_TagWidget,sipName_dragEnterEvent);

    return NULL;
}


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

    {
        QDragMoveEvent * a0;
        sipNepomuk_TagWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Nepomuk_TagWidget,&sipCpp,sipType_QDragMoveEvent,&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_TagWidget,sipName_dragMoveEvent);

    return NULL;
}


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

    {
        QDragLeaveEvent * a0;
        sipNepomuk_TagWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Nepomuk_TagWidget,&sipCpp,sipType_QDragLeaveEvent,&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_TagWidget,sipName_dragLeaveEvent);

    return NULL;
}


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

    {
        QDropEvent * a0;
        sipNepomuk_TagWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Nepomuk_TagWidget,&sipCpp,sipType_QDropEvent,&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_TagWidget,sipName_dropEvent);

    return NULL;
}


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

    {
        QShowEvent * a0;
        sipNepomuk_TagWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Nepomuk_TagWidget,&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_TagWidget,sipName_showEvent);

    return NULL;
}


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

    {
        QHideEvent * a0;
        sipNepomuk_TagWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Nepomuk_TagWidget,&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_TagWidget,sipName_hideEvent);

    return NULL;
}


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

    {
        QEvent * a0;
        sipNepomuk_TagWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Nepomuk_TagWidget,&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_TagWidget,sipName_changeEvent);

    return NULL;
}


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

    {
        QPaintDevice::PaintDeviceMetric a0;
        sipNepomuk_TagWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pE",&sipSelf,sipType_Nepomuk_TagWidget,&sipCpp,sipType_QPaintDevice_PaintDeviceMetric,&a0))
        {
            int sipRes;

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

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QInputMethodEvent * a0;
        sipNepomuk_TagWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Nepomuk_TagWidget,&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_TagWidget,sipName_inputMethodEvent);

    return NULL;
}


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

    {
        sipNepomuk_TagWidget *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipNepomuk_TagWidget *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        WId a0 = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipNepomuk_TagWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p|mbb",&sipSelf,sipType_Nepomuk_TagWidget,&sipCpp,&a0,&a1,&a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_create(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_TagWidget,sipName_create);

    return NULL;
}


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

    {
        bool a0 = 1;
        bool a1 = 1;
        sipNepomuk_TagWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p|bb",&sipSelf,sipType_Nepomuk_TagWidget,&sipCpp,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_destroy(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_TagWidget,sipName_destroy);

    return NULL;
}


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

    {
        bool a0;
        sipNepomuk_TagWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_Nepomuk_TagWidget,&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_TagWidget,sipName_focusNextPrevChild);

    return NULL;
}


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

    {
        sipNepomuk_TagWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Nepomuk_TagWidget,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_focusNextChild();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipNepomuk_TagWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Nepomuk_TagWidget,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_focusPreviousChild();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        sipNepomuk_TagWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_Nepomuk_TagWidget,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_enabledChange(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_TagWidget,sipName_enabledChange);

    return NULL;
}


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

    {
        const QPalette * a0;
        sipNepomuk_TagWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_Nepomuk_TagWidget,&sipCpp,sipType_QPalette,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paletteChange(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_TagWidget,sipName_paletteChange);

    return NULL;
}


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

    {
        const QFont * a0;
        sipNepomuk_TagWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_Nepomuk_TagWidget,&sipCpp,sipType_QFont,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_fontChange(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_TagWidget,sipName_fontChange);

    return NULL;
}


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

    {
        bool a0;
        sipNepomuk_TagWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_Nepomuk_TagWidget,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_windowActivationChange(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_TagWidget,sipName_windowActivationChange);

    return NULL;
}


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

    {
        sipNepomuk_TagWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Nepomuk_TagWidget,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_languageChange(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_TagWidget,sipName_languageChange);

    return NULL;
}


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

    {
        Nepomuk::TagWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Nepomuk_TagWidget,&sipCpp))
        {
            QList<Nepomuk::Resource> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<Nepomuk::Resource>(sipCpp->taggedResources());
            Py_END_ALLOW_THREADS

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_QList_0200Nepomuk_Resource,NULL);
            delete sipRes;

            return sipResObj;
        }
    }

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

    return NULL;
}


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

    {
        Nepomuk::TagWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Nepomuk_TagWidget,&sipCpp))
        {
            QList<Nepomuk::Tag> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<Nepomuk::Tag>(sipCpp->assignedTags());
            Py_END_ALLOW_THREADS

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_QList_0200Nepomuk_Tag,NULL);
            delete sipRes;

            return sipResObj;
        }
    }

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

    return NULL;
}


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

    {
        const Nepomuk::Resource * a0;
        Nepomuk::TagWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_Nepomuk_TagWidget,&sipCpp,sipType_Nepomuk_Resource,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTaggedResource(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QList<Nepomuk::Resource> * a0;
        int a0State = 0;
        Nepomuk::TagWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_Nepomuk_TagWidget,&sipCpp,sipType_QList_0200Nepomuk_Resource,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTaggedResources(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QList<Nepomuk::Resource> *>(a0),sipType_QList_0200Nepomuk_Resource,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QList<Nepomuk::Tag> * a0;
        int a0State = 0;
        Nepomuk::TagWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_Nepomuk_TagWidget,&sipCpp,sipType_QList_0200Nepomuk_Tag,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAssignedTags(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QList<Nepomuk::Tag> *>(a0),sipType_QList_0200Nepomuk_Tag,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_Nepomuk_TagWidget)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QWidget)->ctd_cast((QWidget *)(Nepomuk::TagWidget *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipNepomuk_TagWidget *>(sipCppV);
    else
        delete reinterpret_cast<Nepomuk::TagWidget *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

    if (!sipCpp)
    {
        const Nepomuk::Resource * a0;
        QWidget * a1 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9|JH",sipType_Nepomuk_Resource,&a0,sipType_QWidget,&a1,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipNepomuk_TagWidget(*a0,a1);
            Py_END_ALLOW_THREADS
        }
    }

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

        if (sipParseArgs(sipArgsParsed,sipArgs,"|JH",sipType_QWidget,&a0,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipNepomuk_TagWidget(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


static PyMethodDef methods_Nepomuk_TagWidget[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), meth_Nepomuk_TagWidget_actionEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_assignedTags), meth_Nepomuk_TagWidget_assignedTags, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_Nepomuk_TagWidget_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_Nepomuk_TagWidget_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_Nepomuk_TagWidget_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_Nepomuk_TagWidget_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_Nepomuk_TagWidget_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_create), meth_Nepomuk_TagWidget_create, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_Nepomuk_TagWidget_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), meth_Nepomuk_TagWidget_destroy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_Nepomuk_TagWidget_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_Nepomuk_TagWidget_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_Nepomuk_TagWidget_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_Nepomuk_TagWidget_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_Nepomuk_TagWidget_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enabledChange), meth_Nepomuk_TagWidget_enabledChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), meth_Nepomuk_TagWidget_enterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_Nepomuk_TagWidget_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_Nepomuk_TagWidget_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), meth_Nepomuk_TagWidget_focusNextChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), meth_Nepomuk_TagWidget_focusNextPrevChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_Nepomuk_TagWidget_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), meth_Nepomuk_TagWidget_focusPreviousChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fontChange), meth_Nepomuk_TagWidget_fontChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_Nepomuk_TagWidget_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), meth_Nepomuk_TagWidget_inputMethodEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_Nepomuk_TagWidget_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), meth_Nepomuk_TagWidget_keyReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_languageChange), meth_Nepomuk_TagWidget_languageChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), meth_Nepomuk_TagWidget_leaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), meth_Nepomuk_TagWidget_metric, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_Nepomuk_TagWidget_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_Nepomuk_TagWidget_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_Nepomuk_TagWidget_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_Nepomuk_TagWidget_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), meth_Nepomuk_TagWidget_moveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_Nepomuk_TagWidget_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paletteChange), meth_Nepomuk_TagWidget_paletteChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_Nepomuk_TagWidget_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resetInputContext), meth_Nepomuk_TagWidget_resetInputContext, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_Nepomuk_TagWidget_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAssignedTags), meth_Nepomuk_TagWidget_setAssignedTags, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTaggedResource), meth_Nepomuk_TagWidget_setTaggedResource, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTaggedResources), meth_Nepomuk_TagWidget_setTaggedResources, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_Nepomuk_TagWidget_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tabletEvent), meth_Nepomuk_TagWidget_tabletEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_taggedResources), meth_Nepomuk_TagWidget_taggedResources, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Nepomuk_TagWidget_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), meth_Nepomuk_TagWidget_updateMicroFocus, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_Nepomuk_TagWidget_wheelEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowActivationChange), meth_Nepomuk_TagWidget_windowActivationChange, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_Nepomuk_TagWidget[] = {
    {"tagClicked(Nepomuk::Tag)", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_nepomuk_Nepomuk_TagWidget = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Nepomuk__TagWidget,
        {0}
    },
    sipNameNr_TagWidget,
    -1,
    -1,
    {4, 255, 0},
    supers_Nepomuk_TagWidget,
    0,
    51, methods_Nepomuk_TagWidget,
    0, 0,
    0, 0,
    init_Nepomuk_TagWidget,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Nepomuk_TagWidget,
    release_Nepomuk_TagWidget,
    cast_Nepomuk_TagWidget,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &Nepomuk::TagWidget::staticMetaObject,
    0,
    pyqt4_signals_Nepomuk_TagWidget
};
