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

#include "sipAPIkdeui.h"

#line 50 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/ktip.sip"
#include <ktip.h>
#line 12 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/ktip.sip"
#include <ktip.h>
#line 16 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 19 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 22 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 31 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 37 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 43 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 46 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 49 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 52 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kpushbutton.sip"
#include <kpushbutton.h>
#line 58 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 64 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 67 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kguiitem.sip"
#include <kguiitem.h>
#line 70 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 73 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 76 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 79 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 82 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 85 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 88 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 91 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 94 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 97 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 100 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 103 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 106 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 109 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 112 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 115 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 118 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 121 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 124 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 127 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 130 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 133 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 136 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 139 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 142 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 145 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 148 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 151 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 154 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 157 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 160 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 163 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 166 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 169 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 172 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 175 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 178 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 181 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 184 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 187 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 190 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 193 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 196 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 199 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 202 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 205 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 208 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 211 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 214 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 217 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 220 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 223 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 226 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 229 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 232 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 235 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"


class sipKTipDialog : public KTipDialog
{
public:
    sipKTipDialog(KTipDatabase*,QWidget*);
    virtual ~sipKTipDialog();

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[55];
};

sipKTipDialog::sipKTipDialog(KTipDatabase*a0,QWidget*a1): KTipDialog(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKTipDialog::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KTipDialog);
}

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

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KTipDialog,_c,_id,_a);

    return _id;
}

void *sipKTipDialog::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KTipDialog, _clname)) ? this : KTipDialog::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

void sipKTipDialog::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTipDialog::languageChange();
        return;
    }

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

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

void sipKTipDialog::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTipDialog::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTipDialog::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTipDialog::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

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

void sipKTipDialog::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTipDialog::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kdeui_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTipDialog::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTipDialog::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

int sipKTipDialog::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KTipDialog::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kdeui_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

void sipKTipDialog::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kdeui_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTipDialog::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kdeui_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTipDialog::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

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

void sipKTipDialog::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kdeui_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTipDialog::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTipDialog::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kdeui_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTipDialog::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTipDialog::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kdeui_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTipDialog::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kdeui_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTipDialog::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTipDialog::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kdeui_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTipDialog::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTipDialog::leaveEvent(a0);
        return;
    }

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

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

void sipKTipDialog::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTipDialog::enterEvent(a0);
        return;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

void sipKTipDialog::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kdeui_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTipDialog::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTipDialog::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTipDialog::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTipDialog::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

QPaintEngine* sipKTipDialog::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KTipDialog::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKTipDialog::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KTipDialog::heightForWidth(a0);

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

    return ((sipVH_QtGui_28)(sipModuleAPI_kdeui_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKTipDialog::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KTipDialog::devType();

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

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

void sipKTipDialog::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kdeui_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTipDialog::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kdeui_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

void sipKTipDialog::reject()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTipDialog::reject();
        return;
    }

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

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

void sipKTipDialog::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTipDialog::accept();
        return;
    }

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

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

void sipKTipDialog::done(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTipDialog::done(a0);
        return;
    }

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

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

void sipKTipDialog::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTipDialog::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTipDialog::slotButtonClicked(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTipDialog::slotButtonClicked(a0);
        return;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

void sipKTipDialog::setPlainCaption(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTipDialog::setPlainCaption(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kdeui_QtCore->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTipDialog::setCaption(const QString& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTipDialog::setCaption(a0,a1);
        return;
    }

    typedef void (*sipVH_QtXml_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,bool);

    ((sipVH_QtXml_24)(sipModuleAPI_kdeui_QtXml->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKTipDialog::setCaption(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTipDialog::setCaption(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kdeui_QtCore->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKTipDialog::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KTipDialog::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKTipDialog::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KTipDialog::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "J:|J1b", sipType_QWidget, &a0, sipType_QString,&a1, &a1State, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            KTipDialog::showTip(a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

        if (sipParseArgs(&sipParseErr, sipArgs, "|J1b", sipType_QString,&a0, &a0State, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            KTipDialog::showTip(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QWidget* a0;
        const QStringList* a1;
        int a1State = 0;
        bool a2 = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J:J1|b", sipType_QWidget, &a0, sipType_QStringList,&a1, &a1State, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            KTipDialog::showMultiTip(a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringList *>(a1),sipType_QStringList,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "b", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            KTipDialog::setShowOnStart(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KTipDialog::eventFilter(a0,a1) : sipCpp->eventFilter(a0,a1));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_KTipDialog(void *, const sipTypeDef *);}
static void *cast_KTipDialog(void *sipCppV, const sipTypeDef *targetType)
{
    KTipDialog *sipCpp = reinterpret_cast<KTipDialog *>(sipCppV);

    if (targetType == sipType_QPaintDevice)
        return static_cast<QPaintDevice *>(sipCpp);

    return sipCppV;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KTipDialog(sipSimpleWrapper *);}
static void dealloc_KTipDialog(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKTipDialog *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

    {
        KTipDatabase* a0;
        QWidget* a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8|JH", sipType_KTipDatabase, &a0, sipType_QWidget, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKTipDialog(a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KTipDialog[] = {{86, 255, 1}};


static PyMethodDef methods_KTipDialog[] = {
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_KTipDialog_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setShowOnStart), meth_KTipDialog_setShowOnStart, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showMultiTip), meth_KTipDialog_showMultiTip, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showTip), meth_KTipDialog_showTip, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KTipDialog = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KTipDialog,
        {0}
    },
    {
        sipNameNr_KTipDialog,
        {0, 0, 1},
        4, methods_KTipDialog,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KTipDialog,
    0,
    init_type_KTipDialog,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KTipDialog,
    0,
    0,
    0,
    release_KTipDialog,
    cast_KTipDialog,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KTipDialog::staticMetaObject,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/ktip.sip"
#include <ktip.h>
#line 1561 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"

#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 1565 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 1568 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"


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

    {
        const KTipDatabase *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KTipDatabase *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KTipDatabase *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    delete reinterpret_cast<KTipDatabase *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KTipDatabase(sipSimpleWrapper *);}
static void dealloc_KTipDatabase(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KTipDatabase(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_KTipDatabase(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KTipDatabase(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KTipDatabase *sipCpp = 0;

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

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|J1", sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KTipDatabase(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipCpp;
        }
    }

    {
        const QStringList* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QStringList,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KTipDatabase(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KTipDatabase[] = {
    {SIP_MLNAME_CAST(sipName_nextTip), meth_KTipDatabase_nextTip, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_prevTip), meth_KTipDatabase_prevTip, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tip), meth_KTipDatabase_tip, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KTipDatabase = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KTipDatabase,
        {0}
    },
    {
        sipNameNr_KTipDatabase,
        {0, 0, 1},
        3, methods_KTipDatabase,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KTipDatabase,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KTipDatabase,
    0,
    0,
    0,
    release_KTipDatabase,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/ktimezonewidget.sip"
#include <ktimezonewidget.h>
#line 1774 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 1778 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 1781 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 1784 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 1787 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 52 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 1790 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 1793 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 122 "/usr/share/python3-sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 1796 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 89 "/usr/share/python3-sip/PyQt4/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 1799 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 1802 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1805 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1808 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 1811 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1814 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 1817 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1820 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1823 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1826 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 1829 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 1832 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 89 "/usr/share/python3-sip/PyQt4/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 1835 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 169 "/usr/share/python3-sip/PyQt4/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 1838 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1841 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1844 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1847 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 1850 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 1853 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 1130 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 1856 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1859 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1862 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1865 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1868 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qheaderview.sip"
#include <qheaderview.h>
#line 1871 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1874 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 1877 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 1880 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1883 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1886 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1889 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1892 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 1895 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 1898 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 1901 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1904 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1907 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qscrollbar.sip"
#include <qscrollbar.h>
#line 1910 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1913 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1916 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 1919 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qframe.sip"
#include <qframe.h>
#line 1922 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1925 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1928 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 1931 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 1934 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 1937 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 1940 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 1943 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 1946 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 1949 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 1952 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 1955 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1958 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 1961 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1964 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1967 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1970 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1973 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1976 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1979 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 1982 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 1985 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 1988 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1991 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 1994 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 1997 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 2000 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2003 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 2006 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 2009 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 2012 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 2015 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 2018 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2021 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2024 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2027 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 2030 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 2033 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 2036 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"


class sipKTimeZoneWidget : public KTimeZoneWidget
{
public:
    sipKTimeZoneWidget(QWidget*,KTimeZones*);
    virtual ~sipKTimeZoneWidget();

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

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    bool eventFilter(QObject*,QEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void closeEvent(QCloseEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void keyReleaseEvent(QKeyEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    void changeEvent(QEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void wheelEvent(QWheelEvent*);
    QSize sizeHint() const;
    QSize minimumSizeHint() const;
    void inputMethodEvent(QInputMethodEvent*);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void resizeEvent(QResizeEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    QStyleOptionViewItem viewOptions() const;
    void startDrag(Qt::DropActions);
    QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex&,const QEvent*) const;
    bool edit(const QModelIndex&,QAbstractItemView::EditTrigger,QEvent*);
    void editorDestroyed(QObject*);
    void commitData(QWidget*);
    void closeEditor(QWidget*,QAbstractItemDelegate::EndEditHint);
    void horizontalScrollbarValueChanged(int);
    void verticalScrollbarValueChanged(int);
    void verticalScrollbarAction(int);
    void updateEditorGeometries();
    void updateEditorData();
    int sizeHintForRow(int) const;
    void currentChanged(const QModelIndex&,const QModelIndex&);
    void selectionChanged(const QItemSelection&,const QItemSelection&);
    bool viewportEvent(QEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    bool isIndexHidden(const QModelIndex&) const;
    void horizontalScrollbarAction(int);
    int sizeHintForColumn(int) const;
    void updateGeometries();
    void keyPressEvent(QKeyEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    void drawBranches(QPainter*,const QRect&,const QModelIndex&) const;
    void drawRow(QPainter*,const QStyleOptionViewItem&,const QModelIndex&) const;
    void mouseReleaseEvent(QMouseEvent*);
    void timerEvent(QTimerEvent*);
    void paintEvent(QPaintEvent*);
    QModelIndexList selectedIndexes() const;
    QRegion visualRegionForSelection(const QItemSelection&) const;
    void setSelection(const QRect&,QItemSelectionModel::SelectionFlags);
    int verticalOffset() const;
    int horizontalOffset() const;
    QModelIndex moveCursor(QAbstractItemView::CursorAction,Qt::KeyboardModifiers);
    void rowsAboutToBeRemoved(const QModelIndex&,int,int);
    void rowsInserted(const QModelIndex&,int,int);
    void scrollContentsBy(int,int);
    void selectAll();
    void dataChanged(const QModelIndex&,const QModelIndex&);
    void reset();
    QModelIndex indexAt(const QPoint&) const;
    void scrollTo(const QModelIndex&,QAbstractItemView::ScrollHint);
    QRect visualRect(const QModelIndex&) const;
    void keyboardSearch(const QString&);
    void setRootIndex(const QModelIndex&);
    void setSelectionModel(QItemSelectionModel*);
    void dropEvent(QDropEvent*);
    bool event(QEvent*);
    Qt::DropActions supportedDropActions() const;
    bool dropMimeData(QTreeWidgetItem*,int,const QMimeData*,Qt::DropAction);
    QMimeData* mimeData(const QList<QTreeWidgetItem*>) const;
    QStringList mimeTypes() const;

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[91];
};

sipKTimeZoneWidget::sipKTimeZoneWidget(QWidget*a0,KTimeZones*a1): KTimeZoneWidget(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKTimeZoneWidget::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KTimeZoneWidget);
}

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

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KTimeZoneWidget,_c,_id,_a);

    return _id;
}

void *sipKTimeZoneWidget::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KTimeZoneWidget, _clname)) ? this : KTimeZoneWidget::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

void sipKTimeZoneWidget::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeZoneWidget::languageChange();
        return;
    }

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

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

void sipKTimeZoneWidget::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeZoneWidget::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTimeZoneWidget::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeZoneWidget::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

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

void sipKTimeZoneWidget::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeZoneWidget::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kdeui_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTimeZoneWidget::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeZoneWidget::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKTimeZoneWidget::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KTimeZoneWidget::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kdeui_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

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

void sipKTimeZoneWidget::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeZoneWidget::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kdeui_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTimeZoneWidget::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeZoneWidget::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kdeui_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

void sipKTimeZoneWidget::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kdeui_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTimeZoneWidget::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeZoneWidget::leaveEvent(a0);
        return;
    }

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

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

void sipKTimeZoneWidget::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeZoneWidget::enterEvent(a0);
        return;
    }

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

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

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

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

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

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

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

QPaintEngine* sipKTimeZoneWidget::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KTimeZoneWidget::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKTimeZoneWidget::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KTimeZoneWidget::heightForWidth(a0);

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

    return ((sipVH_QtGui_28)(sipModuleAPI_kdeui_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTimeZoneWidget::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeZoneWidget::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKTimeZoneWidget::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KTimeZoneWidget::devType();

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

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

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

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

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

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

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

void sipKTimeZoneWidget::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kdeui_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTimeZoneWidget::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kdeui_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKTimeZoneWidget::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KTimeZoneWidget::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKTimeZoneWidget::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KTimeZoneWidget::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

void sipKTimeZoneWidget::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kdeui_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

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

void sipKTimeZoneWidget::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kdeui_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTimeZoneWidget::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kdeui_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QStyleOptionViewItem sipKTimeZoneWidget::viewOptions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KTimeZoneWidget::viewOptions();

    typedef QStyleOptionViewItem (*sipVH_QtGui_71)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_71)(sipModuleAPI_kdeui_QtGui->em_virthandlers[71]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKTimeZoneWidget::startDrag(Qt::DropActions a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeZoneWidget::startDrag(a0);
        return;
    }

    typedef void (*sipVH_QtGui_153)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::DropActions);

    ((sipVH_QtGui_153)(sipModuleAPI_kdeui_QtGui->em_virthandlers[153]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QItemSelectionModel::SelectionFlags sipKTimeZoneWidget::selectionCommand(const QModelIndex& a0,const QEvent*a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KTimeZoneWidget::selectionCommand(a0,a1);

    typedef QItemSelectionModel::SelectionFlags (*sipVH_QtGui_233)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QEvent*);

    return ((sipVH_QtGui_233)(sipModuleAPI_kdeui_QtGui->em_virthandlers[233]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKTimeZoneWidget::edit(const QModelIndex& a0,QAbstractItemView::EditTrigger a1,QEvent*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KTimeZoneWidget::edit(a0,a1,a2);

    typedef bool (*sipVH_QtGui_234)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,QAbstractItemView::EditTrigger,QEvent*);

    return ((sipVH_QtGui_234)(sipModuleAPI_kdeui_QtGui->em_virthandlers[234]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKTimeZoneWidget::editorDestroyed(QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeZoneWidget::editorDestroyed(a0);
        return;
    }

    typedef void (*sipVH_QtGui_235)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*);

    ((sipVH_QtGui_235)(sipModuleAPI_kdeui_QtGui->em_virthandlers[235]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTimeZoneWidget::commitData(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeZoneWidget::commitData(a0);
        return;
    }

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

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

void sipKTimeZoneWidget::closeEditor(QWidget*a0,QAbstractItemDelegate::EndEditHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeZoneWidget::closeEditor(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_236)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*,QAbstractItemDelegate::EndEditHint);

    ((sipVH_QtGui_236)(sipModuleAPI_kdeui_QtGui->em_virthandlers[236]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKTimeZoneWidget::horizontalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeZoneWidget::horizontalScrollbarValueChanged(a0);
        return;
    }

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

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

void sipKTimeZoneWidget::verticalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeZoneWidget::verticalScrollbarValueChanged(a0);
        return;
    }

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

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

void sipKTimeZoneWidget::verticalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeZoneWidget::verticalScrollbarAction(a0);
        return;
    }

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

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

void sipKTimeZoneWidget::updateEditorGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeZoneWidget::updateEditorGeometries();
        return;
    }

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

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

void sipKTimeZoneWidget::updateEditorData()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeZoneWidget::updateEditorData();
        return;
    }

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

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

int sipKTimeZoneWidget::sizeHintForRow(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KTimeZoneWidget::sizeHintForRow(a0);

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

    return ((sipVH_QtGui_28)(sipModuleAPI_kdeui_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTimeZoneWidget::currentChanged(const QModelIndex& a0,const QModelIndex& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeZoneWidget::currentChanged(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_45)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QModelIndex&);

    ((sipVH_QtGui_45)(sipModuleAPI_kdeui_QtGui->em_virthandlers[45]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKTimeZoneWidget::selectionChanged(const QItemSelection& a0,const QItemSelection& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeZoneWidget::selectionChanged(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QItemSelection&,const QItemSelection&);

    ((sipVH_QtGui_46)(sipModuleAPI_kdeui_QtGui->em_virthandlers[46]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKTimeZoneWidget::viewportEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KTimeZoneWidget::viewportEvent(a0);

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

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

void sipKTimeZoneWidget::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

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

bool sipKTimeZoneWidget::isIndexHidden(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KTimeZoneWidget::isIndexHidden(a0);

    typedef bool (*sipVH_QtCore_42)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_42)(sipModuleAPI_kdeui_QtCore->em_virthandlers[42]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTimeZoneWidget::horizontalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeZoneWidget::horizontalScrollbarAction(a0);
        return;
    }

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

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

int sipKTimeZoneWidget::sizeHintForColumn(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KTimeZoneWidget::sizeHintForColumn(a0);

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

    return ((sipVH_QtGui_28)(sipModuleAPI_kdeui_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTimeZoneWidget::updateGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeZoneWidget::updateGeometries();
        return;
    }

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

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

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

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

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

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

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

void sipKTimeZoneWidget::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTimeZoneWidget::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTimeZoneWidget::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTimeZoneWidget::drawBranches(QPainter*a0,const QRect& a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeZoneWidget::drawBranches(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QRect&,const QModelIndex&);

    ((sipVH_QtGui_47)(sipModuleAPI_kdeui_QtGui->em_virthandlers[47]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKTimeZoneWidget::drawRow(QPainter*a0,const QStyleOptionViewItem& a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeZoneWidget::drawRow(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_48)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionViewItem&,const QModelIndex&);

    ((sipVH_QtGui_48)(sipModuleAPI_kdeui_QtGui->em_virthandlers[48]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKTimeZoneWidget::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

void sipKTimeZoneWidget::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeZoneWidget::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kdeui_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QModelIndexList sipKTimeZoneWidget::selectedIndexes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KTimeZoneWidget::selectedIndexes();

    typedef QList<QModelIndex> (*sipVH_QtGui_49)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_49)(sipModuleAPI_kdeui_QtGui->em_virthandlers[49]))(sipGILState, 0, sipPySelf, sipMeth);
}

QRegion sipKTimeZoneWidget::visualRegionForSelection(const QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KTimeZoneWidget::visualRegionForSelection(a0);

    typedef QRegion (*sipVH_QtGui_50)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QItemSelection&);

    return ((sipVH_QtGui_50)(sipModuleAPI_kdeui_QtGui->em_virthandlers[50]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTimeZoneWidget::setSelection(const QRect& a0,QItemSelectionModel::SelectionFlags a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeZoneWidget::setSelection(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_51)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRect&,QItemSelectionModel::SelectionFlags);

    ((sipVH_QtGui_51)(sipModuleAPI_kdeui_QtGui->em_virthandlers[51]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

int sipKTimeZoneWidget::verticalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KTimeZoneWidget::verticalOffset();

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

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

int sipKTimeZoneWidget::horizontalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KTimeZoneWidget::horizontalOffset();

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

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

QModelIndex sipKTimeZoneWidget::moveCursor(QAbstractItemView::CursorAction a0,Qt::KeyboardModifiers a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KTimeZoneWidget::moveCursor(a0,a1);

    typedef QModelIndex (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractItemView::CursorAction,Qt::KeyboardModifiers);

    return ((sipVH_QtGui_52)(sipModuleAPI_kdeui_QtGui->em_virthandlers[52]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKTimeZoneWidget::rowsAboutToBeRemoved(const QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeZoneWidget::rowsAboutToBeRemoved(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_53)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,int);

    ((sipVH_QtGui_53)(sipModuleAPI_kdeui_QtGui->em_virthandlers[53]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKTimeZoneWidget::rowsInserted(const QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeZoneWidget::rowsInserted(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_53)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,int);

    ((sipVH_QtGui_53)(sipModuleAPI_kdeui_QtGui->em_virthandlers[53]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKTimeZoneWidget::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeZoneWidget::scrollContentsBy(a0,a1);
        return;
    }

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

    ((sipVH_QtGui_32)(sipModuleAPI_kdeui_QtGui->em_virthandlers[32]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKTimeZoneWidget::selectAll()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeZoneWidget::selectAll();
        return;
    }

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

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

void sipKTimeZoneWidget::dataChanged(const QModelIndex& a0,const QModelIndex& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeZoneWidget::dataChanged(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_45)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QModelIndex&);

    ((sipVH_QtGui_45)(sipModuleAPI_kdeui_QtGui->em_virthandlers[45]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKTimeZoneWidget::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeZoneWidget::reset();
        return;
    }

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

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

QModelIndex sipKTimeZoneWidget::indexAt(const QPoint& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KTimeZoneWidget::indexAt(a0);

    typedef QModelIndex (*sipVH_QtGui_54)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPoint&);

    return ((sipVH_QtGui_54)(sipModuleAPI_kdeui_QtGui->em_virthandlers[54]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTimeZoneWidget::scrollTo(const QModelIndex& a0,QAbstractItemView::ScrollHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[80],sipPySelf,NULL,sipName_scrollTo);

    if (!sipMeth)
    {
        KTimeZoneWidget::scrollTo(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_55)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,QAbstractItemView::ScrollHint);

    ((sipVH_QtGui_55)(sipModuleAPI_kdeui_QtGui->em_virthandlers[55]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

QRect sipKTimeZoneWidget::visualRect(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KTimeZoneWidget::visualRect(a0);

    typedef QRect (*sipVH_QtGui_56)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtGui_56)(sipModuleAPI_kdeui_QtGui->em_virthandlers[56]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTimeZoneWidget::keyboardSearch(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[82],sipPySelf,NULL,sipName_keyboardSearch);

    if (!sipMeth)
    {
        KTimeZoneWidget::keyboardSearch(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kdeui_QtCore->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTimeZoneWidget::setRootIndex(const QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[83],sipPySelf,NULL,sipName_setRootIndex);

    if (!sipMeth)
    {
        KTimeZoneWidget::setRootIndex(a0);
        return;
    }

    typedef void (*sipVH_QtCore_51)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    ((sipVH_QtCore_51)(sipModuleAPI_kdeui_QtCore->em_virthandlers[51]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTimeZoneWidget::setSelectionModel(QItemSelectionModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[84],sipPySelf,NULL,sipName_setSelectionModel);

    if (!sipMeth)
    {
        KTimeZoneWidget::setSelectionModel(a0);
        return;
    }

    typedef void (*sipVH_QtGui_37)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QItemSelectionModel*);

    ((sipVH_QtGui_37)(sipModuleAPI_kdeui_QtGui->em_virthandlers[37]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTimeZoneWidget::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kdeui_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

Qt::DropActions sipKTimeZoneWidget::supportedDropActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KTimeZoneWidget::supportedDropActions();

    typedef Qt::DropActions (*sipVH_QtCore_53)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_53)(sipModuleAPI_kdeui_QtCore->em_virthandlers[53]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKTimeZoneWidget::dropMimeData(QTreeWidgetItem*a0,int a1,const QMimeData*a2,Qt::DropAction a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[88],sipPySelf,NULL,sipName_dropMimeData);

    if (!sipMeth)
        return KTimeZoneWidget::dropMimeData(a0,a1,a2,a3);

    typedef bool (*sipVH_QtGui_38)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTreeWidgetItem*,int,const QMimeData*,Qt::DropAction);

    return ((sipVH_QtGui_38)(sipModuleAPI_kdeui_QtGui->em_virthandlers[38]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

QMimeData* sipKTimeZoneWidget::mimeData(const QList<QTreeWidgetItem*> a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KTimeZoneWidget::mimeData(a0);

    typedef QMimeData* (*sipVH_QtGui_39)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QList<QTreeWidgetItem*>);

    return ((sipVH_QtGui_39)(sipModuleAPI_kdeui_QtGui->em_virthandlers[39]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QStringList sipKTimeZoneWidget::mimeTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KTimeZoneWidget::mimeTypes();

    typedef QStringList (*sipVH_QtCore_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_27)(sipModuleAPI_kdeui_QtCore->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}


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

    {
        const KTimeZoneWidget *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->selection());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QString* a0;
        int a0State = 0;
        bool a1;
        KTimeZoneWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1b", &sipSelf, sipType_KTimeZoneWidget, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSelected(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KTimeZone* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9", sipType_KTimeZone, &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KTimeZoneWidget::displayName(*a0));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        bool a0;
        KTimeZoneWidget *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KTimeZoneWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTimeZoneWidget, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->itemsCheckable();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QAbstractItemView::SelectionMode a0;
        KTimeZoneWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KTimeZoneWidget, &sipCpp, sipType_QAbstractItemView_SelectionMode, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSelectionMode(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KTimeZoneWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTimeZoneWidget, &sipCpp))
        {
            QAbstractItemView::SelectionMode sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->selectionMode();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QAbstractItemView_SelectionMode);
        }
    }

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

    return NULL;
}


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

    {
        KTimeZoneWidget *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_KTimeZoneWidget(void *, const sipTypeDef *);}
static void *cast_KTimeZoneWidget(void *sipCppV, const sipTypeDef *targetType)
{
    KTimeZoneWidget *sipCpp = reinterpret_cast<KTimeZoneWidget *>(sipCppV);

    if (targetType == sipType_QPaintDevice)
        return static_cast<QPaintDevice *>(sipCpp);

    return sipCppV;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KTimeZoneWidget(sipSimpleWrapper *);}
static void dealloc_KTimeZoneWidget(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKTimeZoneWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

    {
        QWidget* a0 = 0;
        KTimeZones* a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JHJ8", sipType_QWidget, &a0, sipOwner, sipType_KTimeZones, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKTimeZoneWidget(a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KTimeZoneWidget[] = {
    {SIP_MLNAME_CAST(sipName_clearSelection), meth_KTimeZoneWidget_clearSelection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_displayName), meth_KTimeZoneWidget_displayName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemsCheckable), meth_KTimeZoneWidget_itemsCheckable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selection), meth_KTimeZoneWidget_selection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectionMode), meth_KTimeZoneWidget_selectionMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setItemsCheckable), meth_KTimeZoneWidget_setItemsCheckable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSelected), meth_KTimeZoneWidget_setSelected, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSelectionMode), meth_KTimeZoneWidget_setSelectionMode, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KTimeZoneWidget = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KTimeZoneWidget,
        {0}
    },
    {
        sipNameNr_KTimeZoneWidget,
        {0, 0, 1},
        8, methods_KTimeZoneWidget,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KTimeZoneWidget,
    0,
    init_type_KTimeZoneWidget,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KTimeZoneWidget,
    0,
    0,
    0,
    release_KTimeZoneWidget,
    cast_KTimeZoneWidget,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KTimeZoneWidget::staticMetaObject,
    0,
    0
};

#line 23 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/ktimecombobox.sip"
#include <ktimecombobox.h>
#line 4098 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"

#line 23 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/ktimecombobox.sip"
#include <ktimecombobox.h>
#line 4102 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"


extern "C" {static int slot_KTimeComboBox_Options___bool__(PyObject *);}
static int slot_KTimeComboBox_Options___bool__(PyObject *sipSelf)
{
    KTimeComboBox::Options *sipCpp = reinterpret_cast<KTimeComboBox::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KTimeComboBox_Options));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 389 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KTimeComboBox::Options::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 4124 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KTimeComboBox_Options___ne__(PyObject *,PyObject *);}
static PyObject *slot_KTimeComboBox_Options___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KTimeComboBox::Options *sipCpp = reinterpret_cast<KTimeComboBox::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KTimeComboBox_Options));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KTimeComboBox::Options* a0;
        int a0State = 0;

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

#line 380 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KTimeComboBox::Options::Int() != a0->operator KTimeComboBox::Options::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 4158 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
            sipReleaseType(const_cast<KTimeComboBox::Options *>(a0),sipType_KTimeComboBox_Options,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,ne_slot,sipType_KTimeComboBox_Options,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KTimeComboBox_Options___eq__(PyObject *,PyObject *);}
static PyObject *slot_KTimeComboBox_Options___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KTimeComboBox::Options *sipCpp = reinterpret_cast<KTimeComboBox::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KTimeComboBox_Options));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KTimeComboBox::Options* a0;
        int a0State = 0;

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

#line 371 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KTimeComboBox::Options::Int() == a0->operator KTimeComboBox::Options::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 4198 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
            sipReleaseType(const_cast<KTimeComboBox::Options *>(a0),sipType_KTimeComboBox_Options,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,eq_slot,sipType_KTimeComboBox_Options,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KTimeComboBox_Options___invert__(PyObject *);}
static PyObject *slot_KTimeComboBox_Options___invert__(PyObject *sipSelf)
{
    KTimeComboBox::Options *sipCpp = reinterpret_cast<KTimeComboBox::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KTimeComboBox_Options));

    if (!sipCpp)
        return 0;


    {
        {
            KTimeComboBox::Options*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KTimeComboBox::Options(~(*sipCpp));
            Py_END_ALLOW_THREADS

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

    return 0;
}


extern "C" {static PyObject *slot_KTimeComboBox_Options___and__(PyObject *,PyObject *);}
static PyObject *slot_KTimeComboBox_Options___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KTimeComboBox::Options* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KTimeComboBox_Options, &a0, &a0State, &a1))
        {
            KTimeComboBox::Options*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KTimeComboBox::Options((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KTimeComboBox_Options,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_KTimeComboBox_Options___xor__(PyObject *,PyObject *);}
static PyObject *slot_KTimeComboBox_Options___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KTimeComboBox::Options* a0;
        int a0State = 0;
        KTimeComboBox::Options* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KTimeComboBox_Options, &a0, &a0State, sipType_KTimeComboBox_Options, &a1, &a1State))
        {
            KTimeComboBox::Options*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KTimeComboBox::Options((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KTimeComboBox_Options,a0State);
            sipReleaseType(a1,sipType_KTimeComboBox_Options,a1State);

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

    {
        KTimeComboBox::Options* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KTimeComboBox_Options, &a0, &a0State, &a1))
        {
            KTimeComboBox::Options*sipRes = 0;

#line 365 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KTimeComboBox::Options(*a0 ^ a1);
#line 4307 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
            sipReleaseType(a0,sipType_KTimeComboBox_Options,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_KTimeComboBox_Options___or__(PyObject *,PyObject *);}
static PyObject *slot_KTimeComboBox_Options___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KTimeComboBox::Options* a0;
        int a0State = 0;
        KTimeComboBox::Options* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KTimeComboBox_Options, &a0, &a0State, sipType_KTimeComboBox_Options, &a1, &a1State))
        {
            KTimeComboBox::Options*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KTimeComboBox::Options((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KTimeComboBox_Options,a0State);
            sipReleaseType(a1,sipType_KTimeComboBox_Options,a1State);

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

    {
        KTimeComboBox::Options* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KTimeComboBox_Options, &a0, &a0State, &a1))
        {
            KTimeComboBox::Options*sipRes = 0;

#line 360 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KTimeComboBox::Options(*a0 | a1);
#line 4359 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
            sipReleaseType(a0,sipType_KTimeComboBox_Options,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_KTimeComboBox_Options___int__(PyObject *);}
static PyObject *slot_KTimeComboBox_Options___int__(PyObject *sipSelf)
{
    KTimeComboBox::Options *sipCpp = reinterpret_cast<KTimeComboBox::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KTimeComboBox_Options));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


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

    KTimeComboBox::Options *sipCpp = reinterpret_cast<KTimeComboBox::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KTimeComboBox_Options));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KTimeComboBox::Options* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KTimeComboBox_Options, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KTimeComboBox::Options::operator^=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KTimeComboBox_Options,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    KTimeComboBox::Options *sipCpp = reinterpret_cast<KTimeComboBox::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KTimeComboBox_Options));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KTimeComboBox::Options* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KTimeComboBox_Options, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KTimeComboBox::Options::operator|=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KTimeComboBox_Options,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    KTimeComboBox::Options *sipCpp = reinterpret_cast<KTimeComboBox::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KTimeComboBox_Options));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KTimeComboBox::Options::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    delete reinterpret_cast<KTimeComboBox::Options *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KTimeComboBox_Options(void *, SIP_SSIZE_T, const void *);}
static void assign_KTimeComboBox_Options(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KTimeComboBox::Options *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KTimeComboBox::Options *>(sipSrc);
}


extern "C" {static void *array_KTimeComboBox_Options(SIP_SSIZE_T);}
static void *array_KTimeComboBox_Options(SIP_SSIZE_T sipNrElem)
{
    return new KTimeComboBox::Options[sipNrElem];
}


extern "C" {static void *copy_KTimeComboBox_Options(const void *, SIP_SSIZE_T);}
static void *copy_KTimeComboBox_Options(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KTimeComboBox::Options(reinterpret_cast<const KTimeComboBox::Options *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KTimeComboBox_Options(sipSimpleWrapper *);}
static void dealloc_KTimeComboBox_Options(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KTimeComboBox_Options(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_KTimeComboBox_Options(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KTimeComboBox_Options(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KTimeComboBox::Options *sipCpp = 0;

    {
        const KTimeComboBox::Options* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_KTimeComboBox_Options, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KTimeComboBox::Options(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<KTimeComboBox::Options *>(a0),sipType_KTimeComboBox_Options,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KTimeComboBox::Options(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KTimeComboBox::Options();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_KTimeComboBox_Options(PyObject *, void **, int *, PyObject *);}
static int convertTo_KTimeComboBox_Options(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    KTimeComboBox::Options **sipCppPtr = reinterpret_cast<KTimeComboBox::Options **>(sipCppPtrV);

#line 398 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KTimeComboBox::Options is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KTimeComboBox_Option)) ||
            sipCanConvertToType(sipPy, sipType_KTimeComboBox_Options, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KTimeComboBox_Option)))
{
    *sipCppPtr = new KTimeComboBox::Options(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KTimeComboBox::Options *>(sipConvertToType(sipPy, sipType_KTimeComboBox_Options, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 4643 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KTimeComboBox_Options[] = {
    {(void *)slot_KTimeComboBox_Options___bool__, bool_slot},
    {(void *)slot_KTimeComboBox_Options___ne__, ne_slot},
    {(void *)slot_KTimeComboBox_Options___eq__, eq_slot},
    {(void *)slot_KTimeComboBox_Options___invert__, invert_slot},
    {(void *)slot_KTimeComboBox_Options___and__, and_slot},
    {(void *)slot_KTimeComboBox_Options___xor__, xor_slot},
    {(void *)slot_KTimeComboBox_Options___or__, or_slot},
    {(void *)slot_KTimeComboBox_Options___int__, int_slot},
    {(void *)slot_KTimeComboBox_Options___ixor__, ixor_slot},
    {(void *)slot_KTimeComboBox_Options___ior__, ior_slot},
    {(void *)slot_KTimeComboBox_Options___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KTimeComboBox_Options = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KTimeComboBox__Options,
        {0}
    },
    {
        sipNameNr_Options,
        {317, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    slots_KTimeComboBox_Options,
    init_type_KTimeComboBox_Options,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KTimeComboBox_Options,
    assign_KTimeComboBox_Options,
    array_KTimeComboBox_Options,
    copy_KTimeComboBox_Options,
    release_KTimeComboBox_Options,
    0,
    convertTo_KTimeComboBox_Options,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0
};

#line 23 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/ktimecombobox.sip"
#include <ktimecombobox.h>
#line 4719 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 4723 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/klocale.sip"
#include <klocale.h>
#line 4726 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4729 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 245 "/usr/share/python3-sip/PyQt4/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 4732 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 4735 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4738 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4741 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4744 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4747 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4750 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 4753 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4756 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 23 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/ktimecombobox.sip"
#include <ktimecombobox.h>
#line 4759 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 4762 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 4765 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 103 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kcompletion.sip"
#include <kcompletion.h>
#line 4768 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 4771 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kglobalsettings.sip"
#include <kglobalsettings.h>
#line 4774 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlineedit.sip"
#include <qlineedit.h>
#line 4777 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kcompletionbox.sip"
#include <kcompletionbox.h>
#line 4780 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 4783 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 4786 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 4789 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 4792 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4795 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4798 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4801 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4804 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4807 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4810 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 1580 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 4813 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qcompleter.sip"
#include <qcompleter.h>
#line 4816 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 4819 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 4822 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 122 "/usr/share/python3-sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 4825 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 4828 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qvalidator.sip"
#include <qvalidator.h>
#line 4831 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qcombobox.sip"
#include <qcombobox.h>
#line 4834 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4837 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4840 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 4843 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4846 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 4849 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 4852 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 4855 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 4858 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 4861 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 4864 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 4867 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 4870 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 4873 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 4876 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 4879 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 4882 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 4885 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4888 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 4891 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4894 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4897 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4900 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4903 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4906 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4909 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4912 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4915 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 4918 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 4921 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 4924 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4927 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 4930 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 4933 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 4936 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4939 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 4942 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 4945 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 4948 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 4951 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4954 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4957 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4960 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4963 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 4966 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 4969 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 4972 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 157 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kcompletion.sip"
#include <qmap.h>
#line 4975 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 4978 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 31 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kcompletion.sip"
#include <kcompletion.h>
#line 4981 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"


class sipKTimeComboBox : public KTimeComboBox
{
public:
    sipKTimeComboBox(QWidget*);
    virtual ~sipKTimeComboBox();

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[61];
};

sipKTimeComboBox::sipKTimeComboBox(QWidget*a0): KTimeComboBox(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKTimeComboBox::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KTimeComboBox);
}

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

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KTimeComboBox,_c,_id,_a);

    return _id;
}

void *sipKTimeComboBox::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KTimeComboBox, _clname)) ? this : KTimeComboBox::qt_metacast(_clname);
}

void sipKTimeComboBox::setCompletedItems(const QStringList& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeComboBox::setCompletedItems(a0,a1);
        return;
    }

    extern void sipVH_kdeui_82(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QStringList&,bool);

    sipVH_kdeui_82(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKTimeComboBox::setCompletionMode(KGlobalSettings::Completion a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeComboBox::setCompletionMode(a0);
        return;
    }

    extern void sipVH_kdeui_70(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KGlobalSettings::Completion);

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

void sipKTimeComboBox::setHandleSignals(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeComboBox::setHandleSignals(a0);
        return;
    }

    typedef void (*sipVH_QtNetwork_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

void sipKTimeComboBox::setCompletionObject(KCompletion*a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeComboBox::setCompletionObject(a0,a1);
        return;
    }

    extern void sipVH_kdeui_69(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KCompletion*,bool);

    sipVH_kdeui_69(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

void sipKTimeComboBox::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeComboBox::languageChange();
        return;
    }

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

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

void sipKTimeComboBox::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeComboBox::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTimeComboBox::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeComboBox::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

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

void sipKTimeComboBox::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeComboBox::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kdeui_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTimeComboBox::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeComboBox::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

int sipKTimeComboBox::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KTimeComboBox::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kdeui_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTimeComboBox::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kdeui_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTimeComboBox::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kdeui_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTimeComboBox::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

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

void sipKTimeComboBox::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kdeui_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTimeComboBox::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeComboBox::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kdeui_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTimeComboBox::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeComboBox::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kdeui_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

void sipKTimeComboBox::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kdeui_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTimeComboBox::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeComboBox::leaveEvent(a0);
        return;
    }

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

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

void sipKTimeComboBox::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeComboBox::enterEvent(a0);
        return;
    }

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

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

void sipKTimeComboBox::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTimeComboBox::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPaintEngine* sipKTimeComboBox::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KTimeComboBox::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKTimeComboBox::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KTimeComboBox::heightForWidth(a0);

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

    return ((sipVH_QtGui_28)(sipModuleAPI_kdeui_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTimeComboBox::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeComboBox::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKTimeComboBox::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KTimeComboBox::devType();

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

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

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

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

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

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

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

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

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

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

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

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

void sipKTimeComboBox::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kdeui_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

void sipKTimeComboBox::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

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

void sipKTimeComboBox::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeComboBox::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kdeui_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

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

QSize sipKTimeComboBox::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KTimeComboBox::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKTimeComboBox::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KTimeComboBox::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKTimeComboBox::create(WId a0,bool a1,bool a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeComboBox::create(a0,a1,a2);
        return;
    }

    extern void sipVH_kdeui_68(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, unsigned long,bool,bool);

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

void sipKTimeComboBox::setCompletedText(const QString& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeComboBox::setCompletedText(a0,a1);
        return;
    }

    typedef void (*sipVH_QtXml_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,bool);

    ((sipVH_QtXml_24)(sipModuleAPI_kdeui_QtXml->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKTimeComboBox::makeCompletion(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeComboBox::makeCompletion(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kdeui_QtCore->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTimeComboBox::setCompletedText(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeComboBox::setCompletedText(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kdeui_QtCore->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTimeComboBox::setLineEdit(QLineEdit*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeComboBox::setLineEdit(a0);
        return;
    }

    extern void sipVH_kdeui_86(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QLineEdit*);

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

void sipKTimeComboBox::setContextMenuEnabled(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeComboBox::setContextMenuEnabled(a0);
        return;
    }

    typedef void (*sipVH_QtNetwork_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

void sipKTimeComboBox::setAutoCompletion(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeComboBox::setAutoCompletion(a0);
        return;
    }

    typedef void (*sipVH_QtNetwork_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

void sipKTimeComboBox::assignTime(const QTime& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeComboBox::assignTime(a0);
        return;
    }

    extern void sipVH_kdeui_43(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QTime&);

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

void sipKTimeComboBox::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kdeui_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

void sipKTimeComboBox::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kdeui_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTimeComboBox::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTimeComboBox::hidePopup()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTimeComboBox::hidePopup();
        return;
    }

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

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

void sipKTimeComboBox::showPopup()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[59],sipPySelf,NULL,sipName_showPopup);

    if (!sipMeth)
    {
        KTimeComboBox::showPopup();
        return;
    }

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

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

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

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

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

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

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


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

    {
        const KTimeComboBox *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QTime(sipCpp->time());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KTimeComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTimeComboBox, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isValid();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KTimeComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTimeComboBox, &sipCpp))
        {
            KTimeComboBox::Options*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KTimeComboBox::Options(sipCpp->options());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KTimeComboBox *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QTime(sipCpp->minimumTime());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KTimeComboBox *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KTimeComboBox *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QTime(sipCpp->maximumTime());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KTimeComboBox *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QTime* a0;
        int a0State = 0;
        const QTime* a1;
        int a1State = 0;
        const QString& a2def = QString();
        const QString* a2 = &a2def;
        int a2State = 0;
        const QString& a3def = QString();
        const QString* a3 = &a3def;
        int a3State = 0;
        KTimeComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1|J1J1", &sipSelf, sipType_KTimeComboBox, &sipCpp, sipType_QTime, &a0, &a0State, sipType_QTime, &a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTimeRange(*a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QTime *>(a0),sipType_QTime,a0State);
            sipReleaseType(const_cast<QTime *>(a1),sipType_QTime,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KTimeComboBox *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QTime* a0;
        int a0State = 0;
        KTimeComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KTimeComboBox, &sipCpp, sipType_QTime, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTime(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QTime *>(a0),sipType_QTime,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KTimeComboBox::Options* a0;
        int a0State = 0;
        KTimeComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KTimeComboBox, &sipCpp, sipType_KTimeComboBox_Options, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setOptions(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KTimeComboBox_Options,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KLocale::TimeFormatOptions* a0;
        int a0State = 0;
        KTimeComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KTimeComboBox, &sipCpp, sipType_KLocale_TimeFormatOptions, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDisplayFormat(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KLocale_TimeFormatOptions,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KTimeComboBox::eventFilter(a0,a1) : sipCpp->eventFilter(a0,a1));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KTimeComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KTimeComboBox, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTimeComboBox::showPopup() : sipCpp->showPopup());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KTimeComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KTimeComboBox, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTimeComboBox::hidePopup() : sipCpp->hidePopup());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QMouseEvent* a0;
        KTimeComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KTimeComboBox, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTimeComboBox::mousePressEvent(a0) : sipCpp->mousePressEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QWheelEvent* a0;
        KTimeComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KTimeComboBox, &sipCpp, sipType_QWheelEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTimeComboBox::wheelEvent(a0) : sipCpp->wheelEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QKeyEvent* a0;
        KTimeComboBox *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QFocusEvent* a0;
        KTimeComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KTimeComboBox, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTimeComboBox::focusInEvent(a0) : sipCpp->focusInEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QFocusEvent* a0;
        KTimeComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KTimeComboBox, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTimeComboBox::focusOutEvent(a0) : sipCpp->focusOutEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QResizeEvent* a0;
        KTimeComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KTimeComboBox, &sipCpp, sipType_QResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTimeComboBox::resizeEvent(a0) : sipCpp->resizeEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QTime* a0;
        int a0State = 0;
        KTimeComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_KTimeComboBox, &sipCpp, sipType_QTime, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTimeComboBox::assignTime(*a0) : sipCpp->assignTime(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QTime *>(a0),sipType_QTime,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KTimeComboBox *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->timeListInterval();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KTimeComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTimeComboBox, &sipCpp))
        {
            QList<QTime>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QTime>(sipCpp->timeList());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|J1", &sipSelf, sipType_KTimeComboBox, &sipCpp, sipType_QTime, &a0, &a0State, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMinimumTime(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QTime *>(a0),sipType_QTime,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|J1", &sipSelf, sipType_KTimeComboBox, &sipCpp, sipType_QTime, &a0, &a0State, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMaximumTime(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QTime *>(a0),sipType_QTime,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        KTimeComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KTimeComboBox, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTimeListInterval(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QList<QTime>* a0;
        int a0State = 0;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;
        const QString& a2def = QString();
        const QString* a2 = &a2def;
        int a2State = 0;
        KTimeComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|J1J1", &sipSelf, sipType_KTimeComboBox, &sipCpp, sipType_QList_0100QTime,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTimeList(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QList_0100QTime,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KTimeComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTimeComboBox, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isNull();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KTimeComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTimeComboBox, &sipCpp))
        {
            KLocale::TimeFormatOptions*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KLocale::TimeFormatOptions(sipCpp->displayFormat());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_KTimeComboBox(void *, const sipTypeDef *);}
static void *cast_KTimeComboBox(void *sipCppV, const sipTypeDef *targetType)
{
    KTimeComboBox *sipCpp = reinterpret_cast<KTimeComboBox *>(sipCppV);

    if (targetType == sipType_QPaintDevice)
        return static_cast<QPaintDevice *>(sipCpp);

    if (targetType == sipType_KCompletionBase)
        return static_cast<KCompletionBase *>(sipCpp);

    return sipCppV;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KTimeComboBox(sipSimpleWrapper *);}
static void dealloc_KTimeComboBox(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKTimeComboBox *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

    {
        QWidget* a0 = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KTimeComboBox[] = {{58, 255, 1}};


static PyMethodDef methods_KTimeComboBox[] = {
    {SIP_MLNAME_CAST(sipName_assignTime), meth_KTimeComboBox_assignTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_displayFormat), meth_KTimeComboBox_displayFormat, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_KTimeComboBox_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_KTimeComboBox_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_KTimeComboBox_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hidePopup), meth_KTimeComboBox_hidePopup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isNull), meth_KTimeComboBox_isNull, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isValid), meth_KTimeComboBox_isValid, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_KTimeComboBox_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_maximumTime), meth_KTimeComboBox_maximumTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_minimumTime), meth_KTimeComboBox_minimumTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_KTimeComboBox_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_options), meth_KTimeComboBox_options, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resetMaximumTime), meth_KTimeComboBox_resetMaximumTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resetMinimumTime), meth_KTimeComboBox_resetMinimumTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resetTimeRange), meth_KTimeComboBox_resetTimeRange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_KTimeComboBox_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDisplayFormat), meth_KTimeComboBox_setDisplayFormat, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMaximumTime), meth_KTimeComboBox_setMaximumTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMinimumTime), meth_KTimeComboBox_setMinimumTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOptions), meth_KTimeComboBox_setOptions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTime), meth_KTimeComboBox_setTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTimeList), meth_KTimeComboBox_setTimeList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTimeListInterval), meth_KTimeComboBox_setTimeListInterval, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTimeRange), meth_KTimeComboBox_setTimeRange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showPopup), meth_KTimeComboBox_showPopup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_time), meth_KTimeComboBox_time, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timeList), meth_KTimeComboBox_timeList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timeListInterval), meth_KTimeComboBox_timeListInterval, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_KTimeComboBox_wheelEvent, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KTimeComboBox[] = {
    {sipName_EditTime, static_cast<int>(KTimeComboBox::EditTime), 318},
    {sipName_ForceTime, static_cast<int>(KTimeComboBox::ForceTime), 318},
    {sipName_SelectTime, static_cast<int>(KTimeComboBox::SelectTime), 318},
    {sipName_WarnOnInvalid, static_cast<int>(KTimeComboBox::WarnOnInvalid), 318},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KTimeComboBox[] = {
    {"timeEdited(QTime)", 0, 0, 0},
    {"timeChanged(QTime)", 0, 0, 0},
    {"timeEntered(QTime)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KTimeComboBox = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KTimeComboBox,
        {0}
    },
    {
        sipNameNr_KTimeComboBox,
        {0, 0, 1},
        30, methods_KTimeComboBox,
        4, enummembers_KTimeComboBox,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KTimeComboBox,
    0,
    init_type_KTimeComboBox,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KTimeComboBox,
    0,
    0,
    0,
    release_KTimeComboBox,
    cast_KTimeComboBox,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KTimeComboBox::staticMetaObject,
    0,
    signals_KTimeComboBox,
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/ktextedit.sip"
#include <ktextedit.h>
#line 7209 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"

#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 7213 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"


class sipKTextEditSpellInterface : public KTextEditSpellInterface
{
public:
    sipKTextEditSpellInterface();
    sipKTextEditSpellInterface(const KTextEditSpellInterface&);
    virtual ~sipKTextEditSpellInterface();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool shouldBlockBeSpellChecked(const QString&) const;
    void setSpellCheckingEnabled(bool);
    bool isSpellCheckingEnabled() const;

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[3];
};

sipKTextEditSpellInterface::sipKTextEditSpellInterface(): KTextEditSpellInterface(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKTextEditSpellInterface::sipKTextEditSpellInterface(const KTextEditSpellInterface& a0): KTextEditSpellInterface(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

bool sipKTextEditSpellInterface::shouldBlockBeSpellChecked(const QString& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return 0;

    typedef bool (*sipVH_QtCore_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    return ((sipVH_QtCore_28)(sipModuleAPI_kdeui_QtCore->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextEditSpellInterface::setSpellCheckingEnabled(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,sipName_KTextEditSpellInterface,sipName_setSpellCheckingEnabled);

    if (!sipMeth)
        return;

    typedef void (*sipVH_QtNetwork_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

bool sipKTextEditSpellInterface::isSpellCheckingEnabled() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return 0;

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

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


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

    {
        const KTextEditSpellInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTextEditSpellInterface, &sipCpp))
        {
            bool sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KTextEditSpellInterface, sipName_isSpellCheckingEnabled);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isSpellCheckingEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        KTextEditSpellInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KTextEditSpellInterface, &sipCpp, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KTextEditSpellInterface, sipName_setSpellCheckingEnabled);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSpellCheckingEnabled(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QString* a0;
        int a0State = 0;
        const KTextEditSpellInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KTextEditSpellInterface, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KTextEditSpellInterface, sipName_shouldBlockBeSpellChecked);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->shouldBlockBeSpellChecked(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKTextEditSpellInterface *>(sipCppV);
    else
        delete reinterpret_cast<KTextEditSpellInterface *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KTextEditSpellInterface(sipSimpleWrapper *);}
static void dealloc_KTextEditSpellInterface(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKTextEditSpellInterface *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKTextEditSpellInterface();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const KTextEditSpellInterface* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_KTextEditSpellInterface, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKTextEditSpellInterface(*a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KTextEditSpellInterface[] = {
    {SIP_MLNAME_CAST(sipName_isSpellCheckingEnabled), meth_KTextEditSpellInterface_isSpellCheckingEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSpellCheckingEnabled), meth_KTextEditSpellInterface_setSpellCheckingEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_shouldBlockBeSpellChecked), meth_KTextEditSpellInterface_shouldBlockBeSpellChecked, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KTextEditSpellInterface = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_KTextEditSpellInterface,
        {0}
    },
    {
        sipNameNr_KTextEditSpellInterface,
        {0, 0, 1},
        3, methods_KTextEditSpellInterface,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KTextEditSpellInterface,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KTextEditSpellInterface,
    0,
    0,
    0,
    release_KTextEditSpellInterface,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/ktextbrowser.sip"
#include <ktextbrowser.h>
#line 7535 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 7539 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 7542 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7545 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7548 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7551 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 102 "/usr/share/python3-sip/PyQt4/QtCore/qurl.sip"
#include <qurl.h>
#line 7554 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7557 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7560 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7563 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7566 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 7569 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 7572 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcolor.sip"
#include <qcolor.h>
#line 7575 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7578 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7581 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 7584 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7587 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7590 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7593 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7596 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7599 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7602 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7605 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 340 "/usr/share/python3-sip/PyQt4/QtGui/qtextformat.sip"
#include <qtextformat.h>
#line 7608 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7611 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 7614 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 210 "/usr/share/python3-sip/PyQt4/QtGui/qprinter.sip"
#include <qprinter.h>
#line 7617 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qtextcursor.sip"
#include <qtextcursor.h>
#line 7620 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7623 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 39 "/usr/share/python3-sip/PyQt4/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 7628 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7631 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 7634 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 7637 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 7640 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 63 "/usr/share/python3-sip/PyQt4/QtGui/qtextdocument.sip"
#include <qtextdocument.h>
#line 7643 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 7646 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 7649 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 7652 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 63 "/usr/share/python3-sip/PyQt4/QtGui/qtextdocument.sip"
#include <qtextdocument.h>
#line 7655 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7658 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qscrollbar.sip"
#include <qscrollbar.h>
#line 7661 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 7664 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 7667 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 7670 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qframe.sip"
#include <qframe.h>
#line 7673 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7676 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7679 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 7682 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 7685 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 7688 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 7691 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 7694 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 7697 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 7700 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 7703 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 7706 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7709 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 7712 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7715 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7718 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7721 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7724 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7727 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 7730 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 7733 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 7736 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7739 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 7742 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 7745 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 7748 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7751 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 7754 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 7757 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 7760 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 7763 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 7766 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7769 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 7772 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7775 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7778 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 7781 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 7784 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 7787 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"


class sipKTextBrowser : public KTextBrowser
{
public:
    sipKTextBrowser(QWidget*,bool);
    virtual ~sipKTextBrowser();

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[58];
};

sipKTextBrowser::sipKTextBrowser(QWidget*a0,bool a1): KTextBrowser(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKTextBrowser::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KTextBrowser);
}

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

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KTextBrowser,_c,_id,_a);

    return _id;
}

void *sipKTextBrowser::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KTextBrowser, _clname)) ? this : KTextBrowser::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

void sipKTextBrowser::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTextBrowser::languageChange();
        return;
    }

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

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

void sipKTextBrowser::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTextBrowser::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTextBrowser::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

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

void sipKTextBrowser::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTextBrowser::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kdeui_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTextBrowser::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKTextBrowser::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KTextBrowser::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kdeui_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

void sipKTextBrowser::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTextBrowser::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kdeui_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTextBrowser::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kdeui_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

void sipKTextBrowser::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kdeui_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTextBrowser::leaveEvent(a0);
        return;
    }

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

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

void sipKTextBrowser::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTextBrowser::enterEvent(a0);
        return;
    }

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

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

QPaintEngine* sipKTextBrowser::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KTextBrowser::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKTextBrowser::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KTextBrowser::heightForWidth(a0);

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

    return ((sipVH_QtGui_28)(sipModuleAPI_kdeui_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTextBrowser::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKTextBrowser::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KTextBrowser::devType();

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

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

bool sipKTextBrowser::viewportEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KTextBrowser::viewportEvent(a0);

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

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

QSize sipKTextBrowser::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KTextBrowser::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKTextBrowser::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KTextBrowser::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKTextBrowser::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTextBrowser::scrollContentsBy(a0,a1);
        return;
    }

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

    ((sipVH_QtGui_32)(sipModuleAPI_kdeui_QtGui->em_virthandlers[32]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

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

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

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

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

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

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

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

void sipKTextBrowser::insertFromMimeData(const QMimeData*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_insertFromMimeData);

    if (!sipMeth)
    {
        KTextBrowser::insertFromMimeData(a0);
        return;
    }

    typedef void (*sipVH_QtGui_59)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMimeData*);

    ((sipVH_QtGui_59)(sipModuleAPI_kdeui_QtGui->em_virthandlers[59]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKTextBrowser::canInsertFromMimeData(const QMimeData*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_canInsertFromMimeData);

    if (!sipMeth)
        return KTextBrowser::canInsertFromMimeData(a0);

    typedef bool (*sipVH_QtGui_60)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMimeData*);

    return ((sipVH_QtGui_60)(sipModuleAPI_kdeui_QtGui->em_virthandlers[60]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QMimeData* sipKTextBrowser::createMimeDataFromSelection() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_createMimeDataFromSelection);

    if (!sipMeth)
        return KTextBrowser::createMimeDataFromSelection();

    typedef QMimeData* (*sipVH_QtGui_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_61)(sipModuleAPI_kdeui_QtGui->em_virthandlers[61]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKTextBrowser::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KTextBrowser::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KTextBrowser::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kdeui_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KTextBrowser::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KTextBrowser::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kdeui_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KTextBrowser::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtGui_17)(sipModuleAPI_kdeui_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KTextBrowser::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kdeui_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KTextBrowser::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kdeui_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KTextBrowser::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KTextBrowser::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kdeui_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KTextBrowser::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KTextBrowser::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KTextBrowser::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kdeui_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKTextBrowser::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KTextBrowser::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kdeui_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KTextBrowser::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KTextBrowser::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KTextBrowser::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KTextBrowser::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKTextBrowser::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KTextBrowser::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::reload()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_reload);

    if (!sipMeth)
    {
        KTextBrowser::reload();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKTextBrowser::home()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_home);

    if (!sipMeth)
    {
        KTextBrowser::home();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKTextBrowser::forward()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_forward);

    if (!sipMeth)
    {
        KTextBrowser::forward();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKTextBrowser::backward()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_backward);

    if (!sipMeth)
    {
        KTextBrowser::backward();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKTextBrowser::setSource(const QUrl& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_setSource);

    if (!sipMeth)
    {
        KTextBrowser::setSource(a0);
        return;
    }

    typedef void (*sipVH_QtGui_64)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QUrl&);

    ((sipVH_QtGui_64)(sipModuleAPI_kdeui_QtGui->em_virthandlers[64]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipKTextBrowser::loadResource(int a0,const QUrl& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_loadResource);

    if (!sipMeth)
        return KTextBrowser::loadResource(a0,a1);

    typedef QVariant (*sipVH_QtGui_62)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,const QUrl&);

    return ((sipVH_QtGui_62)(sipModuleAPI_kdeui_QtGui->em_virthandlers[62]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKTextBrowser::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KTextBrowser::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kdeui_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KTextBrowser::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kdeui_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KTextBrowser::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KTextBrowser_setNotifyClick(PyObject *, PyObject *);}
static PyObject *meth_KTextBrowser_setNotifyClick(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KTextBrowser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KTextBrowser, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setNotifyClick(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTextBrowser, sipName_setNotifyClick, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTextBrowser_isNotifyClick(PyObject *, PyObject *);}
static PyObject *meth_KTextBrowser_isNotifyClick(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KTextBrowser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTextBrowser, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isNotifyClick();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTextBrowser, sipName_isNotifyClick, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTextBrowser_setSource(PyObject *, PyObject *);}
static PyObject *meth_KTextBrowser_setSource(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QUrl* a0;
        KTextBrowser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9", &sipSelf, sipType_KTextBrowser, &sipCpp, sipType_QUrl, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTextBrowser::setSource(*a0) : sipCpp->setSource(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTextBrowser, sipName_setSource, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTextBrowser_keyPressEvent(PyObject *, PyObject *);}
static PyObject *meth_KTextBrowser_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        KTextBrowser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KTextBrowser, &sipCpp, sipType_QKeyEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTextBrowser::keyPressEvent(a0) : sipCpp->keyPressEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTextBrowser, sipName_keyPressEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTextBrowser_wheelEvent(PyObject *, PyObject *);}
static PyObject *meth_KTextBrowser_wheelEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        KTextBrowser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KTextBrowser, &sipCpp, sipType_QWheelEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTextBrowser::wheelEvent(a0) : sipCpp->wheelEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTextBrowser, sipName_wheelEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTextBrowser_contextMenuEvent(PyObject *, PyObject *);}
static PyObject *meth_KTextBrowser_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        KTextBrowser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KTextBrowser, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTextBrowser::contextMenuEvent(a0) : sipCpp->contextMenuEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTextBrowser, sipName_contextMenuEvent, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_KTextBrowser(void *, const sipTypeDef *);}
static void *cast_KTextBrowser(void *sipCppV, const sipTypeDef *targetType)
{
    KTextBrowser *sipCpp = reinterpret_cast<KTextBrowser *>(sipCppV);

    if (targetType == sipType_QPaintDevice)
        return static_cast<QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KTextBrowser(void *, int);}
static void release_KTextBrowser(void *sipCppV,int)
{
    KTextBrowser *sipCpp = reinterpret_cast<KTextBrowser *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KTextBrowser(sipSimpleWrapper *);}
static void dealloc_KTextBrowser(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKTextBrowser *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KTextBrowser(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KTextBrowser(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KTextBrowser(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKTextBrowser *sipCpp = 0;

    {
        QWidget* a0 = 0;
        bool a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JHb", sipType_QWidget, &a0, sipOwner, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKTextBrowser(a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KTextBrowser[] = {{651, 2, 1}};


static PyMethodDef methods_KTextBrowser[] = {
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_KTextBrowser_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isNotifyClick), meth_KTextBrowser_isNotifyClick, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_KTextBrowser_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setNotifyClick), meth_KTextBrowser_setNotifyClick, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSource), meth_KTextBrowser_setSource, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_KTextBrowser_wheelEvent, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KTextBrowser[] = {
    {"urlClick(QString)", 0, 0, 0},
    {"mailClick(QString,QString)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KTextBrowser = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KTextBrowser,
        {0}
    },
    {
        sipNameNr_KTextBrowser,
        {0, 0, 1},
        6, methods_KTextBrowser,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KTextBrowser,
    0,
    init_type_KTextBrowser,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KTextBrowser,
    0,
    0,
    0,
    release_KTextBrowser,
    cast_KTextBrowser,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KTextBrowser::staticMetaObject,
    0,
    signals_KTextBrowser,
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/ktabwidget.sip"
#include <ktabwidget.h>
#line 9218 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 9222 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9225 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9228 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9231 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9234 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9237 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9240 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9243 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 9246 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 9249 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcolor.sip"
#include <qcolor.h>
#line 9252 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 9255 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9258 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9261 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qtabbar.sip"
#include <qtabbar.h>
#line 9264 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9267 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9270 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9273 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 520 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 9276 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qtabwidget.sip"
#include <qtabwidget.h>
#line 9279 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 9282 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9285 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 9288 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9291 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 9294 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 9297 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 9300 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 9303 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 9306 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 9309 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 9312 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 9315 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 9318 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 9321 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 9324 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 9327 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 9330 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 9333 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9336 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9339 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9342 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9345 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9348 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9351 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9354 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9357 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9360 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 9363 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 9366 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 9369 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 9372 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 9375 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 9378 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 9381 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9384 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 9387 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 9390 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 9393 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 9396 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9399 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9402 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 9405 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 9408 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 9411 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 9414 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 9417 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 9420 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"


class sipKTabWidget : public KTabWidget
{
public:
    sipKTabWidget(QWidget*,Qt::WFlags);
    virtual ~sipKTabWidget();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void mouseMoveEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    void setVisible(bool);
    int devType() const;
    int heightForWidth(int) const;
    void changeEvent(QEvent*);
    void paintEvent(QPaintEvent*);
    void keyPressEvent(QKeyEvent*);
    void showEvent(QShowEvent*);
    bool event(QEvent*);
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    void mouseReleaseEvent(QMouseEvent*);
    void wheelDelta(int);
    void tabRemoved(int);
    void tabInserted(int);
    void resizeEvent(QResizeEvent*);
    void wheelEvent(QWheelEvent*);
    void dropEvent(QDropEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void mousePressEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void removeTab(int);
    void removePage(QWidget*);
    void moveTab(int,int);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKTabWidget(const sipKTabWidget &);
    sipKTabWidget &operator = (const sipKTabWidget &);

    char sipPyMethods[53];
};

sipKTabWidget::sipKTabWidget(QWidget*a0,Qt::WFlags a1): KTabWidget(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKTabWidget::~sipKTabWidget()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKTabWidget::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KTabWidget);
}

int sipKTabWidget::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KTabWidget::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KTabWidget,_c,_id,_a);

    return _id;
}

void *sipKTabWidget::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KTabWidget, _clname)) ? this : KTabWidget::qt_metacast(_clname);
}

void sipKTabWidget::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KTabWidget::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KTabWidget::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KTabWidget::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KTabWidget::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KTabWidget::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKTabWidget::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KTabWidget::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKTabWidget::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KTabWidget::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKTabWidget::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KTabWidget::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KTabWidget::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_kdeui_QtGui->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KTabWidget::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kdeui_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KTabWidget::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKTabWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KTabWidget::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kdeui_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipKTabWidget::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return KTabWidget::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_kdeui_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KTabWidget::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_kdeui_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKTabWidget::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return KTabWidget::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kdeui_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KTabWidget::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_kdeui_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KTabWidget::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kdeui_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KTabWidget::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kdeui_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KTabWidget::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kdeui_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KTabWidget::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kdeui_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KTabWidget::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_kdeui_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KTabWidget::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kdeui_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KTabWidget::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KTabWidget::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KTabWidget::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KTabWidget::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KTabWidget::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KTabWidget::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPaintEngine* sipKTabWidget::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KTabWidget::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKTabWidget::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KTabWidget::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKTabWidget::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KTabWidget::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kdeui_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKTabWidget::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return KTabWidget::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kdeui_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KTabWidget::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KTabWidget::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kdeui_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KTabWidget::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KTabWidget::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kdeui_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKTabWidget::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KTabWidget::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKTabWidget::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KTabWidget::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKTabWidget::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KTabWidget::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKTabWidget::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KTabWidget::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::wheelDelta(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_wheelDelta);

    if (!sipMeth)
    {
        KTabWidget::wheelDelta(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_kdeui_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::tabRemoved(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_tabRemoved);

    if (!sipMeth)
    {
        KTabWidget::tabRemoved(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_kdeui_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::tabInserted(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_tabInserted);

    if (!sipMeth)
    {
        KTabWidget::tabInserted(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_kdeui_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KTabWidget::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kdeui_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KTabWidget::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kdeui_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KTabWidget::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kdeui_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KTabWidget::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtGui_17)(sipModuleAPI_kdeui_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KTabWidget::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kdeui_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KTabWidget::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KTabWidget::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::removeTab(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_removeTab);

    if (!sipMeth)
    {
        KTabWidget::removeTab(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_kdeui_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::removePage(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_removePage);

    if (!sipMeth)
    {
        KTabWidget::removePage(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    ((sipVH_QtGui_7)(sipModuleAPI_kdeui_QtGui->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::moveTab(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_moveTab);

    if (!sipMeth)
    {
        KTabWidget::moveTab(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_32)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    ((sipVH_QtGui_32)(sipModuleAPI_kdeui_QtGui->em_virthandlers[32]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}


extern "C" {static PyObject *meth_KTabWidget_setTabTextColor(PyObject *, PyObject *);}
static PyObject *meth_KTabWidget_setTabTextColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QColor* a1;
        int a1State = 0;
        KTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ1", &sipSelf, sipType_KTabWidget, &sipCpp, &a0, sipType_QColor, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTabTextColor(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QColor *>(a1),sipType_QColor,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabWidget, sipName_setTabTextColor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabWidget_tabTextColor(PyObject *, PyObject *);}
static PyObject *meth_KTabWidget_tabTextColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const KTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KTabWidget, &sipCpp, &a0))
        {
            QColor*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QColor(sipCpp->tabTextColor(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QColor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabWidget, sipName_tabTextColor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabWidget_isTabReorderingEnabled(PyObject *, PyObject *);}
static PyObject *meth_KTabWidget_isTabReorderingEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTabWidget, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isTabReorderingEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabWidget, sipName_isTabReorderingEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabWidget_hoverCloseButton(PyObject *, PyObject *);}
static PyObject *meth_KTabWidget_hoverCloseButton(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTabWidget, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hoverCloseButton();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabWidget, sipName_hoverCloseButton, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabWidget_hoverCloseButtonDelayed(PyObject *, PyObject *);}
static PyObject *meth_KTabWidget_hoverCloseButtonDelayed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTabWidget, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hoverCloseButtonDelayed();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabWidget, sipName_hoverCloseButtonDelayed, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabWidget_isCloseButtonEnabled(PyObject *, PyObject *);}
static PyObject *meth_KTabWidget_isCloseButtonEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTabWidget, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isCloseButtonEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabWidget, sipName_isCloseButtonEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabWidget_tabCloseActivatePrevious(PyObject *, PyObject *);}
static PyObject *meth_KTabWidget_tabCloseActivatePrevious(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTabWidget, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->tabCloseActivatePrevious();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabWidget, sipName_tabCloseActivatePrevious, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabWidget_automaticResizeTabs(PyObject *, PyObject *);}
static PyObject *meth_KTabWidget_automaticResizeTabs(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTabWidget, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->automaticResizeTabs();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabWidget, sipName_automaticResizeTabs, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabWidget_setTabBarHidden(PyObject *, PyObject *);}
static PyObject *meth_KTabWidget_setTabBarHidden(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KTabWidget, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTabBarHidden(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabWidget, sipName_setTabBarHidden, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabWidget_isTabBarHidden(PyObject *, PyObject *);}
static PyObject *meth_KTabWidget_isTabBarHidden(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTabWidget, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isTabBarHidden();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabWidget, sipName_isTabBarHidden, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabWidget_tabText(PyObject *, PyObject *);}
static PyObject *meth_KTabWidget_tabText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const KTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KTabWidget, &sipCpp, &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->tabText(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabWidget, sipName_tabText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabWidget_setTabText(PyObject *, PyObject *);}
static PyObject *meth_KTabWidget_setTabText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QString* a1;
        int a1State = 0;
        KTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ1", &sipSelf, sipType_KTabWidget, &sipCpp, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTabText(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabWidget, sipName_setTabText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabWidget_moveTab(PyObject *, PyObject *);}
static PyObject *meth_KTabWidget_moveTab(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        KTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_KTabWidget, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTabWidget::moveTab(a0,a1) : sipCpp->moveTab(a0,a1));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabWidget, sipName_moveTab, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabWidget_removePage(PyObject *, PyObject *);}
static PyObject *meth_KTabWidget_removePage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        KTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTabWidget, &sipCpp, sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTabWidget::removePage(a0) : sipCpp->removePage(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabWidget, sipName_removePage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabWidget_removeTab(PyObject *, PyObject *);}
static PyObject *meth_KTabWidget_removeTab(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        KTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KTabWidget, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTabWidget::removeTab(a0) : sipCpp->removeTab(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabWidget, sipName_removeTab, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabWidget_setTabReorderingEnabled(PyObject *, PyObject *);}
static PyObject *meth_KTabWidget_setTabReorderingEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KTabWidget, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTabReorderingEnabled(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabWidget, sipName_setTabReorderingEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabWidget_setHoverCloseButton(PyObject *, PyObject *);}
static PyObject *meth_KTabWidget_setHoverCloseButton(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KTabWidget, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setHoverCloseButton(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabWidget, sipName_setHoverCloseButton, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabWidget_setHoverCloseButtonDelayed(PyObject *, PyObject *);}
static PyObject *meth_KTabWidget_setHoverCloseButtonDelayed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KTabWidget, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setHoverCloseButtonDelayed(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabWidget, sipName_setHoverCloseButtonDelayed, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabWidget_setCloseButtonEnabled(PyObject *, PyObject *);}
static PyObject *meth_KTabWidget_setCloseButtonEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KTabWidget, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCloseButtonEnabled(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabWidget, sipName_setCloseButtonEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabWidget_setTabCloseActivatePrevious(PyObject *, PyObject *);}
static PyObject *meth_KTabWidget_setTabCloseActivatePrevious(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KTabWidget, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTabCloseActivatePrevious(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabWidget, sipName_setTabCloseActivatePrevious, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabWidget_setAutomaticResizeTabs(PyObject *, PyObject *);}
static PyObject *meth_KTabWidget_setAutomaticResizeTabs(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KTabWidget, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAutomaticResizeTabs(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabWidget, sipName_setAutomaticResizeTabs, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabWidget_mouseDoubleClickEvent(PyObject *, PyObject *);}
static PyObject *meth_KTabWidget_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        KTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KTabWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTabWidget::mouseDoubleClickEvent(a0) : sipCpp->mouseDoubleClickEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabWidget, sipName_mouseDoubleClickEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabWidget_mousePressEvent(PyObject *, PyObject *);}
static PyObject *meth_KTabWidget_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        KTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KTabWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTabWidget::mousePressEvent(a0) : sipCpp->mousePressEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabWidget, sipName_mousePressEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabWidget_dragEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_KTabWidget_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        KTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KTabWidget, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTabWidget::dragEnterEvent(a0) : sipCpp->dragEnterEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabWidget, sipName_dragEnterEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabWidget_dragMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_KTabWidget_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        KTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KTabWidget, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTabWidget::dragMoveEvent(a0) : sipCpp->dragMoveEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabWidget, sipName_dragMoveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabWidget_dropEvent(PyObject *, PyObject *);}
static PyObject *meth_KTabWidget_dropEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        KTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KTabWidget, &sipCpp, sipType_QDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTabWidget::dropEvent(a0) : sipCpp->dropEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabWidget, sipName_dropEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabWidget_tabBarWidthForMaxChars(PyObject *, PyObject *);}
static PyObject *meth_KTabWidget_tabBarWidthForMaxChars(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pi", &sipSelf, sipType_KTabWidget, &sipCpp, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->tabBarWidthForMaxChars(a0);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabWidget, sipName_tabBarWidthForMaxChars, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabWidget_wheelEvent(PyObject *, PyObject *);}
static PyObject *meth_KTabWidget_wheelEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        KTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KTabWidget, &sipCpp, sipType_QWheelEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTabWidget::wheelEvent(a0) : sipCpp->wheelEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabWidget, sipName_wheelEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabWidget_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_KTabWidget_resizeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        KTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KTabWidget, &sipCpp, sipType_QResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTabWidget::resizeEvent(a0) : sipCpp->resizeEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabWidget, sipName_resizeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabWidget_tabInserted(PyObject *, PyObject *);}
static PyObject *meth_KTabWidget_tabInserted(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        KTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pi", &sipSelf, sipType_KTabWidget, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTabWidget::tabInserted(a0) : sipCpp->tabInserted(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabWidget, sipName_tabInserted, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabWidget_tabRemoved(PyObject *, PyObject *);}
static PyObject *meth_KTabWidget_tabRemoved(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        KTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pi", &sipSelf, sipType_KTabWidget, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTabWidget::tabRemoved(a0) : sipCpp->tabRemoved(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabWidget, sipName_tabRemoved, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabWidget_currentChanged(PyObject *, PyObject *);}
static PyObject *meth_KTabWidget_currentChanged(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pi", &sipSelf, sipType_KTabWidget, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->currentChanged(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabWidget, sipName_currentChanged, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabWidget_wheelDelta(PyObject *, PyObject *);}
static PyObject *meth_KTabWidget_wheelDelta(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        KTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pi", &sipSelf, sipType_KTabWidget, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTabWidget::wheelDelta(a0) : sipCpp->wheelDelta(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabWidget, sipName_wheelDelta, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabWidget_mouseReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_KTabWidget_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        KTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KTabWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTabWidget::mouseReleaseEvent(a0) : sipCpp->mouseReleaseEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabWidget, sipName_mouseReleaseEvent, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_KTabWidget(void *, const sipTypeDef *);}
static void *cast_KTabWidget(void *sipCppV, const sipTypeDef *targetType)
{
    KTabWidget *sipCpp = reinterpret_cast<KTabWidget *>(sipCppV);

    if (targetType == sipType_QPaintDevice)
        return static_cast<QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KTabWidget(void *, int);}
static void release_KTabWidget(void *sipCppV,int)
{
    KTabWidget *sipCpp = reinterpret_cast<KTabWidget *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KTabWidget(sipSimpleWrapper *);}
static void dealloc_KTabWidget(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKTabWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KTabWidget(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KTabWidget(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KTabWidget(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKTabWidget *sipCpp = 0;

    {
        QWidget* a0 = 0;
        Qt::WFlags a1def = 0;
        Qt::WFlags* a1 = &a1def;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JHJ1", sipType_QWidget, &a0, sipOwner, sipType_Qt_WindowFlags, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKTabWidget(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_Qt_WindowFlags,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KTabWidget[] = {{632, 2, 1}};


static PyMethodDef methods_KTabWidget[] = {
    {SIP_MLNAME_CAST(sipName_automaticResizeTabs), meth_KTabWidget_automaticResizeTabs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentChanged), meth_KTabWidget_currentChanged, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_KTabWidget_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_KTabWidget_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_KTabWidget_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverCloseButton), meth_KTabWidget_hoverCloseButton, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverCloseButtonDelayed), meth_KTabWidget_hoverCloseButtonDelayed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isCloseButtonEnabled), meth_KTabWidget_isCloseButtonEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isTabBarHidden), meth_KTabWidget_isTabBarHidden, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isTabReorderingEnabled), meth_KTabWidget_isTabReorderingEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_KTabWidget_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_KTabWidget_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_KTabWidget_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveTab), meth_KTabWidget_moveTab, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removePage), meth_KTabWidget_removePage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeTab), meth_KTabWidget_removeTab, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_KTabWidget_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAutomaticResizeTabs), meth_KTabWidget_setAutomaticResizeTabs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCloseButtonEnabled), meth_KTabWidget_setCloseButtonEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHoverCloseButton), meth_KTabWidget_setHoverCloseButton, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHoverCloseButtonDelayed), meth_KTabWidget_setHoverCloseButtonDelayed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTabBarHidden), meth_KTabWidget_setTabBarHidden, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTabCloseActivatePrevious), meth_KTabWidget_setTabCloseActivatePrevious, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTabReorderingEnabled), meth_KTabWidget_setTabReorderingEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTabText), meth_KTabWidget_setTabText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTabTextColor), meth_KTabWidget_setTabTextColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tabBarWidthForMaxChars), meth_KTabWidget_tabBarWidthForMaxChars, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tabCloseActivatePrevious), meth_KTabWidget_tabCloseActivatePrevious, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tabInserted), meth_KTabWidget_tabInserted, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tabRemoved), meth_KTabWidget_tabRemoved, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tabText), meth_KTabWidget_tabText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tabTextColor), meth_KTabWidget_tabTextColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelDelta), meth_KTabWidget_wheelDelta, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_KTabWidget_wheelEvent, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KTabWidget[] = {
    {"closeRequest(QWidget*)", 0, 0, 0},
    {"mouseMiddleClick()", 0, 0, 0},
    {"mouseMiddleClick(QWidget*)", 0, 0, 0},
    {"mouseDoubleClick()", 0, 0, 0},
    {"mouseDoubleClick(QWidget*)", 0, 0, 0},
    {"movedTab(int,int)", 0, 0, 0},
    {"contextMenu(QWidget*,QPoint)", 0, 0, 0},
    {"initiateDrag(QWidget*)", 0, 0, 0},
    {"receivedDropEvent(QDropEvent*)", 0, 0, 0},
    {"receivedDropEvent(QWidget*,QDropEvent*)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KTabWidget = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KTabWidget,
        {0}
    },
    {
        sipNameNr_KTabWidget,
        {0, 0, 1},
        34, methods_KTabWidget,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KTabWidget,
    0,
    init_type_KTabWidget,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KTabWidget,
    0,
    0,
    0,
    release_KTabWidget,
    cast_KTabWidget,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KTabWidget::staticMetaObject,
    0,
    signals_KTabWidget,
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/ktabbar.sip"
#include <ktabbar.h>
#line 11583 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 11587 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 11590 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11593 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11596 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11599 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11602 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11605 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11608 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11611 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 11614 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11617 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qtabbar.sip"
#include <qtabbar.h>
#line 11620 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11623 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11626 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11629 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 763 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 11632 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11635 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 11638 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 11641 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 11644 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 11647 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcolor.sip"
#include <qcolor.h>
#line 11650 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11653 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 11656 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11659 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 11662 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 11665 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 11668 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 11671 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 11674 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 11677 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 11680 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 11683 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 11686 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 11689 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 11692 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11695 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 11698 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11701 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11704 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11707 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11710 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11713 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11716 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11719 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11722 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 11725 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 11728 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 11731 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 11734 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 11737 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 11740 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 11743 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11746 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 11749 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 11752 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 11755 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 11758 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11761 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11764 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 11767 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 11770 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 11773 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 11776 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 11779 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 11782 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"


class sipKTabBar : public KTabBar
{
public:
    sipKTabBar(QWidget*);
    virtual ~sipKTabBar();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void dragLeaveEvent(QDragLeaveEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void moveEvent(QMoveEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    void hideEvent(QHideEvent*);
    void changeEvent(QEvent*);
    void keyPressEvent(QKeyEvent*);
    void showEvent(QShowEvent*);
    void resizeEvent(QResizeEvent*);
    bool event(QEvent*);
    void tabRemoved(int);
    void tabInserted(int);
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    void tabLayoutChange();
    void activateDragSwitchTab();
    QSize tabSizeHint(int) const;
    void leaveEvent(QEvent*);
    void paintEvent(QPaintEvent*);
    void dropEvent(QDropEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKTabBar(const sipKTabBar &);
    sipKTabBar &operator = (const sipKTabBar &);

    char sipPyMethods[52];
};

sipKTabBar::sipKTabBar(QWidget*a0): KTabBar(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKTabBar::~sipKTabBar()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKTabBar::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KTabBar);
}

int sipKTabBar::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KTabBar::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KTabBar,_c,_id,_a);

    return _id;
}

void *sipKTabBar::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KTabBar, _clname)) ? this : KTabBar::qt_metacast(_clname);
}

void sipKTabBar::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KTabBar::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KTabBar::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KTabBar::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KTabBar::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KTabBar::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKTabBar::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KTabBar::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKTabBar::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KTabBar::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKTabBar::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KTabBar::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KTabBar::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_kdeui_QtGui->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KTabBar::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kdeui_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KTabBar::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKTabBar::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KTabBar::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kdeui_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipKTabBar::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return KTabBar::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_kdeui_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KTabBar::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_kdeui_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKTabBar::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return KTabBar::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kdeui_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KTabBar::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kdeui_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KTabBar::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kdeui_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KTabBar::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kdeui_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KTabBar::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kdeui_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KTabBar::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_kdeui_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KTabBar::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kdeui_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KTabBar::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KTabBar::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KTabBar::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KTabBar::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPaintEngine* sipKTabBar::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KTabBar::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKTabBar::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return KTabBar::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kdeui_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KTabBar::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKTabBar::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KTabBar::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kdeui_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKTabBar::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KTabBar::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_kdeui_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KTabBar::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KTabBar::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KTabBar::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kdeui_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KTabBar::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kdeui_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKTabBar::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KTabBar::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::tabRemoved(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_tabRemoved);

    if (!sipMeth)
    {
        KTabBar::tabRemoved(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_kdeui_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::tabInserted(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_tabInserted);

    if (!sipMeth)
    {
        KTabBar::tabInserted(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_kdeui_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKTabBar::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KTabBar::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKTabBar::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KTabBar::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKTabBar::tabLayoutChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_tabLayoutChange);

    if (!sipMeth)
    {
        KTabBar::tabLayoutChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKTabBar::activateDragSwitchTab()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_activateDragSwitchTab);

    if (!sipMeth)
    {
        KTabBar::activateDragSwitchTab();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKTabBar::tabSizeHint(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_tabSizeHint);

    if (!sipMeth)
        return KTabBar::tabSizeHint(a0);

    typedef QSize (*sipVH_QtGui_72)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_72)(sipModuleAPI_kdeui_QtGui->em_virthandlers[72]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KTabBar::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KTabBar::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kdeui_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KTabBar::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kdeui_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KTabBar::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtGui_17)(sipModuleAPI_kdeui_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KTabBar::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kdeui_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KTabBar::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kdeui_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KTabBar::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KTabBar::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KTabBar::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KTabBar::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KTabBar_setTabReorderingEnabled(PyObject *, PyObject *);}
static PyObject *meth_KTabBar_setTabReorderingEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KTabBar, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTabReorderingEnabled(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabBar, sipName_setTabReorderingEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabBar_isTabReorderingEnabled(PyObject *, PyObject *);}
static PyObject *meth_KTabBar_isTabReorderingEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTabBar, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isTabReorderingEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabBar, sipName_isTabReorderingEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabBar_setHoverCloseButton(PyObject *, PyObject *);}
static PyObject *meth_KTabBar_setHoverCloseButton(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KTabBar, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setHoverCloseButton(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabBar, sipName_setHoverCloseButton, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabBar_hoverCloseButton(PyObject *, PyObject *);}
static PyObject *meth_KTabBar_hoverCloseButton(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTabBar, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hoverCloseButton();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabBar, sipName_hoverCloseButton, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabBar_setHoverCloseButtonDelayed(PyObject *, PyObject *);}
static PyObject *meth_KTabBar_setHoverCloseButtonDelayed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KTabBar, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setHoverCloseButtonDelayed(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabBar, sipName_setHoverCloseButtonDelayed, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabBar_hoverCloseButtonDelayed(PyObject *, PyObject *);}
static PyObject *meth_KTabBar_hoverCloseButtonDelayed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTabBar, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hoverCloseButtonDelayed();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabBar, sipName_hoverCloseButtonDelayed, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabBar_setCloseButtonEnabled(PyObject *, PyObject *);}
static PyObject *meth_KTabBar_setCloseButtonEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KTabBar, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCloseButtonEnabled(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabBar, sipName_setCloseButtonEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabBar_isCloseButtonEnabled(PyObject *, PyObject *);}
static PyObject *meth_KTabBar_isCloseButtonEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTabBar, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isCloseButtonEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabBar, sipName_isCloseButtonEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabBar_setTabCloseActivatePrevious(PyObject *, PyObject *);}
static PyObject *meth_KTabBar_setTabCloseActivatePrevious(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KTabBar, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTabCloseActivatePrevious(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabBar, sipName_setTabCloseActivatePrevious, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabBar_tabCloseActivatePrevious(PyObject *, PyObject *);}
static PyObject *meth_KTabBar_tabCloseActivatePrevious(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTabBar, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->tabCloseActivatePrevious();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabBar, sipName_tabCloseActivatePrevious, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabBar_selectTab(PyObject *, PyObject *);}
static PyObject *meth_KTabBar_selectTab(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPoint* a0;
        const KTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KTabBar, &sipCpp, sipType_QPoint, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->selectTab(*a0);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabBar, sipName_selectTab, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabBar_mouseDoubleClickEvent(PyObject *, PyObject *);}
static PyObject *meth_KTabBar_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        KTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KTabBar, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTabBar::mouseDoubleClickEvent(a0) : sipCpp->mouseDoubleClickEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabBar, sipName_mouseDoubleClickEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabBar_mousePressEvent(PyObject *, PyObject *);}
static PyObject *meth_KTabBar_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        KTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KTabBar, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTabBar::mousePressEvent(a0) : sipCpp->mousePressEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabBar, sipName_mousePressEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabBar_mouseMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_KTabBar_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        KTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KTabBar, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTabBar::mouseMoveEvent(a0) : sipCpp->mouseMoveEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabBar, sipName_mouseMoveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabBar_mouseReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_KTabBar_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        KTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KTabBar, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTabBar::mouseReleaseEvent(a0) : sipCpp->mouseReleaseEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabBar, sipName_mouseReleaseEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabBar_wheelEvent(PyObject *, PyObject *);}
static PyObject *meth_KTabBar_wheelEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        KTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KTabBar, &sipCpp, sipType_QWheelEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTabBar::wheelEvent(a0) : sipCpp->wheelEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabBar, sipName_wheelEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabBar_dragEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_KTabBar_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        KTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KTabBar, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTabBar::dragEnterEvent(a0) : sipCpp->dragEnterEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabBar, sipName_dragEnterEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabBar_dragMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_KTabBar_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        KTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KTabBar, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTabBar::dragMoveEvent(a0) : sipCpp->dragMoveEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabBar, sipName_dragMoveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabBar_dropEvent(PyObject *, PyObject *);}
static PyObject *meth_KTabBar_dropEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        KTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KTabBar, &sipCpp, sipType_QDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTabBar::dropEvent(a0) : sipCpp->dropEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabBar, sipName_dropEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabBar_paintEvent(PyObject *, PyObject *);}
static PyObject *meth_KTabBar_paintEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        KTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KTabBar, &sipCpp, sipType_QPaintEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTabBar::paintEvent(a0) : sipCpp->paintEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabBar, sipName_paintEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabBar_leaveEvent(PyObject *, PyObject *);}
static PyObject *meth_KTabBar_leaveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        KTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KTabBar, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTabBar::leaveEvent(a0) : sipCpp->leaveEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabBar, sipName_leaveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabBar_tabSizeHint(PyObject *, PyObject *);}
static PyObject *meth_KTabBar_tabSizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const KTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pi", &sipSelf, sipType_KTabBar, &sipCpp, &a0))
        {
            QSize*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize((sipSelfWasArg ? sipCpp->KTabBar::tabSizeHint(a0) : sipCpp->tabSizeHint(a0)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabBar, sipName_tabSizeHint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabBar_closeButtonClicked(PyObject *, PyObject *);}
static PyObject *meth_KTabBar_closeButtonClicked(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KTabBar, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->closeButtonClicked();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabBar, sipName_closeButtonClicked, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabBar_enableCloseButton(PyObject *, PyObject *);}
static PyObject *meth_KTabBar_enableCloseButton(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KTabBar, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->enableCloseButton();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabBar, sipName_enableCloseButton, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabBar_activateDragSwitchTab(PyObject *, PyObject *);}
static PyObject *meth_KTabBar_activateDragSwitchTab(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KTabBar, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTabBar::activateDragSwitchTab() : sipCpp->activateDragSwitchTab());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabBar, sipName_activateDragSwitchTab, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTabBar_tabLayoutChange(PyObject *, PyObject *);}
static PyObject *meth_KTabBar_tabLayoutChange(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KTabBar, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTabBar::tabLayoutChange() : sipCpp->tabLayoutChange());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTabBar, sipName_tabLayoutChange, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_KTabBar(void *, const sipTypeDef *);}
static void *cast_KTabBar(void *sipCppV, const sipTypeDef *targetType)
{
    KTabBar *sipCpp = reinterpret_cast<KTabBar *>(sipCppV);

    if (targetType == sipType_QPaintDevice)
        return static_cast<QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KTabBar(void *, int);}
static void release_KTabBar(void *sipCppV,int)
{
    KTabBar *sipCpp = reinterpret_cast<KTabBar *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KTabBar(sipSimpleWrapper *);}
static void dealloc_KTabBar(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKTabBar *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KTabBar(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KTabBar(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KTabBar(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKTabBar *sipCpp = 0;

    {
        QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKTabBar(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KTabBar[] = {{628, 2, 1}};


static PyMethodDef methods_KTabBar[] = {
    {SIP_MLNAME_CAST(sipName_activateDragSwitchTab), meth_KTabBar_activateDragSwitchTab, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeButtonClicked), meth_KTabBar_closeButtonClicked, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_KTabBar_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_KTabBar_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_KTabBar_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enableCloseButton), meth_KTabBar_enableCloseButton, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverCloseButton), meth_KTabBar_hoverCloseButton, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverCloseButtonDelayed), meth_KTabBar_hoverCloseButtonDelayed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isCloseButtonEnabled), meth_KTabBar_isCloseButtonEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isTabReorderingEnabled), meth_KTabBar_isTabReorderingEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), meth_KTabBar_leaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_KTabBar_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_KTabBar_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_KTabBar_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_KTabBar_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_KTabBar_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectTab), meth_KTabBar_selectTab, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCloseButtonEnabled), meth_KTabBar_setCloseButtonEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHoverCloseButton), meth_KTabBar_setHoverCloseButton, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHoverCloseButtonDelayed), meth_KTabBar_setHoverCloseButtonDelayed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTabCloseActivatePrevious), meth_KTabBar_setTabCloseActivatePrevious, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTabReorderingEnabled), meth_KTabBar_setTabReorderingEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tabCloseActivatePrevious), meth_KTabBar_tabCloseActivatePrevious, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tabLayoutChange), meth_KTabBar_tabLayoutChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tabSizeHint), meth_KTabBar_tabSizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_KTabBar_wheelEvent, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KTabBar[] = {
    {"wheelDelta(int)", 0, 0, 0},
    {"closeRequest(int)", 0, 0, 0},
    {"moveTab(int,int)", 0, 0, 0},
    {"receivedDropEvent(int,QDropEvent*)", 0, 0, 0},
    {"initiateDrag(int)", 0, 0, 0},
    {"mouseMiddleClick(int)", 0, 0, 0},
    {"newTabRequest()", 0, 0, 0},
    {"tabDoubleClicked(int)", 0, 0, 0},
    {"mouseDoubleClick(int)", 0, 0, 0},
    {"emptyAreaContextMenu(QPoint)", 0, 0, 0},
    {"contextMenu(int,QPoint)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KTabBar = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KTabBar,
        {0}
    },
    {
        sipNameNr_KTabBar,
        {0, 0, 1},
        26, methods_KTabBar,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KTabBar,
    0,
    init_type_KTabBar,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KTabBar,
    0,
    0,
    0,
    release_KTabBar,
    cast_KTabBar,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KTabBar::staticMetaObject,
    0,
    signals_KTabBar,
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/ksystemtrayicon.sip"
#include <ksystemtrayicon.h>
#line 13683 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 13687 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 13690 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 13693 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qmovie.sip"
#include <qmovie.h>
#line 13696 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 13699 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kcomponentdata.sip"
#include <kcomponentdata.h>
#line 13702 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kactioncollection.sip"
#include <kactioncollection.h>
#line 13705 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13708 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtGui/qsystemtrayicon.sip"
#include <qsystemtrayicon.h>
#line 13711 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 13714 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 13717 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13720 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13723 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 13726 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 13729 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 13732 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 13735 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13738 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 13741 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 13744 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 13747 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 13750 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"


class sipKSystemTrayIcon : public KSystemTrayIcon
{
public:
    sipKSystemTrayIcon(QWidget*);
    sipKSystemTrayIcon(const QString&,QWidget*);
    sipKSystemTrayIcon(const QIcon&,QWidget*);
    sipKSystemTrayIcon(QMovie*,QWidget*);
    virtual ~sipKSystemTrayIcon();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKSystemTrayIcon(const sipKSystemTrayIcon &);
    sipKSystemTrayIcon &operator = (const sipKSystemTrayIcon &);

    char sipPyMethods[7];
};

sipKSystemTrayIcon::sipKSystemTrayIcon(QWidget*a0): KSystemTrayIcon(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKSystemTrayIcon::sipKSystemTrayIcon(const QString& a0,QWidget*a1): KSystemTrayIcon(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKSystemTrayIcon::sipKSystemTrayIcon(const QIcon& a0,QWidget*a1): KSystemTrayIcon(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKSystemTrayIcon::sipKSystemTrayIcon(QMovie*a0,QWidget*a1): KSystemTrayIcon(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKSystemTrayIcon::~sipKSystemTrayIcon()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKSystemTrayIcon::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KSystemTrayIcon);
}

int sipKSystemTrayIcon::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KSystemTrayIcon::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KSystemTrayIcon,_c,_id,_a);

    return _id;
}

void *sipKSystemTrayIcon::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KSystemTrayIcon, _clname)) ? this : KSystemTrayIcon::qt_metacast(_clname);
}

void sipKSystemTrayIcon::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KSystemTrayIcon::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSystemTrayIcon::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KSystemTrayIcon::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSystemTrayIcon::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KSystemTrayIcon::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSystemTrayIcon::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KSystemTrayIcon::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSystemTrayIcon::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KSystemTrayIcon::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKSystemTrayIcon::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KSystemTrayIcon::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKSystemTrayIcon::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KSystemTrayIcon::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KSystemTrayIcon_setMovie(PyObject *, PyObject *);}
static PyObject *meth_KSystemTrayIcon_setMovie(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QMovie* a0;
        KSystemTrayIcon *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KSystemTrayIcon, &sipCpp, sipType_QMovie, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMovie(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSystemTrayIcon, sipName_setMovie, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSystemTrayIcon_movie(PyObject *, PyObject *);}
static PyObject *meth_KSystemTrayIcon_movie(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KSystemTrayIcon *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KSystemTrayIcon, &sipCpp))
        {
            const QMovie*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->movie();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(const_cast<QMovie *>(sipRes),sipType_QMovie,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSystemTrayIcon, sipName_movie, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSystemTrayIcon_actionCollection(PyObject *, PyObject *);}
static PyObject *meth_KSystemTrayIcon_actionCollection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KSystemTrayIcon *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KSystemTrayIcon, &sipCpp))
        {
            KActionCollection*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->actionCollection();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KActionCollection,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSystemTrayIcon, sipName_actionCollection, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSystemTrayIcon_parentWidget(PyObject *, PyObject *);}
static PyObject *meth_KSystemTrayIcon_parentWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KSystemTrayIcon *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KSystemTrayIcon, &sipCpp))
        {
            QWidget*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->parentWidget();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSystemTrayIcon, sipName_parentWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSystemTrayIcon_parentWidgetTrayClose(PyObject *, PyObject *);}
static PyObject *meth_KSystemTrayIcon_parentWidgetTrayClose(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KSystemTrayIcon *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KSystemTrayIcon, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->parentWidgetTrayClose();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSystemTrayIcon, sipName_parentWidgetTrayClose, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSystemTrayIcon_loadIcon(PyObject *, PyObject *);}
static PyObject *meth_KSystemTrayIcon_loadIcon(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const KComponentData& a1def = KGlobal::mainComponent();
        const KComponentData* a1 = &a1def;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1|J9", sipType_QString,&a0, &a0State, sipType_KComponentData, &a1))
        {
            QIcon*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QIcon(KSystemTrayIcon::loadIcon(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QIcon,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSystemTrayIcon, sipName_loadIcon, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSystemTrayIcon_setContextMenuTitle(PyObject *, PyObject *);}
static PyObject *meth_KSystemTrayIcon_setContextMenuTitle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAction* a0;
        KSystemTrayIcon *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KSystemTrayIcon, &sipCpp, sipType_QAction, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setContextMenuTitle(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSystemTrayIcon, sipName_setContextMenuTitle, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSystemTrayIcon_contextMenuTitle(PyObject *, PyObject *);}
static PyObject *meth_KSystemTrayIcon_contextMenuTitle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KSystemTrayIcon *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KSystemTrayIcon, &sipCpp))
        {
            QAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->contextMenuTitle();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSystemTrayIcon, sipName_contextMenuTitle, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSystemTrayIcon_toggleActive(PyObject *, PyObject *);}
static PyObject *meth_KSystemTrayIcon_toggleActive(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KSystemTrayIcon *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KSystemTrayIcon, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->toggleActive();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSystemTrayIcon, sipName_toggleActive, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KSystemTrayIcon(void *, int);}
static void release_KSystemTrayIcon(void *sipCppV,int)
{
    KSystemTrayIcon *sipCpp = reinterpret_cast<KSystemTrayIcon *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KSystemTrayIcon(sipSimpleWrapper *);}
static void dealloc_KSystemTrayIcon(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKSystemTrayIcon *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KSystemTrayIcon(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KSystemTrayIcon(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KSystemTrayIcon(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKSystemTrayIcon *sipCpp = 0;

    {
        QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKSystemTrayIcon(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        QWidget* a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1|JH", sipType_QString,&a0, &a0State, sipType_QWidget, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKSystemTrayIcon(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QIcon* a0;
        QWidget* a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9|JH", sipType_QIcon, &a0, sipType_QWidget, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKSystemTrayIcon(*a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QMovie* a0;
        QWidget* a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8JH", sipType_QMovie, &a0, sipType_QWidget, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKSystemTrayIcon(a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KSystemTrayIcon[] = {{625, 2, 1}};


static PyMethodDef methods_KSystemTrayIcon[] = {
    {SIP_MLNAME_CAST(sipName_actionCollection), meth_KSystemTrayIcon_actionCollection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuTitle), meth_KSystemTrayIcon_contextMenuTitle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_loadIcon), meth_KSystemTrayIcon_loadIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_movie), meth_KSystemTrayIcon_movie, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_parentWidget), meth_KSystemTrayIcon_parentWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_parentWidgetTrayClose), meth_KSystemTrayIcon_parentWidgetTrayClose, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setContextMenuTitle), meth_KSystemTrayIcon_setContextMenuTitle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMovie), meth_KSystemTrayIcon_setMovie, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toggleActive), meth_KSystemTrayIcon_toggleActive, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KSystemTrayIcon[] = {
    {"quitSelected()", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KSystemTrayIcon = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KSystemTrayIcon,
        {0}
    },
    {
        sipNameNr_KSystemTrayIcon,
        {0, 0, 1},
        9, methods_KSystemTrayIcon,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KSystemTrayIcon,
    0,
    init_type_KSystemTrayIcon,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KSystemTrayIcon,
    0,
    0,
    0,
    release_KSystemTrayIcon,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KSystemTrayIcon::staticMetaObject,
    0,
    signals_KSystemTrayIcon,
};


#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 14385 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"


extern "C" {static PyObject *meth_KSystemEventFilter_removeEventFilter(PyObject *, PyObject *);}
static PyObject *meth_KSystemEventFilter_removeEventFilter(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8", sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            KSystemEventFilter::removeEventFilter(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_removeEventFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSystemEventFilter_installEventFilter(PyObject *, PyObject *);}
static PyObject *meth_KSystemEventFilter_installEventFilter(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8", sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            KSystemEventFilter::installEventFilter(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_installEventFilter, NULL);

    return NULL;
}


static PyMethodDef methods_KSystemEventFilter[] = {
    {SIP_MLNAME_CAST(sipName_installEventFilter), meth_KSystemEventFilter_installEventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeEventFilter), meth_KSystemEventFilter_removeEventFilter, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KSystemEventFilter = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_NAMESPACE,
        sipNameNr_KSystemEventFilter,
        {0}
    },
    {
        sipNameNr_KSystemEventFilter,
        {0, 0, 1},
        2, methods_KSystemEventFilter,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    0,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/ksvgrenderer.sip"
#include <ksvgrenderer.h>
#line 14501 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"

#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 14505 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 14508 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 14511 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 14514 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 163 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 14517 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 14520 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 14523 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 14526 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14529 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14532 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14535 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 14538 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 14541 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 14544 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 14547 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 14550 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 14553 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 14556 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"


class sipKSvgRenderer : public KSvgRenderer
{
public:
    sipKSvgRenderer(QObject*);
    sipKSvgRenderer(const QString&,QObject*);
    sipKSvgRenderer(const QByteArray&,QObject*);
    virtual ~sipKSvgRenderer();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKSvgRenderer(const sipKSvgRenderer &);
    sipKSvgRenderer &operator = (const sipKSvgRenderer &);

    char sipPyMethods[7];
};

sipKSvgRenderer::sipKSvgRenderer(QObject*a0): KSvgRenderer(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKSvgRenderer::sipKSvgRenderer(const QString& a0,QObject*a1): KSvgRenderer(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKSvgRenderer::sipKSvgRenderer(const QByteArray& a0,QObject*a1): KSvgRenderer(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKSvgRenderer::~sipKSvgRenderer()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKSvgRenderer::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KSvgRenderer);
}

int sipKSvgRenderer::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KSvgRenderer::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KSvgRenderer,_c,_id,_a);

    return _id;
}

void *sipKSvgRenderer::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KSvgRenderer, _clname)) ? this : KSvgRenderer::qt_metacast(_clname);
}

void sipKSvgRenderer::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KSvgRenderer::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSvgRenderer::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KSvgRenderer::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSvgRenderer::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KSvgRenderer::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSvgRenderer::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KSvgRenderer::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSvgRenderer::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KSvgRenderer::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKSvgRenderer::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KSvgRenderer::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKSvgRenderer::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KSvgRenderer::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KSvgRenderer_load(PyObject *, PyObject *);}
static PyObject *meth_KSvgRenderer_load(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KSvgRenderer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KSvgRenderer, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->load(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QByteArray* a0;
        int a0State = 0;
        KSvgRenderer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KSvgRenderer, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->load(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSvgRenderer, sipName_load, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KSvgRenderer(void *, int);}
static void release_KSvgRenderer(void *sipCppV,int)
{
    KSvgRenderer *sipCpp = reinterpret_cast<KSvgRenderer *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KSvgRenderer(sipSimpleWrapper *);}
static void dealloc_KSvgRenderer(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKSvgRenderer *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KSvgRenderer(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KSvgRenderer(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KSvgRenderer(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKSvgRenderer *sipCpp = 0;

    {
        QObject* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKSvgRenderer(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        QObject* a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1|JH", sipType_QString,&a0, &a0State, sipType_QObject, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKSvgRenderer(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QByteArray* a0;
        int a0State = 0;
        QObject* a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1|JH", sipType_QByteArray, &a0, &a0State, sipType_QObject, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKSvgRenderer(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KSvgRenderer[] = {{2, 4, 1}};


static PyMethodDef methods_KSvgRenderer[] = {
    {SIP_MLNAME_CAST(sipName_load), meth_KSvgRenderer_load, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KSvgRenderer = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KSvgRenderer,
        {0}
    },
    {
        sipNameNr_KSvgRenderer,
        {0, 0, 1},
        1, methods_KSvgRenderer,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KSvgRenderer,
    0,
    init_type_KSvgRenderer,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KSvgRenderer,
    0,
    0,
    0,
    release_KSvgRenderer,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KSvgRenderer::staticMetaObject,
    0,
    0
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kstyle.sip"
#include <kstyle.h>
#line 14957 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"

#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 14961 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 14964 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 14967 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 14970 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 14973 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 1365 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 14976 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 14979 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 14982 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 14985 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 1681 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 14988 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 14991 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 14994 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 14997 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 15000 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15003 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 15006 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 15009 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 15012 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 473 "/usr/share/python3-sip/PyQt4/QtGui/qapplication.sip"
#include <qapplication.h>
#line 15015 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 15018 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15021 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15024 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15027 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 15030 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 15033 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 15036 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 15039 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 15042 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 15045 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 15048 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"


class sipKStyle : public KStyle
{
public:
    sipKStyle();
    virtual ~sipKStyle();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    QPixmap generatedIconPixmap(QIcon::Mode,const QPixmap&,const QStyleOption*) const;
    QPixmap standardPixmap(QStyle::StandardPixmap,const QStyleOption*,const QWidget*) const;
    int styleHint(QStyle::StyleHint,const QStyleOption*,const QWidget*,QStyleHintReturn*) const;
    QSize sizeFromContents(QStyle::ContentsType,const QStyleOption*,const QSize&,const QWidget*) const;
    int pixelMetric(QStyle::PixelMetric,const QStyleOption*,const QWidget*) const;
    QRect subControlRect(QStyle::ComplexControl,const QStyleOptionComplex*,QStyle::SubControl,const QWidget*) const;
    QStyle::SubControl hitTestComplexControl(QStyle::ComplexControl,const QStyleOptionComplex*,const QPoint&,const QWidget*) const;
    void drawComplexControl(QStyle::ComplexControl,const QStyleOptionComplex*,QPainter*,const QWidget*) const;
    QRect subElementRect(QStyle::SubElement,const QStyleOption*,const QWidget*) const;
    void drawControl(QStyle::ControlElement,const QStyleOption*,QPainter*,const QWidget*) const;
    void drawPrimitive(QStyle::PrimitiveElement,const QStyleOption*,QPainter*,const QWidget*) const;
    QPalette standardPalette() const;
    void drawItemPixmap(QPainter*,const QRect&,int,const QPixmap&) const;
    void drawItemText(QPainter*,const QRect&,int,const QPalette&,bool,const QString&,QPalette::ColorRole) const;
    QRect itemPixmapRect(const QRect&,int,const QPixmap&) const;
    QRect itemTextRect(const QFontMetrics&,const QRect&,int,bool,const QString&) const;
    void unpolish(QWidget*);
    void polish(QWidget*);
    int widgetLayoutProp(KStyle::WidgetType,int,const QStyleOption*,const QWidget*) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKStyle(const sipKStyle &);
    sipKStyle &operator = (const sipKStyle &);

    char sipPyMethods[26];
};

sipKStyle::sipKStyle(): KStyle(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKStyle::~sipKStyle()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKStyle::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KStyle);
}

int sipKStyle::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KStyle::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KStyle,_c,_id,_a);

    return _id;
}

void *sipKStyle::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KStyle, _clname)) ? this : KStyle::qt_metacast(_clname);
}

void sipKStyle::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KStyle::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStyle::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KStyle::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStyle::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KStyle::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStyle::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KStyle::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStyle::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KStyle::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKStyle::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KStyle::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKStyle::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KStyle::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPixmap sipKStyle::generatedIconPixmap(QIcon::Mode a0,const QPixmap& a1,const QStyleOption*a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_generatedIconPixmap);

    if (!sipMeth)
        return KStyle::generatedIconPixmap(a0,a1,a2);

    typedef QPixmap (*sipVH_QtGui_81)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QIcon::Mode,const QPixmap&,const QStyleOption*);

    return ((sipVH_QtGui_81)(sipModuleAPI_kdeui_QtGui->em_virthandlers[81]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

QPixmap sipKStyle::standardPixmap(QStyle::StandardPixmap a0,const QStyleOption*a1,const QWidget*a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_standardPixmap);

    if (!sipMeth)
        return KStyle::standardPixmap(a0,a1,a2);

    typedef QPixmap (*sipVH_QtGui_82)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStyle::StandardPixmap,const QStyleOption*,const QWidget*);

    return ((sipVH_QtGui_82)(sipModuleAPI_kdeui_QtGui->em_virthandlers[82]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

int sipKStyle::styleHint(QStyle::StyleHint a0,const QStyleOption*a1,const QWidget*a2,QStyleHintReturn*a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_styleHint);

    if (!sipMeth)
        return KStyle::styleHint(a0,a1,a2,a3);

    typedef int (*sipVH_QtGui_83)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStyle::StyleHint,const QStyleOption*,const QWidget*,QStyleHintReturn*);

    return ((sipVH_QtGui_83)(sipModuleAPI_kdeui_QtGui->em_virthandlers[83]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

QSize sipKStyle::sizeFromContents(QStyle::ContentsType a0,const QStyleOption*a1,const QSize& a2,const QWidget*a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_sizeFromContents);

    if (!sipMeth)
        return KStyle::sizeFromContents(a0,a1,a2,a3);

    typedef QSize (*sipVH_QtGui_84)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStyle::ContentsType,const QStyleOption*,const QSize&,const QWidget*);

    return ((sipVH_QtGui_84)(sipModuleAPI_kdeui_QtGui->em_virthandlers[84]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

int sipKStyle::pixelMetric(QStyle::PixelMetric a0,const QStyleOption*a1,const QWidget*a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_pixelMetric);

    if (!sipMeth)
        return KStyle::pixelMetric(a0,a1,a2);

    typedef int (*sipVH_QtGui_85)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStyle::PixelMetric,const QStyleOption*,const QWidget*);

    return ((sipVH_QtGui_85)(sipModuleAPI_kdeui_QtGui->em_virthandlers[85]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

QRect sipKStyle::subControlRect(QStyle::ComplexControl a0,const QStyleOptionComplex*a1,QStyle::SubControl a2,const QWidget*a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_subControlRect);

    if (!sipMeth)
        return KStyle::subControlRect(a0,a1,a2,a3);

    typedef QRect (*sipVH_QtGui_86)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStyle::ComplexControl,const QStyleOptionComplex*,QStyle::SubControl,const QWidget*);

    return ((sipVH_QtGui_86)(sipModuleAPI_kdeui_QtGui->em_virthandlers[86]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

QStyle::SubControl sipKStyle::hitTestComplexControl(QStyle::ComplexControl a0,const QStyleOptionComplex*a1,const QPoint& a2,const QWidget*a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_hitTestComplexControl);

    if (!sipMeth)
        return KStyle::hitTestComplexControl(a0,a1,a2,a3);

    typedef QStyle::SubControl (*sipVH_QtGui_87)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStyle::ComplexControl,const QStyleOptionComplex*,const QPoint&,const QWidget*);

    return ((sipVH_QtGui_87)(sipModuleAPI_kdeui_QtGui->em_virthandlers[87]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipKStyle::drawComplexControl(QStyle::ComplexControl a0,const QStyleOptionComplex*a1,QPainter*a2,const QWidget*a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_drawComplexControl);

    if (!sipMeth)
    {
        KStyle::drawComplexControl(a0,a1,a2,a3);
        return;
    }

    typedef void (*sipVH_QtGui_88)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStyle::ComplexControl,const QStyleOptionComplex*,QPainter*,const QWidget*);

    ((sipVH_QtGui_88)(sipModuleAPI_kdeui_QtGui->em_virthandlers[88]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

QRect sipKStyle::subElementRect(QStyle::SubElement a0,const QStyleOption*a1,const QWidget*a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_subElementRect);

    if (!sipMeth)
        return KStyle::subElementRect(a0,a1,a2);

    typedef QRect (*sipVH_QtGui_89)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStyle::SubElement,const QStyleOption*,const QWidget*);

    return ((sipVH_QtGui_89)(sipModuleAPI_kdeui_QtGui->em_virthandlers[89]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKStyle::drawControl(QStyle::ControlElement a0,const QStyleOption*a1,QPainter*a2,const QWidget*a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_drawControl);

    if (!sipMeth)
    {
        KStyle::drawControl(a0,a1,a2,a3);
        return;
    }

    typedef void (*sipVH_QtGui_90)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStyle::ControlElement,const QStyleOption*,QPainter*,const QWidget*);

    ((sipVH_QtGui_90)(sipModuleAPI_kdeui_QtGui->em_virthandlers[90]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipKStyle::drawPrimitive(QStyle::PrimitiveElement a0,const QStyleOption*a1,QPainter*a2,const QWidget*a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,NULL,sipName_drawPrimitive);

    if (!sipMeth)
    {
        KStyle::drawPrimitive(a0,a1,a2,a3);
        return;
    }

    typedef void (*sipVH_QtGui_91)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStyle::PrimitiveElement,const QStyleOption*,QPainter*,const QWidget*);

    ((sipVH_QtGui_91)(sipModuleAPI_kdeui_QtGui->em_virthandlers[91]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

QPalette sipKStyle::standardPalette() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_standardPalette);

    if (!sipMeth)
        return KStyle::standardPalette();

    typedef QPalette (*sipVH_QtGui_92)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_92)(sipModuleAPI_kdeui_QtGui->em_virthandlers[92]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKStyle::drawItemPixmap(QPainter*a0,const QRect& a1,int a2,const QPixmap& a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_drawItemPixmap);

    if (!sipMeth)
    {
        KStyle::drawItemPixmap(a0,a1,a2,a3);
        return;
    }

    typedef void (*sipVH_QtGui_93)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QRect&,int,const QPixmap&);

    ((sipVH_QtGui_93)(sipModuleAPI_kdeui_QtGui->em_virthandlers[93]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipKStyle::drawItemText(QPainter*a0,const QRect& a1,int a2,const QPalette& a3,bool a4,const QString& a5,QPalette::ColorRole a6) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_drawItemText);

    if (!sipMeth)
    {
        KStyle::drawItemText(a0,a1,a2,a3,a4,a5,a6);
        return;
    }

    typedef void (*sipVH_QtGui_94)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QRect&,int,const QPalette&,bool,const QString&,QPalette::ColorRole);

    ((sipVH_QtGui_94)(sipModuleAPI_kdeui_QtGui->em_virthandlers[94]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3, a4, a5, a6);
}

QRect sipKStyle::itemPixmapRect(const QRect& a0,int a1,const QPixmap& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_itemPixmapRect);

    if (!sipMeth)
        return KStyle::itemPixmapRect(a0,a1,a2);

    typedef QRect (*sipVH_QtGui_95)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRect&,int,const QPixmap&);

    return ((sipVH_QtGui_95)(sipModuleAPI_kdeui_QtGui->em_virthandlers[95]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

QRect sipKStyle::itemTextRect(const QFontMetrics& a0,const QRect& a1,int a2,bool a3,const QString& a4) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_itemTextRect);

    if (!sipMeth)
        return KStyle::itemTextRect(a0,a1,a2,a3,a4);

    typedef QRect (*sipVH_QtGui_96)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFontMetrics&,const QRect&,int,bool,const QString&);

    return ((sipVH_QtGui_96)(sipModuleAPI_kdeui_QtGui->em_virthandlers[96]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

void sipKStyle::unpolish(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_unpolish);

    if (!sipMeth)
    {
        KStyle::unpolish(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    ((sipVH_QtGui_7)(sipModuleAPI_kdeui_QtGui->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStyle::polish(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_polish);

    if (!sipMeth)
    {
        KStyle::polish(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    ((sipVH_QtGui_7)(sipModuleAPI_kdeui_QtGui->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKStyle::widgetLayoutProp(KStyle::WidgetType a0,int a1,const QStyleOption*a2,const QWidget*a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_widgetLayoutProp);

    if (!sipMeth)
        return KStyle::widgetLayoutProp(a0,a1,a2,a3);

    extern int sipVH_kdeui_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KStyle::WidgetType,int,const QStyleOption*,const QWidget*);

    return sipVH_kdeui_44(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}


extern "C" {static PyObject *meth_KStyle_defaultStyle(PyObject *, PyObject *);}
static PyObject *meth_KStyle_defaultStyle(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KStyle::defaultStyle());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStyle, sipName_defaultStyle, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStyle_customStyleHint(PyObject *, PyObject *);}
static PyObject *meth_KStyle_customStyleHint(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const QWidget* a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J8", sipType_QString,&a0, &a0State, sipType_QWidget, &a1))
        {
            QStyle::StyleHint sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStyle::customStyleHint(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromEnum(sipRes,sipType_QStyle_StyleHint);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStyle, sipName_customStyleHint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStyle_customControlElement(PyObject *, PyObject *);}
static PyObject *meth_KStyle_customControlElement(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const QWidget* a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J8", sipType_QString,&a0, &a0State, sipType_QWidget, &a1))
        {
            QStyle::ControlElement sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStyle::customControlElement(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromEnum(sipRes,sipType_QStyle_ControlElement);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStyle, sipName_customControlElement, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStyle_customSubElement(PyObject *, PyObject *);}
static PyObject *meth_KStyle_customSubElement(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const QWidget* a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J8", sipType_QString,&a0, &a0State, sipType_QWidget, &a1))
        {
            QStyle::SubElement sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStyle::customSubElement(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromEnum(sipRes,sipType_QStyle_SubElement);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStyle, sipName_customSubElement, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStyle_newStyleHint(PyObject *, PyObject *);}
static PyObject *meth_KStyle_newStyleHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_KStyle, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QStyle::StyleHint sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->newStyleHint(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromEnum(sipRes,sipType_QStyle_StyleHint);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStyle, sipName_newStyleHint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStyle_newControlElement(PyObject *, PyObject *);}
static PyObject *meth_KStyle_newControlElement(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_KStyle, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QStyle::ControlElement sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->newControlElement(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromEnum(sipRes,sipType_QStyle_ControlElement);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStyle, sipName_newControlElement, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStyle_newSubElement(PyObject *, PyObject *);}
static PyObject *meth_KStyle_newSubElement(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_KStyle, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QStyle::SubElement sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->newSubElement(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromEnum(sipRes,sipType_QStyle_SubElement);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStyle, sipName_newSubElement, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStyle_drawInsideRect(PyObject *, PyObject *);}
static PyObject *meth_KStyle_drawInsideRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QPainter* a0;
        const QRect* a1;
        const KStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8J9", &sipSelf, sipType_KStyle, &sipCpp, sipType_QPainter, &a0, sipType_QRect, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->drawInsideRect(a0,*a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStyle, sipName_drawInsideRect, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStyle_centerRect(PyObject *, PyObject *);}
static PyObject *meth_KStyle_centerRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QRect* a0;
        int a1;
        int a2;
        const KStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9ii", &sipSelf, sipType_KStyle, &sipCpp, sipType_QRect, &a0, &a1, &a2))
        {
            QRect*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRect(sipCpp->centerRect(*a0,a1,a2));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    {
        const QRect* a0;
        const QSize* a1;
        const KStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9J9", &sipSelf, sipType_KStyle, &sipCpp, sipType_QRect, &a0, sipType_QSize, &a1))
        {
            QRect*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRect(sipCpp->centerRect(*a0,*a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStyle, sipName_centerRect, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStyle_setWidgetLayoutProp(PyObject *, PyObject *);}
static PyObject *meth_KStyle_setWidgetLayoutProp(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KStyle::WidgetType a0;
        int a1;
        int a2;
        KStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pEii", &sipSelf, sipType_KStyle, &sipCpp, sipType_KStyle_WidgetType, &a0, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setWidgetLayoutProp(a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStyle, sipName_setWidgetLayoutProp, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStyle_widgetLayoutProp(PyObject *, PyObject *);}
static PyObject *meth_KStyle_widgetLayoutProp(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KStyle::WidgetType a0;
        int a1;
        const QStyleOption* a2 = 0;
        const QWidget* a3 = 0;
        const KStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pEi|J8J8", &sipSelf, sipType_KStyle, &sipCpp, sipType_KStyle_WidgetType, &a0, &a1, sipType_QStyleOption, &a2, sipType_QWidget, &a3))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KStyle::widgetLayoutProp(a0,a1,a2,a3) : sipCpp->widgetLayoutProp(a0,a1,a2,a3));
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStyle, sipName_widgetLayoutProp, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStyle_polish(PyObject *, PyObject *);}
static PyObject *meth_KStyle_polish(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        KStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KStyle, &sipCpp, sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KStyle::polish(a0) : sipCpp->polish(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QApplication* a0;
        KStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KStyle, &sipCpp, sipType_QApplication, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->polish(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QPalette* a0;
        KStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KStyle, &sipCpp, sipType_QPalette, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->polish(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStyle, sipName_polish, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStyle_unpolish(PyObject *, PyObject *);}
static PyObject *meth_KStyle_unpolish(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        KStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KStyle, &sipCpp, sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KStyle::unpolish(a0) : sipCpp->unpolish(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QApplication* a0;
        KStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KStyle, &sipCpp, sipType_QApplication, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->unpolish(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStyle, sipName_unpolish, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStyle_itemTextRect(PyObject *, PyObject *);}
static PyObject *meth_KStyle_itemTextRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QFontMetrics* a0;
        const QRect* a1;
        int a2;
        bool a3;
        const QString* a4;
        int a4State = 0;
        const KStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J9ibJ1", &sipSelf, sipType_KStyle, &sipCpp, sipType_QFontMetrics, &a0, sipType_QRect, &a1, &a2, &a3, sipType_QString,&a4, &a4State))
        {
            QRect*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRect((sipSelfWasArg ? sipCpp->KStyle::itemTextRect(*a0,*a1,a2,a3,*a4) : sipCpp->itemTextRect(*a0,*a1,a2,a3,*a4)));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a4),sipType_QString,a4State);

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStyle, sipName_itemTextRect, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStyle_itemPixmapRect(PyObject *, PyObject *);}
static PyObject *meth_KStyle_itemPixmapRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QRect* a0;
        int a1;
        const QPixmap* a2;
        const KStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9iJ9", &sipSelf, sipType_KStyle, &sipCpp, sipType_QRect, &a0, &a1, sipType_QPixmap, &a2))
        {
            QRect*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRect((sipSelfWasArg ? sipCpp->KStyle::itemPixmapRect(*a0,a1,*a2) : sipCpp->itemPixmapRect(*a0,a1,*a2)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStyle, sipName_itemPixmapRect, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStyle_drawItemText(PyObject *, PyObject *);}
static PyObject *meth_KStyle_drawItemText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const QRect* a1;
        int a2;
        const QPalette* a3;
        bool a4;
        const QString* a5;
        int a5State = 0;
        QPalette::ColorRole a6 = QPalette::NoRole;
        const KStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9iJ9bJ1|E", &sipSelf, sipType_KStyle, &sipCpp, sipType_QPainter, &a0, sipType_QRect, &a1, &a2, sipType_QPalette, &a3, &a4, sipType_QString,&a5, &a5State, sipType_QPalette_ColorRole, &a6))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KStyle::drawItemText(a0,*a1,a2,*a3,a4,*a5,a6) : sipCpp->drawItemText(a0,*a1,a2,*a3,a4,*a5,a6));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a5),sipType_QString,a5State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStyle, sipName_drawItemText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStyle_drawItemPixmap(PyObject *, PyObject *);}
static PyObject *meth_KStyle_drawItemPixmap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const QRect* a1;
        int a2;
        const QPixmap* a3;
        const KStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9iJ9", &sipSelf, sipType_KStyle, &sipCpp, sipType_QPainter, &a0, sipType_QRect, &a1, &a2, sipType_QPixmap, &a3))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KStyle::drawItemPixmap(a0,*a1,a2,*a3) : sipCpp->drawItemPixmap(a0,*a1,a2,*a3));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStyle, sipName_drawItemPixmap, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStyle_standardPalette(PyObject *, PyObject *);}
static PyObject *meth_KStyle_standardPalette(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KStyle, &sipCpp))
        {
            QPalette*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPalette((sipSelfWasArg ? sipCpp->KStyle::standardPalette() : sipCpp->standardPalette()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QPalette,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStyle, sipName_standardPalette, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStyle_generatedIconPixmap(PyObject *, PyObject *);}
static PyObject *meth_KStyle_generatedIconPixmap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QIcon::Mode a0;
        const QPixmap* a1;
        const QStyleOption* a2;
        const KStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ9J8", &sipSelf, sipType_KStyle, &sipCpp, sipType_QIcon_Mode, &a0, sipType_QPixmap, &a1, sipType_QStyleOption, &a2))
        {
            QPixmap*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPixmap((sipSelfWasArg ? sipCpp->KStyle::generatedIconPixmap(a0,*a1,a2) : sipCpp->generatedIconPixmap(a0,*a1,a2)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QPixmap,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStyle, sipName_generatedIconPixmap, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStyle_eventFilter(PyObject *, PyObject *);}
static PyObject *meth_KStyle_eventFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        QEvent* a1;
        KStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8", &sipSelf, sipType_KStyle, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KStyle::eventFilter(a0,a1) : sipCpp->eventFilter(a0,a1));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStyle, sipName_eventFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStyle_layoutSpacingImplementation(PyObject *, PyObject *);}
static PyObject *meth_KStyle_layoutSpacingImplementation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QSizePolicy::ControlType a0;
        QSizePolicy::ControlType a1;
        Qt::Orientation a2;
        const QStyleOption* a3;
        const QWidget* a4;
        const KStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pEEEJ8J8", &sipSelf, sipType_KStyle, &sipCpp, sipType_QSizePolicy_ControlType, &a0, sipType_QSizePolicy_ControlType, &a1, sipType_Qt_Orientation, &a2, sipType_QStyleOption, &a3, sipType_QWidget, &a4))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->layoutSpacingImplementation(a0,a1,a2,a3,a4);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStyle, sipName_layoutSpacingImplementation, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStyle_drawControl(PyObject *, PyObject *);}
static PyObject *meth_KStyle_drawControl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QStyle::ControlElement a0;
        const QStyleOption* a1;
        QPainter* a2;
        const QWidget* a3;
        const KStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ8J8J8", &sipSelf, sipType_KStyle, &sipCpp, sipType_QStyle_ControlElement, &a0, sipType_QStyleOption, &a1, sipType_QPainter, &a2, sipType_QWidget, &a3))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KStyle::drawControl(a0,a1,a2,a3) : sipCpp->drawControl(a0,a1,a2,a3));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStyle, sipName_drawControl, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStyle_drawPrimitive(PyObject *, PyObject *);}
static PyObject *meth_KStyle_drawPrimitive(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QStyle::PrimitiveElement a0;
        const QStyleOption* a1;
        QPainter* a2;
        const QWidget* a3;
        const KStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ8J8J8", &sipSelf, sipType_KStyle, &sipCpp, sipType_QStyle_PrimitiveElement, &a0, sipType_QStyleOption, &a1, sipType_QPainter, &a2, sipType_QWidget, &a3))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KStyle::drawPrimitive(a0,a1,a2,a3) : sipCpp->drawPrimitive(a0,a1,a2,a3));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStyle, sipName_drawPrimitive, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStyle_pixelMetric(PyObject *, PyObject *);}
static PyObject *meth_KStyle_pixelMetric(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QStyle::PixelMetric a0;
        const QStyleOption* a1 = 0;
        const QWidget* a2 = 0;
        const KStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE|J8J8", &sipSelf, sipType_KStyle, &sipCpp, sipType_QStyle_PixelMetric, &a0, sipType_QStyleOption, &a1, sipType_QWidget, &a2))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KStyle::pixelMetric(a0,a1,a2) : sipCpp->pixelMetric(a0,a1,a2));
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStyle, sipName_pixelMetric, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStyle_subElementRect(PyObject *, PyObject *);}
static PyObject *meth_KStyle_subElementRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QStyle::SubElement a0;
        const QStyleOption* a1;
        const QWidget* a2;
        const KStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ8J8", &sipSelf, sipType_KStyle, &sipCpp, sipType_QStyle_SubElement, &a0, sipType_QStyleOption, &a1, sipType_QWidget, &a2))
        {
            QRect*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRect((sipSelfWasArg ? sipCpp->KStyle::subElementRect(a0,a1,a2) : sipCpp->subElementRect(a0,a1,a2)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStyle, sipName_subElementRect, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStyle_sizeFromContents(PyObject *, PyObject *);}
static PyObject *meth_KStyle_sizeFromContents(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QStyle::ContentsType a0;
        const QStyleOption* a1;
        const QSize* a2;
        const QWidget* a3;
        const KStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ8J9J8", &sipSelf, sipType_KStyle, &sipCpp, sipType_QStyle_ContentsType, &a0, sipType_QStyleOption, &a1, sipType_QSize, &a2, sipType_QWidget, &a3))
        {
            QSize*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize((sipSelfWasArg ? sipCpp->KStyle::sizeFromContents(a0,a1,*a2,a3) : sipCpp->sizeFromContents(a0,a1,*a2,a3)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStyle, sipName_sizeFromContents, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStyle_styleHint(PyObject *, PyObject *);}
static PyObject *meth_KStyle_styleHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QStyle::StyleHint a0;
        const QStyleOption* a1;
        const QWidget* a2;
        QStyleHintReturn* a3;
        const KStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ8J8J8", &sipSelf, sipType_KStyle, &sipCpp, sipType_QStyle_StyleHint, &a0, sipType_QStyleOption, &a1, sipType_QWidget, &a2, sipType_QStyleHintReturn, &a3))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KStyle::styleHint(a0,a1,a2,a3) : sipCpp->styleHint(a0,a1,a2,a3));
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStyle, sipName_styleHint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStyle_subControlRect(PyObject *, PyObject *);}
static PyObject *meth_KStyle_subControlRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QStyle::ComplexControl a0;
        const QStyleOptionComplex* a1;
        QStyle::SubControl a2;
        const QWidget* a3;
        const KStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ8EJ8", &sipSelf, sipType_KStyle, &sipCpp, sipType_QStyle_ComplexControl, &a0, sipType_QStyleOptionComplex, &a1, sipType_QStyle_SubControl, &a2, sipType_QWidget, &a3))
        {
            QRect*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRect((sipSelfWasArg ? sipCpp->KStyle::subControlRect(a0,a1,a2,a3) : sipCpp->subControlRect(a0,a1,a2,a3)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStyle, sipName_subControlRect, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStyle_hitTestComplexControl(PyObject *, PyObject *);}
static PyObject *meth_KStyle_hitTestComplexControl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QStyle::ComplexControl a0;
        const QStyleOptionComplex* a1;
        const QPoint* a2;
        const QWidget* a3;
        const KStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ8J9J8", &sipSelf, sipType_KStyle, &sipCpp, sipType_QStyle_ComplexControl, &a0, sipType_QStyleOptionComplex, &a1, sipType_QPoint, &a2, sipType_QWidget, &a3))
        {
            QStyle::SubControl sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KStyle::hitTestComplexControl(a0,a1,*a2,a3) : sipCpp->hitTestComplexControl(a0,a1,*a2,a3));
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QStyle_SubControl);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStyle, sipName_hitTestComplexControl, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStyle_drawComplexControl(PyObject *, PyObject *);}
static PyObject *meth_KStyle_drawComplexControl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QStyle::ComplexControl a0;
        const QStyleOptionComplex* a1;
        QPainter* a2;
        const QWidget* a3;
        const KStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ8J8J8", &sipSelf, sipType_KStyle, &sipCpp, sipType_QStyle_ComplexControl, &a0, sipType_QStyleOptionComplex, &a1, sipType_QPainter, &a2, sipType_QWidget, &a3))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KStyle::drawComplexControl(a0,a1,a2,a3) : sipCpp->drawComplexControl(a0,a1,a2,a3));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStyle, sipName_drawComplexControl, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStyle_standardPixmap(PyObject *, PyObject *);}
static PyObject *meth_KStyle_standardPixmap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QStyle::StandardPixmap a0;
        const QStyleOption* a1;
        const QWidget* a2 = 0;
        const KStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ8|J8", &sipSelf, sipType_KStyle, &sipCpp, sipType_QStyle_StandardPixmap, &a0, sipType_QStyleOption, &a1, sipType_QWidget, &a2))
        {
            QPixmap*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPixmap((sipSelfWasArg ? sipCpp->KStyle::standardPixmap(a0,a1,a2) : sipCpp->standardPixmap(a0,a1,a2)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QPixmap,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStyle, sipName_standardPixmap, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStyle_standardIconImplementation(PyObject *, PyObject *);}
static PyObject *meth_KStyle_standardIconImplementation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QStyle::StandardPixmap a0;
        const QStyleOption* a1 = 0;
        const QWidget* a2 = 0;
        const KStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pE|J8J8", &sipSelf, sipType_KStyle, &sipCpp, sipType_QStyle_StandardPixmap, &a0, sipType_QStyleOption, &a1, sipType_QWidget, &a2))
        {
            QIcon*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QIcon(sipCpp->standardIconImplementation(a0,a1,a2));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QIcon,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStyle, sipName_standardIconImplementation, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KStyle(void *, int);}
static void release_KStyle(void *sipCppV,int)
{
    KStyle *sipCpp = reinterpret_cast<KStyle *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KStyle(sipSimpleWrapper *);}
static void dealloc_KStyle(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKStyle *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KStyle(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KStyle(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KStyle(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipKStyle *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKStyle();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KStyle[] = {{473, 2, 1}};


static PyMethodDef methods_KStyle[] = {
    {SIP_MLNAME_CAST(sipName_centerRect), meth_KStyle_centerRect, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customControlElement), meth_KStyle_customControlElement, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customStyleHint), meth_KStyle_customStyleHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customSubElement), meth_KStyle_customSubElement, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_defaultStyle), meth_KStyle_defaultStyle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_drawComplexControl), meth_KStyle_drawComplexControl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_drawControl), meth_KStyle_drawControl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_drawInsideRect), meth_KStyle_drawInsideRect, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_drawItemPixmap), meth_KStyle_drawItemPixmap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_drawItemText), meth_KStyle_drawItemText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_drawPrimitive), meth_KStyle_drawPrimitive, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_KStyle_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_generatedIconPixmap), meth_KStyle_generatedIconPixmap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hitTestComplexControl), meth_KStyle_hitTestComplexControl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemPixmapRect), meth_KStyle_itemPixmapRect, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemTextRect), meth_KStyle_itemTextRect, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_layoutSpacingImplementation), meth_KStyle_layoutSpacingImplementation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_newControlElement), meth_KStyle_newControlElement, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_newStyleHint), meth_KStyle_newStyleHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_newSubElement), meth_KStyle_newSubElement, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pixelMetric), meth_KStyle_pixelMetric, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_polish), meth_KStyle_polish, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setWidgetLayoutProp), meth_KStyle_setWidgetLayoutProp, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeFromContents), meth_KStyle_sizeFromContents, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_standardIconImplementation), meth_KStyle_standardIconImplementation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_standardPalette), meth_KStyle_standardPalette, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_standardPixmap), meth_KStyle_standardPixmap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_styleHint), meth_KStyle_styleHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_subControlRect), meth_KStyle_subControlRect, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_subElementRect), meth_KStyle_subElementRect, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_unpolish), meth_KStyle_unpolish, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_widgetLayoutProp), meth_KStyle_widgetLayoutProp, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KStyle[] = {
    {sipName_Bot, static_cast<int>(KStyle::Bot), 307},
    {sipName_Left, static_cast<int>(KStyle::Left), 307},
    {sipName_MainMargin, static_cast<int>(KStyle::MainMargin), 307},
    {sipName_MarginInc, static_cast<int>(KStyle::MarginInc), 307},
    {sipName_Right, static_cast<int>(KStyle::Right), 307},
    {sipName_Top, static_cast<int>(KStyle::Top), 307},
    {sipName_WT_CheckBox, static_cast<int>(KStyle::WT_CheckBox), 308},
    {sipName_WT_ComboBox, static_cast<int>(KStyle::WT_ComboBox), 308},
    {sipName_WT_DockWidget, static_cast<int>(KStyle::WT_DockWidget), 308},
    {sipName_WT_Generic, static_cast<int>(KStyle::WT_Generic), 308},
    {sipName_WT_GroupBox, static_cast<int>(KStyle::WT_GroupBox), 308},
    {sipName_WT_Header, static_cast<int>(KStyle::WT_Header), 308},
    {sipName_WT_Limit, static_cast<int>(KStyle::WT_Limit), 308},
    {sipName_WT_LineEdit, static_cast<int>(KStyle::WT_LineEdit), 308},
    {sipName_WT_Menu, static_cast<int>(KStyle::WT_Menu), 308},
    {sipName_WT_MenuBar, static_cast<int>(KStyle::WT_MenuBar), 308},
    {sipName_WT_MenuBarItem, static_cast<int>(KStyle::WT_MenuBarItem), 308},
    {sipName_WT_MenuItem, static_cast<int>(KStyle::WT_MenuItem), 308},
    {sipName_WT_ProgressBar, static_cast<int>(KStyle::WT_ProgressBar), 308},
    {sipName_WT_PushButton, static_cast<int>(KStyle::WT_PushButton), 308},
    {sipName_WT_RadioButton, static_cast<int>(KStyle::WT_RadioButton), 308},
    {sipName_WT_ScrollBar, static_cast<int>(KStyle::WT_ScrollBar), 308},
    {sipName_WT_Slider, static_cast<int>(KStyle::WT_Slider), 308},
    {sipName_WT_SpinBox, static_cast<int>(KStyle::WT_SpinBox), 308},
    {sipName_WT_Splitter, static_cast<int>(KStyle::WT_Splitter), 308},
    {sipName_WT_StatusBar, static_cast<int>(KStyle::WT_StatusBar), 308},
    {sipName_WT_TabBar, static_cast<int>(KStyle::WT_TabBar), 308},
    {sipName_WT_TabWidget, static_cast<int>(KStyle::WT_TabWidget), 308},
    {sipName_WT_ToolBar, static_cast<int>(KStyle::WT_ToolBar), 308},
    {sipName_WT_ToolBoxTab, static_cast<int>(KStyle::WT_ToolBoxTab), 308},
    {sipName_WT_ToolButton, static_cast<int>(KStyle::WT_ToolButton), 308},
    {sipName_WT_Tree, static_cast<int>(KStyle::WT_Tree), 308},
    {sipName_WT_Window, static_cast<int>(KStyle::WT_Window), 308},
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KStyle = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KStyle,
        {0}
    },
    {
        sipNameNr_KStyle,
        {0, 0, 1},
        32, methods_KStyle,
        33, enummembers_KStyle,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KStyle,
    0,
    init_type_KStyle,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KStyle,
    0,
    0,
    0,
    release_KStyle,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KStyle::staticMetaObject,
    0,
    0
};

#line 50 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kstringvalidator.sip"
#include <kstringvalidator.h>
#line 16783 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"

#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 16787 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 16790 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qvalidator.sip"
#include <qvalidator.h>
#line 16793 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 16796 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 16799 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 16802 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 16805 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 16808 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 16811 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 16814 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 16817 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 16820 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 16823 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 16826 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 16829 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"


class sipKMimeTypeValidator : public KMimeTypeValidator
{
public:
    sipKMimeTypeValidator(QObject*);
    virtual ~sipKMimeTypeValidator();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void fixup(QString&) const;
    QValidator::State validate(QString&,int&) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKMimeTypeValidator(const sipKMimeTypeValidator &);
    sipKMimeTypeValidator &operator = (const sipKMimeTypeValidator &);

    char sipPyMethods[11];
};

sipKMimeTypeValidator::sipKMimeTypeValidator(QObject*a0): KMimeTypeValidator(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKMimeTypeValidator::~sipKMimeTypeValidator()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKMimeTypeValidator::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KMimeTypeValidator);
}

int sipKMimeTypeValidator::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KMimeTypeValidator::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KMimeTypeValidator,_c,_id,_a);

    return _id;
}

void *sipKMimeTypeValidator::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KMimeTypeValidator, _clname)) ? this : KMimeTypeValidator::qt_metacast(_clname);
}

void sipKMimeTypeValidator::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KMimeTypeValidator::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMimeTypeValidator::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KMimeTypeValidator::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMimeTypeValidator::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KMimeTypeValidator::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMimeTypeValidator::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KMimeTypeValidator::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMimeTypeValidator::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KMimeTypeValidator::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKMimeTypeValidator::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KMimeTypeValidator::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKMimeTypeValidator::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KMimeTypeValidator::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMimeTypeValidator::fixup(QString& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_fixup);

    if (!sipMeth)
    {
        KMimeTypeValidator::fixup(a0);
        return;
    }

    if (sipIsAPIEnabled(sipName_QString, 0, 2))
    {
        typedef void (*sipVH_QtGui_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QString&);

        ((sipVH_QtGui_33)(sipModuleAPI_kdeui_QtGui->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
        return;
    }

    if (sipIsAPIEnabled(sipName_QString, 2, 0))
    {
        typedef void (*sipVH_QtGui_34)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QString&);

        ((sipVH_QtGui_34)(sipModuleAPI_kdeui_QtGui->em_virthandlers[34]))(sipGILState, 0, sipPySelf, sipMeth, a0);
        return;
    }

    KMimeTypeValidator::fixup(a0);
}

QValidator::State sipKMimeTypeValidator::validate(QString& a0,int& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,sipName_KMimeTypeValidator,sipName_validate);

    if (!sipMeth)
        return (QValidator::State)0;

    if (sipIsAPIEnabled(sipName_QString, 0, 2))
    {
        typedef QValidator::State (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QString&,int&);

        return ((sipVH_QtGui_29)(sipModuleAPI_kdeui_QtGui->em_virthandlers[29]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
    }

    if (sipIsAPIEnabled(sipName_QString, 2, 0))
    {
        typedef QValidator::State (*sipVH_QtGui_30)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QString&,int&);

        return ((sipVH_QtGui_30)(sipModuleAPI_kdeui_QtGui->em_virthandlers[30]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
    }

    return (QValidator::State)0;
}


extern "C" {static PyObject *meth_KMimeTypeValidator_validate(PyObject *, PyObject *);}
static PyObject *meth_KMimeTypeValidator_validate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    if (sipIsAPIEnabled(sipName_QString, 2, 0))
    {
        QString* a0;
        int a0State = 0;
        int a1;
        const KMimeTypeValidator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1i", &sipSelf, sipType_KMimeTypeValidator, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            QValidator::State sipRes;
            PyObject *sipResObj;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KMimeTypeValidator, sipName_validate);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->validate(*a0,a1);
            Py_END_ALLOW_THREADS

            sipResObj = sipBuildResult(0,"(FDi)",sipRes,sipType_QValidator_State,a0,sipType_QString,NULL,a1);
            sipReleaseType(a0,sipType_QString,a0State);

            return sipResObj;
        }
    }

    if (sipIsAPIEnabled(sipName_QString, 0, 2))
    {
        QString* a0;
        int a1;
        const KMimeTypeValidator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9i", &sipSelf, sipType_KMimeTypeValidator, &sipCpp, sipType_QString,&a0, &a1))
        {
            QValidator::State sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KMimeTypeValidator, sipName_validate);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->validate(*a0,a1);
            Py_END_ALLOW_THREADS

            return sipBuildResult(0,"(Fi)",sipRes,sipType_QValidator_State,a1);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMimeTypeValidator, sipName_validate, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMimeTypeValidator_fixup(PyObject *, PyObject *);}
static PyObject *meth_KMimeTypeValidator_fixup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    if (sipIsAPIEnabled(sipName_QString, 2, 0))
    {
        QString* a0;
        int a0State = 0;
        const KMimeTypeValidator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KMimeTypeValidator, &sipCpp, sipType_QString,&a0, &a0State))
        {
            PyObject *sipResObj;

            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KMimeTypeValidator::fixup(*a0) : sipCpp->fixup(*a0));
            Py_END_ALLOW_THREADS

            sipResObj = sipConvertFromType(a0,sipType_QString,NULL);
            sipReleaseType(a0,sipType_QString,a0State);

            return sipResObj;
        }
    }

    if (sipIsAPIEnabled(sipName_QString, 0, 2))
    {
        QString* a0;
        const KMimeTypeValidator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KMimeTypeValidator, &sipCpp, sipType_QString,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KMimeTypeValidator::fixup(*a0) : sipCpp->fixup(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMimeTypeValidator, sipName_fixup, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KMimeTypeValidator(void *, int);}
static void release_KMimeTypeValidator(void *sipCppV,int)
{
    KMimeTypeValidator *sipCpp = reinterpret_cast<KMimeTypeValidator *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KMimeTypeValidator(sipSimpleWrapper *);}
static void dealloc_KMimeTypeValidator(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKMimeTypeValidator *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KMimeTypeValidator(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KMimeTypeValidator(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KMimeTypeValidator(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKMimeTypeValidator *sipCpp = 0;

    {
        QObject* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKMimeTypeValidator(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KMimeTypeValidator[] = {{736, 2, 1}};


static PyMethodDef methods_KMimeTypeValidator[] = {
    {SIP_MLNAME_CAST(sipName_fixup), meth_KMimeTypeValidator_fixup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_validate), meth_KMimeTypeValidator_validate, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KMimeTypeValidator = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KMimeTypeValidator,
        {0}
    },
    {
        sipNameNr_KMimeTypeValidator,
        {0, 0, 1},
        2, methods_KMimeTypeValidator,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KMimeTypeValidator,
    0,
    init_type_KMimeTypeValidator,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KMimeTypeValidator,
    0,
    0,
    0,
    release_KMimeTypeValidator,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KMimeTypeValidator::staticMetaObject,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kstringvalidator.sip"
#include <kstringvalidator.h>
#line 17312 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"

#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 17316 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 17319 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 17322 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qvalidator.sip"
#include <qvalidator.h>
#line 17325 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 17328 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17331 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17334 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17337 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 17340 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 17343 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 17346 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17349 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 17352 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 17355 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 17358 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 17361 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"


class sipKStringListValidator : public KStringListValidator
{
public:
    sipKStringListValidator(const QStringList&,bool,bool,QObject*);
    virtual ~sipKStringListValidator();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void fixup(QString&) const;
    QValidator::State validate(QString&,int&) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKStringListValidator(const sipKStringListValidator &);
    sipKStringListValidator &operator = (const sipKStringListValidator &);

    char sipPyMethods[11];
};

sipKStringListValidator::sipKStringListValidator(const QStringList& a0,bool a1,bool a2,QObject*a3): KStringListValidator(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKStringListValidator::~sipKStringListValidator()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKStringListValidator::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KStringListValidator);
}

int sipKStringListValidator::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KStringListValidator::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KStringListValidator,_c,_id,_a);

    return _id;
}

void *sipKStringListValidator::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KStringListValidator, _clname)) ? this : KStringListValidator::qt_metacast(_clname);
}

void sipKStringListValidator::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KStringListValidator::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStringListValidator::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KStringListValidator::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStringListValidator::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KStringListValidator::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStringListValidator::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KStringListValidator::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStringListValidator::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KStringListValidator::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKStringListValidator::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KStringListValidator::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKStringListValidator::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KStringListValidator::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStringListValidator::fixup(QString& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_fixup);

    if (!sipMeth)
    {
        KStringListValidator::fixup(a0);
        return;
    }

    if (sipIsAPIEnabled(sipName_QString, 0, 2))
    {
        typedef void (*sipVH_QtGui_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QString&);

        ((sipVH_QtGui_33)(sipModuleAPI_kdeui_QtGui->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
        return;
    }

    if (sipIsAPIEnabled(sipName_QString, 2, 0))
    {
        typedef void (*sipVH_QtGui_34)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QString&);

        ((sipVH_QtGui_34)(sipModuleAPI_kdeui_QtGui->em_virthandlers[34]))(sipGILState, 0, sipPySelf, sipMeth, a0);
        return;
    }

    KStringListValidator::fixup(a0);
}

QValidator::State sipKStringListValidator::validate(QString& a0,int& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,sipName_KStringListValidator,sipName_validate);

    if (!sipMeth)
        return (QValidator::State)0;

    if (sipIsAPIEnabled(sipName_QString, 0, 2))
    {
        typedef QValidator::State (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QString&,int&);

        return ((sipVH_QtGui_29)(sipModuleAPI_kdeui_QtGui->em_virthandlers[29]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
    }

    if (sipIsAPIEnabled(sipName_QString, 2, 0))
    {
        typedef QValidator::State (*sipVH_QtGui_30)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QString&,int&);

        return ((sipVH_QtGui_30)(sipModuleAPI_kdeui_QtGui->em_virthandlers[30]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
    }

    return (QValidator::State)0;
}


extern "C" {static PyObject *meth_KStringListValidator_setRejecting(PyObject *, PyObject *);}
static PyObject *meth_KStringListValidator_setRejecting(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KStringListValidator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KStringListValidator, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setRejecting(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStringListValidator, sipName_setRejecting, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStringListValidator_isRejecting(PyObject *, PyObject *);}
static PyObject *meth_KStringListValidator_isRejecting(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KStringListValidator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KStringListValidator, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isRejecting();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStringListValidator, sipName_isRejecting, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStringListValidator_setFixupEnabled(PyObject *, PyObject *);}
static PyObject *meth_KStringListValidator_setFixupEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KStringListValidator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KStringListValidator, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFixupEnabled(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStringListValidator, sipName_setFixupEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStringListValidator_isFixupEnabled(PyObject *, PyObject *);}
static PyObject *meth_KStringListValidator_isFixupEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KStringListValidator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KStringListValidator, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isFixupEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStringListValidator, sipName_isFixupEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStringListValidator_setStringList(PyObject *, PyObject *);}
static PyObject *meth_KStringListValidator_setStringList(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QStringList* a0;
        int a0State = 0;
        KStringListValidator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KStringListValidator, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setStringList(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStringListValidator, sipName_setStringList, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStringListValidator_stringList(PyObject *, PyObject *);}
static PyObject *meth_KStringListValidator_stringList(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KStringListValidator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KStringListValidator, &sipCpp))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->stringList());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStringListValidator, sipName_stringList, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStringListValidator_validate(PyObject *, PyObject *);}
static PyObject *meth_KStringListValidator_validate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    if (sipIsAPIEnabled(sipName_QString, 2, 0))
    {
        QString* a0;
        int a0State = 0;
        int a1;
        const KStringListValidator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1i", &sipSelf, sipType_KStringListValidator, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            QValidator::State sipRes;
            PyObject *sipResObj;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KStringListValidator, sipName_validate);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->validate(*a0,a1);
            Py_END_ALLOW_THREADS

            sipResObj = sipBuildResult(0,"(FDi)",sipRes,sipType_QValidator_State,a0,sipType_QString,NULL,a1);
            sipReleaseType(a0,sipType_QString,a0State);

            return sipResObj;
        }
    }

    if (sipIsAPIEnabled(sipName_QString, 0, 2))
    {
        QString* a0;
        int a1;
        const KStringListValidator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9i", &sipSelf, sipType_KStringListValidator, &sipCpp, sipType_QString,&a0, &a1))
        {
            QValidator::State sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KStringListValidator, sipName_validate);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->validate(*a0,a1);
            Py_END_ALLOW_THREADS

            return sipBuildResult(0,"(Fi)",sipRes,sipType_QValidator_State,a1);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStringListValidator, sipName_validate, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStringListValidator_fixup(PyObject *, PyObject *);}
static PyObject *meth_KStringListValidator_fixup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    if (sipIsAPIEnabled(sipName_QString, 2, 0))
    {
        QString* a0;
        int a0State = 0;
        const KStringListValidator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KStringListValidator, &sipCpp, sipType_QString,&a0, &a0State))
        {
            PyObject *sipResObj;

            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KStringListValidator::fixup(*a0) : sipCpp->fixup(*a0));
            Py_END_ALLOW_THREADS

            sipResObj = sipConvertFromType(a0,sipType_QString,NULL);
            sipReleaseType(a0,sipType_QString,a0State);

            return sipResObj;
        }
    }

    if (sipIsAPIEnabled(sipName_QString, 0, 2))
    {
        QString* a0;
        const KStringListValidator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KStringListValidator, &sipCpp, sipType_QString,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KStringListValidator::fixup(*a0) : sipCpp->fixup(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStringListValidator, sipName_fixup, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KStringListValidator(void *, int);}
static void release_KStringListValidator(void *sipCppV,int)
{
    KStringListValidator *sipCpp = reinterpret_cast<KStringListValidator *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KStringListValidator(sipSimpleWrapper *);}
static void dealloc_KStringListValidator(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKStringListValidator *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KStringListValidator(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KStringListValidator(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KStringListValidator(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKStringListValidator *sipCpp = 0;

    {
        const QStringList& a0def = QStringList();
        const QStringList* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 0;
        QObject* a3 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|J1bbJH", sipType_QStringList,&a0, &a0State, &a1, &a2, sipType_QObject, &a3, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKStringListValidator(*a0,a1,a2,a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KStringListValidator[] = {{736, 2, 1}};


static PyMethodDef methods_KStringListValidator[] = {
    {SIP_MLNAME_CAST(sipName_fixup), meth_KStringListValidator_fixup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isFixupEnabled), meth_KStringListValidator_isFixupEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isRejecting), meth_KStringListValidator_isRejecting, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFixupEnabled), meth_KStringListValidator_setFixupEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRejecting), meth_KStringListValidator_setRejecting, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setStringList), meth_KStringListValidator_setStringList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_stringList), meth_KStringListValidator_stringList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_validate), meth_KStringListValidator_validate, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KStringListValidator = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KStringListValidator,
        {0}
    },
    {
        sipNameNr_KStringListValidator,
        {0, 0, 1},
        8, methods_KStringListValidator,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KStringListValidator,
    0,
    init_type_KStringListValidator,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KStringListValidator,
    0,
    0,
    0,
    release_KStringListValidator,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KStringListValidator::staticMetaObject,
    0,
    0
};

#line 23 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kstatusnotifieritem.sip"
#include <kstatusnotifieritem.h>
#line 18020 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"

#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 18024 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 18027 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 18030 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 18033 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 18036 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kactioncollection.sip"
#include <kactioncollection.h>
#line 18039 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 18042 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kmenu.sip"
#include <kmenu.h>
#line 18045 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 18048 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 18051 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 18054 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 18057 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 18060 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 18063 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 18066 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 18069 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 18072 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 18075 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"


class sipKStatusNotifierItem : public KStatusNotifierItem
{
public:
    sipKStatusNotifierItem(QObject*);
    sipKStatusNotifierItem(const QString&,QObject*);
    virtual ~sipKStatusNotifierItem();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void activate(const QPoint&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKStatusNotifierItem(const sipKStatusNotifierItem &);
    sipKStatusNotifierItem &operator = (const sipKStatusNotifierItem &);

    char sipPyMethods[8];
};

sipKStatusNotifierItem::sipKStatusNotifierItem(QObject*a0): KStatusNotifierItem(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKStatusNotifierItem::sipKStatusNotifierItem(const QString& a0,QObject*a1): KStatusNotifierItem(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKStatusNotifierItem::~sipKStatusNotifierItem()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKStatusNotifierItem::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KStatusNotifierItem);
}

int sipKStatusNotifierItem::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KStatusNotifierItem::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KStatusNotifierItem,_c,_id,_a);

    return _id;
}

void *sipKStatusNotifierItem::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KStatusNotifierItem, _clname)) ? this : KStatusNotifierItem::qt_metacast(_clname);
}

void sipKStatusNotifierItem::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KStatusNotifierItem::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusNotifierItem::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KStatusNotifierItem::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusNotifierItem::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KStatusNotifierItem::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusNotifierItem::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KStatusNotifierItem::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusNotifierItem::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KStatusNotifierItem::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKStatusNotifierItem::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KStatusNotifierItem::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKStatusNotifierItem::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KStatusNotifierItem::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusNotifierItem::activate(const QPoint& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_activate);

    if (!sipMeth)
    {
        KStatusNotifierItem::activate(a0);
        return;
    }

    typedef void (*sipVH_kdecore_40)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPoint&);

    ((sipVH_kdecore_40)(sipModuleAPI_kdeui_kdecore->em_virthandlers[40]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KStatusNotifierItem_id(PyObject *, PyObject *);}
static PyObject *meth_KStatusNotifierItem_id(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KStatusNotifierItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KStatusNotifierItem, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->id());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusNotifierItem, sipName_id, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusNotifierItem_setCategory(PyObject *, PyObject *);}
static PyObject *meth_KStatusNotifierItem_setCategory(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KStatusNotifierItem::ItemCategory a0;
        KStatusNotifierItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KStatusNotifierItem, &sipCpp, sipType_KStatusNotifierItem_ItemCategory, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCategory(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusNotifierItem, sipName_setCategory, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusNotifierItem_category(PyObject *, PyObject *);}
static PyObject *meth_KStatusNotifierItem_category(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KStatusNotifierItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KStatusNotifierItem, &sipCpp))
        {
            KStatusNotifierItem::ItemCategory sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->category();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KStatusNotifierItem_ItemCategory);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusNotifierItem, sipName_category, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusNotifierItem_setTitle(PyObject *, PyObject *);}
static PyObject *meth_KStatusNotifierItem_setTitle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KStatusNotifierItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KStatusNotifierItem, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTitle(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusNotifierItem, sipName_setTitle, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusNotifierItem_title(PyObject *, PyObject *);}
static PyObject *meth_KStatusNotifierItem_title(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KStatusNotifierItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KStatusNotifierItem, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->title());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusNotifierItem, sipName_title, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusNotifierItem_setStatus(PyObject *, PyObject *);}
static PyObject *meth_KStatusNotifierItem_setStatus(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KStatusNotifierItem::ItemStatus a0;
        KStatusNotifierItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KStatusNotifierItem, &sipCpp, sipType_KStatusNotifierItem_ItemStatus, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setStatus(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusNotifierItem, sipName_setStatus, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusNotifierItem_status(PyObject *, PyObject *);}
static PyObject *meth_KStatusNotifierItem_status(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KStatusNotifierItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KStatusNotifierItem, &sipCpp))
        {
            KStatusNotifierItem::ItemStatus sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->status();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KStatusNotifierItem_ItemStatus);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusNotifierItem, sipName_status, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusNotifierItem_setIconByName(PyObject *, PyObject *);}
static PyObject *meth_KStatusNotifierItem_setIconByName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KStatusNotifierItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KStatusNotifierItem, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setIconByName(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusNotifierItem, sipName_setIconByName, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusNotifierItem_iconName(PyObject *, PyObject *);}
static PyObject *meth_KStatusNotifierItem_iconName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KStatusNotifierItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KStatusNotifierItem, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->iconName());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusNotifierItem, sipName_iconName, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusNotifierItem_setIconByPixmap(PyObject *, PyObject *);}
static PyObject *meth_KStatusNotifierItem_setIconByPixmap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QIcon* a0;
        KStatusNotifierItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KStatusNotifierItem, &sipCpp, sipType_QIcon, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setIconByPixmap(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusNotifierItem, sipName_setIconByPixmap, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusNotifierItem_iconPixmap(PyObject *, PyObject *);}
static PyObject *meth_KStatusNotifierItem_iconPixmap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KStatusNotifierItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KStatusNotifierItem, &sipCpp))
        {
            QIcon*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QIcon(sipCpp->iconPixmap());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QIcon,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusNotifierItem, sipName_iconPixmap, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusNotifierItem_setOverlayIconByName(PyObject *, PyObject *);}
static PyObject *meth_KStatusNotifierItem_setOverlayIconByName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KStatusNotifierItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KStatusNotifierItem, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setOverlayIconByName(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusNotifierItem, sipName_setOverlayIconByName, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusNotifierItem_overlayIconName(PyObject *, PyObject *);}
static PyObject *meth_KStatusNotifierItem_overlayIconName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KStatusNotifierItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KStatusNotifierItem, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->overlayIconName());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusNotifierItem, sipName_overlayIconName, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusNotifierItem_setOverlayIconByPixmap(PyObject *, PyObject *);}
static PyObject *meth_KStatusNotifierItem_setOverlayIconByPixmap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QIcon* a0;
        KStatusNotifierItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KStatusNotifierItem, &sipCpp, sipType_QIcon, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setOverlayIconByPixmap(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusNotifierItem, sipName_setOverlayIconByPixmap, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusNotifierItem_overlayIconPixmap(PyObject *, PyObject *);}
static PyObject *meth_KStatusNotifierItem_overlayIconPixmap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KStatusNotifierItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KStatusNotifierItem, &sipCpp))
        {
            QIcon*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QIcon(sipCpp->overlayIconPixmap());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QIcon,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusNotifierItem, sipName_overlayIconPixmap, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusNotifierItem_setAttentionIconByName(PyObject *, PyObject *);}
static PyObject *meth_KStatusNotifierItem_setAttentionIconByName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KStatusNotifierItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KStatusNotifierItem, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAttentionIconByName(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusNotifierItem, sipName_setAttentionIconByName, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusNotifierItem_attentionIconName(PyObject *, PyObject *);}
static PyObject *meth_KStatusNotifierItem_attentionIconName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KStatusNotifierItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KStatusNotifierItem, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->attentionIconName());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusNotifierItem, sipName_attentionIconName, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusNotifierItem_setAttentionIconByPixmap(PyObject *, PyObject *);}
static PyObject *meth_KStatusNotifierItem_setAttentionIconByPixmap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QIcon* a0;
        KStatusNotifierItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KStatusNotifierItem, &sipCpp, sipType_QIcon, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAttentionIconByPixmap(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusNotifierItem, sipName_setAttentionIconByPixmap, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusNotifierItem_attentionIconPixmap(PyObject *, PyObject *);}
static PyObject *meth_KStatusNotifierItem_attentionIconPixmap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KStatusNotifierItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KStatusNotifierItem, &sipCpp))
        {
            QIcon*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QIcon(sipCpp->attentionIconPixmap());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QIcon,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusNotifierItem, sipName_attentionIconPixmap, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusNotifierItem_setToolTip(PyObject *, PyObject *);}
static PyObject *meth_KStatusNotifierItem_setToolTip(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        const QString* a2;
        int a2State = 0;
        KStatusNotifierItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J1", &sipSelf, sipType_KStatusNotifierItem, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setToolTip(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QIcon* a0;
        const QString* a1;
        int a1State = 0;
        const QString* a2;
        int a2State = 0;
        KStatusNotifierItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J1J1", &sipSelf, sipType_KStatusNotifierItem, &sipCpp, sipType_QIcon, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setToolTip(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusNotifierItem, sipName_setToolTip, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusNotifierItem_setToolTipIconByName(PyObject *, PyObject *);}
static PyObject *meth_KStatusNotifierItem_setToolTipIconByName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KStatusNotifierItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KStatusNotifierItem, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setToolTipIconByName(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusNotifierItem, sipName_setToolTipIconByName, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusNotifierItem_toolTipIconName(PyObject *, PyObject *);}
static PyObject *meth_KStatusNotifierItem_toolTipIconName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KStatusNotifierItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KStatusNotifierItem, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->toolTipIconName());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusNotifierItem, sipName_toolTipIconName, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusNotifierItem_setToolTipIconByPixmap(PyObject *, PyObject *);}
static PyObject *meth_KStatusNotifierItem_setToolTipIconByPixmap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QIcon* a0;
        KStatusNotifierItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KStatusNotifierItem, &sipCpp, sipType_QIcon, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setToolTipIconByPixmap(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusNotifierItem, sipName_setToolTipIconByPixmap, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusNotifierItem_toolTipIconPixmap(PyObject *, PyObject *);}
static PyObject *meth_KStatusNotifierItem_toolTipIconPixmap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KStatusNotifierItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KStatusNotifierItem, &sipCpp))
        {
            QIcon*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QIcon(sipCpp->toolTipIconPixmap());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QIcon,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusNotifierItem, sipName_toolTipIconPixmap, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusNotifierItem_setToolTipTitle(PyObject *, PyObject *);}
static PyObject *meth_KStatusNotifierItem_setToolTipTitle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KStatusNotifierItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KStatusNotifierItem, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setToolTipTitle(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusNotifierItem, sipName_setToolTipTitle, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusNotifierItem_toolTipTitle(PyObject *, PyObject *);}
static PyObject *meth_KStatusNotifierItem_toolTipTitle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KStatusNotifierItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KStatusNotifierItem, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->toolTipTitle());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusNotifierItem, sipName_toolTipTitle, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusNotifierItem_setToolTipSubTitle(PyObject *, PyObject *);}
static PyObject *meth_KStatusNotifierItem_setToolTipSubTitle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KStatusNotifierItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KStatusNotifierItem, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setToolTipSubTitle(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusNotifierItem, sipName_setToolTipSubTitle, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusNotifierItem_toolTipSubTitle(PyObject *, PyObject *);}
static PyObject *meth_KStatusNotifierItem_toolTipSubTitle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KStatusNotifierItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KStatusNotifierItem, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->toolTipSubTitle());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusNotifierItem, sipName_toolTipSubTitle, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusNotifierItem_setContextMenu(PyObject *, PyObject *);}
static PyObject *meth_KStatusNotifierItem_setContextMenu(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KMenu* a0;
        KStatusNotifierItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KStatusNotifierItem, &sipCpp, sipType_KMenu, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setContextMenu(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusNotifierItem, sipName_setContextMenu, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusNotifierItem_contextMenu(PyObject *, PyObject *);}
static PyObject *meth_KStatusNotifierItem_contextMenu(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KStatusNotifierItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KStatusNotifierItem, &sipCpp))
        {
            KMenu*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->contextMenu();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KMenu,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusNotifierItem, sipName_contextMenu, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusNotifierItem_setAssociatedWidget(PyObject *, PyObject *);}
static PyObject *meth_KStatusNotifierItem_setAssociatedWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        KStatusNotifierItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_KStatusNotifierItem, &sipCpp, sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAssociatedWidget(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusNotifierItem, sipName_setAssociatedWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusNotifierItem_associatedWidget(PyObject *, PyObject *);}
static PyObject *meth_KStatusNotifierItem_associatedWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KStatusNotifierItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KStatusNotifierItem, &sipCpp))
        {
            QWidget*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->associatedWidget();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusNotifierItem, sipName_associatedWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusNotifierItem_actionCollection(PyObject *, PyObject *);}
static PyObject *meth_KStatusNotifierItem_actionCollection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KStatusNotifierItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KStatusNotifierItem, &sipCpp))
        {
            KActionCollection*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->actionCollection();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KActionCollection,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusNotifierItem, sipName_actionCollection, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusNotifierItem_setStandardActionsEnabled(PyObject *, PyObject *);}
static PyObject *meth_KStatusNotifierItem_setStandardActionsEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KStatusNotifierItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KStatusNotifierItem, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setStandardActionsEnabled(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusNotifierItem, sipName_setStandardActionsEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusNotifierItem_standardActionsEnabled(PyObject *, PyObject *);}
static PyObject *meth_KStatusNotifierItem_standardActionsEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KStatusNotifierItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KStatusNotifierItem, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->standardActionsEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusNotifierItem, sipName_standardActionsEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusNotifierItem_showMessage(PyObject *, PyObject *);}
static PyObject *meth_KStatusNotifierItem_showMessage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        const QString* a2;
        int a2State = 0;
        int a3 = 10000;
        KStatusNotifierItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J1|i", &sipSelf, sipType_KStatusNotifierItem, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, &a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->showMessage(*a0,*a1,*a2,a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusNotifierItem, sipName_showMessage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusNotifierItem_activate(PyObject *, PyObject *);}
static PyObject *meth_KStatusNotifierItem_activate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPoint& a0def = QPoint();
        const QPoint* a0 = &a0def;
        KStatusNotifierItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J9", &sipSelf, sipType_KStatusNotifierItem, &sipCpp, sipType_QPoint, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KStatusNotifierItem::activate(*a0) : sipCpp->activate(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusNotifierItem, sipName_activate, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusNotifierItem_eventFilter(PyObject *, PyObject *);}
static PyObject *meth_KStatusNotifierItem_eventFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        QEvent* a1;
        KStatusNotifierItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8J8", &sipSelf, sipType_KStatusNotifierItem, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KStatusNotifierItem::eventFilter(a0,a1) : sipCpp->eventFilter(a0,a1));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusNotifierItem, sipName_eventFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusNotifierItem_setAttentionMovieByName(PyObject *, PyObject *);}
static PyObject *meth_KStatusNotifierItem_setAttentionMovieByName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KStatusNotifierItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KStatusNotifierItem, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAttentionMovieByName(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusNotifierItem, sipName_setAttentionMovieByName, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusNotifierItem_attentionMovieName(PyObject *, PyObject *);}
static PyObject *meth_KStatusNotifierItem_attentionMovieName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KStatusNotifierItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KStatusNotifierItem, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->attentionMovieName());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusNotifierItem, sipName_attentionMovieName, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KStatusNotifierItem(void *, int);}
static void release_KStatusNotifierItem(void *sipCppV,int)
{
    KStatusNotifierItem *sipCpp = reinterpret_cast<KStatusNotifierItem *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KStatusNotifierItem(sipSimpleWrapper *);}
static void dealloc_KStatusNotifierItem(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKStatusNotifierItem *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KStatusNotifierItem(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KStatusNotifierItem(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KStatusNotifierItem(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKStatusNotifierItem *sipCpp = 0;

    {
        QObject* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKStatusNotifierItem(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        QObject* a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1|JH", sipType_QString,&a0, &a0State, sipType_QObject, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKStatusNotifierItem(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KStatusNotifierItem[] = {{141, 0, 1}};


static PyMethodDef methods_KStatusNotifierItem[] = {
    {SIP_MLNAME_CAST(sipName_actionCollection), meth_KStatusNotifierItem_actionCollection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_activate), meth_KStatusNotifierItem_activate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_associatedWidget), meth_KStatusNotifierItem_associatedWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_attentionIconName), meth_KStatusNotifierItem_attentionIconName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_attentionIconPixmap), meth_KStatusNotifierItem_attentionIconPixmap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_attentionMovieName), meth_KStatusNotifierItem_attentionMovieName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_category), meth_KStatusNotifierItem_category, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenu), meth_KStatusNotifierItem_contextMenu, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_KStatusNotifierItem_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_iconName), meth_KStatusNotifierItem_iconName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_iconPixmap), meth_KStatusNotifierItem_iconPixmap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_id), meth_KStatusNotifierItem_id, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_overlayIconName), meth_KStatusNotifierItem_overlayIconName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_overlayIconPixmap), meth_KStatusNotifierItem_overlayIconPixmap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAssociatedWidget), meth_KStatusNotifierItem_setAssociatedWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAttentionIconByName), meth_KStatusNotifierItem_setAttentionIconByName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAttentionIconByPixmap), meth_KStatusNotifierItem_setAttentionIconByPixmap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAttentionMovieByName), meth_KStatusNotifierItem_setAttentionMovieByName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCategory), meth_KStatusNotifierItem_setCategory, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setContextMenu), meth_KStatusNotifierItem_setContextMenu, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIconByName), meth_KStatusNotifierItem_setIconByName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIconByPixmap), meth_KStatusNotifierItem_setIconByPixmap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOverlayIconByName), meth_KStatusNotifierItem_setOverlayIconByName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOverlayIconByPixmap), meth_KStatusNotifierItem_setOverlayIconByPixmap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setStandardActionsEnabled), meth_KStatusNotifierItem_setStandardActionsEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setStatus), meth_KStatusNotifierItem_setStatus, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTitle), meth_KStatusNotifierItem_setTitle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setToolTip), meth_KStatusNotifierItem_setToolTip, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setToolTipIconByName), meth_KStatusNotifierItem_setToolTipIconByName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setToolTipIconByPixmap), meth_KStatusNotifierItem_setToolTipIconByPixmap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setToolTipSubTitle), meth_KStatusNotifierItem_setToolTipSubTitle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setToolTipTitle), meth_KStatusNotifierItem_setToolTipTitle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showMessage), meth_KStatusNotifierItem_showMessage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_standardActionsEnabled), meth_KStatusNotifierItem_standardActionsEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_status), meth_KStatusNotifierItem_status, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_title), meth_KStatusNotifierItem_title, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toolTipIconName), meth_KStatusNotifierItem_toolTipIconName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toolTipIconPixmap), meth_KStatusNotifierItem_toolTipIconPixmap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toolTipSubTitle), meth_KStatusNotifierItem_toolTipSubTitle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toolTipTitle), meth_KStatusNotifierItem_toolTipTitle, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KStatusNotifierItem[] = {
    {sipName_Active, static_cast<int>(KStatusNotifierItem::Active), 304},
    {sipName_ApplicationStatus, static_cast<int>(KStatusNotifierItem::ApplicationStatus), 303},
    {sipName_Communications, static_cast<int>(KStatusNotifierItem::Communications), 303},
    {sipName_Hardware, static_cast<int>(KStatusNotifierItem::Hardware), 303},
    {sipName_NeedsAttention, static_cast<int>(KStatusNotifierItem::NeedsAttention), 304},
    {sipName_Passive, static_cast<int>(KStatusNotifierItem::Passive), 304},
    {sipName_Reserved, static_cast<int>(KStatusNotifierItem::Reserved), 303},
    {sipName_SystemServices, static_cast<int>(KStatusNotifierItem::SystemServices), 303},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KStatusNotifierItem[] = {
    {"secondaryActivateRequested(QPoint)", 0, 0, 0},
    {"activateRequested(bool,QPoint)", 0, 0, 0},
    {"scrollRequested(int,Qt::Orientation)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KStatusNotifierItem = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KStatusNotifierItem,
        {0}
    },
    {
        sipNameNr_KStatusNotifierItem,
        {0, 0, 1},
        40, methods_KStatusNotifierItem,
        8, enummembers_KStatusNotifierItem,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KStatusNotifierItem,
    0,
    init_type_KStatusNotifierItem,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KStatusNotifierItem,
    0,
    0,
    0,
    release_KStatusNotifierItem,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KStatusNotifierItem::staticMetaObject,
    0,
    signals_KStatusNotifierItem,
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kstatusbarjobtracker.sip"
#include <kstatusbarjobtracker.h>
#line 19621 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kstatusbarjobtracker.sip"
#include <kstatusbarjobtracker.h>
#line 19625 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"


extern "C" {static int slot_KStatusBarJobTracker_StatusBarModes___bool__(PyObject *);}
static int slot_KStatusBarJobTracker_StatusBarModes___bool__(PyObject *sipSelf)
{
    KStatusBarJobTracker::StatusBarModes *sipCpp = reinterpret_cast<KStatusBarJobTracker::StatusBarModes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KStatusBarJobTracker_StatusBarModes));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 389 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KStatusBarJobTracker::StatusBarModes::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 19647 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KStatusBarJobTracker_StatusBarModes___ne__(PyObject *,PyObject *);}
static PyObject *slot_KStatusBarJobTracker_StatusBarModes___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KStatusBarJobTracker::StatusBarModes *sipCpp = reinterpret_cast<KStatusBarJobTracker::StatusBarModes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KStatusBarJobTracker_StatusBarModes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KStatusBarJobTracker::StatusBarModes* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KStatusBarJobTracker_StatusBarModes, &a0, &a0State))
        {
            bool sipRes = 0;

#line 380 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KStatusBarJobTracker::StatusBarModes::Int() != a0->operator KStatusBarJobTracker::StatusBarModes::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 19681 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
            sipReleaseType(const_cast<KStatusBarJobTracker::StatusBarModes *>(a0),sipType_KStatusBarJobTracker_StatusBarModes,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,ne_slot,sipType_KStatusBarJobTracker_StatusBarModes,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KStatusBarJobTracker_StatusBarModes___eq__(PyObject *,PyObject *);}
static PyObject *slot_KStatusBarJobTracker_StatusBarModes___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KStatusBarJobTracker::StatusBarModes *sipCpp = reinterpret_cast<KStatusBarJobTracker::StatusBarModes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KStatusBarJobTracker_StatusBarModes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KStatusBarJobTracker::StatusBarModes* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KStatusBarJobTracker_StatusBarModes, &a0, &a0State))
        {
            bool sipRes = 0;

#line 371 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KStatusBarJobTracker::StatusBarModes::Int() == a0->operator KStatusBarJobTracker::StatusBarModes::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 19721 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
            sipReleaseType(const_cast<KStatusBarJobTracker::StatusBarModes *>(a0),sipType_KStatusBarJobTracker_StatusBarModes,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,eq_slot,sipType_KStatusBarJobTracker_StatusBarModes,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KStatusBarJobTracker_StatusBarModes___invert__(PyObject *);}
static PyObject *slot_KStatusBarJobTracker_StatusBarModes___invert__(PyObject *sipSelf)
{
    KStatusBarJobTracker::StatusBarModes *sipCpp = reinterpret_cast<KStatusBarJobTracker::StatusBarModes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KStatusBarJobTracker_StatusBarModes));

    if (!sipCpp)
        return 0;


    {
        {
            KStatusBarJobTracker::StatusBarModes*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KStatusBarJobTracker::StatusBarModes(~(*sipCpp));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KStatusBarJobTracker_StatusBarModes,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KStatusBarJobTracker_StatusBarModes___and__(PyObject *,PyObject *);}
static PyObject *slot_KStatusBarJobTracker_StatusBarModes___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KStatusBarJobTracker::StatusBarModes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KStatusBarJobTracker_StatusBarModes, &a0, &a0State, &a1))
        {
            KStatusBarJobTracker::StatusBarModes*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KStatusBarJobTracker::StatusBarModes((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KStatusBarJobTracker_StatusBarModes,a0State);

            return sipConvertFromNewType(sipRes,sipType_KStatusBarJobTracker_StatusBarModes,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KStatusBarJobTracker_StatusBarModes___xor__(PyObject *,PyObject *);}
static PyObject *slot_KStatusBarJobTracker_StatusBarModes___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KStatusBarJobTracker::StatusBarModes* a0;
        int a0State = 0;
        KStatusBarJobTracker::StatusBarModes* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KStatusBarJobTracker_StatusBarModes, &a0, &a0State, sipType_KStatusBarJobTracker_StatusBarModes, &a1, &a1State))
        {
            KStatusBarJobTracker::StatusBarModes*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KStatusBarJobTracker::StatusBarModes((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KStatusBarJobTracker_StatusBarModes,a0State);
            sipReleaseType(a1,sipType_KStatusBarJobTracker_StatusBarModes,a1State);

            return sipConvertFromNewType(sipRes,sipType_KStatusBarJobTracker_StatusBarModes,NULL);
        }
    }

    {
        KStatusBarJobTracker::StatusBarModes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KStatusBarJobTracker_StatusBarModes, &a0, &a0State, &a1))
        {
            KStatusBarJobTracker::StatusBarModes*sipRes = 0;

#line 365 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KStatusBarJobTracker::StatusBarModes(*a0 ^ a1);
#line 19830 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
            sipReleaseType(a0,sipType_KStatusBarJobTracker_StatusBarModes,a0State);

            return sipConvertFromNewType(sipRes,sipType_KStatusBarJobTracker_StatusBarModes,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KStatusBarJobTracker_StatusBarModes___or__(PyObject *,PyObject *);}
static PyObject *slot_KStatusBarJobTracker_StatusBarModes___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KStatusBarJobTracker::StatusBarModes* a0;
        int a0State = 0;
        KStatusBarJobTracker::StatusBarModes* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KStatusBarJobTracker_StatusBarModes, &a0, &a0State, sipType_KStatusBarJobTracker_StatusBarModes, &a1, &a1State))
        {
            KStatusBarJobTracker::StatusBarModes*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KStatusBarJobTracker::StatusBarModes((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KStatusBarJobTracker_StatusBarModes,a0State);
            sipReleaseType(a1,sipType_KStatusBarJobTracker_StatusBarModes,a1State);

            return sipConvertFromNewType(sipRes,sipType_KStatusBarJobTracker_StatusBarModes,NULL);
        }
    }

    {
        KStatusBarJobTracker::StatusBarModes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KStatusBarJobTracker_StatusBarModes, &a0, &a0State, &a1))
        {
            KStatusBarJobTracker::StatusBarModes*sipRes = 0;

#line 360 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KStatusBarJobTracker::StatusBarModes(*a0 | a1);
#line 19882 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
            sipReleaseType(a0,sipType_KStatusBarJobTracker_StatusBarModes,a0State);

            return sipConvertFromNewType(sipRes,sipType_KStatusBarJobTracker_StatusBarModes,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KStatusBarJobTracker_StatusBarModes___int__(PyObject *);}
static PyObject *slot_KStatusBarJobTracker_StatusBarModes___int__(PyObject *sipSelf)
{
    KStatusBarJobTracker::StatusBarModes *sipCpp = reinterpret_cast<KStatusBarJobTracker::StatusBarModes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KStatusBarJobTracker_StatusBarModes));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KStatusBarJobTracker_StatusBarModes___ixor__(PyObject *,PyObject *);}
static PyObject *slot_KStatusBarJobTracker_StatusBarModes___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KStatusBarJobTracker_StatusBarModes)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KStatusBarJobTracker::StatusBarModes *sipCpp = reinterpret_cast<KStatusBarJobTracker::StatusBarModes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KStatusBarJobTracker_StatusBarModes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KStatusBarJobTracker::StatusBarModes* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KStatusBarJobTracker_StatusBarModes, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KStatusBarJobTracker::StatusBarModes::operator^=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KStatusBarJobTracker_StatusBarModes,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KStatusBarJobTracker_StatusBarModes___ior__(PyObject *,PyObject *);}
static PyObject *slot_KStatusBarJobTracker_StatusBarModes___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KStatusBarJobTracker_StatusBarModes)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KStatusBarJobTracker::StatusBarModes *sipCpp = reinterpret_cast<KStatusBarJobTracker::StatusBarModes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KStatusBarJobTracker_StatusBarModes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KStatusBarJobTracker::StatusBarModes* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KStatusBarJobTracker_StatusBarModes, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KStatusBarJobTracker::StatusBarModes::operator|=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KStatusBarJobTracker_StatusBarModes,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KStatusBarJobTracker_StatusBarModes___iand__(PyObject *,PyObject *);}
static PyObject *slot_KStatusBarJobTracker_StatusBarModes___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KStatusBarJobTracker_StatusBarModes)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KStatusBarJobTracker::StatusBarModes *sipCpp = reinterpret_cast<KStatusBarJobTracker::StatusBarModes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KStatusBarJobTracker_StatusBarModes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KStatusBarJobTracker::StatusBarModes::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Call the instance's destructor. */
extern "C" {static void release_KStatusBarJobTracker_StatusBarModes(void *, int);}
static void release_KStatusBarJobTracker_StatusBarModes(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KStatusBarJobTracker::StatusBarModes *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KStatusBarJobTracker_StatusBarModes(void *, SIP_SSIZE_T, const void *);}
static void assign_KStatusBarJobTracker_StatusBarModes(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KStatusBarJobTracker::StatusBarModes *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KStatusBarJobTracker::StatusBarModes *>(sipSrc);
}


extern "C" {static void *array_KStatusBarJobTracker_StatusBarModes(SIP_SSIZE_T);}
static void *array_KStatusBarJobTracker_StatusBarModes(SIP_SSIZE_T sipNrElem)
{
    return new KStatusBarJobTracker::StatusBarModes[sipNrElem];
}


extern "C" {static void *copy_KStatusBarJobTracker_StatusBarModes(const void *, SIP_SSIZE_T);}
static void *copy_KStatusBarJobTracker_StatusBarModes(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KStatusBarJobTracker::StatusBarModes(reinterpret_cast<const KStatusBarJobTracker::StatusBarModes *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KStatusBarJobTracker_StatusBarModes(sipSimpleWrapper *);}
static void dealloc_KStatusBarJobTracker_StatusBarModes(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KStatusBarJobTracker_StatusBarModes(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_KStatusBarJobTracker_StatusBarModes(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KStatusBarJobTracker_StatusBarModes(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KStatusBarJobTracker::StatusBarModes *sipCpp = 0;

    {
        const KStatusBarJobTracker::StatusBarModes* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_KStatusBarJobTracker_StatusBarModes, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KStatusBarJobTracker::StatusBarModes(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<KStatusBarJobTracker::StatusBarModes *>(a0),sipType_KStatusBarJobTracker_StatusBarModes,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KStatusBarJobTracker::StatusBarModes(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KStatusBarJobTracker::StatusBarModes();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_KStatusBarJobTracker_StatusBarModes(PyObject *, void **, int *, PyObject *);}
static int convertTo_KStatusBarJobTracker_StatusBarModes(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    KStatusBarJobTracker::StatusBarModes **sipCppPtr = reinterpret_cast<KStatusBarJobTracker::StatusBarModes **>(sipCppPtrV);

#line 398 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KStatusBarJobTracker::StatusBarModes is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KStatusBarJobTracker_StatusBarMode)) ||
            sipCanConvertToType(sipPy, sipType_KStatusBarJobTracker_StatusBarModes, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KStatusBarJobTracker_StatusBarMode)))
{
    *sipCppPtr = new KStatusBarJobTracker::StatusBarModes(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KStatusBarJobTracker::StatusBarModes *>(sipConvertToType(sipPy, sipType_KStatusBarJobTracker_StatusBarModes, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 20166 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KStatusBarJobTracker_StatusBarModes[] = {
    {(void *)slot_KStatusBarJobTracker_StatusBarModes___bool__, bool_slot},
    {(void *)slot_KStatusBarJobTracker_StatusBarModes___ne__, ne_slot},
    {(void *)slot_KStatusBarJobTracker_StatusBarModes___eq__, eq_slot},
    {(void *)slot_KStatusBarJobTracker_StatusBarModes___invert__, invert_slot},
    {(void *)slot_KStatusBarJobTracker_StatusBarModes___and__, and_slot},
    {(void *)slot_KStatusBarJobTracker_StatusBarModes___xor__, xor_slot},
    {(void *)slot_KStatusBarJobTracker_StatusBarModes___or__, or_slot},
    {(void *)slot_KStatusBarJobTracker_StatusBarModes___int__, int_slot},
    {(void *)slot_KStatusBarJobTracker_StatusBarModes___ixor__, ixor_slot},
    {(void *)slot_KStatusBarJobTracker_StatusBarModes___ior__, ior_slot},
    {(void *)slot_KStatusBarJobTracker_StatusBarModes___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KStatusBarJobTracker_StatusBarModes = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KStatusBarJobTracker__StatusBarModes,
        {0}
    },
    {
        sipNameNr_StatusBarModes,
        {299, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    slots_KStatusBarJobTracker_StatusBarModes,
    init_type_KStatusBarJobTracker_StatusBarModes,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KStatusBarJobTracker_StatusBarModes,
    assign_KStatusBarJobTracker_StatusBarModes,
    array_KStatusBarJobTracker_StatusBarModes,
    copy_KStatusBarJobTracker_StatusBarModes,
    release_KStatusBarJobTracker_StatusBarModes,
    0,
    convertTo_KStatusBarJobTracker_StatusBarModes,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kstatusbarjobtracker.sip"
#include <kstatusbarjobtracker.h>
#line 20242 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 20246 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 20249 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 20252 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 589 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <qpair.h>
#line 20255 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 72 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 20258 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kstatusbarjobtracker.sip"
#include <kstatusbarjobtracker.h>
#line 20261 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 20264 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 20267 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 20270 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 20273 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 20276 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 20279 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 20282 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 20285 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 20288 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 20291 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 20294 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 20297 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"


class sipKStatusBarJobTracker : public KStatusBarJobTracker
{
public:
    sipKStatusBarJobTracker(QWidget*,bool);
    virtual ~sipKStatusBarJobTracker();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void processedAmount(KJob*,KJob::Unit,qulonglong);
    void warning(KJob*,const QString&,const QString&);
    void infoMessage(KJob*,const QString&,const QString&);
    void resumed(KJob*);
    void suspended(KJob*);
    void slotResume(KJob*);
    void slotSuspend(KJob*);
    void slotStop(KJob*);
    void finished(KJob*);
    void slotClean(KJob*);
    void speed(KJob*,unsigned long);
    void percent(KJob*,unsigned long);
    void totalAmount(KJob*,KJob::Unit,qulonglong);
    void description(KJob*,const QString&,const QPair<QString,QString>&,const QPair<QString,QString>&);
    QWidget* widget(KJob*);
    void unregisterJob(KJob*);
    void registerJob(KJob*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKStatusBarJobTracker(const sipKStatusBarJobTracker &);
    sipKStatusBarJobTracker &operator = (const sipKStatusBarJobTracker &);

    char sipPyMethods[24];
};

sipKStatusBarJobTracker::sipKStatusBarJobTracker(QWidget*a0,bool a1): KStatusBarJobTracker(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKStatusBarJobTracker::~sipKStatusBarJobTracker()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKStatusBarJobTracker::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KStatusBarJobTracker);
}

int sipKStatusBarJobTracker::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KStatusBarJobTracker::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KStatusBarJobTracker,_c,_id,_a);

    return _id;
}

void *sipKStatusBarJobTracker::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KStatusBarJobTracker, _clname)) ? this : KStatusBarJobTracker::qt_metacast(_clname);
}

void sipKStatusBarJobTracker::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KStatusBarJobTracker::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBarJobTracker::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KStatusBarJobTracker::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBarJobTracker::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KStatusBarJobTracker::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBarJobTracker::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KStatusBarJobTracker::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBarJobTracker::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KStatusBarJobTracker::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKStatusBarJobTracker::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KStatusBarJobTracker::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKStatusBarJobTracker::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KStatusBarJobTracker::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBarJobTracker::processedAmount(KJob*a0,KJob::Unit a1,qulonglong a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_processedAmount);

    if (!sipMeth)
    {
        KStatusBarJobTracker::processedAmount(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_kdecore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KJob*,KJob::Unit,unsigned PY_LONG_LONG);

    ((sipVH_kdecore_25)(sipModuleAPI_kdeui_kdecore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKStatusBarJobTracker::warning(KJob*a0,const QString& a1,const QString& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_warning);

    if (!sipMeth)
    {
        KStatusBarJobTracker::warning(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_kdecore_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KJob*,const QString&,const QString&);

    ((sipVH_kdecore_23)(sipModuleAPI_kdeui_kdecore->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKStatusBarJobTracker::infoMessage(KJob*a0,const QString& a1,const QString& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_infoMessage);

    if (!sipMeth)
    {
        KStatusBarJobTracker::infoMessage(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_kdecore_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KJob*,const QString&,const QString&);

    ((sipVH_kdecore_23)(sipModuleAPI_kdeui_kdecore->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKStatusBarJobTracker::resumed(KJob*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_resumed);

    if (!sipMeth)
    {
        KStatusBarJobTracker::resumed(a0);
        return;
    }

    typedef void (*sipVH_kdecore_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KJob*);

    ((sipVH_kdecore_27)(sipModuleAPI_kdeui_kdecore->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBarJobTracker::suspended(KJob*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_suspended);

    if (!sipMeth)
    {
        KStatusBarJobTracker::suspended(a0);
        return;
    }

    typedef void (*sipVH_kdecore_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KJob*);

    ((sipVH_kdecore_27)(sipModuleAPI_kdeui_kdecore->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBarJobTracker::slotResume(KJob*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_slotResume);

    if (!sipMeth)
    {
        KStatusBarJobTracker::slotResume(a0);
        return;
    }

    typedef void (*sipVH_kdecore_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KJob*);

    ((sipVH_kdecore_27)(sipModuleAPI_kdeui_kdecore->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBarJobTracker::slotSuspend(KJob*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_slotSuspend);

    if (!sipMeth)
    {
        KStatusBarJobTracker::slotSuspend(a0);
        return;
    }

    typedef void (*sipVH_kdecore_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KJob*);

    ((sipVH_kdecore_27)(sipModuleAPI_kdeui_kdecore->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBarJobTracker::slotStop(KJob*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_slotStop);

    if (!sipMeth)
    {
        KStatusBarJobTracker::slotStop(a0);
        return;
    }

    typedef void (*sipVH_kdecore_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KJob*);

    ((sipVH_kdecore_27)(sipModuleAPI_kdeui_kdecore->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBarJobTracker::finished(KJob*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_finished);

    if (!sipMeth)
    {
        KStatusBarJobTracker::finished(a0);
        return;
    }

    typedef void (*sipVH_kdecore_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KJob*);

    ((sipVH_kdecore_27)(sipModuleAPI_kdeui_kdecore->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBarJobTracker::slotClean(KJob*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_slotClean);

    if (!sipMeth)
    {
        KStatusBarJobTracker::slotClean(a0);
        return;
    }

    typedef void (*sipVH_kdecore_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KJob*);

    ((sipVH_kdecore_27)(sipModuleAPI_kdeui_kdecore->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBarJobTracker::speed(KJob*a0,unsigned long a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_speed);

    if (!sipMeth)
    {
        KStatusBarJobTracker::speed(a0,a1);
        return;
    }

    typedef void (*sipVH_kdecore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KJob*,unsigned long);

    ((sipVH_kdecore_24)(sipModuleAPI_kdeui_kdecore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKStatusBarJobTracker::percent(KJob*a0,unsigned long a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_percent);

    if (!sipMeth)
    {
        KStatusBarJobTracker::percent(a0,a1);
        return;
    }

    typedef void (*sipVH_kdecore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KJob*,unsigned long);

    ((sipVH_kdecore_24)(sipModuleAPI_kdeui_kdecore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKStatusBarJobTracker::totalAmount(KJob*a0,KJob::Unit a1,qulonglong a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_totalAmount);

    if (!sipMeth)
    {
        KStatusBarJobTracker::totalAmount(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_kdecore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KJob*,KJob::Unit,unsigned PY_LONG_LONG);

    ((sipVH_kdecore_25)(sipModuleAPI_kdeui_kdecore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKStatusBarJobTracker::description(KJob*a0,const QString& a1,const QPair<QString,QString>& a2,const QPair<QString,QString>& a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_description);

    if (!sipMeth)
    {
        KStatusBarJobTracker::description(a0,a1,a2,a3);
        return;
    }

    typedef void (*sipVH_kdecore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KJob*,const QString&,const QPair<QString,QString>&,const QPair<QString,QString>&);

    ((sipVH_kdecore_26)(sipModuleAPI_kdeui_kdecore->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

QWidget* sipKStatusBarJobTracker::widget(KJob*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_widget);

    if (!sipMeth)
        return KStatusBarJobTracker::widget(a0);

    extern QWidget* sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KJob*);

    return sipVH_kdeui_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBarJobTracker::unregisterJob(KJob*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_unregisterJob);

    if (!sipMeth)
    {
        KStatusBarJobTracker::unregisterJob(a0);
        return;
    }

    typedef void (*sipVH_kdecore_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KJob*);

    ((sipVH_kdecore_27)(sipModuleAPI_kdeui_kdecore->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBarJobTracker::registerJob(KJob*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_registerJob);

    if (!sipMeth)
    {
        KStatusBarJobTracker::registerJob(a0);
        return;
    }

    typedef void (*sipVH_kdecore_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KJob*);

    ((sipVH_kdecore_27)(sipModuleAPI_kdeui_kdecore->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KStatusBarJobTracker_registerJob(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarJobTracker_registerJob(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KJob* a0;
        KStatusBarJobTracker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KStatusBarJobTracker, &sipCpp, sipType_KJob, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KStatusBarJobTracker::registerJob(a0) : sipCpp->registerJob(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusBarJobTracker, sipName_registerJob, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarJobTracker_unregisterJob(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarJobTracker_unregisterJob(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KJob* a0;
        KStatusBarJobTracker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KStatusBarJobTracker, &sipCpp, sipType_KJob, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KStatusBarJobTracker::unregisterJob(a0) : sipCpp->unregisterJob(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusBarJobTracker, sipName_unregisterJob, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarJobTracker_widget(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarJobTracker_widget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KJob* a0;
        KStatusBarJobTracker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KStatusBarJobTracker, &sipCpp, sipType_KJob, &a0))
        {
            QWidget*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KStatusBarJobTracker::widget(a0) : sipCpp->widget(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusBarJobTracker, sipName_widget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarJobTracker_setStatusBarMode(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarJobTracker_setStatusBarMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KStatusBarJobTracker::StatusBarModes* a0;
        int a0State = 0;
        KStatusBarJobTracker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KStatusBarJobTracker, &sipCpp, sipType_KStatusBarJobTracker_StatusBarModes, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setStatusBarMode(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KStatusBarJobTracker_StatusBarModes,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusBarJobTracker, sipName_setStatusBarMode, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarJobTracker_description(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarJobTracker_description(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KJob* a0;
        const QString* a1;
        int a1State = 0;
        const QPair<QString,QString>* a2;
        int a2State = 0;
        const QPair<QString,QString>* a3;
        int a3State = 0;
        KStatusBarJobTracker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J1J1J1", &sipSelf, sipType_KStatusBarJobTracker, &sipCpp, sipType_KJob, &a0, sipType_QString,&a1, &a1State, sipType_QPair_0100QString_0100QString,&a2, &a2State, sipType_QPair_0100QString_0100QString,&a3, &a3State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KStatusBarJobTracker::description(a0,*a1,*a2,*a3) : sipCpp->description(a0,*a1,*a2,*a3));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QPair<QString,QString> *>(a2),sipType_QPair_0100QString_0100QString,a2State);
            sipReleaseType(const_cast<QPair<QString,QString> *>(a3),sipType_QPair_0100QString_0100QString,a3State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusBarJobTracker, sipName_description, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarJobTracker_totalAmount(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarJobTracker_totalAmount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KJob* a0;
        KJob::Unit a1;
        qulonglong a2;
        KStatusBarJobTracker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8Eo", &sipSelf, sipType_KStatusBarJobTracker, &sipCpp, sipType_KJob, &a0, sipType_KJob_Unit, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KStatusBarJobTracker::totalAmount(a0,a1,a2) : sipCpp->totalAmount(a0,a1,a2));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusBarJobTracker, sipName_totalAmount, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarJobTracker_percent(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarJobTracker_percent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KJob* a0;
        unsigned long a1;
        KStatusBarJobTracker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8m", &sipSelf, sipType_KStatusBarJobTracker, &sipCpp, sipType_KJob, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KStatusBarJobTracker::percent(a0,a1) : sipCpp->percent(a0,a1));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusBarJobTracker, sipName_percent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarJobTracker_speed(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarJobTracker_speed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KJob* a0;
        unsigned long a1;
        KStatusBarJobTracker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8m", &sipSelf, sipType_KStatusBarJobTracker, &sipCpp, sipType_KJob, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KStatusBarJobTracker::speed(a0,a1) : sipCpp->speed(a0,a1));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusBarJobTracker, sipName_speed, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBarJobTracker_slotClean(PyObject *, PyObject *);}
static PyObject *meth_KStatusBarJobTracker_slotClean(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KJob* a0;
        KStatusBarJobTracker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KStatusBarJobTracker, &sipCpp, sipType_KJob, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KStatusBarJobTracker::slotClean(a0) : sipCpp->slotClean(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusBarJobTracker, sipName_slotClean, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KStatusBarJobTracker(void *, int);}
static void release_KStatusBarJobTracker(void *sipCppV,int)
{
    KStatusBarJobTracker *sipCpp = reinterpret_cast<KStatusBarJobTracker *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KStatusBarJobTracker(sipSimpleWrapper *);}
static void dealloc_KStatusBarJobTracker(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKStatusBarJobTracker *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KStatusBarJobTracker(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KStatusBarJobTracker(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KStatusBarJobTracker(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKStatusBarJobTracker *sipCpp = 0;

    {
        QWidget* a0 = 0;
        bool a1 = 1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JHb", sipType_QWidget, &a0, sipOwner, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKStatusBarJobTracker(a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KStatusBarJobTracker[] = {{4, 255, 1}};


static PyMethodDef methods_KStatusBarJobTracker[] = {
    {SIP_MLNAME_CAST(sipName_description), meth_KStatusBarJobTracker_description, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_percent), meth_KStatusBarJobTracker_percent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_registerJob), meth_KStatusBarJobTracker_registerJob, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setStatusBarMode), meth_KStatusBarJobTracker_setStatusBarMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotClean), meth_KStatusBarJobTracker_slotClean, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_speed), meth_KStatusBarJobTracker_speed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_totalAmount), meth_KStatusBarJobTracker_totalAmount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_unregisterJob), meth_KStatusBarJobTracker_unregisterJob, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_widget), meth_KStatusBarJobTracker_widget, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KStatusBarJobTracker[] = {
    {sipName_LabelOnly, static_cast<int>(KStatusBarJobTracker::LabelOnly), 300},
    {sipName_NoInformation, static_cast<int>(KStatusBarJobTracker::NoInformation), 300},
    {sipName_ProgressOnly, static_cast<int>(KStatusBarJobTracker::ProgressOnly), 300},
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KStatusBarJobTracker = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KStatusBarJobTracker,
        {0}
    },
    {
        sipNameNr_KStatusBarJobTracker,
        {0, 0, 1},
        9, methods_KStatusBarJobTracker,
        3, enummembers_KStatusBarJobTracker,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KStatusBarJobTracker,
    0,
    init_type_KStatusBarJobTracker,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KStatusBarJobTracker,
    0,
    0,
    0,
    release_KStatusBarJobTracker,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KStatusBarJobTracker::staticMetaObject,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kstatusbar.sip"
#include <kstatusbar.h>
#line 21204 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 21208 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 21211 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 21214 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21217 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 21220 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21223 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21226 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21229 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21232 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 21235 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21238 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21241 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 21244 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 21247 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 21250 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 21253 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 21256 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 21259 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 21262 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 21265 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 21268 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 21271 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 21274 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 21277 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 21280 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 21283 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21286 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 21289 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 21292 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21295 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21298 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21301 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21304 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21307 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21310 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21313 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21316 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21319 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21322 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21325 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21328 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21331 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21334 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21337 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 21340 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 21343 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 21346 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 21349 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 21352 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 21355 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 21358 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21361 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 21364 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 21367 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 21370 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 21373 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 21376 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 21379 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 21382 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 21385 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 21388 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 21391 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 21394 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 21397 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"


class sipKStatusBar : public KStatusBar
{
public:
    sipKStatusBar(QWidget*);
    virtual ~sipKStatusBar();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void changeEvent(QEvent*);
    void hideEvent(QHideEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;
    void showEvent(QShowEvent*);
    bool event(QEvent*);
    void resizeEvent(QResizeEvent*);
    void paintEvent(QPaintEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKStatusBar(const sipKStatusBar &);
    sipKStatusBar &operator = (const sipKStatusBar &);

    char sipPyMethods[47];
};

sipKStatusBar::sipKStatusBar(QWidget*a0): KStatusBar(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKStatusBar::~sipKStatusBar()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKStatusBar::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KStatusBar);
}

int sipKStatusBar::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KStatusBar::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KStatusBar,_c,_id,_a);

    return _id;
}

void *sipKStatusBar::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KStatusBar, _clname)) ? this : KStatusBar::qt_metacast(_clname);
}

void sipKStatusBar::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KStatusBar::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KStatusBar::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KStatusBar::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KStatusBar::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KStatusBar::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKStatusBar::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KStatusBar::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKStatusBar::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KStatusBar::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKStatusBar::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KStatusBar::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KStatusBar::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_kdeui_QtGui->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KStatusBar::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kdeui_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KStatusBar::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKStatusBar::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KStatusBar::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kdeui_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipKStatusBar::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return KStatusBar::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_kdeui_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KStatusBar::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_kdeui_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKStatusBar::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return KStatusBar::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kdeui_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KStatusBar::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KStatusBar::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_kdeui_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KStatusBar::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kdeui_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KStatusBar::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kdeui_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KStatusBar::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtGui_17)(sipModuleAPI_kdeui_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KStatusBar::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kdeui_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KStatusBar::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kdeui_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KStatusBar::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kdeui_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KStatusBar::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kdeui_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KStatusBar::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_kdeui_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KStatusBar::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kdeui_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KStatusBar::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KStatusBar::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KStatusBar::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KStatusBar::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KStatusBar::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KStatusBar::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KStatusBar::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kdeui_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KStatusBar::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KStatusBar::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KStatusBar::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KStatusBar::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPaintEngine* sipKStatusBar::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KStatusBar::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKStatusBar::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return KStatusBar::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kdeui_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKStatusBar::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KStatusBar::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKStatusBar::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KStatusBar::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKStatusBar::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KStatusBar::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKStatusBar::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KStatusBar::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kdeui_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKStatusBar::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KStatusBar::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kdeui_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKStatusBar::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KStatusBar::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KStatusBar::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kdeui_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KStatusBar::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kdeui_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KStatusBar_insertItem(PyObject *, PyObject *);}
static PyObject *meth_KStatusBar_insertItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        int a1;
        int a2 = 0;
        KStatusBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1i|i", &sipSelf, sipType_KStatusBar, &sipCpp, sipType_QString,&a0, &a0State, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->insertItem(*a0,a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusBar, sipName_insertItem, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBar_insertPermanentItem(PyObject *, PyObject *);}
static PyObject *meth_KStatusBar_insertPermanentItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        int a1;
        int a2 = 0;
        KStatusBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1i|i", &sipSelf, sipType_KStatusBar, &sipCpp, sipType_QString,&a0, &a0State, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->insertPermanentItem(*a0,a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusBar, sipName_insertPermanentItem, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBar_insertFixedItem(PyObject *, PyObject *);}
static PyObject *meth_KStatusBar_insertFixedItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        int a1;
        KStatusBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1i", &sipSelf, sipType_KStatusBar, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->insertFixedItem(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusBar, sipName_insertFixedItem, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBar_insertPermanentFixedItem(PyObject *, PyObject *);}
static PyObject *meth_KStatusBar_insertPermanentFixedItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        int a1;
        KStatusBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1i", &sipSelf, sipType_KStatusBar, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->insertPermanentFixedItem(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusBar, sipName_insertPermanentFixedItem, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBar_removeItem(PyObject *, PyObject *);}
static PyObject *meth_KStatusBar_removeItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KStatusBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KStatusBar, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeItem(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusBar, sipName_removeItem, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBar_hasItem(PyObject *, PyObject *);}
static PyObject *meth_KStatusBar_hasItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const KStatusBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KStatusBar, &sipCpp, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasItem(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusBar, sipName_hasItem, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBar_itemText(PyObject *, PyObject *);}
static PyObject *meth_KStatusBar_itemText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const KStatusBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KStatusBar, &sipCpp, &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->itemText(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusBar, sipName_itemText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBar_changeItem(PyObject *, PyObject *);}
static PyObject *meth_KStatusBar_changeItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        int a1;
        KStatusBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1i", &sipSelf, sipType_KStatusBar, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->changeItem(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusBar, sipName_changeItem, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBar_setItemAlignment(PyObject *, PyObject *);}
static PyObject *meth_KStatusBar_setItemAlignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        Qt::Alignment* a1;
        int a1State = 0;
        KStatusBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ1", &sipSelf, sipType_KStatusBar, &sipCpp, &a0, sipType_Qt_Alignment, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setItemAlignment(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_Qt_Alignment,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusBar, sipName_setItemAlignment, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBar_setItemFixed(PyObject *, PyObject *);}
static PyObject *meth_KStatusBar_setItemFixed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1 = -1;
        KStatusBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi|i", &sipSelf, sipType_KStatusBar, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setItemFixed(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusBar, sipName_setItemFixed, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStatusBar_eventFilter(PyObject *, PyObject *);}
static PyObject *meth_KStatusBar_eventFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        QEvent* a1;
        KStatusBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8J8", &sipSelf, sipType_KStatusBar, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KStatusBar::eventFilter(a0,a1) : sipCpp->eventFilter(a0,a1));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatusBar, sipName_eventFilter, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_KStatusBar(void *, const sipTypeDef *);}
static void *cast_KStatusBar(void *sipCppV, const sipTypeDef *targetType)
{
    KStatusBar *sipCpp = reinterpret_cast<KStatusBar *>(sipCppV);

    if (targetType == sipType_QPaintDevice)
        return static_cast<QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KStatusBar(void *, int);}
static void release_KStatusBar(void *sipCppV,int)
{
    KStatusBar *sipCpp = reinterpret_cast<KStatusBar *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KStatusBar(sipSimpleWrapper *);}
static void dealloc_KStatusBar(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKStatusBar *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KStatusBar(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KStatusBar(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KStatusBar(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKStatusBar *sipCpp = 0;

    {
        QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKStatusBar(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KStatusBar[] = {{470, 2, 1}};


static PyMethodDef methods_KStatusBar[] = {
    {SIP_MLNAME_CAST(sipName_changeItem), meth_KStatusBar_changeItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_KStatusBar_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasItem), meth_KStatusBar_hasItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_insertFixedItem), meth_KStatusBar_insertFixedItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_insertItem), meth_KStatusBar_insertItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_insertPermanentFixedItem), meth_KStatusBar_insertPermanentFixedItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_insertPermanentItem), meth_KStatusBar_insertPermanentItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemText), meth_KStatusBar_itemText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeItem), meth_KStatusBar_removeItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setItemAlignment), meth_KStatusBar_setItemAlignment, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setItemFixed), meth_KStatusBar_setItemFixed, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KStatusBar[] = {
    {"released(int)", 0, 0, 0},
    {"pressed(int)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KStatusBar = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KStatusBar,
        {0}
    },
    {
        sipNameNr_KStatusBar,
        {0, 0, 1},
        11, methods_KStatusBar,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KStatusBar,
    0,
    init_type_KStatusBar,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KStatusBar,
    0,
    0,
    0,
    release_KStatusBar,
    cast_KStatusBar,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KStatusBar::staticMetaObject,
    0,
    signals_KStatusBar,
};

#line 129 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kstartupinfo.sip"
#include <kstartupinfo.h>
#line 22792 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"

#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 22796 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 623 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 22799 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 22802 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"


extern "C" {static PyObject *meth_KStartupInfoData_setBin(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfoData_setBin(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KStartupInfoData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KStartupInfoData, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setBin(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfoData, sipName_setBin, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfoData_bin(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfoData_bin(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KStartupInfoData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KStartupInfoData, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->bin());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfoData, sipName_bin, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfoData_setName(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfoData_setName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KStartupInfoData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KStartupInfoData, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setName(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfoData, sipName_setName, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfoData_findName(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfoData_findName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KStartupInfoData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KStartupInfoData, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->findName());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfoData, sipName_findName, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfoData_name(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfoData_name(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KStartupInfoData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KStartupInfoData, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->name());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfoData, sipName_name, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfoData_setDescription(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfoData_setDescription(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KStartupInfoData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KStartupInfoData, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDescription(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfoData, sipName_setDescription, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfoData_findDescription(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfoData_findDescription(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KStartupInfoData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KStartupInfoData, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->findDescription());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfoData, sipName_findDescription, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfoData_description(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfoData_description(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KStartupInfoData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KStartupInfoData, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->description());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfoData, sipName_description, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfoData_setIcon(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfoData_setIcon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KStartupInfoData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KStartupInfoData, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setIcon(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfoData, sipName_setIcon, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfoData_findIcon(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfoData_findIcon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KStartupInfoData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KStartupInfoData, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->findIcon());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfoData, sipName_findIcon, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfoData_icon(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfoData_icon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KStartupInfoData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KStartupInfoData, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->icon());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfoData, sipName_icon, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfoData_setDesktop(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfoData_setDesktop(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KStartupInfoData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KStartupInfoData, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDesktop(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfoData, sipName_setDesktop, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfoData_desktop(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfoData_desktop(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KStartupInfoData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KStartupInfoData, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->desktop();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfoData, sipName_desktop, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfoData_setWMClass(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfoData_setWMClass(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QByteArray* a0;
        int a0State = 0;
        KStartupInfoData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KStartupInfoData, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setWMClass(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfoData, sipName_setWMClass, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfoData_findWMClass(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfoData_findWMClass(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KStartupInfoData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KStartupInfoData, &sipCpp))
        {
            QByteArray*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->findWMClass());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfoData, sipName_findWMClass, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfoData_WMClass(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfoData_WMClass(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KStartupInfoData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KStartupInfoData, &sipCpp))
        {
            QByteArray*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->WMClass());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfoData, sipName_WMClass, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfoData_addPid(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfoData_addPid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        pid_t a0;
        KStartupInfoData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KStartupInfoData, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addPid(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfoData, sipName_addPid, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfoData_is_pid(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfoData_is_pid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        pid_t a0;
        const KStartupInfoData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KStartupInfoData, &sipCpp, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->is_pid(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfoData, sipName_is_pid, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfoData_setHostname(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfoData_setHostname(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QByteArray& a0def = QByteArray();
        const QByteArray* a0 = &a0def;
        int a0State = 0;
        KStartupInfoData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J1", &sipSelf, sipType_KStartupInfoData, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setHostname(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfoData, sipName_setHostname, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfoData_hostname(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfoData_hostname(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KStartupInfoData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KStartupInfoData, &sipCpp))
        {
            QByteArray*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->hostname());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfoData, sipName_hostname, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfoData_setSilent(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfoData_setSilent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KStartupInfoData::TriState a0;
        KStartupInfoData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KStartupInfoData, &sipCpp, sipType_KStartupInfoData_TriState, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSilent(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfoData, sipName_setSilent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfoData_silent(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfoData_silent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KStartupInfoData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KStartupInfoData, &sipCpp))
        {
            KStartupInfoData::TriState sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->silent();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KStartupInfoData_TriState);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfoData, sipName_silent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfoData_setTimestamp(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfoData_setTimestamp(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        unsigned long a0;
        KStartupInfoData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bm", &sipSelf, sipType_KStartupInfoData, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTimestamp(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfoData, sipName_setTimestamp, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfoData_timestamp(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfoData_timestamp(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KStartupInfoData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KStartupInfoData, &sipCpp))
        {
            unsigned long sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->timestamp();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfoData, sipName_timestamp, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfoData_screen(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfoData_screen(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KStartupInfoData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KStartupInfoData, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->screen();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfoData, sipName_screen, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfoData_setScreen(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfoData_setScreen(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KStartupInfoData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KStartupInfoData, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setScreen(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfoData, sipName_setScreen, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfoData_xinerama(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfoData_xinerama(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KStartupInfoData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KStartupInfoData, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->xinerama();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfoData, sipName_xinerama, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfoData_setXinerama(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfoData_setXinerama(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KStartupInfoData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KStartupInfoData, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setXinerama(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfoData, sipName_setXinerama, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfoData_launchedBy(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfoData_launchedBy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KStartupInfoData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KStartupInfoData, &sipCpp))
        {
            WId sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->launchedBy();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfoData, sipName_launchedBy, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfoData_setLaunchedBy(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfoData_setLaunchedBy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0;
        KStartupInfoData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bm", &sipSelf, sipType_KStartupInfoData, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLaunchedBy(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfoData, sipName_setLaunchedBy, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfoData_update(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfoData_update(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KStartupInfoData* a0;
        KStartupInfoData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KStartupInfoData, &sipCpp, sipType_KStartupInfoData, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->update(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfoData, sipName_update, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfoData_pids(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfoData_pids(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KStartupInfoData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KStartupInfoData, &sipCpp))
        {
            QList<int>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<int>(sipCpp->pids());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_1800,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfoData, sipName_pids, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfoData_applicationId(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfoData_applicationId(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KStartupInfoData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KStartupInfoData, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->applicationId());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfoData, sipName_applicationId, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfoData_setApplicationId(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfoData_setApplicationId(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KStartupInfoData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KStartupInfoData, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setApplicationId(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfoData, sipName_setApplicationId, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KStartupInfoData(void *, int);}
static void release_KStartupInfoData(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KStartupInfoData *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KStartupInfoData(void *, SIP_SSIZE_T, const void *);}
static void assign_KStartupInfoData(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KStartupInfoData *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KStartupInfoData *>(sipSrc);
}


extern "C" {static void *array_KStartupInfoData(SIP_SSIZE_T);}
static void *array_KStartupInfoData(SIP_SSIZE_T sipNrElem)
{
    return new KStartupInfoData[sipNrElem];
}


extern "C" {static void *copy_KStartupInfoData(const void *, SIP_SSIZE_T);}
static void *copy_KStartupInfoData(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KStartupInfoData(reinterpret_cast<const KStartupInfoData *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KStartupInfoData(sipSimpleWrapper *);}
static void dealloc_KStartupInfoData(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KStartupInfoData(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_KStartupInfoData(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KStartupInfoData(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KStartupInfoData *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KStartupInfoData();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const KStartupInfoData* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_KStartupInfoData, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KStartupInfoData(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KStartupInfoData[] = {
    {SIP_MLNAME_CAST(sipName_WMClass), meth_KStartupInfoData_WMClass, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addPid), meth_KStartupInfoData_addPid, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_applicationId), meth_KStartupInfoData_applicationId, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_bin), meth_KStartupInfoData_bin, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_description), meth_KStartupInfoData_description, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_desktop), meth_KStartupInfoData_desktop, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_findDescription), meth_KStartupInfoData_findDescription, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_findIcon), meth_KStartupInfoData_findIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_findName), meth_KStartupInfoData_findName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_findWMClass), meth_KStartupInfoData_findWMClass, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hostname), meth_KStartupInfoData_hostname, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_icon), meth_KStartupInfoData_icon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_is_pid), meth_KStartupInfoData_is_pid, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_launchedBy), meth_KStartupInfoData_launchedBy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_name), meth_KStartupInfoData_name, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pids), meth_KStartupInfoData_pids, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_screen), meth_KStartupInfoData_screen, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setApplicationId), meth_KStartupInfoData_setApplicationId, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setBin), meth_KStartupInfoData_setBin, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDescription), meth_KStartupInfoData_setDescription, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDesktop), meth_KStartupInfoData_setDesktop, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHostname), meth_KStartupInfoData_setHostname, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIcon), meth_KStartupInfoData_setIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLaunchedBy), meth_KStartupInfoData_setLaunchedBy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setName), meth_KStartupInfoData_setName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setScreen), meth_KStartupInfoData_setScreen, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSilent), meth_KStartupInfoData_setSilent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTimestamp), meth_KStartupInfoData_setTimestamp, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setWMClass), meth_KStartupInfoData_setWMClass, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setXinerama), meth_KStartupInfoData_setXinerama, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_silent), meth_KStartupInfoData_silent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timestamp), meth_KStartupInfoData_timestamp, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_update), meth_KStartupInfoData_update, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_xinerama), meth_KStartupInfoData_xinerama, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KStartupInfoData[] = {
    {sipName_No, static_cast<int>(KStartupInfoData::No), 295},
    {sipName_Unknown, static_cast<int>(KStartupInfoData::Unknown), 295},
    {sipName_Yes, static_cast<int>(KStartupInfoData::Yes), 295},
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KStartupInfoData = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KStartupInfoData,
        {0}
    },
    {
        sipNameNr_KStartupInfoData,
        {0, 0, 1},
        34, methods_KStartupInfoData,
        3, enummembers_KStartupInfoData,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KStartupInfoData,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KStartupInfoData,
    assign_KStartupInfoData,
    array_KStartupInfoData,
    copy_KStartupInfoData,
    release_KStartupInfoData,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 95 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kstartupinfo.sip"
#include <kstartupinfo.h>
#line 23914 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"

#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 23918 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 23921 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"


extern "C" {static PyObject *meth_KStartupInfoId_none(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfoId_none(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KStartupInfoId *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KStartupInfoId, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->none();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfoId, sipName_none, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfoId_initId(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfoId_initId(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QByteArray& a0def = "";
        const QByteArray* a0 = &a0def;
        int a0State = 0;
        KStartupInfoId *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J1", &sipSelf, sipType_KStartupInfoId, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->initId(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfoId, sipName_initId, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfoId_id(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfoId_id(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KStartupInfoId *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KStartupInfoId, &sipCpp))
        {
            QByteArray*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->id());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfoId, sipName_id, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfoId_timestamp(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfoId_timestamp(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KStartupInfoId *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KStartupInfoId, &sipCpp))
        {
            unsigned long sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->timestamp();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfoId, sipName_timestamp, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfoId_setupStartupEnv(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfoId_setupStartupEnv(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KStartupInfoId *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KStartupInfoId, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->setupStartupEnv();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfoId, sipName_setupStartupEnv, NULL);

    return NULL;
}


extern "C" {static PyObject *slot_KStartupInfoId___ge__(PyObject *,PyObject *);}
static PyObject *slot_KStartupInfoId___ge__(PyObject *sipSelf,PyObject *sipArg)
{
    KStartupInfoId *sipCpp = reinterpret_cast<KStartupInfoId *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KStartupInfoId));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KStartupInfoId* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_KStartupInfoId, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = !sipCpp->KStartupInfoId::operator<(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,ge_slot,sipType_KStartupInfoId,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KStartupInfoId___lt__(PyObject *,PyObject *);}
static PyObject *slot_KStartupInfoId___lt__(PyObject *sipSelf,PyObject *sipArg)
{
    KStartupInfoId *sipCpp = reinterpret_cast<KStartupInfoId *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KStartupInfoId));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KStartupInfoId* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_KStartupInfoId, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->KStartupInfoId::operator<(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,lt_slot,sipType_KStartupInfoId,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KStartupInfoId___ne__(PyObject *,PyObject *);}
static PyObject *slot_KStartupInfoId___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KStartupInfoId *sipCpp = reinterpret_cast<KStartupInfoId *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KStartupInfoId));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KStartupInfoId* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_KStartupInfoId, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->KStartupInfoId::operator!=(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,ne_slot,sipType_KStartupInfoId,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KStartupInfoId___eq__(PyObject *,PyObject *);}
static PyObject *slot_KStartupInfoId___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KStartupInfoId *sipCpp = reinterpret_cast<KStartupInfoId *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KStartupInfoId));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KStartupInfoId* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_KStartupInfoId, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->KStartupInfoId::operator==(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,eq_slot,sipType_KStartupInfoId,sipSelf,sipArg);
}


/* Call the instance's destructor. */
extern "C" {static void release_KStartupInfoId(void *, int);}
static void release_KStartupInfoId(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KStartupInfoId *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KStartupInfoId(void *, SIP_SSIZE_T, const void *);}
static void assign_KStartupInfoId(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KStartupInfoId *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KStartupInfoId *>(sipSrc);
}


extern "C" {static void *array_KStartupInfoId(SIP_SSIZE_T);}
static void *array_KStartupInfoId(SIP_SSIZE_T sipNrElem)
{
    return new KStartupInfoId[sipNrElem];
}


extern "C" {static void *copy_KStartupInfoId(const void *, SIP_SSIZE_T);}
static void *copy_KStartupInfoId(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KStartupInfoId(reinterpret_cast<const KStartupInfoId *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KStartupInfoId(sipSimpleWrapper *);}
static void dealloc_KStartupInfoId(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KStartupInfoId(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_KStartupInfoId(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KStartupInfoId(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KStartupInfoId *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KStartupInfoId();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const KStartupInfoId* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_KStartupInfoId, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KStartupInfoId(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KStartupInfoId[] = {
    {(void *)slot_KStartupInfoId___ge__, ge_slot},
    {(void *)slot_KStartupInfoId___lt__, lt_slot},
    {(void *)slot_KStartupInfoId___ne__, ne_slot},
    {(void *)slot_KStartupInfoId___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_KStartupInfoId[] = {
    {SIP_MLNAME_CAST(sipName_id), meth_KStartupInfoId_id, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_initId), meth_KStartupInfoId_initId, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_none), meth_KStartupInfoId_none, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setupStartupEnv), meth_KStartupInfoId_setupStartupEnv, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timestamp), meth_KStartupInfoId_timestamp, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KStartupInfoId = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KStartupInfoId,
        {0}
    },
    {
        sipNameNr_KStartupInfoId,
        {0, 0, 1},
        5, methods_KStartupInfoId,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    slots_KStartupInfoId,
    init_type_KStartupInfoId,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KStartupInfoId,
    assign_KStartupInfoId,
    array_KStartupInfoId,
    copy_KStartupInfoId,
    release_KStartupInfoId,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kstartupinfo.sip"
#include <kstartupinfo.h>
#line 24348 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"

#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 24352 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 24355 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 95 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kstartupinfo.sip"
#include <kstartupinfo.h>
#line 24358 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 129 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kstartupinfo.sip"
#include <kstartupinfo.h>
#line 24361 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 24364 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 24367 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 24370 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 24373 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 24376 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 24379 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24382 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 24385 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 24388 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 24391 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 24394 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 24397 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"


class sipKStartupInfo : public KStartupInfo
{
public:
    sipKStartupInfo(int,QObject*);
    virtual ~sipKStartupInfo();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void customEvent(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKStartupInfo(const sipKStartupInfo &);
    sipKStartupInfo &operator = (const sipKStartupInfo &);

    char sipPyMethods[7];
};

sipKStartupInfo::sipKStartupInfo(int a0,QObject*a1): KStartupInfo(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKStartupInfo::~sipKStartupInfo()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKStartupInfo::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KStartupInfo);
}

int sipKStartupInfo::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KStartupInfo::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KStartupInfo,_c,_id,_a);

    return _id;
}

void *sipKStartupInfo::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KStartupInfo, _clname)) ? this : KStartupInfo::qt_metacast(_clname);
}

void sipKStartupInfo::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KStartupInfo::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStartupInfo::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KStartupInfo::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStartupInfo::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KStartupInfo::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStartupInfo::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KStartupInfo::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKStartupInfo::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KStartupInfo::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKStartupInfo::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KStartupInfo::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStartupInfo::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KStartupInfo::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KStartupInfo_disableAutoAppStartedSending(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfo_disableAutoAppStartedSending(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;

        if (sipParseArgs(&sipParseErr, sipArgs, "|b", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            KStartupInfo::disableAutoAppStartedSending(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfo, sipName_disableAutoAppStartedSending, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfo_appStarted(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfo_appStarted(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            KStartupInfo::appStarted();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QByteArray* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QByteArray, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            KStartupInfo::appStarted(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfo, sipName_appStarted, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfo_setNewStartupId(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfo_setNewStartupId(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        const QByteArray* a1;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8J1", sipType_QWidget, &a0, sipType_QByteArray, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            KStartupInfo::setNewStartupId(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a1),sipType_QByteArray,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfo, sipName_setNewStartupId, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfo_silenceStartup(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfo_silenceStartup(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "b", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            KStartupInfo::silenceStartup(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfo, sipName_silenceStartup, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfo_createNewStartupId(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfo_createNewStartupId(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QByteArray*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(KStartupInfo::createNewStartupId());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfo, sipName_createNewStartupId, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfo_sendStartup(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfo_sendStartup(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KStartupInfoId* a0;
        const KStartupInfoData* a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J9", sipType_KStartupInfoId, &a0, sipType_KStartupInfoData, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStartupInfo::sendStartup(*a0,*a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfo, sipName_sendStartup, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfo_sendChange(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfo_sendChange(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KStartupInfoId* a0;
        const KStartupInfoData* a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J9", sipType_KStartupInfoId, &a0, sipType_KStartupInfoData, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStartupInfo::sendChange(*a0,*a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfo, sipName_sendChange, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfo_sendFinish(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfo_sendFinish(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KStartupInfoId* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9", sipType_KStartupInfoId, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStartupInfo::sendFinish(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const KStartupInfoId* a0;
        const KStartupInfoData* a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J9", sipType_KStartupInfoId, &a0, sipType_KStartupInfoData, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStartupInfo::sendFinish(*a0,*a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfo, sipName_sendFinish, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfo_currentStartupIdEnv(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfo_currentStartupIdEnv(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KStartupInfoId*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KStartupInfoId(KStartupInfo::currentStartupIdEnv());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KStartupInfoId,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfo, sipName_currentStartupIdEnv, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfo_resetStartupEnv(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfo_resetStartupEnv(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            KStartupInfo::resetStartupEnv();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfo, sipName_resetStartupEnv, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfo_checkStartup(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfo_checkStartup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0;
        KStartupInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bm", &sipSelf, sipType_KStartupInfo, &sipCpp, &a0))
        {
            KStartupInfo::startup_t sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->checkStartup(a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KStartupInfo_startup_t);
        }
    }

    {
        WId a0;
        KStartupInfoId* a1;
        KStartupInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BmJ9", &sipSelf, sipType_KStartupInfo, &sipCpp, &a0, sipType_KStartupInfoId, &a1))
        {
            KStartupInfo::startup_t sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->checkStartup(a0,*a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KStartupInfo_startup_t);
        }
    }

    {
        WId a0;
        KStartupInfoData* a1;
        KStartupInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BmJ9", &sipSelf, sipType_KStartupInfo, &sipCpp, &a0, sipType_KStartupInfoData, &a1))
        {
            KStartupInfo::startup_t sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->checkStartup(a0,*a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KStartupInfo_startup_t);
        }
    }

    {
        WId a0;
        KStartupInfoId* a1;
        KStartupInfoData* a2;
        KStartupInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BmJ9J9", &sipSelf, sipType_KStartupInfo, &sipCpp, &a0, sipType_KStartupInfoId, &a1, sipType_KStartupInfoData, &a2))
        {
            KStartupInfo::startup_t sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->checkStartup(a0,*a1,*a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KStartupInfo_startup_t);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfo, sipName_checkStartup, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfo_setTimeout(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfo_setTimeout(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        uint a0;
        KStartupInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bu", &sipSelf, sipType_KStartupInfo, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTimeout(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfo, sipName_setTimeout, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfo_setWindowStartupId(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfo_setWindowStartupId(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0;
        const QByteArray* a1;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "mJ1", &a0, sipType_QByteArray, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            KStartupInfo::setWindowStartupId(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a1),sipType_QByteArray,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfo, sipName_setWindowStartupId, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfo_windowStartupId(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfo_windowStartupId(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "m", &a0))
        {
            QByteArray*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(KStartupInfo::windowStartupId(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfo, sipName_windowStartupId, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfo_handleAutoAppStartedSending(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfo_handleAutoAppStartedSending(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            KStartupInfo::handleAutoAppStartedSending();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfo, sipName_handleAutoAppStartedSending, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStartupInfo_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KStartupInfo_customEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        KStartupInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KStartupInfo, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KStartupInfo::customEvent(a0) : sipCpp->customEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStartupInfo, sipName_customEvent, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KStartupInfo(void *, int);}
static void release_KStartupInfo(void *sipCppV,int)
{
    KStartupInfo *sipCpp = reinterpret_cast<KStartupInfo *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KStartupInfo(sipSimpleWrapper *);}
static void dealloc_KStartupInfo(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKStartupInfo *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KStartupInfo(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KStartupInfo(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KStartupInfo(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKStartupInfo *sipCpp = 0;

    {
        int a0;
        QObject* a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i|JH", &a0, sipType_QObject, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKStartupInfo(a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KStartupInfo[] = {{141, 0, 1}};


static PyMethodDef methods_KStartupInfo[] = {
    {SIP_MLNAME_CAST(sipName_appStarted), meth_KStartupInfo_appStarted, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_checkStartup), meth_KStartupInfo_checkStartup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createNewStartupId), meth_KStartupInfo_createNewStartupId, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentStartupIdEnv), meth_KStartupInfo_currentStartupIdEnv, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KStartupInfo_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disableAutoAppStartedSending), meth_KStartupInfo_disableAutoAppStartedSending, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_handleAutoAppStartedSending), meth_KStartupInfo_handleAutoAppStartedSending, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resetStartupEnv), meth_KStartupInfo_resetStartupEnv, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sendChange), meth_KStartupInfo_sendChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sendFinish), meth_KStartupInfo_sendFinish, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sendStartup), meth_KStartupInfo_sendStartup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setNewStartupId), meth_KStartupInfo_setNewStartupId, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTimeout), meth_KStartupInfo_setTimeout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setWindowStartupId), meth_KStartupInfo_setWindowStartupId, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_silenceStartup), meth_KStartupInfo_silenceStartup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowStartupId), meth_KStartupInfo_windowStartupId, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KStartupInfo[] = {
    {sipName_AnnounceSilenceChanges, static_cast<int>(KStartupInfo::AnnounceSilenceChanges), -1},
    {sipName_CantDetect, static_cast<int>(KStartupInfo::CantDetect), 293},
    {sipName_CleanOnCantDetect, static_cast<int>(KStartupInfo::CleanOnCantDetect), -1},
    {sipName_DisableKWinModule, static_cast<int>(KStartupInfo::DisableKWinModule), -1},
    {sipName_Match, static_cast<int>(KStartupInfo::Match), 293},
    {sipName_NoMatch, static_cast<int>(KStartupInfo::NoMatch), 293},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KStartupInfo[] = {
    {"gotRemoveStartup(KStartupInfoId,KStartupInfoData)", 0, 0, 0},
    {"gotStartupChange(KStartupInfoId,KStartupInfoData)", 0, 0, 0},
    {"gotNewStartup(KStartupInfoId,KStartupInfoData)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KStartupInfo = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KStartupInfo,
        {0}
    },
    {
        sipNameNr_KStartupInfo,
        {0, 0, 1},
        16, methods_KStartupInfo,
        6, enummembers_KStartupInfo,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KStartupInfo,
    0,
    init_type_KStartupInfo,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KStartupInfo,
    0,
    0,
    0,
    release_KStartupInfo,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KStartupInfo::staticMetaObject,
    0,
    signals_KStartupInfo,
};


#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 25246 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 25249 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 25252 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"


extern "C" {static PyObject *meth_KStandardShortcut_showMenubar(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_showMenubar(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::showMenubar());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_showMenubar, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_forwardWord(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_forwardWord(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::forwardWord());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_forwardWord, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_backwardWord(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_backwardWord(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::backwardWord());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_backwardWord, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_forward(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_forward(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::forward());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_forward, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_back(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_back(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::back());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_back, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_up(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_up(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::up());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_up, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_reload(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_reload(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::reload());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_reload, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_rotateDown(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_rotateDown(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::rotateDown());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_rotateDown, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_rotateUp(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_rotateUp(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::rotateUp());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_rotateUp, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_substringCompletion(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_substringCompletion(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::substringCompletion());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_substringCompletion, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_nextCompletion(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_nextCompletion(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::nextCompletion());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_nextCompletion, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_prevCompletion(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_prevCompletion(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::prevCompletion());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_prevCompletion, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_completion(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_completion(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::completion());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_completion, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_help(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_help(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::help());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_help, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_fullScreen(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_fullScreen(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::fullScreen());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_fullScreen, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_tabPrev(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_tabPrev(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::tabPrev());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_tabPrev, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_tabNext(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_tabNext(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::tabNext());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_tabNext, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_addBookmark(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_addBookmark(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::addBookmark());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_addBookmark, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_gotoLine(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_gotoLine(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::gotoLine());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_gotoLine, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_next(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_next(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::next());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_next, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_prior(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_prior(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::prior());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_prior, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_endOfLine(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_endOfLine(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::endOfLine());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_endOfLine, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_beginningOfLine(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_beginningOfLine(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::beginningOfLine());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_beginningOfLine, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_end(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_end(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::end());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_end, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_begin(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_begin(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::begin());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_begin, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_home(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_home(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::home());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_home, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_zoomOut(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_zoomOut(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::zoomOut());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_zoomOut, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_zoomIn(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_zoomIn(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::zoomIn());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_zoomIn, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_replace(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_replace(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::replace());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_replace, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_findPrev(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_findPrev(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::findPrev());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_findPrev, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_findNext(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_findNext(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::findNext());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_findNext, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_deleteWordForward(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_deleteWordForward(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::deleteWordForward());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_deleteWordForward, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_deleteWordBack(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_deleteWordBack(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::deleteWordBack());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_deleteWordBack, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_selectAll(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_selectAll(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::selectAll());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_selectAll, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_pasteSelection(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_pasteSelection(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::pasteSelection());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_pasteSelection, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_paste(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_paste(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::paste());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_paste, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_copy(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_copy(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::copy());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_copy, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_cut(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_cut(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::cut());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_cut, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_redo(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_redo(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::redo());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_redo, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_undo(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_undo(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::undo());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_undo, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_quit(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_quit(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::quit());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_quit, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_print_(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_print_(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::print());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_print_, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_save(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_save(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::save());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_save, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_close(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_close(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::close());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_close, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_openNew(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_openNew(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::openNew());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_openNew, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_open(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_open(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::open());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_open, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_saveShortcut(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_saveShortcut(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KStandardShortcut::StandardShortcut a0;
        const KShortcut* a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "EJ9", sipType_KStandardShortcut_StandardShortcut, &a0, sipType_KShortcut, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            KStandardShortcut::saveShortcut(a0,*a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_saveShortcut, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_hardcodedDefaultShortcut(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_hardcodedDefaultShortcut(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KStandardShortcut::StandardShortcut a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "E", sipType_KStandardShortcut_StandardShortcut, &a0))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::hardcodedDefaultShortcut(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_hardcodedDefaultShortcut, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_find(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_find(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QKeySequence* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QKeySequence, &a0, &a0State))
        {
            KStandardShortcut::StandardShortcut sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardShortcut::find(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QKeySequence *>(a0),sipType_QKeySequence,a0State);

            return sipConvertFromEnum(sipRes,sipType_KStandardShortcut_StandardShortcut);
        }
    }

    {
        const char* a0;
        PyObject *a0Keep;

        if (sipParseArgs(&sipParseErr, sipArgs, "AA", &a0Keep, &a0))
        {
            KStandardShortcut::StandardShortcut sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardShortcut::find(a0);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);

            return sipConvertFromEnum(sipRes,sipType_KStandardShortcut_StandardShortcut);
        }
    }

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::find());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_find, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_whatsThis(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_whatsThis(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KStandardShortcut::StandardShortcut a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "E", sipType_KStandardShortcut_StandardShortcut, &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KStandardShortcut::whatsThis(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::whatsThis());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_whatsThis, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_label(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_label(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KStandardShortcut::StandardShortcut a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "E", sipType_KStandardShortcut_StandardShortcut, &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KStandardShortcut::label(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_label, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_name(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_name(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KStandardShortcut::StandardShortcut a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "E", sipType_KStandardShortcut_StandardShortcut, &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KStandardShortcut::name(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_name, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_shortcut(PyObject *, PyObject *);}
static PyObject *meth_KStandardShortcut_shortcut(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KStandardShortcut::StandardShortcut a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "E", sipType_KStandardShortcut_StandardShortcut, &a0))
        {
            KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::shortcut(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_shortcut, NULL);

    return NULL;
}


static PyMethodDef methods_KStandardShortcut[] = {
    {SIP_MLNAME_CAST(sipName_addBookmark), meth_KStandardShortcut_addBookmark, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_back), meth_KStandardShortcut_back, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_backwardWord), meth_KStandardShortcut_backwardWord, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_begin), meth_KStandardShortcut_begin, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_beginningOfLine), meth_KStandardShortcut_beginningOfLine, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_close), meth_KStandardShortcut_close, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_completion), meth_KStandardShortcut_completion, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_copy), meth_KStandardShortcut_copy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_cut), meth_KStandardShortcut_cut, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deleteWordBack), meth_KStandardShortcut_deleteWordBack, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deleteWordForward), meth_KStandardShortcut_deleteWordForward, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_end), meth_KStandardShortcut_end, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_endOfLine), meth_KStandardShortcut_endOfLine, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_find), meth_KStandardShortcut_find, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_findNext), meth_KStandardShortcut_findNext, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_findPrev), meth_KStandardShortcut_findPrev, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_forward), meth_KStandardShortcut_forward, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_forwardWord), meth_KStandardShortcut_forwardWord, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fullScreen), meth_KStandardShortcut_fullScreen, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_gotoLine), meth_KStandardShortcut_gotoLine, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hardcodedDefaultShortcut), meth_KStandardShortcut_hardcodedDefaultShortcut, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_help), meth_KStandardShortcut_help, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_home), meth_KStandardShortcut_home, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_label), meth_KStandardShortcut_label, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_name), meth_KStandardShortcut_name, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_next), meth_KStandardShortcut_next, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_nextCompletion), meth_KStandardShortcut_nextCompletion, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_open), meth_KStandardShortcut_open, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_openNew), meth_KStandardShortcut_openNew, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paste), meth_KStandardShortcut_paste, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pasteSelection), meth_KStandardShortcut_pasteSelection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_prevCompletion), meth_KStandardShortcut_prevCompletion, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_print_), meth_KStandardShortcut_print_, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_prior), meth_KStandardShortcut_prior, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_quit), meth_KStandardShortcut_quit, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_redo), meth_KStandardShortcut_redo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_reload), meth_KStandardShortcut_reload, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_replace), meth_KStandardShortcut_replace, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rotateDown), meth_KStandardShortcut_rotateDown, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rotateUp), meth_KStandardShortcut_rotateUp, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_save), meth_KStandardShortcut_save, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_saveShortcut), meth_KStandardShortcut_saveShortcut, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectAll), meth_KStandardShortcut_selectAll, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_shortcut), meth_KStandardShortcut_shortcut, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showMenubar), meth_KStandardShortcut_showMenubar, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_substringCompletion), meth_KStandardShortcut_substringCompletion, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tabNext), meth_KStandardShortcut_tabNext, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tabPrev), meth_KStandardShortcut_tabPrev, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_undo), meth_KStandardShortcut_undo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_up), meth_KStandardShortcut_up, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_whatsThis), meth_KStandardShortcut_whatsThis, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_zoomIn), meth_KStandardShortcut_zoomIn, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_zoomOut), meth_KStandardShortcut_zoomOut, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KStandardShortcut[] = {
    {sipName_AboutApp, static_cast<int>(KStandardShortcut::AboutApp), 291},
    {sipName_AboutKDE, static_cast<int>(KStandardShortcut::AboutKDE), 291},
    {sipName_AccelNone, static_cast<int>(KStandardShortcut::AccelNone), 291},
    {sipName_ActualSize, static_cast<int>(KStandardShortcut::ActualSize), 291},
    {sipName_AddBookmark, static_cast<int>(KStandardShortcut::AddBookmark), 291},
    {sipName_Back, static_cast<int>(KStandardShortcut::Back), 291},
    {sipName_BackwardWord, static_cast<int>(KStandardShortcut::BackwardWord), 291},
    {sipName_Begin, static_cast<int>(KStandardShortcut::Begin), 291},
    {sipName_BeginningOfLine, static_cast<int>(KStandardShortcut::BeginningOfLine), 291},
    {sipName_Clear, static_cast<int>(KStandardShortcut::Clear), 291},
    {sipName_Close, static_cast<int>(KStandardShortcut::Close), 291},
    {sipName_ConfigureNotifications, static_cast<int>(KStandardShortcut::ConfigureNotifications), 291},
    {sipName_ConfigureToolbars, static_cast<int>(KStandardShortcut::ConfigureToolbars), 291},
    {sipName_Copy, static_cast<int>(KStandardShortcut::Copy), 291},
    {sipName_Cut, static_cast<int>(KStandardShortcut::Cut), 291},
    {sipName_DeleteWordBack, static_cast<int>(KStandardShortcut::DeleteWordBack), 291},
    {sipName_DeleteWordForward, static_cast<int>(KStandardShortcut::DeleteWordForward), 291},
    {sipName_Deselect, static_cast<int>(KStandardShortcut::Deselect), 291},
    {sipName_DocumentBack, static_cast<int>(KStandardShortcut::DocumentBack), 291},
    {sipName_DocumentForward, static_cast<int>(KStandardShortcut::DocumentForward), 291},
    {sipName_EditBookmarks, static_cast<int>(KStandardShortcut::EditBookmarks), 291},
    {sipName_End, static_cast<int>(KStandardShortcut::End), 291},
    {sipName_EndOfLine, static_cast<int>(KStandardShortcut::EndOfLine), 291},
    {sipName_Find, static_cast<int>(KStandardShortcut::Find), 291},
    {sipName_FindNext, static_cast<int>(KStandardShortcut::FindNext), 291},
    {sipName_FindPrev, static_cast<int>(KStandardShortcut::FindPrev), 291},
    {sipName_FitToHeight, static_cast<int>(KStandardShortcut::FitToHeight), 291},
    {sipName_FitToPage, static_cast<int>(KStandardShortcut::FitToPage), 291},
    {sipName_FitToWidth, static_cast<int>(KStandardShortcut::FitToWidth), 291},
    {sipName_Forward, static_cast<int>(KStandardShortcut::Forward), 291},
    {sipName_ForwardWord, static_cast<int>(KStandardShortcut::ForwardWord), 291},
    {sipName_FullScreen, static_cast<int>(KStandardShortcut::FullScreen), 291},
    {sipName_Goto, static_cast<int>(KStandardShortcut::Goto), 291},
    {sipName_GotoLine, static_cast<int>(KStandardShortcut::GotoLine), 291},
    {sipName_GotoPage, static_cast<int>(KStandardShortcut::GotoPage), 291},
    {sipName_Help, static_cast<int>(KStandardShortcut::Help), 291},
    {sipName_Home, static_cast<int>(KStandardShortcut::Home), 291},
    {sipName_KeyBindings, static_cast<int>(KStandardShortcut::KeyBindings), 291},
    {sipName_Mail, static_cast<int>(KStandardShortcut::Mail), 291},
    {sipName_New, static_cast<int>(KStandardShortcut::New), 291},
    {sipName_Next, static_cast<int>(KStandardShortcut::Next), 291},
    {sipName_NextCompletion, static_cast<int>(KStandardShortcut::NextCompletion), 291},
    {sipName_Open, static_cast<int>(KStandardShortcut::Open), 291},
    {sipName_OpenRecent, static_cast<int>(KStandardShortcut::OpenRecent), 291},
    {sipName_Paste, static_cast<int>(KStandardShortcut::Paste), 291},
    {sipName_PasteSelection, static_cast<int>(KStandardShortcut::PasteSelection), 291},
    {sipName_Preferences, static_cast<int>(KStandardShortcut::Preferences), 291},
    {sipName_PrevCompletion, static_cast<int>(KStandardShortcut::PrevCompletion), 291},
    {sipName_Print, static_cast<int>(KStandardShortcut::Print), 291},
    {sipName_PrintPreview, static_cast<int>(KStandardShortcut::PrintPreview), 291},
    {sipName_Prior, static_cast<int>(KStandardShortcut::Prior), 291},
    {sipName_Quit, static_cast<int>(KStandardShortcut::Quit), 291},
    {sipName_Redo, static_cast<int>(KStandardShortcut::Redo), 291},
    {sipName_Reload, static_cast<int>(KStandardShortcut::Reload), 291},
    {sipName_Replace, static_cast<int>(KStandardShortcut::Replace), 291},
    {sipName_ReportBug, static_cast<int>(KStandardShortcut::ReportBug), 291},
    {sipName_Revert, static_cast<int>(KStandardShortcut::Revert), 291},
    {sipName_RotateDown, static_cast<int>(KStandardShortcut::RotateDown), 291},
    {sipName_RotateUp, static_cast<int>(KStandardShortcut::RotateUp), 291},
    {sipName_Save, static_cast<int>(KStandardShortcut::Save), 291},
    {sipName_SaveAs, static_cast<int>(KStandardShortcut::SaveAs), 291},
    {sipName_SaveOptions, static_cast<int>(KStandardShortcut::SaveOptions), 291},
    {sipName_SelectAll, static_cast<int>(KStandardShortcut::SelectAll), 291},
    {sipName_ShowMenubar, static_cast<int>(KStandardShortcut::ShowMenubar), 291},
    {sipName_ShowStatusbar, static_cast<int>(KStandardShortcut::ShowStatusbar), 291},
    {sipName_ShowToolbar, static_cast<int>(KStandardShortcut::ShowToolbar), 291},
    {sipName_Spelling, static_cast<int>(KStandardShortcut::Spelling), 291},
    {sipName_StandardShortcutCount, static_cast<int>(KStandardShortcut::StandardShortcutCount), 291},
    {sipName_SubstringCompletion, static_cast<int>(KStandardShortcut::SubstringCompletion), 291},
    {sipName_SwitchApplicationLanguage, static_cast<int>(KStandardShortcut::SwitchApplicationLanguage), 291},
    {sipName_TabNext, static_cast<int>(KStandardShortcut::TabNext), 291},
    {sipName_TabPrev, static_cast<int>(KStandardShortcut::TabPrev), 291},
    {sipName_TextCompletion, static_cast<int>(KStandardShortcut::TextCompletion), 291},
    {sipName_TipofDay, static_cast<int>(KStandardShortcut::TipofDay), 291},
    {sipName_Undo, static_cast<int>(KStandardShortcut::Undo), 291},
    {sipName_Up, static_cast<int>(KStandardShortcut::Up), 291},
    {sipName_WhatsThis, static_cast<int>(KStandardShortcut::WhatsThis), 291},
    {sipName_Zoom, static_cast<int>(KStandardShortcut::Zoom), 291},
    {sipName_ZoomIn, static_cast<int>(KStandardShortcut::ZoomIn), 291},
    {sipName_ZoomOut, static_cast<int>(KStandardShortcut::ZoomOut), 291},
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KStandardShortcut = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_NAMESPACE,
        sipNameNr_KStandardShortcut,
        {0}
    },
    {
        sipNameNr_KStandardShortcut,
        {0, 0, 1},
        53, methods_KStandardShortcut,
        80, enummembers_KStandardShortcut,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    0,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};


#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kguiitem.sip"
#include <kguiitem.h>
#line 26835 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 26838 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 589 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <qpair.h>
#line 26841 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"


extern "C" {static PyObject *meth_KStandardGuiItem_test(PyObject *, PyObject *);}
static PyObject *meth_KStandardGuiItem_test(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KGuiItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KGuiItem(KStandardGuiItem::test());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KGuiItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_test, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardGuiItem_remove(PyObject *, PyObject *);}
static PyObject *meth_KStandardGuiItem_remove(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KGuiItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KGuiItem(KStandardGuiItem::remove());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KGuiItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_remove, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardGuiItem_add(PyObject *, PyObject *);}
static PyObject *meth_KStandardGuiItem_add(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KGuiItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KGuiItem(KStandardGuiItem::add());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KGuiItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_add, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardGuiItem_stop(PyObject *, PyObject *);}
static PyObject *meth_KStandardGuiItem_stop(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KGuiItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KGuiItem(KStandardGuiItem::stop());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KGuiItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_stop, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardGuiItem_find(PyObject *, PyObject *);}
static PyObject *meth_KStandardGuiItem_find(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KGuiItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KGuiItem(KStandardGuiItem::find());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KGuiItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_find, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardGuiItem_quit(PyObject *, PyObject *);}
static PyObject *meth_KStandardGuiItem_quit(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KGuiItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KGuiItem(KStandardGuiItem::quit());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KGuiItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_quit, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardGuiItem_backAndForward(PyObject *, PyObject *);}
static PyObject *meth_KStandardGuiItem_backAndForward(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QPair<KGuiItem,KGuiItem>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPair<KGuiItem,KGuiItem>(KStandardGuiItem::backAndForward());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QPair_0100KGuiItem_0100KGuiItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_backAndForward, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardGuiItem_configure(PyObject *, PyObject *);}
static PyObject *meth_KStandardGuiItem_configure(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KGuiItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KGuiItem(KStandardGuiItem::configure());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KGuiItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_configure, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardGuiItem_forward(PyObject *, PyObject *);}
static PyObject *meth_KStandardGuiItem_forward(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KStandardGuiItem::BidiMode a0 = KStandardGuiItem::IgnoreRTL;

        if (sipParseArgs(&sipParseErr, sipArgs, "|E", sipType_KStandardGuiItem_BidiMode, &a0))
        {
            KGuiItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KGuiItem(KStandardGuiItem::forward(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KGuiItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_forward, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardGuiItem_back(PyObject *, PyObject *);}
static PyObject *meth_KStandardGuiItem_back(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KStandardGuiItem::BidiMode a0 = KStandardGuiItem::IgnoreRTL;

        if (sipParseArgs(&sipParseErr, sipArgs, "|E", sipType_KStandardGuiItem_BidiMode, &a0))
        {
            KGuiItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KGuiItem(KStandardGuiItem::back(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KGuiItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_back, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardGuiItem_open(PyObject *, PyObject *);}
static PyObject *meth_KStandardGuiItem_open(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KGuiItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KGuiItem(KStandardGuiItem::open());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KGuiItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_open, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardGuiItem_del_(PyObject *, PyObject *);}
static PyObject *meth_KStandardGuiItem_del_(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KGuiItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KGuiItem(KStandardGuiItem::del());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KGuiItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_del_, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardGuiItem_cont(PyObject *, PyObject *);}
static PyObject *meth_KStandardGuiItem_cont(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KGuiItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KGuiItem(KStandardGuiItem::cont());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KGuiItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_cont, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardGuiItem_adminMode(PyObject *, PyObject *);}
static PyObject *meth_KStandardGuiItem_adminMode(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KGuiItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KGuiItem(KStandardGuiItem::adminMode());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KGuiItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_adminMode, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardGuiItem_overwrite(PyObject *, PyObject *);}
static PyObject *meth_KStandardGuiItem_overwrite(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KGuiItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KGuiItem(KStandardGuiItem::overwrite());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KGuiItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_overwrite, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardGuiItem_reset(PyObject *, PyObject *);}
static PyObject *meth_KStandardGuiItem_reset(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KGuiItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KGuiItem(KStandardGuiItem::reset());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KGuiItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_reset, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardGuiItem_properties(PyObject *, PyObject *);}
static PyObject *meth_KStandardGuiItem_properties(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KGuiItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KGuiItem(KStandardGuiItem::properties());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KGuiItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_properties, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardGuiItem_print_(PyObject *, PyObject *);}
static PyObject *meth_KStandardGuiItem_print_(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KGuiItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KGuiItem(KStandardGuiItem::print());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KGuiItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_print_, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardGuiItem_closeDocument(PyObject *, PyObject *);}
static PyObject *meth_KStandardGuiItem_closeDocument(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KGuiItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KGuiItem(KStandardGuiItem::closeDocument());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KGuiItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_closeDocument, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardGuiItem_closeWindow(PyObject *, PyObject *);}
static PyObject *meth_KStandardGuiItem_closeWindow(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KGuiItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KGuiItem(KStandardGuiItem::closeWindow());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KGuiItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_closeWindow, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardGuiItem_close(PyObject *, PyObject *);}
static PyObject *meth_KStandardGuiItem_close(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KGuiItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KGuiItem(KStandardGuiItem::close());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KGuiItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_close, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardGuiItem_defaults(PyObject *, PyObject *);}
static PyObject *meth_KStandardGuiItem_defaults(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KGuiItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KGuiItem(KStandardGuiItem::defaults());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KGuiItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_defaults, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardGuiItem_clear(PyObject *, PyObject *);}
static PyObject *meth_KStandardGuiItem_clear(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KGuiItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KGuiItem(KStandardGuiItem::clear());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KGuiItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_clear, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardGuiItem_apply(PyObject *, PyObject *);}
static PyObject *meth_KStandardGuiItem_apply(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KGuiItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KGuiItem(KStandardGuiItem::apply());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KGuiItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_apply, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardGuiItem_saveAs(PyObject *, PyObject *);}
static PyObject *meth_KStandardGuiItem_saveAs(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KGuiItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KGuiItem(KStandardGuiItem::saveAs());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KGuiItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_saveAs, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardGuiItem_dontSave(PyObject *, PyObject *);}
static PyObject *meth_KStandardGuiItem_dontSave(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KGuiItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KGuiItem(KStandardGuiItem::dontSave());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KGuiItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_dontSave, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardGuiItem_help(PyObject *, PyObject *);}
static PyObject *meth_KStandardGuiItem_help(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KGuiItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KGuiItem(KStandardGuiItem::help());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KGuiItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_help, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardGuiItem_save(PyObject *, PyObject *);}
static PyObject *meth_KStandardGuiItem_save(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KGuiItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KGuiItem(KStandardGuiItem::save());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KGuiItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_save, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardGuiItem_discard(PyObject *, PyObject *);}
static PyObject *meth_KStandardGuiItem_discard(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KGuiItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KGuiItem(KStandardGuiItem::discard());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KGuiItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_discard, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardGuiItem_insert(PyObject *, PyObject *);}
static PyObject *meth_KStandardGuiItem_insert(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KGuiItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KGuiItem(KStandardGuiItem::insert());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KGuiItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_insert, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardGuiItem_no(PyObject *, PyObject *);}
static PyObject *meth_KStandardGuiItem_no(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KGuiItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KGuiItem(KStandardGuiItem::no());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KGuiItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_no, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardGuiItem_yes(PyObject *, PyObject *);}
static PyObject *meth_KStandardGuiItem_yes(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KGuiItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KGuiItem(KStandardGuiItem::yes());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KGuiItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_yes, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardGuiItem_cancel(PyObject *, PyObject *);}
static PyObject *meth_KStandardGuiItem_cancel(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KGuiItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KGuiItem(KStandardGuiItem::cancel());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KGuiItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_cancel, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardGuiItem_ok(PyObject *, PyObject *);}
static PyObject *meth_KStandardGuiItem_ok(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KGuiItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KGuiItem(KStandardGuiItem::ok());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KGuiItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_ok, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardGuiItem_standardItem(PyObject *, PyObject *);}
static PyObject *meth_KStandardGuiItem_standardItem(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KStandardGuiItem::StandardItem a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "E", sipType_KStandardGuiItem_StandardItem, &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KStandardGuiItem::standardItem(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_standardItem, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardGuiItem_guiItem(PyObject *, PyObject *);}
static PyObject *meth_KStandardGuiItem_guiItem(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KStandardGuiItem::StandardItem a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "E", sipType_KStandardGuiItem_StandardItem, &a0))
        {
            KGuiItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KGuiItem(KStandardGuiItem::guiItem(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KGuiItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_guiItem, NULL);

    return NULL;
}


static PyMethodDef methods_KStandardGuiItem[] = {
    {SIP_MLNAME_CAST(sipName_add), meth_KStandardGuiItem_add, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_adminMode), meth_KStandardGuiItem_adminMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_apply), meth_KStandardGuiItem_apply, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_back), meth_KStandardGuiItem_back, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_backAndForward), meth_KStandardGuiItem_backAndForward, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_cancel), meth_KStandardGuiItem_cancel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clear), meth_KStandardGuiItem_clear, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_close), meth_KStandardGuiItem_close, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeDocument), meth_KStandardGuiItem_closeDocument, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeWindow), meth_KStandardGuiItem_closeWindow, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_configure), meth_KStandardGuiItem_configure, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_cont), meth_KStandardGuiItem_cont, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_defaults), meth_KStandardGuiItem_defaults, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_del_), meth_KStandardGuiItem_del_, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_discard), meth_KStandardGuiItem_discard, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dontSave), meth_KStandardGuiItem_dontSave, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_find), meth_KStandardGuiItem_find, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_forward), meth_KStandardGuiItem_forward, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_guiItem), meth_KStandardGuiItem_guiItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_help), meth_KStandardGuiItem_help, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_insert), meth_KStandardGuiItem_insert, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_no), meth_KStandardGuiItem_no, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ok), meth_KStandardGuiItem_ok, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_open), meth_KStandardGuiItem_open, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_overwrite), meth_KStandardGuiItem_overwrite, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_print_), meth_KStandardGuiItem_print_, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_properties), meth_KStandardGuiItem_properties, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_quit), meth_KStandardGuiItem_quit, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_remove), meth_KStandardGuiItem_remove, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_reset), meth_KStandardGuiItem_reset, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_save), meth_KStandardGuiItem_save, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_saveAs), meth_KStandardGuiItem_saveAs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_standardItem), meth_KStandardGuiItem_standardItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_stop), meth_KStandardGuiItem_stop, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_test), meth_KStandardGuiItem_test, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_yes), meth_KStandardGuiItem_yes, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KStandardGuiItem[] = {
    {sipName_Add, static_cast<int>(KStandardGuiItem::Add), 289},
    {sipName_AdminMode, static_cast<int>(KStandardGuiItem::AdminMode), 289},
    {sipName_Apply, static_cast<int>(KStandardGuiItem::Apply), 289},
    {sipName_Back, static_cast<int>(KStandardGuiItem::Back), 289},
    {sipName_Cancel, static_cast<int>(KStandardGuiItem::Cancel), 289},
    {sipName_Clear, static_cast<int>(KStandardGuiItem::Clear), 289},
    {sipName_Close, static_cast<int>(KStandardGuiItem::Close), 289},
    {sipName_CloseDocument, static_cast<int>(KStandardGuiItem::CloseDocument), 289},
    {sipName_CloseWindow, static_cast<int>(KStandardGuiItem::CloseWindow), 289},
    {sipName_Configure, static_cast<int>(KStandardGuiItem::Configure), 289},
    {sipName_Continue, static_cast<int>(KStandardGuiItem::Continue), 289},
    {sipName_Defaults, static_cast<int>(KStandardGuiItem::Defaults), 289},
    {sipName_Delete, static_cast<int>(KStandardGuiItem::Delete), 289},
    {sipName_Discard, static_cast<int>(KStandardGuiItem::Discard), 289},
    {sipName_DontSave, static_cast<int>(KStandardGuiItem::DontSave), 289},
    {sipName_Find, static_cast<int>(KStandardGuiItem::Find), 289},
    {sipName_Forward, static_cast<int>(KStandardGuiItem::Forward), 289},
    {sipName_Help, static_cast<int>(KStandardGuiItem::Help), 289},
    {sipName_IgnoreRTL, static_cast<int>(KStandardGuiItem::IgnoreRTL), 288},
    {sipName_Insert, static_cast<int>(KStandardGuiItem::Insert), 289},
    {sipName_No, static_cast<int>(KStandardGuiItem::No), 289},
    {sipName_Ok, static_cast<int>(KStandardGuiItem::Ok), 289},
    {sipName_Open, static_cast<int>(KStandardGuiItem::Open), 289},
    {sipName_Overwrite, static_cast<int>(KStandardGuiItem::Overwrite), 289},
    {sipName_Print, static_cast<int>(KStandardGuiItem::Print), 289},
    {sipName_Properties, static_cast<int>(KStandardGuiItem::Properties), 289},
    {sipName_Quit, static_cast<int>(KStandardGuiItem::Quit), 289},
    {sipName_Remove, static_cast<int>(KStandardGuiItem::Remove), 289},
    {sipName_Reset, static_cast<int>(KStandardGuiItem::Reset), 289},
    {sipName_Save, static_cast<int>(KStandardGuiItem::Save), 289},
    {sipName_SaveAs, static_cast<int>(KStandardGuiItem::SaveAs), 289},
    {sipName_Stop, static_cast<int>(KStandardGuiItem::Stop), 289},
    {sipName_Test, static_cast<int>(KStandardGuiItem::Test), 289},
    {sipName_UseRTL, static_cast<int>(KStandardGuiItem::UseRTL), 288},
    {sipName_Yes, static_cast<int>(KStandardGuiItem::Yes), 289},
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KStandardGuiItem = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_NAMESPACE,
        sipNameNr_KStandardGuiItem,
        {0}
    },
    {
        sipNameNr_KStandardGuiItem,
        {0, 0, 1},
        36, methods_KStandardGuiItem,
        35, enummembers_KStandardGuiItem,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    0,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 185 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kstandardaction.sip"
#include <qlist.h>
#line 27885 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"



extern "C" {static void assign_QList_0100KStandardAction_StandardAction(void *, SIP_SSIZE_T, const void *);}
static void assign_QList_0100KStandardAction_StandardAction(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QList<KStandardAction::StandardAction> *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QList<KStandardAction::StandardAction> *>(sipSrc);
}


extern "C" {static void *array_QList_0100KStandardAction_StandardAction(SIP_SSIZE_T);}
static void *array_QList_0100KStandardAction_StandardAction(SIP_SSIZE_T sipNrElem)
{
    return new QList<KStandardAction::StandardAction>[sipNrElem];
}


extern "C" {static void *copy_QList_0100KStandardAction_StandardAction(const void *, SIP_SSIZE_T);}
static void *copy_QList_0100KStandardAction_StandardAction(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QList<KStandardAction::StandardAction>(reinterpret_cast<const QList<KStandardAction::StandardAction> *>(sipSrc)[sipSrcIdx]);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_0100KStandardAction_StandardAction(void *, int);}
static void release_QList_0100KStandardAction_StandardAction(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<KStandardAction::StandardAction> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QList_0100KStandardAction_StandardAction(PyObject *, void **, int *, PyObject *);}
static int convertTo_QList_0100KStandardAction_StandardAction(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QList<KStandardAction::StandardAction> **sipCppPtr = reinterpret_cast<QList<KStandardAction::StandardAction> **>(sipCppPtrV);

#line 216 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kstandardaction.sip"
    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
        return PyList_Check(sipPy);

    QList<KStandardAction::StandardAction> *ql = new QList<KStandardAction::StandardAction>;
 
    for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i) {
#if PY_MAJOR_VERSION >= 3        
        ql->append((KStandardAction::StandardAction)PyLong_AsLong (PyList_GET_ITEM(sipPy, i)));
#else
        ql->append((KStandardAction::StandardAction)PyInt_AS_LONG (PyList_GET_ITEM(sipPy, i)));
#endif
    }
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 27943 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0100KStandardAction_StandardAction(void *, PyObject *);}
static PyObject *convertFrom_QList_0100KStandardAction_StandardAction(void *sipCppV, PyObject *)
{
   QList<KStandardAction::StandardAction> *sipCpp = reinterpret_cast<QList<KStandardAction::StandardAction> *>(sipCppV);

#line 189 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kstandardaction.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        PyObject *pobj;
#if PY_MAJOR_VERSION >= 3
        if ((pobj = PyLong_FromLong ((long)sipCpp->value(i))) == NULL) {
#else
        if ((pobj = PyInt_FromLong ((long)sipCpp->value(i))) == NULL) {
#endif            
            Py_DECREF(l);

            return NULL;
        }

        PyList_SET_ITEM(l, i, pobj);
    }

    return l;
#line 27977 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
}


sipMappedTypeDef sipTypeDef_kdeui_QList_0100KStandardAction_StandardAction = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_268,
        {0}
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0100KStandardAction_StandardAction,
    array_QList_0100KStandardAction_StandardAction,
    copy_QList_0100KStandardAction_StandardAction,
    release_QList_0100KStandardAction_StandardAction,
    convertTo_QList_0100KStandardAction_StandardAction,
    convertFrom_QList_0100KStandardAction_StandardAction
};


#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 28009 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 28012 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 28015 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 185 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kstandardaction.sip"
#include <qlist.h>
#line 28018 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/krecentfilesaction.sip"
#include <krecentfilesaction.h>
#line 28021 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/ktoggleaction.sip"
#include <ktoggleaction.h>
#line 28024 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/ktogglefullscreenaction.sip"
#include <ktogglefullscreenaction.h>
#line 28027 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 28030 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"


extern "C" {static PyObject *meth_KStandardAction_aboutKDE(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_aboutKDE(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::aboutKDE(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::aboutKDE(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_aboutKDE, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_aboutApp(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_aboutApp(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::aboutApp(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::aboutApp(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_aboutApp, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_reportBug(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_reportBug(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::reportBug(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::reportBug(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_reportBug, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_tipOfDay(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_tipOfDay(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::tipOfDay(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::tipOfDay(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_tipOfDay, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_whatsThis(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_whatsThis(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::whatsThis(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::whatsThis(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_whatsThis, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_helpContents(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_helpContents(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::helpContents(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::helpContents(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_helpContents, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_help(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_help(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::help(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::help(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_help, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_configureNotifications(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_configureNotifications(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::configureNotifications(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::configureNotifications(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_configureNotifications, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_configureToolbars(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_configureToolbars(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::configureToolbars(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::configureToolbars(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_configureToolbars, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_preferences(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_preferences(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::preferences(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::preferences(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_preferences, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_keyBindings(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_keyBindings(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::keyBindings(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::keyBindings(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_keyBindings, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_saveOptions(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_saveOptions(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::saveOptions(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::saveOptions(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_saveOptions, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_fullScreen(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_fullScreen(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QWidget* a2;
        QObject* a3;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ8J:", "()", &a0, &a1, &a1, sipType_QWidget, &a2, sipType_QObject, &a3))
        {
            KToggleFullScreenAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::fullScreen(a0,a1,a2,a3);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KToggleFullScreenAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QWidget* a2;
        QObject* a3;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ8J:", "()", &a0, &a1, sipType_QWidget, &a2, sipType_QObject, &a3))
        {
            KToggleFullScreenAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::fullScreen(a0,a1,a2,a3);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KToggleFullScreenAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_fullScreen, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_showStatusbar(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_showStatusbar(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KToggleAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::showStatusbar(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KToggleAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KToggleAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::showStatusbar(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KToggleAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_showStatusbar, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_showMenubar(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_showMenubar(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KToggleAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::showMenubar(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KToggleAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KToggleAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::showMenubar(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KToggleAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_showMenubar, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_spelling(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_spelling(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::spelling(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::spelling(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_spelling, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_editBookmarks(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_editBookmarks(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::editBookmarks(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::editBookmarks(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_editBookmarks, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_addBookmark(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_addBookmark(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::addBookmark(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::addBookmark(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_addBookmark, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_documentForward(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_documentForward(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::documentForward(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::documentForward(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_documentForward, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_documentBack(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_documentBack(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::documentBack(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::documentBack(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_documentBack, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_lastPage(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_lastPage(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::lastPage(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::lastPage(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_lastPage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_firstPage(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_firstPage(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::firstPage(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::firstPage(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_firstPage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_gotoLine(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_gotoLine(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::gotoLine(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::gotoLine(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_gotoLine, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_gotoPage(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_gotoPage(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::gotoPage(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::gotoPage(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_gotoPage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_goTo(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_goTo(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::goTo(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::goTo(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_goTo, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_next(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_next(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::next(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::next(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_next, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_prior(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_prior(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::prior(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::prior(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_prior, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_home(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_home(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::home(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::home(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_home, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_forward(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_forward(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::forward(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::forward(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_forward, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_back(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_back(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::back(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::back(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_back, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_up(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_up(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::up(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::up(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_up, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_redisplay(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_redisplay(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::redisplay(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::redisplay(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_redisplay, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_zoom(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_zoom(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::zoom(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::zoom(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_zoom, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_zoomOut(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_zoomOut(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::zoomOut(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::zoomOut(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_zoomOut, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_zoomIn(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_zoomIn(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::zoomIn(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::zoomIn(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_zoomIn, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_fitToHeight(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_fitToHeight(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::fitToHeight(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::fitToHeight(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_fitToHeight, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_fitToWidth(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_fitToWidth(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::fitToWidth(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::fitToWidth(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_fitToWidth, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_fitToPage(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_fitToPage(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::fitToPage(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::fitToPage(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_fitToPage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_actualSize(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_actualSize(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::actualSize(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::actualSize(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_actualSize, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_replace(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_replace(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::replace(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::replace(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_replace, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_findPrev(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_findPrev(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::findPrev(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::findPrev(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_findPrev, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_findNext(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_findNext(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::findNext(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::findNext(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_findNext, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_find(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_find(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::find(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::find(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_find, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_deselect(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_deselect(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::deselect(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::deselect(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_deselect, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_pasteText(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_pasteText(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::pasteText(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::pasteText(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_pasteText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_selectAll(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_selectAll(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J:", sipType_QObject, &a0))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::selectAll(a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::selectAll(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::selectAll(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_selectAll, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_clear(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_clear(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J:", sipType_QObject, &a0))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::clear(a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::clear(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::clear(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_clear, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_paste(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_paste(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J:", sipType_QObject, &a0))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::paste(a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::paste(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::paste(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_paste, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_copy(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_copy(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J:", sipType_QObject, &a0))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::copy(a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::copy(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::copy(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_copy, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_cut(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_cut(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J:", sipType_QObject, &a0))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::cut(a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::cut(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::cut(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_cut, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_redo(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_redo(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::redo(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::redo(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_redo, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_undo(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_undo(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::undo(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::undo(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_undo, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_quit(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_quit(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::quit(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::quit(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_quit, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_mail(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_mail(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::mail(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::mail(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_mail, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_printPreview(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_printPreview(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::printPreview(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::printPreview(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_printPreview, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_print_(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_print_(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::print(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::print(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_print_, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_close(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_close(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::close(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::close(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_close, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_revert(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_revert(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::revert(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::revert(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_revert, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_saveAs(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_saveAs(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::saveAs(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::saveAs(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_saveAs, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_save(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_save(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::save(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::save(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_save, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_openRecent(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_openRecent(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KRecentFilesAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::openRecent(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KRecentFilesAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KRecentFilesAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::openRecent(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KRecentFilesAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_openRecent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_open(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_open(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::open(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::open(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_open, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_openNew(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_openNew(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "qSJ:", "()", &a0, &a1, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::openNew(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        QObject* a0;
        const char* a1;
        QObject* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "yJ:", "()", &a0, &a1, sipType_QObject, &a2))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::openNew(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_openNew, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_shortcutForActionId(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_shortcutForActionId(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KStandardAction::StandardAction a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "E", sipType_KStandardAction_StandardAction, &a0))
        {
            KStandardShortcut::StandardShortcut sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::shortcutForActionId(a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KStandardShortcut_StandardShortcut);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_shortcutForActionId, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_actionIds(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_actionIds(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QList<KStandardAction::StandardAction>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<KStandardAction::StandardAction>(KStandardAction::actionIds());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0100KStandardAction_StandardAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_actionIds, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_stdNames(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_stdNames(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(KStandardAction::stdNames());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_stdNames, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_stdName(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_stdName(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KStandardAction::StandardAction a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "E", sipType_KStandardAction_StandardAction, &a0))
        {
            const char*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::stdName(a0);
            Py_END_ALLOW_THREADS

            if (sipRes == NULL)
            {
                Py_INCREF(Py_None);
                return Py_None;
            }

            return PyUnicode_DecodeASCII(sipRes, strlen(sipRes), NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_stdName, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_name(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_name(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KStandardAction::StandardAction a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "E", sipType_KStandardAction_StandardAction, &a0))
        {
            const char*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::name(a0);
            Py_END_ALLOW_THREADS

            if (sipRes == NULL)
            {
                Py_INCREF(Py_None);
                return Py_None;
            }

            return PyUnicode_DecodeASCII(sipRes, strlen(sipRes), NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_name, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardAction_create(PyObject *, PyObject *);}
static PyObject *meth_KStandardAction_create(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KStandardAction::StandardAction a0;
        QObject* a1;
        const char* a2;
        QObject* a3;

        if (sipParseArgs(&sipParseErr, sipArgs, "EqSJ:", sipType_KStandardAction_StandardAction, &a0, "()", &a1, &a2, &a2, sipType_QObject, &a3))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::create(a0,a1,a2,a3);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    {
        KStandardAction::StandardAction a0;
        QObject* a1;
        const char* a2;
        QObject* a3;

        if (sipParseArgs(&sipParseErr, sipArgs, "EyJ:", sipType_KStandardAction_StandardAction, &a0, "()", &a1, &a2, sipType_QObject, &a3))
        {
            KAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardAction::create(a0,a1,a2,a3);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_create, NULL);

    return NULL;
}


static PyMethodDef methods_KStandardAction[] = {
    {SIP_MLNAME_CAST(sipName_aboutApp), meth_KStandardAction_aboutApp, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_aboutKDE), meth_KStandardAction_aboutKDE, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_actionIds), meth_KStandardAction_actionIds, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_actualSize), meth_KStandardAction_actualSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addBookmark), meth_KStandardAction_addBookmark, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_back), meth_KStandardAction_back, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clear), meth_KStandardAction_clear, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_close), meth_KStandardAction_close, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_configureNotifications), meth_KStandardAction_configureNotifications, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_configureToolbars), meth_KStandardAction_configureToolbars, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_copy), meth_KStandardAction_copy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_create), meth_KStandardAction_create, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_cut), meth_KStandardAction_cut, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deselect), meth_KStandardAction_deselect, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_documentBack), meth_KStandardAction_documentBack, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_documentForward), meth_KStandardAction_documentForward, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_editBookmarks), meth_KStandardAction_editBookmarks, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_find), meth_KStandardAction_find, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_findNext), meth_KStandardAction_findNext, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_findPrev), meth_KStandardAction_findPrev, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_firstPage), meth_KStandardAction_firstPage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fitToHeight), meth_KStandardAction_fitToHeight, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fitToPage), meth_KStandardAction_fitToPage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fitToWidth), meth_KStandardAction_fitToWidth, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_forward), meth_KStandardAction_forward, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fullScreen), meth_KStandardAction_fullScreen, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_goTo), meth_KStandardAction_goTo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_gotoLine), meth_KStandardAction_gotoLine, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_gotoPage), meth_KStandardAction_gotoPage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_help), meth_KStandardAction_help, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_helpContents), meth_KStandardAction_helpContents, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_home), meth_KStandardAction_home, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyBindings), meth_KStandardAction_keyBindings, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_lastPage), meth_KStandardAction_lastPage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mail), meth_KStandardAction_mail, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_name), meth_KStandardAction_name, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_next), meth_KStandardAction_next, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_open), meth_KStandardAction_open, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_openNew), meth_KStandardAction_openNew, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_openRecent), meth_KStandardAction_openRecent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paste), meth_KStandardAction_paste, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pasteText), meth_KStandardAction_pasteText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_preferences), meth_KStandardAction_preferences, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_printPreview), meth_KStandardAction_printPreview, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_print_), meth_KStandardAction_print_, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_prior), meth_KStandardAction_prior, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_quit), meth_KStandardAction_quit, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_redisplay), meth_KStandardAction_redisplay, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_redo), meth_KStandardAction_redo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_replace), meth_KStandardAction_replace, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_reportBug), meth_KStandardAction_reportBug, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_revert), meth_KStandardAction_revert, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_save), meth_KStandardAction_save, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_saveAs), meth_KStandardAction_saveAs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_saveOptions), meth_KStandardAction_saveOptions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectAll), meth_KStandardAction_selectAll, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_shortcutForActionId), meth_KStandardAction_shortcutForActionId, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showMenubar), meth_KStandardAction_showMenubar, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showStatusbar), meth_KStandardAction_showStatusbar, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_spelling), meth_KStandardAction_spelling, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_stdName), meth_KStandardAction_stdName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_stdNames), meth_KStandardAction_stdNames, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tipOfDay), meth_KStandardAction_tipOfDay, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_undo), meth_KStandardAction_undo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_up), meth_KStandardAction_up, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_whatsThis), meth_KStandardAction_whatsThis, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_zoom), meth_KStandardAction_zoom, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_zoomIn), meth_KStandardAction_zoomIn, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_zoomOut), meth_KStandardAction_zoomOut, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KStandardAction[] = {
    {sipName_AboutApp, static_cast<int>(KStandardAction::AboutApp), 286},
    {sipName_AboutKDE, static_cast<int>(KStandardAction::AboutKDE), 286},
    {sipName_ActionNone, static_cast<int>(KStandardAction::ActionNone), 286},
    {sipName_ActualSize, static_cast<int>(KStandardAction::ActualSize), 286},
    {sipName_AddBookmark, static_cast<int>(KStandardAction::AddBookmark), 286},
    {sipName_Back, static_cast<int>(KStandardAction::Back), 286},
    {sipName_Clear, static_cast<int>(KStandardAction::Clear), 286},
    {sipName_Close, static_cast<int>(KStandardAction::Close), 286},
    {sipName_ConfigureNotifications, static_cast<int>(KStandardAction::ConfigureNotifications), 286},
    {sipName_ConfigureToolbars, static_cast<int>(KStandardAction::ConfigureToolbars), 286},
    {sipName_Copy, static_cast<int>(KStandardAction::Copy), 286},
    {sipName_Cut, static_cast<int>(KStandardAction::Cut), 286},
    {sipName_Deselect, static_cast<int>(KStandardAction::Deselect), 286},
    {sipName_DocumentBack, static_cast<int>(KStandardAction::DocumentBack), 286},
    {sipName_DocumentForward, static_cast<int>(KStandardAction::DocumentForward), 286},
    {sipName_EditBookmarks, static_cast<int>(KStandardAction::EditBookmarks), 286},
    {sipName_Find, static_cast<int>(KStandardAction::Find), 286},
    {sipName_FindNext, static_cast<int>(KStandardAction::FindNext), 286},
    {sipName_FindPrev, static_cast<int>(KStandardAction::FindPrev), 286},
    {sipName_FirstPage, static_cast<int>(KStandardAction::FirstPage), 286},
    {sipName_FitToHeight, static_cast<int>(KStandardAction::FitToHeight), 286},
    {sipName_FitToPage, static_cast<int>(KStandardAction::FitToPage), 286},
    {sipName_FitToWidth, static_cast<int>(KStandardAction::FitToWidth), 286},
    {sipName_Forward, static_cast<int>(KStandardAction::Forward), 286},
    {sipName_FullScreen, static_cast<int>(KStandardAction::FullScreen), 286},
    {sipName_Goto, static_cast<int>(KStandardAction::Goto), 286},
    {sipName_GotoLine, static_cast<int>(KStandardAction::GotoLine), 286},
    {sipName_GotoPage, static_cast<int>(KStandardAction::GotoPage), 286},
    {sipName_Help, static_cast<int>(KStandardAction::Help), 286},
    {sipName_HelpContents, static_cast<int>(KStandardAction::HelpContents), 286},
    {sipName_Home, static_cast<int>(KStandardAction::Home), 286},
    {sipName_KeyBindings, static_cast<int>(KStandardAction::KeyBindings), 286},
    {sipName_LastPage, static_cast<int>(KStandardAction::LastPage), 286},
    {sipName_Mail, static_cast<int>(KStandardAction::Mail), 286},
    {sipName_New, static_cast<int>(KStandardAction::New), 286},
    {sipName_Next, static_cast<int>(KStandardAction::Next), 286},
    {sipName_Open, static_cast<int>(KStandardAction::Open), 286},
    {sipName_OpenRecent, static_cast<int>(KStandardAction::OpenRecent), 286},
    {sipName_Paste, static_cast<int>(KStandardAction::Paste), 286},
    {sipName_PasteText, static_cast<int>(KStandardAction::PasteText), 286},
    {sipName_Preferences, static_cast<int>(KStandardAction::Preferences), 286},
    {sipName_Print, static_cast<int>(KStandardAction::Print), 286},
    {sipName_PrintPreview, static_cast<int>(KStandardAction::PrintPreview), 286},
    {sipName_Prior, static_cast<int>(KStandardAction::Prior), 286},
    {sipName_Quit, static_cast<int>(KStandardAction::Quit), 286},
    {sipName_Redisplay, static_cast<int>(KStandardAction::Redisplay), 286},
    {sipName_Redo, static_cast<int>(KStandardAction::Redo), 286},
    {sipName_Replace, static_cast<int>(KStandardAction::Replace), 286},
    {sipName_ReportBug, static_cast<int>(KStandardAction::ReportBug), 286},
    {sipName_Revert, static_cast<int>(KStandardAction::Revert), 286},
    {sipName_Save, static_cast<int>(KStandardAction::Save), 286},
    {sipName_SaveAs, static_cast<int>(KStandardAction::SaveAs), 286},
    {sipName_SaveOptions, static_cast<int>(KStandardAction::SaveOptions), 286},
    {sipName_SelectAll, static_cast<int>(KStandardAction::SelectAll), 286},
    {sipName_ShowMenubar, static_cast<int>(KStandardAction::ShowMenubar), 286},
    {sipName_ShowStatusbar, static_cast<int>(KStandardAction::ShowStatusbar), 286},
    {sipName_ShowToolbar, static_cast<int>(KStandardAction::ShowToolbar), 286},
    {sipName_Spelling, static_cast<int>(KStandardAction::Spelling), 286},
    {sipName_SwitchApplicationLanguage, static_cast<int>(KStandardAction::SwitchApplicationLanguage), 286},
    {sipName_TipofDay, static_cast<int>(KStandardAction::TipofDay), 286},
    {sipName_Undo, static_cast<int>(KStandardAction::Undo), 286},
    {sipName_Up, static_cast<int>(KStandardAction::Up), 286},
    {sipName_WhatsThis, static_cast<int>(KStandardAction::WhatsThis), 286},
    {sipName_Zoom, static_cast<int>(KStandardAction::Zoom), 286},
    {sipName_ZoomIn, static_cast<int>(KStandardAction::ZoomIn), 286},
    {sipName_ZoomOut, static_cast<int>(KStandardAction::ZoomOut), 286},
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KStandardAction = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_NAMESPACE,
        sipNameNr_KStandardAction,
        {0}
    },
    {
        sipNameNr_KStandardAction,
        {0, 0, 1},
        69, methods_KStandardAction,
        66, enummembers_KStandardAction,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    0,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/ksqueezedtextlabel.sip"
#include <ksqueezedtextlabel.h>
#line 31396 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 31400 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 31403 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31406 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31409 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31412 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 31415 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 31418 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 31421 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31424 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31427 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 31430 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31433 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 31436 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpicture.sip"
#include <qpicture.h>
#line 31439 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qmovie.sip"
#include <qmovie.h>
#line 31442 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 31445 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 31448 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 31451 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qframe.sip"
#include <qframe.h>
#line 31454 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 31457 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 31460 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 31463 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 31466 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 31469 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 31472 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 31475 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 31478 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 31481 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 31484 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 31487 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 31490 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 31493 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 31496 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 31499 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 31502 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 31505 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31508 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31511 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31514 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31517 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31520 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31523 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31526 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31529 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31532 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31535 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31538 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31541 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 31544 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 31547 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 31550 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 31553 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 31556 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 31559 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 31562 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 31565 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 31568 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 31571 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 31574 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 31577 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 31580 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 31583 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 31586 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 31589 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 31592 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 31595 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 31598 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 31601 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 31604 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"


class sipKSqueezedTextLabel : public KSqueezedTextLabel
{
public:
    sipKSqueezedTextLabel(QWidget*);
    sipKSqueezedTextLabel(const QString&,QWidget*);
    virtual ~sipKSqueezedTextLabel();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void resizeEvent(QResizeEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    void setVisible(bool);
    int devType() const;
    bool focusNextPrevChild(bool);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    void keyPressEvent(QKeyEvent*);
    void changeEvent(QEvent*);
    void paintEvent(QPaintEvent*);
    bool event(QEvent*);
    int heightForWidth(int) const;
    void setAlignment(Qt::Alignment);
    QSize sizeHint() const;
    QSize minimumSizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKSqueezedTextLabel(const sipKSqueezedTextLabel &);
    sipKSqueezedTextLabel &operator = (const sipKSqueezedTextLabel &);

    char sipPyMethods[50];
};

sipKSqueezedTextLabel::sipKSqueezedTextLabel(QWidget*a0): KSqueezedTextLabel(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKSqueezedTextLabel::sipKSqueezedTextLabel(const QString& a0,QWidget*a1): KSqueezedTextLabel(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKSqueezedTextLabel::~sipKSqueezedTextLabel()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKSqueezedTextLabel::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KSqueezedTextLabel);
}

int sipKSqueezedTextLabel::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KSqueezedTextLabel::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KSqueezedTextLabel,_c,_id,_a);

    return _id;
}

void *sipKSqueezedTextLabel::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KSqueezedTextLabel, _clname)) ? this : KSqueezedTextLabel::qt_metacast(_clname);
}

void sipKSqueezedTextLabel::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KSqueezedTextLabel::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KSqueezedTextLabel::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KSqueezedTextLabel::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KSqueezedTextLabel::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KSqueezedTextLabel::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKSqueezedTextLabel::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KSqueezedTextLabel::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKSqueezedTextLabel::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KSqueezedTextLabel::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKSqueezedTextLabel::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KSqueezedTextLabel::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KSqueezedTextLabel::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_kdeui_QtGui->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KSqueezedTextLabel::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kdeui_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KSqueezedTextLabel::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipKSqueezedTextLabel::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return KSqueezedTextLabel::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_kdeui_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KSqueezedTextLabel::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_kdeui_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKSqueezedTextLabel::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return KSqueezedTextLabel::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kdeui_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KSqueezedTextLabel::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_kdeui_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KSqueezedTextLabel::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kdeui_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KSqueezedTextLabel::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kdeui_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KSqueezedTextLabel::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kdeui_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KSqueezedTextLabel::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtGui_17)(sipModuleAPI_kdeui_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KSqueezedTextLabel::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kdeui_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KSqueezedTextLabel::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kdeui_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KSqueezedTextLabel::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kdeui_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KSqueezedTextLabel::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kdeui_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KSqueezedTextLabel::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_kdeui_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KSqueezedTextLabel::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kdeui_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KSqueezedTextLabel::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kdeui_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KSqueezedTextLabel::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KSqueezedTextLabel::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KSqueezedTextLabel::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KSqueezedTextLabel::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kdeui_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KSqueezedTextLabel::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KSqueezedTextLabel::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPaintEngine* sipKSqueezedTextLabel::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[32]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KSqueezedTextLabel::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKSqueezedTextLabel::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KSqueezedTextLabel::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKSqueezedTextLabel::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KSqueezedTextLabel::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kdeui_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKSqueezedTextLabel::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KSqueezedTextLabel::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kdeui_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KSqueezedTextLabel::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KSqueezedTextLabel::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KSqueezedTextLabel::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KSqueezedTextLabel::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KSqueezedTextLabel::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KSqueezedTextLabel::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KSqueezedTextLabel::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kdeui_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKSqueezedTextLabel::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KSqueezedTextLabel::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKSqueezedTextLabel::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return KSqueezedTextLabel::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kdeui_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::setAlignment(Qt::Alignment a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_setAlignment);

    if (!sipMeth)
    {
        KSqueezedTextLabel::setAlignment(a0);
        return;
    }

    extern void sipVH_kdeui_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::Alignment);

    sipVH_kdeui_45(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKSqueezedTextLabel::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KSqueezedTextLabel::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKSqueezedTextLabel::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KSqueezedTextLabel::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KSqueezedTextLabel_minimumSizeHint(PyObject *, PyObject *);}
static PyObject *meth_KSqueezedTextLabel_minimumSizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KSqueezedTextLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KSqueezedTextLabel, &sipCpp))
        {
            QSize*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize((sipSelfWasArg ? sipCpp->KSqueezedTextLabel::minimumSizeHint() : sipCpp->minimumSizeHint()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSqueezedTextLabel, sipName_minimumSizeHint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSqueezedTextLabel_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_KSqueezedTextLabel_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KSqueezedTextLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KSqueezedTextLabel, &sipCpp))
        {
            QSize*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize((sipSelfWasArg ? sipCpp->KSqueezedTextLabel::sizeHint() : sipCpp->sizeHint()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSqueezedTextLabel, sipName_sizeHint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSqueezedTextLabel_setAlignment(PyObject *, PyObject *);}
static PyObject *meth_KSqueezedTextLabel_setAlignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::Alignment* a0;
        int a0State = 0;
        KSqueezedTextLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KSqueezedTextLabel, &sipCpp, sipType_Qt_Alignment, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KSqueezedTextLabel::setAlignment(*a0) : 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(sipParseErr, sipName_KSqueezedTextLabel, sipName_setAlignment, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSqueezedTextLabel_textElideMode(PyObject *, PyObject *);}
static PyObject *meth_KSqueezedTextLabel_textElideMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KSqueezedTextLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KSqueezedTextLabel, &sipCpp))
        {
            Qt::TextElideMode sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->textElideMode();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Qt_TextElideMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSqueezedTextLabel, sipName_textElideMode, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSqueezedTextLabel_setTextElideMode(PyObject *, PyObject *);}
static PyObject *meth_KSqueezedTextLabel_setTextElideMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::TextElideMode a0;
        KSqueezedTextLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KSqueezedTextLabel, &sipCpp, sipType_Qt_TextElideMode, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTextElideMode(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSqueezedTextLabel, sipName_setTextElideMode, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSqueezedTextLabel_setText(PyObject *, PyObject *);}
static PyObject *meth_KSqueezedTextLabel_setText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KSqueezedTextLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KSqueezedTextLabel, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setText(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSqueezedTextLabel, sipName_setText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSqueezedTextLabel_clear(PyObject *, PyObject *);}
static PyObject *meth_KSqueezedTextLabel_clear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KSqueezedTextLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KSqueezedTextLabel, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->clear();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSqueezedTextLabel, sipName_clear, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSqueezedTextLabel_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_KSqueezedTextLabel_resizeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        KSqueezedTextLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KSqueezedTextLabel, &sipCpp, sipType_QResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KSqueezedTextLabel::resizeEvent(a0) : sipCpp->resizeEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSqueezedTextLabel, sipName_resizeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSqueezedTextLabel_contextMenuEvent(PyObject *, PyObject *);}
static PyObject *meth_KSqueezedTextLabel_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        KSqueezedTextLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KSqueezedTextLabel, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KSqueezedTextLabel::contextMenuEvent(a0) : sipCpp->contextMenuEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSqueezedTextLabel, sipName_contextMenuEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSqueezedTextLabel_squeezeTextToLabel(PyObject *, PyObject *);}
static PyObject *meth_KSqueezedTextLabel_squeezeTextToLabel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KSqueezedTextLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KSqueezedTextLabel, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->squeezeTextToLabel();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSqueezedTextLabel, sipName_squeezeTextToLabel, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSqueezedTextLabel_fullText(PyObject *, PyObject *);}
static PyObject *meth_KSqueezedTextLabel_fullText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KSqueezedTextLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KSqueezedTextLabel, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->fullText());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSqueezedTextLabel, sipName_fullText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSqueezedTextLabel_mouseReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_KSqueezedTextLabel_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        KSqueezedTextLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KSqueezedTextLabel, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KSqueezedTextLabel::mouseReleaseEvent(a0) : sipCpp->mouseReleaseEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSqueezedTextLabel, sipName_mouseReleaseEvent, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_KSqueezedTextLabel(void *, const sipTypeDef *);}
static void *cast_KSqueezedTextLabel(void *sipCppV, const sipTypeDef *targetType)
{
    KSqueezedTextLabel *sipCpp = reinterpret_cast<KSqueezedTextLabel *>(sipCppV);

    if (targetType == sipType_QPaintDevice)
        return static_cast<QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KSqueezedTextLabel(void *, int);}
static void release_KSqueezedTextLabel(void *sipCppV,int)
{
    KSqueezedTextLabel *sipCpp = reinterpret_cast<KSqueezedTextLabel *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KSqueezedTextLabel(sipSimpleWrapper *);}
static void dealloc_KSqueezedTextLabel(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKSqueezedTextLabel *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KSqueezedTextLabel(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KSqueezedTextLabel(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KSqueezedTextLabel(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKSqueezedTextLabel *sipCpp = 0;

    {
        QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKSqueezedTextLabel(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        QWidget* a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1|JH", sipType_QString,&a0, &a0State, sipType_QWidget, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKSqueezedTextLabel(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KSqueezedTextLabel[] = {{274, 2, 1}};


static PyMethodDef methods_KSqueezedTextLabel[] = {
    {SIP_MLNAME_CAST(sipName_clear), meth_KSqueezedTextLabel_clear, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_KSqueezedTextLabel_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fullText), meth_KSqueezedTextLabel_fullText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_minimumSizeHint), meth_KSqueezedTextLabel_minimumSizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_KSqueezedTextLabel_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_KSqueezedTextLabel_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAlignment), meth_KSqueezedTextLabel_setAlignment, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setText), meth_KSqueezedTextLabel_setText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTextElideMode), meth_KSqueezedTextLabel_setTextElideMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_KSqueezedTextLabel_sizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_squeezeTextToLabel), meth_KSqueezedTextLabel_squeezeTextToLabel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_textElideMode), meth_KSqueezedTextLabel_textElideMode, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KSqueezedTextLabel = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KSqueezedTextLabel,
        {0}
    },
    {
        sipNameNr_KSqueezedTextLabel,
        {0, 0, 1},
        12, methods_KSqueezedTextLabel,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KSqueezedTextLabel,
    0,
    init_type_KSqueezedTextLabel,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KSqueezedTextLabel,
    0,
    0,
    0,
    release_KSqueezedTextLabel,
    cast_KSqueezedTextLabel,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KSqueezedTextLabel::staticMetaObject,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/ksplashscreen.sip"
#include <ksplashscreen.h>
#line 33044 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"

#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 33048 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 33051 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33054 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 33057 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 33060 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 33063 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcolor.sip"
#include <qcolor.h>
#line 33066 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 33069 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 33072 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 33075 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 33078 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 33081 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 33084 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 33087 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 33090 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 33093 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 33096 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 33099 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 33102 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 33105 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 33108 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 33111 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 33114 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 33117 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 33120 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 33123 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 33126 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33129 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33132 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33135 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33138 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33141 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33144 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33150 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33153 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33156 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33159 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33162 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33165 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33168 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33171 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33174 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33177 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 33180 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 33183 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 33186 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 33189 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 33192 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 33195 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 33198 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 33201 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 33204 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 33207 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 33210 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 33213 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 33216 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 33219 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 33222 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 33225 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 33228 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 33231 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 33234 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 33237 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 33240 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"


class sipKSplashScreen : public KSplashScreen
{
public:
    sipKSplashScreen(const QPixmap&,Qt::WFlags);
    virtual ~sipKSplashScreen();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void changeEvent(QEvent*);
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void resizeEvent(QResizeEvent*);
    void moveEvent(QMoveEvent*);
    void paintEvent(QPaintEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;
    void mousePressEvent(QMouseEvent*);
    bool event(QEvent*);
    void drawContents(QPainter*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKSplashScreen(const sipKSplashScreen &);
    sipKSplashScreen &operator = (const sipKSplashScreen &);

    char sipPyMethods[48];
};

sipKSplashScreen::sipKSplashScreen(const QPixmap& a0,Qt::WFlags a1): KSplashScreen(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKSplashScreen::~sipKSplashScreen()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKSplashScreen::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KSplashScreen);
}

int sipKSplashScreen::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KSplashScreen::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KSplashScreen,_c,_id,_a);

    return _id;
}

void *sipKSplashScreen::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KSplashScreen, _clname)) ? this : KSplashScreen::qt_metacast(_clname);
}

void sipKSplashScreen::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KSplashScreen::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KSplashScreen::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KSplashScreen::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KSplashScreen::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KSplashScreen::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKSplashScreen::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KSplashScreen::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKSplashScreen::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KSplashScreen::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKSplashScreen::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KSplashScreen::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KSplashScreen::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_kdeui_QtGui->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KSplashScreen::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kdeui_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KSplashScreen::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKSplashScreen::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KSplashScreen::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kdeui_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipKSplashScreen::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return KSplashScreen::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_kdeui_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KSplashScreen::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_kdeui_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKSplashScreen::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return KSplashScreen::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kdeui_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KSplashScreen::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KSplashScreen::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_kdeui_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KSplashScreen::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kdeui_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KSplashScreen::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kdeui_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KSplashScreen::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kdeui_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KSplashScreen::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtGui_17)(sipModuleAPI_kdeui_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KSplashScreen::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kdeui_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KSplashScreen::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kdeui_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KSplashScreen::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kdeui_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KSplashScreen::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kdeui_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KSplashScreen::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_kdeui_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KSplashScreen::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kdeui_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KSplashScreen::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kdeui_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KSplashScreen::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kdeui_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KSplashScreen::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KSplashScreen::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KSplashScreen::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KSplashScreen::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KSplashScreen::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KSplashScreen::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KSplashScreen::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kdeui_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KSplashScreen::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KSplashScreen::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KSplashScreen::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPaintEngine* sipKSplashScreen::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KSplashScreen::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKSplashScreen::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return KSplashScreen::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kdeui_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKSplashScreen::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KSplashScreen::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKSplashScreen::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KSplashScreen::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKSplashScreen::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KSplashScreen::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKSplashScreen::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KSplashScreen::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kdeui_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKSplashScreen::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KSplashScreen::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKSplashScreen::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KSplashScreen::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::drawContents(QPainter*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_drawContents);

    if (!sipMeth)
    {
        KSplashScreen::drawContents(a0);
        return;
    }

    typedef void (*sipVH_QtGui_108)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    ((sipVH_QtGui_108)(sipModuleAPI_kdeui_QtGui->em_virthandlers[108]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_KSplashScreen(void *, const sipTypeDef *);}
static void *cast_KSplashScreen(void *sipCppV, const sipTypeDef *targetType)
{
    KSplashScreen *sipCpp = reinterpret_cast<KSplashScreen *>(sipCppV);

    if (targetType == sipType_QPaintDevice)
        return static_cast<QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KSplashScreen(void *, int);}
static void release_KSplashScreen(void *sipCppV,int)
{
    KSplashScreen *sipCpp = reinterpret_cast<KSplashScreen *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KSplashScreen(sipSimpleWrapper *);}
static void dealloc_KSplashScreen(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKSplashScreen *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KSplashScreen(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KSplashScreen(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KSplashScreen(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipKSplashScreen *sipCpp = 0;

    {
        const QPixmap* a0;
        Qt::WFlags a1def = 0;
        Qt::WFlags* a1 = &a1def;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9|J1", sipType_QPixmap, &a0, sipType_Qt_WindowFlags, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKSplashScreen(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_Qt_WindowFlags,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KSplashScreen[] = {{459, 2, 1}};


pyqt4ClassTypeDef sipTypeDef_kdeui_KSplashScreen = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KSplashScreen,
        {0}
    },
    {
        sipNameNr_KSplashScreen,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KSplashScreen,
    0,
    init_type_KSplashScreen,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KSplashScreen,
    0,
    0,
    0,
    release_KSplashScreen,
    cast_KSplashScreen,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KSplashScreen::staticMetaObject,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kshortcutwidget.sip"
#include <kshortcutwidget.h>
#line 34312 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 34316 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 34319 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 34322 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 34325 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 34328 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kactioncollection.sip"
#include <kactioncollection.h>
#line 34331 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34334 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 34337 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34340 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34343 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 34346 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 34349 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 34352 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 34355 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 34358 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 34361 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 34364 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 34367 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 34370 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 34373 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 34376 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 34379 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 34382 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 34385 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 34388 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34391 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 34394 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 34397 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34400 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 34403 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34406 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34409 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34412 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34415 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34418 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34421 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34424 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34427 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34430 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34433 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34436 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34439 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34442 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34445 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34448 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34451 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34454 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 34457 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 34460 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 34463 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 34466 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 34469 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34472 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 34475 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 34478 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 34481 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 34484 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 34487 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 34490 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 34493 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 34496 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 34499 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 34502 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 34505 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 34508 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 34511 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"


class sipKShortcutWidget : public KShortcutWidget
{
public:
    sipKShortcutWidget(QWidget*);
    virtual ~sipKShortcutWidget();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void changeEvent(QEvent*);
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void resizeEvent(QResizeEvent*);
    void moveEvent(QMoveEvent*);
    void paintEvent(QPaintEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    bool event(QEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKShortcutWidget(const sipKShortcutWidget &);
    sipKShortcutWidget &operator = (const sipKShortcutWidget &);

    char sipPyMethods[47];
};

sipKShortcutWidget::sipKShortcutWidget(QWidget*a0): KShortcutWidget(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKShortcutWidget::~sipKShortcutWidget()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKShortcutWidget::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KShortcutWidget);
}

int sipKShortcutWidget::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KShortcutWidget::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KShortcutWidget,_c,_id,_a);

    return _id;
}

void *sipKShortcutWidget::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KShortcutWidget, _clname)) ? this : KShortcutWidget::qt_metacast(_clname);
}

void sipKShortcutWidget::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KShortcutWidget::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KShortcutWidget::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KShortcutWidget::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KShortcutWidget::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KShortcutWidget::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKShortcutWidget::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KShortcutWidget::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKShortcutWidget::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KShortcutWidget::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKShortcutWidget::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KShortcutWidget::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KShortcutWidget::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_kdeui_QtGui->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KShortcutWidget::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kdeui_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KShortcutWidget::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKShortcutWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KShortcutWidget::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kdeui_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipKShortcutWidget::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return KShortcutWidget::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_kdeui_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KShortcutWidget::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_kdeui_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKShortcutWidget::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return KShortcutWidget::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kdeui_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KShortcutWidget::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KShortcutWidget::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_kdeui_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KShortcutWidget::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kdeui_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KShortcutWidget::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kdeui_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KShortcutWidget::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kdeui_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KShortcutWidget::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtGui_17)(sipModuleAPI_kdeui_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KShortcutWidget::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kdeui_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KShortcutWidget::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kdeui_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KShortcutWidget::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kdeui_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KShortcutWidget::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kdeui_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KShortcutWidget::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_kdeui_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KShortcutWidget::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kdeui_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KShortcutWidget::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kdeui_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KShortcutWidget::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kdeui_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KShortcutWidget::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KShortcutWidget::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KShortcutWidget::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KShortcutWidget::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KShortcutWidget::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KShortcutWidget::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KShortcutWidget::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kdeui_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KShortcutWidget::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KShortcutWidget::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KShortcutWidget::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KShortcutWidget::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKShortcutWidget::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KShortcutWidget::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPaintEngine* sipKShortcutWidget::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KShortcutWidget::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKShortcutWidget::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return KShortcutWidget::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kdeui_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKShortcutWidget::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[43]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KShortcutWidget::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKShortcutWidget::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KShortcutWidget::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKShortcutWidget::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KShortcutWidget::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKShortcutWidget::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KShortcutWidget::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kdeui_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KShortcutWidget_setModifierlessAllowed(PyObject *, PyObject *);}
static PyObject *meth_KShortcutWidget_setModifierlessAllowed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KShortcutWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KShortcutWidget, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setModifierlessAllowed(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KShortcutWidget, sipName_setModifierlessAllowed, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KShortcutWidget_isModifierlessAllowed(PyObject *, PyObject *);}
static PyObject *meth_KShortcutWidget_isModifierlessAllowed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KShortcutWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KShortcutWidget, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isModifierlessAllowed();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KShortcutWidget, sipName_isModifierlessAllowed, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KShortcutWidget_setClearButtonsShown(PyObject *, PyObject *);}
static PyObject *meth_KShortcutWidget_setClearButtonsShown(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KShortcutWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KShortcutWidget, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setClearButtonsShown(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KShortcutWidget, sipName_setClearButtonsShown, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KShortcutWidget_setCheckActionCollections(PyObject *, PyObject *);}
static PyObject *meth_KShortcutWidget_setCheckActionCollections(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QList<KActionCollection*>* a0;
        int a0State = 0;
        KShortcutWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KShortcutWidget, &sipCpp, sipType_QList_0101KActionCollection,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCheckActionCollections(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QList<KActionCollection*> *>(a0),sipType_QList_0101KActionCollection,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KShortcutWidget, sipName_setCheckActionCollections, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KShortcutWidget_setCheckActionList(PyObject *, PyObject *);}
static PyObject *meth_KShortcutWidget_setCheckActionList(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QList<QAction*>* a0;
        int a0State = 0;
        KShortcutWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KShortcutWidget, &sipCpp, sipType_QList_0101QAction,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCheckActionList(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QList<QAction*> *>(a0),sipType_QList_0101QAction,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KShortcutWidget, sipName_setCheckActionList, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KShortcutWidget_setShortcut(PyObject *, PyObject *);}
static PyObject *meth_KShortcutWidget_setShortcut(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KShortcut* a0;
        KShortcutWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KShortcutWidget, &sipCpp, sipType_KShortcut, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setShortcut(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KShortcutWidget, sipName_setShortcut, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KShortcutWidget_clearShortcut(PyObject *, PyObject *);}
static PyObject *meth_KShortcutWidget_clearShortcut(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KShortcutWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KShortcutWidget, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->clearShortcut();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KShortcutWidget, sipName_clearShortcut, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KShortcutWidget_applyStealShortcut(PyObject *, PyObject *);}
static PyObject *meth_KShortcutWidget_applyStealShortcut(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KShortcutWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KShortcutWidget, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->applyStealShortcut();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KShortcutWidget, sipName_applyStealShortcut, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_KShortcutWidget(void *, const sipTypeDef *);}
static void *cast_KShortcutWidget(void *sipCppV, const sipTypeDef *targetType)
{
    KShortcutWidget *sipCpp = reinterpret_cast<KShortcutWidget *>(sipCppV);

    if (targetType == sipType_QPaintDevice)
        return static_cast<QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KShortcutWidget(void *, int);}
static void release_KShortcutWidget(void *sipCppV,int)
{
    KShortcutWidget *sipCpp = reinterpret_cast<KShortcutWidget *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KShortcutWidget(sipSimpleWrapper *);}
static void dealloc_KShortcutWidget(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKShortcutWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KShortcutWidget(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KShortcutWidget(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KShortcutWidget(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKShortcutWidget *sipCpp = 0;

    {
        QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKShortcutWidget(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KShortcutWidget[] = {{755, 2, 1}};


static PyMethodDef methods_KShortcutWidget[] = {
    {SIP_MLNAME_CAST(sipName_applyStealShortcut), meth_KShortcutWidget_applyStealShortcut, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clearShortcut), meth_KShortcutWidget_clearShortcut, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isModifierlessAllowed), meth_KShortcutWidget_isModifierlessAllowed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCheckActionCollections), meth_KShortcutWidget_setCheckActionCollections, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCheckActionList), meth_KShortcutWidget_setCheckActionList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setClearButtonsShown), meth_KShortcutWidget_setClearButtonsShown, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setModifierlessAllowed), meth_KShortcutWidget_setModifierlessAllowed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setShortcut), meth_KShortcutWidget_setShortcut, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KShortcutWidget[] = {
    {"shortcutChanged(KShortcut)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KShortcutWidget = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KShortcutWidget,
        {0}
    },
    {
        sipNameNr_KShortcutWidget,
        {0, 0, 1},
        8, methods_KShortcutWidget,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KShortcutWidget,
    0,
    init_type_KShortcutWidget,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KShortcutWidget,
    0,
    0,
    0,
    release_KShortcutWidget,
    cast_KShortcutWidget,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KShortcutWidget::staticMetaObject,
    0,
    signals_KShortcutWidget,
};

#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kshortcutseditor.sip"
#include <kshortcutseditor.h>
#line 35797 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"

#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kshortcutseditor.sip"
#include <kshortcutseditor.h>
#line 35801 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"


extern "C" {static int slot_KShortcutsEditor_ActionTypes___bool__(PyObject *);}
static int slot_KShortcutsEditor_ActionTypes___bool__(PyObject *sipSelf)
{
    KShortcutsEditor::ActionTypes *sipCpp = reinterpret_cast<KShortcutsEditor::ActionTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KShortcutsEditor_ActionTypes));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 389 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KShortcutsEditor::ActionTypes::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 35823 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KShortcutsEditor_ActionTypes___ne__(PyObject *,PyObject *);}
static PyObject *slot_KShortcutsEditor_ActionTypes___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KShortcutsEditor::ActionTypes *sipCpp = reinterpret_cast<KShortcutsEditor::ActionTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KShortcutsEditor_ActionTypes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KShortcutsEditor::ActionTypes* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KShortcutsEditor_ActionTypes, &a0, &a0State))
        {
            bool sipRes = 0;

#line 380 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KShortcutsEditor::ActionTypes::Int() != a0->operator KShortcutsEditor::ActionTypes::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 35857 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
            sipReleaseType(const_cast<KShortcutsEditor::ActionTypes *>(a0),sipType_KShortcutsEditor_ActionTypes,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,ne_slot,sipType_KShortcutsEditor_ActionTypes,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KShortcutsEditor_ActionTypes___eq__(PyObject *,PyObject *);}
static PyObject *slot_KShortcutsEditor_ActionTypes___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KShortcutsEditor::ActionTypes *sipCpp = reinterpret_cast<KShortcutsEditor::ActionTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KShortcutsEditor_ActionTypes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KShortcutsEditor::ActionTypes* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KShortcutsEditor_ActionTypes, &a0, &a0State))
        {
            bool sipRes = 0;

#line 371 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KShortcutsEditor::ActionTypes::Int() == a0->operator KShortcutsEditor::ActionTypes::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 35897 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
            sipReleaseType(const_cast<KShortcutsEditor::ActionTypes *>(a0),sipType_KShortcutsEditor_ActionTypes,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,eq_slot,sipType_KShortcutsEditor_ActionTypes,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KShortcutsEditor_ActionTypes___invert__(PyObject *);}
static PyObject *slot_KShortcutsEditor_ActionTypes___invert__(PyObject *sipSelf)
{
    KShortcutsEditor::ActionTypes *sipCpp = reinterpret_cast<KShortcutsEditor::ActionTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KShortcutsEditor_ActionTypes));

    if (!sipCpp)
        return 0;


    {
        {
            KShortcutsEditor::ActionTypes*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcutsEditor::ActionTypes(~(*sipCpp));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcutsEditor_ActionTypes,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KShortcutsEditor_ActionTypes___and__(PyObject *,PyObject *);}
static PyObject *slot_KShortcutsEditor_ActionTypes___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KShortcutsEditor::ActionTypes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KShortcutsEditor_ActionTypes, &a0, &a0State, &a1))
        {
            KShortcutsEditor::ActionTypes*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcutsEditor::ActionTypes((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KShortcutsEditor_ActionTypes,a0State);

            return sipConvertFromNewType(sipRes,sipType_KShortcutsEditor_ActionTypes,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KShortcutsEditor_ActionTypes___xor__(PyObject *,PyObject *);}
static PyObject *slot_KShortcutsEditor_ActionTypes___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KShortcutsEditor::ActionTypes* a0;
        int a0State = 0;
        KShortcutsEditor::ActionTypes* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KShortcutsEditor_ActionTypes, &a0, &a0State, sipType_KShortcutsEditor_ActionTypes, &a1, &a1State))
        {
            KShortcutsEditor::ActionTypes*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcutsEditor::ActionTypes((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KShortcutsEditor_ActionTypes,a0State);
            sipReleaseType(a1,sipType_KShortcutsEditor_ActionTypes,a1State);

            return sipConvertFromNewType(sipRes,sipType_KShortcutsEditor_ActionTypes,NULL);
        }
    }

    {
        KShortcutsEditor::ActionTypes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KShortcutsEditor_ActionTypes, &a0, &a0State, &a1))
        {
            KShortcutsEditor::ActionTypes*sipRes = 0;

#line 365 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KShortcutsEditor::ActionTypes(*a0 ^ a1);
#line 36006 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
            sipReleaseType(a0,sipType_KShortcutsEditor_ActionTypes,a0State);

            return sipConvertFromNewType(sipRes,sipType_KShortcutsEditor_ActionTypes,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KShortcutsEditor_ActionTypes___or__(PyObject *,PyObject *);}
static PyObject *slot_KShortcutsEditor_ActionTypes___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KShortcutsEditor::ActionTypes* a0;
        int a0State = 0;
        KShortcutsEditor::ActionTypes* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KShortcutsEditor_ActionTypes, &a0, &a0State, sipType_KShortcutsEditor_ActionTypes, &a1, &a1State))
        {
            KShortcutsEditor::ActionTypes*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcutsEditor::ActionTypes((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KShortcutsEditor_ActionTypes,a0State);
            sipReleaseType(a1,sipType_KShortcutsEditor_ActionTypes,a1State);

            return sipConvertFromNewType(sipRes,sipType_KShortcutsEditor_ActionTypes,NULL);
        }
    }

    {
        KShortcutsEditor::ActionTypes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KShortcutsEditor_ActionTypes, &a0, &a0State, &a1))
        {
            KShortcutsEditor::ActionTypes*sipRes = 0;

#line 360 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KShortcutsEditor::ActionTypes(*a0 | a1);
#line 36058 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
            sipReleaseType(a0,sipType_KShortcutsEditor_ActionTypes,a0State);

            return sipConvertFromNewType(sipRes,sipType_KShortcutsEditor_ActionTypes,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KShortcutsEditor_ActionTypes___int__(PyObject *);}
static PyObject *slot_KShortcutsEditor_ActionTypes___int__(PyObject *sipSelf)
{
    KShortcutsEditor::ActionTypes *sipCpp = reinterpret_cast<KShortcutsEditor::ActionTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KShortcutsEditor_ActionTypes));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KShortcutsEditor_ActionTypes___ixor__(PyObject *,PyObject *);}
static PyObject *slot_KShortcutsEditor_ActionTypes___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KShortcutsEditor_ActionTypes)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KShortcutsEditor::ActionTypes *sipCpp = reinterpret_cast<KShortcutsEditor::ActionTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KShortcutsEditor_ActionTypes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KShortcutsEditor::ActionTypes* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KShortcutsEditor_ActionTypes, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KShortcutsEditor::ActionTypes::operator^=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KShortcutsEditor_ActionTypes,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KShortcutsEditor_ActionTypes___ior__(PyObject *,PyObject *);}
static PyObject *slot_KShortcutsEditor_ActionTypes___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KShortcutsEditor_ActionTypes)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KShortcutsEditor::ActionTypes *sipCpp = reinterpret_cast<KShortcutsEditor::ActionTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KShortcutsEditor_ActionTypes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KShortcutsEditor::ActionTypes* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KShortcutsEditor_ActionTypes, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KShortcutsEditor::ActionTypes::operator|=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KShortcutsEditor_ActionTypes,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KShortcutsEditor_ActionTypes___iand__(PyObject *,PyObject *);}
static PyObject *slot_KShortcutsEditor_ActionTypes___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KShortcutsEditor_ActionTypes)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KShortcutsEditor::ActionTypes *sipCpp = reinterpret_cast<KShortcutsEditor::ActionTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KShortcutsEditor_ActionTypes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KShortcutsEditor::ActionTypes::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Call the instance's destructor. */
extern "C" {static void release_KShortcutsEditor_ActionTypes(void *, int);}
static void release_KShortcutsEditor_ActionTypes(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KShortcutsEditor::ActionTypes *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KShortcutsEditor_ActionTypes(void *, SIP_SSIZE_T, const void *);}
static void assign_KShortcutsEditor_ActionTypes(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KShortcutsEditor::ActionTypes *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KShortcutsEditor::ActionTypes *>(sipSrc);
}


extern "C" {static void *array_KShortcutsEditor_ActionTypes(SIP_SSIZE_T);}
static void *array_KShortcutsEditor_ActionTypes(SIP_SSIZE_T sipNrElem)
{
    return new KShortcutsEditor::ActionTypes[sipNrElem];
}


extern "C" {static void *copy_KShortcutsEditor_ActionTypes(const void *, SIP_SSIZE_T);}
static void *copy_KShortcutsEditor_ActionTypes(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KShortcutsEditor::ActionTypes(reinterpret_cast<const KShortcutsEditor::ActionTypes *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KShortcutsEditor_ActionTypes(sipSimpleWrapper *);}
static void dealloc_KShortcutsEditor_ActionTypes(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KShortcutsEditor_ActionTypes(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_KShortcutsEditor_ActionTypes(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KShortcutsEditor_ActionTypes(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KShortcutsEditor::ActionTypes *sipCpp = 0;

    {
        const KShortcutsEditor::ActionTypes* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_KShortcutsEditor_ActionTypes, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KShortcutsEditor::ActionTypes(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<KShortcutsEditor::ActionTypes *>(a0),sipType_KShortcutsEditor_ActionTypes,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KShortcutsEditor::ActionTypes(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KShortcutsEditor::ActionTypes();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_KShortcutsEditor_ActionTypes(PyObject *, void **, int *, PyObject *);}
static int convertTo_KShortcutsEditor_ActionTypes(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    KShortcutsEditor::ActionTypes **sipCppPtr = reinterpret_cast<KShortcutsEditor::ActionTypes **>(sipCppPtrV);

#line 398 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KShortcutsEditor::ActionTypes is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KShortcutsEditor_ActionType)) ||
            sipCanConvertToType(sipPy, sipType_KShortcutsEditor_ActionTypes, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KShortcutsEditor_ActionType)))
{
    *sipCppPtr = new KShortcutsEditor::ActionTypes(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KShortcutsEditor::ActionTypes *>(sipConvertToType(sipPy, sipType_KShortcutsEditor_ActionTypes, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 36342 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KShortcutsEditor_ActionTypes[] = {
    {(void *)slot_KShortcutsEditor_ActionTypes___bool__, bool_slot},
    {(void *)slot_KShortcutsEditor_ActionTypes___ne__, ne_slot},
    {(void *)slot_KShortcutsEditor_ActionTypes___eq__, eq_slot},
    {(void *)slot_KShortcutsEditor_ActionTypes___invert__, invert_slot},
    {(void *)slot_KShortcutsEditor_ActionTypes___and__, and_slot},
    {(void *)slot_KShortcutsEditor_ActionTypes___xor__, xor_slot},
    {(void *)slot_KShortcutsEditor_ActionTypes___or__, or_slot},
    {(void *)slot_KShortcutsEditor_ActionTypes___int__, int_slot},
    {(void *)slot_KShortcutsEditor_ActionTypes___ixor__, ixor_slot},
    {(void *)slot_KShortcutsEditor_ActionTypes___ior__, ior_slot},
    {(void *)slot_KShortcutsEditor_ActionTypes___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KShortcutsEditor_ActionTypes = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KShortcutsEditor__ActionTypes,
        {0}
    },
    {
        sipNameNr_ActionTypes,
        {279, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    slots_KShortcutsEditor_ActionTypes,
    init_type_KShortcutsEditor_ActionTypes,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KShortcutsEditor_ActionTypes,
    assign_KShortcutsEditor_ActionTypes,
    array_KShortcutsEditor_ActionTypes,
    copy_KShortcutsEditor_ActionTypes,
    release_KShortcutsEditor_ActionTypes,
    0,
    convertTo_KShortcutsEditor_ActionTypes,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0
};

#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kshortcutseditor.sip"
#include <kshortcutseditor.h>
#line 36418 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kactioncollection.sip"
#include <kactioncollection.h>
#line 36422 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 36425 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kshortcutseditor.sip"
#include <kshortcutseditor.h>
#line 36428 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 36 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 36431 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 36434 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 36437 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 36440 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 36443 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 36446 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 36449 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 36452 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 36455 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 36458 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 36461 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 36464 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 36467 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 36470 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 36473 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 36476 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 36479 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 36482 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 36485 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 36488 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 36491 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 36494 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 36497 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 36500 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 36503 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36506 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 36509 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36512 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36515 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36518 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36521 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36524 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36527 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36530 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36533 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36536 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36539 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36542 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36545 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36548 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36551 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36554 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36557 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36560 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 36563 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 36566 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 36569 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 36572 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 36575 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 36578 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 36581 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 36584 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 36587 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 36590 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 36593 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 36596 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 36599 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 36602 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 36605 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 36608 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 36611 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 36614 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 36617 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 36620 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 36623 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"


class sipKShortcutsEditor : public KShortcutsEditor
{
public:
    sipKShortcutsEditor(KActionCollection*,QWidget*,KShortcutsEditor::ActionTypes,KShortcutsEditor::LetterShortcuts);
    sipKShortcutsEditor(QWidget*,KShortcutsEditor::ActionTypes,KShortcutsEditor::LetterShortcuts);
    virtual ~sipKShortcutsEditor();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void changeEvent(QEvent*);
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void resizeEvent(QResizeEvent*);
    void moveEvent(QMoveEvent*);
    void paintEvent(QPaintEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    bool event(QEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKShortcutsEditor(const sipKShortcutsEditor &);
    sipKShortcutsEditor &operator = (const sipKShortcutsEditor &);

    char sipPyMethods[47];
};

sipKShortcutsEditor::sipKShortcutsEditor(KActionCollection*a0,QWidget*a1,KShortcutsEditor::ActionTypes a2,KShortcutsEditor::LetterShortcuts a3): KShortcutsEditor(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKShortcutsEditor::sipKShortcutsEditor(QWidget*a0,KShortcutsEditor::ActionTypes a1,KShortcutsEditor::LetterShortcuts a2): KShortcutsEditor(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKShortcutsEditor::~sipKShortcutsEditor()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKShortcutsEditor::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KShortcutsEditor);
}

int sipKShortcutsEditor::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KShortcutsEditor::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KShortcutsEditor,_c,_id,_a);

    return _id;
}

void *sipKShortcutsEditor::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KShortcutsEditor, _clname)) ? this : KShortcutsEditor::qt_metacast(_clname);
}

void sipKShortcutsEditor::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KShortcutsEditor::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KShortcutsEditor::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KShortcutsEditor::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KShortcutsEditor::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KShortcutsEditor::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKShortcutsEditor::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KShortcutsEditor::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKShortcutsEditor::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KShortcutsEditor::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKShortcutsEditor::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KShortcutsEditor::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KShortcutsEditor::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_kdeui_QtGui->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KShortcutsEditor::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kdeui_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KShortcutsEditor::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKShortcutsEditor::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KShortcutsEditor::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kdeui_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipKShortcutsEditor::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return KShortcutsEditor::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_kdeui_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KShortcutsEditor::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_kdeui_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKShortcutsEditor::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return KShortcutsEditor::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kdeui_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KShortcutsEditor::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KShortcutsEditor::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_kdeui_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KShortcutsEditor::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kdeui_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KShortcutsEditor::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kdeui_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KShortcutsEditor::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kdeui_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KShortcutsEditor::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtGui_17)(sipModuleAPI_kdeui_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KShortcutsEditor::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kdeui_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KShortcutsEditor::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kdeui_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KShortcutsEditor::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kdeui_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KShortcutsEditor::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kdeui_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KShortcutsEditor::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_kdeui_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KShortcutsEditor::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kdeui_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KShortcutsEditor::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kdeui_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KShortcutsEditor::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kdeui_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KShortcutsEditor::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KShortcutsEditor::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KShortcutsEditor::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KShortcutsEditor::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KShortcutsEditor::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KShortcutsEditor::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KShortcutsEditor::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kdeui_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KShortcutsEditor::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KShortcutsEditor::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KShortcutsEditor::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KShortcutsEditor::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKShortcutsEditor::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KShortcutsEditor::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPaintEngine* sipKShortcutsEditor::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KShortcutsEditor::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKShortcutsEditor::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return KShortcutsEditor::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kdeui_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKShortcutsEditor::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[43]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KShortcutsEditor::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKShortcutsEditor::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KShortcutsEditor::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKShortcutsEditor::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KShortcutsEditor::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKShortcutsEditor::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KShortcutsEditor::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kdeui_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KShortcutsEditor_isModified(PyObject *, PyObject *);}
static PyObject *meth_KShortcutsEditor_isModified(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KShortcutsEditor *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KShortcutsEditor, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isModified();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KShortcutsEditor, sipName_isModified, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KShortcutsEditor_clearCollections(PyObject *, PyObject *);}
static PyObject *meth_KShortcutsEditor_clearCollections(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KShortcutsEditor *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KShortcutsEditor, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->clearCollections();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KShortcutsEditor, sipName_clearCollections, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KShortcutsEditor_addCollection(PyObject *, PyObject *);}
static PyObject *meth_KShortcutsEditor_addCollection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KActionCollection* a0;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;
        KShortcutsEditor *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8|J1", &sipSelf, sipType_KShortcutsEditor, &sipCpp, sipType_KActionCollection, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addCollection(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KShortcutsEditor, sipName_addCollection, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KShortcutsEditor_undoChanges(PyObject *, PyObject *);}
static PyObject *meth_KShortcutsEditor_undoChanges(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KShortcutsEditor *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KShortcutsEditor, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->undoChanges();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KShortcutsEditor, sipName_undoChanges, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KShortcutsEditor_save(PyObject *, PyObject *);}
static PyObject *meth_KShortcutsEditor_save(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KShortcutsEditor *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KShortcutsEditor, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->save();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KShortcutsEditor, sipName_save, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KShortcutsEditor_commit(PyObject *, PyObject *);}
static PyObject *meth_KShortcutsEditor_commit(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KShortcutsEditor *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KShortcutsEditor, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->commit();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KShortcutsEditor, sipName_commit, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KShortcutsEditor_clearConfiguration(PyObject *, PyObject *);}
static PyObject *meth_KShortcutsEditor_clearConfiguration(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KShortcutsEditor *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KShortcutsEditor, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->clearConfiguration();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KShortcutsEditor, sipName_clearConfiguration, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KShortcutsEditor_writeConfiguration(PyObject *, PyObject *);}
static PyObject *meth_KShortcutsEditor_writeConfiguration(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KConfigGroup* a0 = 0;
        const KShortcutsEditor *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J8", &sipSelf, sipType_KShortcutsEditor, &sipCpp, sipType_KConfigGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->writeConfiguration(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KShortcutsEditor, sipName_writeConfiguration, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KShortcutsEditor_exportConfiguration(PyObject *, PyObject *);}
static PyObject *meth_KShortcutsEditor_exportConfiguration(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KConfig* a0;
        const KShortcutsEditor *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KShortcutsEditor, &sipCpp, sipType_KConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->exportConfiguration(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        KConfigBase* a0;
        const KShortcutsEditor *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KShortcutsEditor, &sipCpp, sipType_KConfigBase, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->exportConfiguration(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KShortcutsEditor, sipName_exportConfiguration, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KShortcutsEditor_importConfiguration(PyObject *, PyObject *);}
static PyObject *meth_KShortcutsEditor_importConfiguration(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KConfig* a0;
        KShortcutsEditor *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KShortcutsEditor, &sipCpp, sipType_KConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->importConfiguration(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        KConfigBase* a0;
        KShortcutsEditor *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KShortcutsEditor, &sipCpp, sipType_KConfigBase, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->importConfiguration(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KShortcutsEditor, sipName_importConfiguration, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KShortcutsEditor_resizeColumns(PyObject *, PyObject *);}
static PyObject *meth_KShortcutsEditor_resizeColumns(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KShortcutsEditor *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KShortcutsEditor, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->resizeColumns();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KShortcutsEditor, sipName_resizeColumns, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KShortcutsEditor_allDefault(PyObject *, PyObject *);}
static PyObject *meth_KShortcutsEditor_allDefault(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KShortcutsEditor *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KShortcutsEditor, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->allDefault();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KShortcutsEditor, sipName_allDefault, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KShortcutsEditor_printShortcuts(PyObject *, PyObject *);}
static PyObject *meth_KShortcutsEditor_printShortcuts(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KShortcutsEditor *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KShortcutsEditor, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->printShortcuts();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KShortcutsEditor, sipName_printShortcuts, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_KShortcutsEditor(void *, const sipTypeDef *);}
static void *cast_KShortcutsEditor(void *sipCppV, const sipTypeDef *targetType)
{
    KShortcutsEditor *sipCpp = reinterpret_cast<KShortcutsEditor *>(sipCppV);

    if (targetType == sipType_QPaintDevice)
        return static_cast<QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KShortcutsEditor(void *, int);}
static void release_KShortcutsEditor(void *sipCppV,int)
{
    KShortcutsEditor *sipCpp = reinterpret_cast<KShortcutsEditor *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KShortcutsEditor(sipSimpleWrapper *);}
static void dealloc_KShortcutsEditor(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKShortcutsEditor *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KShortcutsEditor(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KShortcutsEditor(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KShortcutsEditor(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKShortcutsEditor *sipCpp = 0;

    {
        KActionCollection* a0;
        QWidget* a1;
        KShortcutsEditor::ActionTypes a2def = KShortcutsEditor::AllActions;
        KShortcutsEditor::ActionTypes* a2 = &a2def;
        int a2State = 0;
        KShortcutsEditor::LetterShortcuts a3 = KShortcutsEditor::LetterShortcutsAllowed;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8JH|J1E", sipType_KActionCollection, &a0, sipType_QWidget, &a1, sipOwner, sipType_KShortcutsEditor_ActionTypes, &a2, &a2State, sipType_KShortcutsEditor_LetterShortcuts, &a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKShortcutsEditor(a0,a1,*a2,a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(a2,sipType_KShortcutsEditor_ActionTypes,a2State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QWidget* a0;
        KShortcutsEditor::ActionTypes a1def = KShortcutsEditor::AllActions;
        KShortcutsEditor::ActionTypes* a1 = &a1def;
        int a1State = 0;
        KShortcutsEditor::LetterShortcuts a2 = KShortcutsEditor::LetterShortcutsAllowed;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JH|J1E", sipType_QWidget, &a0, sipOwner, sipType_KShortcutsEditor_ActionTypes, &a1, &a1State, sipType_KShortcutsEditor_LetterShortcuts, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKShortcutsEditor(a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_KShortcutsEditor_ActionTypes,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KShortcutsEditor[] = {{755, 2, 1}};


static PyMethodDef methods_KShortcutsEditor[] = {
    {SIP_MLNAME_CAST(sipName_addCollection), meth_KShortcutsEditor_addCollection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_allDefault), meth_KShortcutsEditor_allDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clearCollections), meth_KShortcutsEditor_clearCollections, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clearConfiguration), meth_KShortcutsEditor_clearConfiguration, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_commit), meth_KShortcutsEditor_commit, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_exportConfiguration), meth_KShortcutsEditor_exportConfiguration, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_importConfiguration), meth_KShortcutsEditor_importConfiguration, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isModified), meth_KShortcutsEditor_isModified, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_printShortcuts), meth_KShortcutsEditor_printShortcuts, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeColumns), meth_KShortcutsEditor_resizeColumns, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_save), meth_KShortcutsEditor_save, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_undoChanges), meth_KShortcutsEditor_undoChanges, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeConfiguration), meth_KShortcutsEditor_writeConfiguration, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KShortcutsEditor[] = {
    {sipName_AllActions, static_cast<int>(KShortcutsEditor::AllActions), 280},
    {sipName_ApplicationAction, static_cast<int>(KShortcutsEditor::ApplicationAction), 280},
    {sipName_GlobalAction, static_cast<int>(KShortcutsEditor::GlobalAction), 280},
    {sipName_LetterShortcutsAllowed, static_cast<int>(KShortcutsEditor::LetterShortcutsAllowed), 282},
    {sipName_LetterShortcutsDisallowed, static_cast<int>(KShortcutsEditor::LetterShortcutsDisallowed), 282},
    {sipName_WidgetAction, static_cast<int>(KShortcutsEditor::WidgetAction), 280},
    {sipName_WindowAction, static_cast<int>(KShortcutsEditor::WindowAction), 280},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KShortcutsEditor[] = {
    {"keyChange()", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KShortcutsEditor = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KShortcutsEditor,
        {0}
    },
    {
        sipNameNr_KShortcutsEditor,
        {0, 0, 1},
        13, methods_KShortcutsEditor,
        7, enummembers_KShortcutsEditor,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KShortcutsEditor,
    0,
    init_type_KShortcutsEditor,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KShortcutsEditor,
    0,
    0,
    0,
    release_KShortcutsEditor,
    cast_KShortcutsEditor,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KShortcutsEditor::staticMetaObject,
    0,
    signals_KShortcutsEditor,
};

#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kshortcutsdialog.sip"
#include <kshortcutsdialog.h>
#line 38115 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"

#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kshortcutseditor.sip"
#include <kshortcutseditor.h>
#line 38119 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kshortcutseditor.sip"
#include <kshortcutseditor.h>
#line 38122 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 38125 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 38128 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kactioncollection.sip"
#include <kactioncollection.h>
#line 38131 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 38134 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 38137 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38140 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38143 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38146 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 38149 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 38152 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 38155 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 38158 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kpushbutton.sip"
#include <kpushbutton.h>
#line 38161 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 38164 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 38167 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 38170 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kguiitem.sip"
#include <kguiitem.h>
#line 38173 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 38176 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 38179 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 38182 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 38185 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 38188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38191 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38194 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38197 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 38200 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 38203 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 38206 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 38209 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 38212 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 38215 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 38218 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 38221 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 38224 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 38227 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 38230 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 38233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 38236 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 38239 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 38242 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 38245 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 38248 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 38251 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38254 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38257 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38260 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38263 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38266 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38269 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38272 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38275 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38278 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38281 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38284 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38287 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 38290 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 38293 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 38296 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 38299 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 38302 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 38305 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 38308 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 38311 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 38314 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 38317 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 38320 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 38323 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 38326 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 38329 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 38332 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 38335 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 38338 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 38341 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 38344 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"


class sipKShortcutsDialog : public KShortcutsDialog
{
public:
    sipKShortcutsDialog(KShortcutsEditor::ActionTypes,KShortcutsEditor::LetterShortcuts,QWidget*);
    virtual ~sipKShortcutsDialog();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void changeEvent(QEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void moveEvent(QMoveEvent*);
    void paintEvent(QPaintEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    bool event(QEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    int devType() const;
    bool eventFilter(QObject*,QEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void resizeEvent(QResizeEvent*);
    void showEvent(QShowEvent*);
    void reject();
    void accept();
    void done(int);
    void setVisible(bool);
    void slotButtonClicked(int);
    void keyPressEvent(QKeyEvent*);
    void closeEvent(QCloseEvent*);
    void hideEvent(QHideEvent*);
    void setPlainCaption(const QString&);
    void setCaption(const QString&,bool);
    void setCaption(const QString&);
    QSize minimumSizeHint() const;
    QSize sizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKShortcutsDialog(const sipKShortcutsDialog &);
    sipKShortcutsDialog &operator = (const sipKShortcutsDialog &);

    char sipPyMethods[54];
};

sipKShortcutsDialog::sipKShortcutsDialog(KShortcutsEditor::ActionTypes a0,KShortcutsEditor::LetterShortcuts a1,QWidget*a2): KShortcutsDialog(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKShortcutsDialog::~sipKShortcutsDialog()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKShortcutsDialog::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KShortcutsDialog);
}

int sipKShortcutsDialog::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KShortcutsDialog::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KShortcutsDialog,_c,_id,_a);

    return _id;
}

void *sipKShortcutsDialog::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KShortcutsDialog, _clname)) ? this : KShortcutsDialog::qt_metacast(_clname);
}

void sipKShortcutsDialog::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KShortcutsDialog::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KShortcutsDialog::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KShortcutsDialog::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KShortcutsDialog::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KShortcutsDialog::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KShortcutsDialog::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKShortcutsDialog::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KShortcutsDialog::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KShortcutsDialog::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_kdeui_QtGui->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KShortcutsDialog::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kdeui_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KShortcutsDialog::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKShortcutsDialog::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KShortcutsDialog::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kdeui_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipKShortcutsDialog::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return KShortcutsDialog::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_kdeui_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KShortcutsDialog::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_kdeui_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKShortcutsDialog::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return KShortcutsDialog::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kdeui_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KShortcutsDialog::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KShortcutsDialog::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kdeui_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KShortcutsDialog::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kdeui_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KShortcutsDialog::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtGui_17)(sipModuleAPI_kdeui_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KShortcutsDialog::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kdeui_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KShortcutsDialog::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kdeui_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KShortcutsDialog::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kdeui_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KShortcutsDialog::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kdeui_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KShortcutsDialog::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kdeui_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KShortcutsDialog::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KShortcutsDialog::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KShortcutsDialog::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KShortcutsDialog::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KShortcutsDialog::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KShortcutsDialog::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kdeui_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KShortcutsDialog::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KShortcutsDialog::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KShortcutsDialog::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KShortcutsDialog::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKShortcutsDialog::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KShortcutsDialog::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPaintEngine* sipKShortcutsDialog::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KShortcutsDialog::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKShortcutsDialog::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return KShortcutsDialog::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kdeui_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKShortcutsDialog::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KShortcutsDialog::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kdeui_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKShortcutsDialog::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KShortcutsDialog::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKShortcutsDialog::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KShortcutsDialog::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kdeui_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KShortcutsDialog::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kdeui_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KShortcutsDialog::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kdeui_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::reject()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_reject);

    if (!sipMeth)
    {
        KShortcutsDialog::reject();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKShortcutsDialog::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_accept);

    if (!sipMeth)
    {
        KShortcutsDialog::accept();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKShortcutsDialog::done(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_done);

    if (!sipMeth)
    {
        KShortcutsDialog::done(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_kdeui_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KShortcutsDialog::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::slotButtonClicked(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_slotButtonClicked);

    if (!sipMeth)
    {
        KShortcutsDialog::slotButtonClicked(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_kdeui_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KShortcutsDialog::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KShortcutsDialog::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_kdeui_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KShortcutsDialog::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_kdeui_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::setPlainCaption(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_setPlainCaption);

    if (!sipMeth)
    {
        KShortcutsDialog::setPlainCaption(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kdeui_QtCore->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::setCaption(const QString& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
        KShortcutsDialog::setCaption(a0,a1);
        return;
    }

    typedef void (*sipVH_QtXml_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,bool);

    ((sipVH_QtXml_24)(sipModuleAPI_kdeui_QtXml->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKShortcutsDialog::setCaption(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
        KShortcutsDialog::setCaption(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kdeui_QtCore->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKShortcutsDialog::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[52]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KShortcutsDialog::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKShortcutsDialog::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[53]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KShortcutsDialog::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KShortcutsDialog_addCollection(PyObject *, PyObject *);}
static PyObject *meth_KShortcutsDialog_addCollection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KActionCollection* a0;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;
        KShortcutsDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8|J1", &sipSelf, sipType_KShortcutsDialog, &sipCpp, sipType_KActionCollection, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addCollection(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KShortcutsDialog, sipName_addCollection, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KShortcutsDialog_actionCollections(PyObject *, PyObject *);}
static PyObject *meth_KShortcutsDialog_actionCollections(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KShortcutsDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KShortcutsDialog, &sipCpp))
        {
            QList<KActionCollection*>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<KActionCollection*>(sipCpp->actionCollections());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0101KActionCollection,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KShortcutsDialog, sipName_actionCollections, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KShortcutsDialog_configure(PyObject *, PyObject *);}
static PyObject *meth_KShortcutsDialog_configure(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        KShortcutsDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|b", &sipSelf, sipType_KShortcutsDialog, &sipCpp, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->configure(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    {
        KActionCollection* a0;
        KShortcutsEditor::LetterShortcuts a1 = KShortcutsEditor::LetterShortcutsAllowed;
        QWidget* a2 = 0;
        bool a3 = 1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8|EJ:b", sipType_KActionCollection, &a0, sipType_KShortcutsEditor_LetterShortcuts, &a1, sipType_QWidget, &a2, &a3))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KShortcutsDialog::configure(a0,a1,a2,a3);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KShortcutsDialog, sipName_configure, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KShortcutsDialog_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_KShortcutsDialog_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KShortcutsDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KShortcutsDialog, &sipCpp))
        {
            QSize*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize((sipSelfWasArg ? sipCpp->KShortcutsDialog::sizeHint() : sipCpp->sizeHint()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KShortcutsDialog, sipName_sizeHint, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_KShortcutsDialog(void *, const sipTypeDef *);}
static void *cast_KShortcutsDialog(void *sipCppV, const sipTypeDef *targetType)
{
    KShortcutsDialog *sipCpp = reinterpret_cast<KShortcutsDialog *>(sipCppV);

    if (targetType == sipType_QPaintDevice)
        return static_cast<QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KShortcutsDialog(void *, int);}
static void release_KShortcutsDialog(void *sipCppV,int)
{
    KShortcutsDialog *sipCpp = reinterpret_cast<KShortcutsDialog *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KShortcutsDialog(sipSimpleWrapper *);}
static void dealloc_KShortcutsDialog(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKShortcutsDialog *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KShortcutsDialog(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KShortcutsDialog(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KShortcutsDialog(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKShortcutsDialog *sipCpp = 0;

    {
        KShortcutsEditor::ActionTypes a0def = KShortcutsEditor::AllActions;
        KShortcutsEditor::ActionTypes* a0 = &a0def;
        int a0State = 0;
        KShortcutsEditor::LetterShortcuts a1 = KShortcutsEditor::LetterShortcutsAllowed;
        QWidget* a2 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|J1EJH", sipType_KShortcutsEditor_ActionTypes, &a0, &a0State, sipType_KShortcutsEditor_LetterShortcuts, &a1, sipType_QWidget, &a2, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKShortcutsDialog(*a0,a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KShortcutsEditor_ActionTypes,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KShortcutsDialog[] = {{86, 255, 1}};


static PyMethodDef methods_KShortcutsDialog[] = {
    {SIP_MLNAME_CAST(sipName_actionCollections), meth_KShortcutsDialog_actionCollections, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addCollection), meth_KShortcutsDialog_addCollection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_configure), meth_KShortcutsDialog_configure, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_KShortcutsDialog_sizeHint, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KShortcutsDialog[] = {
    {"saved()", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KShortcutsDialog = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KShortcutsDialog,
        {0}
    },
    {
        sipNameNr_KShortcutsDialog,
        {0, 0, 1},
        4, methods_KShortcutsDialog,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KShortcutsDialog,
    0,
    init_type_KShortcutsDialog,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KShortcutsDialog,
    0,
    0,
    0,
    release_KShortcutsDialog,
    cast_KShortcutsDialog,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KShortcutsDialog::staticMetaObject,
    0,
    signals_KShortcutsDialog,
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 39678 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"

#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 39682 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 39685 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 39688 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"


extern "C" {static PyObject *meth_KShortcut_primary(PyObject *, PyObject *);}
static PyObject *meth_KShortcut_primary(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KShortcut *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KShortcut, &sipCpp))
        {
            QKeySequence*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QKeySequence(sipCpp->primary());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QKeySequence,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KShortcut, sipName_primary, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KShortcut_alternate(PyObject *, PyObject *);}
static PyObject *meth_KShortcut_alternate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KShortcut *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KShortcut, &sipCpp))
        {
            QKeySequence*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QKeySequence(sipCpp->alternate());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QKeySequence,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KShortcut, sipName_alternate, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KShortcut_isEmpty(PyObject *, PyObject *);}
static PyObject *meth_KShortcut_isEmpty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KShortcut *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KShortcut, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isEmpty();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KShortcut, sipName_isEmpty, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KShortcut_contains(PyObject *, PyObject *);}
static PyObject *meth_KShortcut_contains(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QKeySequence* a0;
        int a0State = 0;
        const KShortcut *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KShortcut, &sipCpp, sipType_QKeySequence, &a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->contains(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QKeySequence *>(a0),sipType_QKeySequence,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KShortcut, sipName_contains, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KShortcut_conflictsWith(PyObject *, PyObject *);}
static PyObject *meth_KShortcut_conflictsWith(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QKeySequence* a0;
        int a0State = 0;
        const KShortcut *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KShortcut, &sipCpp, sipType_QKeySequence, &a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->conflictsWith(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QKeySequence *>(a0),sipType_QKeySequence,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KShortcut, sipName_conflictsWith, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KShortcut_toString(PyObject *, PyObject *);}
static PyObject *meth_KShortcut_toString(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KShortcut *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KShortcut, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->toString());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        QKeySequence::SequenceFormat a0;
        const KShortcut *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KShortcut, &sipCpp, sipType_QKeySequence_SequenceFormat, &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->toString(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KShortcut, sipName_toString, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KShortcut_toList(PyObject *, PyObject *);}
static PyObject *meth_KShortcut_toList(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KShortcut::EmptyHandling a0 = KShortcut::RemoveEmpty;
        const KShortcut *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|E", &sipSelf, sipType_KShortcut, &sipCpp, sipType_KShortcut_EmptyHandling, &a0))
        {
            QList<QKeySequence>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QKeySequence>(sipCpp->toList(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0100QKeySequence,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KShortcut, sipName_toList, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KShortcut_setPrimary(PyObject *, PyObject *);}
static PyObject *meth_KShortcut_setPrimary(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QKeySequence* a0;
        int a0State = 0;
        KShortcut *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KShortcut, &sipCpp, sipType_QKeySequence, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPrimary(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QKeySequence *>(a0),sipType_QKeySequence,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KShortcut, sipName_setPrimary, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KShortcut_setAlternate(PyObject *, PyObject *);}
static PyObject *meth_KShortcut_setAlternate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QKeySequence* a0;
        int a0State = 0;
        KShortcut *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KShortcut, &sipCpp, sipType_QKeySequence, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAlternate(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QKeySequence *>(a0),sipType_QKeySequence,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KShortcut, sipName_setAlternate, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KShortcut_remove(PyObject *, PyObject *);}
static PyObject *meth_KShortcut_remove(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QKeySequence* a0;
        int a0State = 0;
        KShortcut::EmptyHandling a1 = KShortcut::RemoveEmpty;
        KShortcut *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|E", &sipSelf, sipType_KShortcut, &sipCpp, sipType_QKeySequence, &a0, &a0State, sipType_KShortcut_EmptyHandling, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->remove(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QKeySequence *>(a0),sipType_QKeySequence,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KShortcut, sipName_remove, NULL);

    return NULL;
}


extern "C" {static PyObject *slot_KShortcut___ne__(PyObject *,PyObject *);}
static PyObject *slot_KShortcut___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KShortcut *sipCpp = reinterpret_cast<KShortcut *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KShortcut));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KShortcut* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_KShortcut, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->KShortcut::operator!=(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,ne_slot,sipType_KShortcut,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KShortcut___eq__(PyObject *,PyObject *);}
static PyObject *slot_KShortcut___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KShortcut *sipCpp = reinterpret_cast<KShortcut *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KShortcut));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KShortcut* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_KShortcut, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->KShortcut::operator==(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,eq_slot,sipType_KShortcut,sipSelf,sipArg);
}


/* Call the instance's destructor. */
extern "C" {static void release_KShortcut(void *, int);}
static void release_KShortcut(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KShortcut *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KShortcut(void *, SIP_SSIZE_T, const void *);}
static void assign_KShortcut(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KShortcut *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KShortcut *>(sipSrc);
}


extern "C" {static void *array_KShortcut(SIP_SSIZE_T);}
static void *array_KShortcut(SIP_SSIZE_T sipNrElem)
{
    return new KShortcut[sipNrElem];
}


extern "C" {static void *copy_KShortcut(const void *, SIP_SSIZE_T);}
static void *copy_KShortcut(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KShortcut(reinterpret_cast<const KShortcut *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KShortcut(sipSimpleWrapper *);}
static void dealloc_KShortcut(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KShortcut(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_KShortcut(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KShortcut(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KShortcut *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KShortcut();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QKeySequence* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QKeySequence, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KShortcut(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QKeySequence *>(a0),sipType_QKeySequence,a0State);

            return sipCpp;
        }
    }

    {
        const QKeySequence* a0;
        int a0State = 0;
        const QKeySequence* a1;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J1", sipType_QKeySequence, &a0, &a0State, sipType_QKeySequence, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KShortcut(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QKeySequence *>(a0),sipType_QKeySequence,a0State);
            sipReleaseType(const_cast<QKeySequence *>(a1),sipType_QKeySequence,a1State);

            return sipCpp;
        }
    }

    {
        int a0;
        int a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i|i", &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KShortcut(a0,a1);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const KShortcut* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_KShortcut, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KShortcut(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KShortcut(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipCpp;
        }
    }

    {
        const QList<QKeySequence>* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QList_0100QKeySequence,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KShortcut(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QList<QKeySequence> *>(a0),sipType_QList_0100QKeySequence,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KShortcut[] = {
    {(void *)slot_KShortcut___ne__, ne_slot},
    {(void *)slot_KShortcut___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_KShortcut[] = {
    {SIP_MLNAME_CAST(sipName_alternate), meth_KShortcut_alternate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_conflictsWith), meth_KShortcut_conflictsWith, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contains), meth_KShortcut_contains, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isEmpty), meth_KShortcut_isEmpty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_primary), meth_KShortcut_primary, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_remove), meth_KShortcut_remove, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAlternate), meth_KShortcut_setAlternate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPrimary), meth_KShortcut_setPrimary, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toList), meth_KShortcut_toList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toString), meth_KShortcut_toString, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KShortcut[] = {
    {sipName_KeepEmpty, static_cast<int>(KShortcut::KeepEmpty), 276},
    {sipName_RemoveEmpty, static_cast<int>(KShortcut::RemoveEmpty), 276},
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KShortcut = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KShortcut,
        {0}
    },
    {
        sipNameNr_KShortcut,
        {0, 0, 1},
        10, methods_KShortcut,
        2, enummembers_KShortcut,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    slots_KShortcut,
    init_type_KShortcut,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KShortcut,
    assign_KShortcut,
    array_KShortcut,
    copy_KShortcut,
    release_KShortcut,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/ksessionmanager.sip"
#include <ksessionmanager.h>
#line 40294 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"

#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 40298 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qsessionmanager.sip"
#include <qsessionmanager.h>
#line 40301 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"


class sipKSessionManager : public KSessionManager
{
public:
    sipKSessionManager();
    virtual ~sipKSessionManager();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool commitData(QSessionManager&);
    bool saveState(QSessionManager&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKSessionManager(const sipKSessionManager &);
    sipKSessionManager &operator = (const sipKSessionManager &);

    char sipPyMethods[2];
};

sipKSessionManager::sipKSessionManager(): KSessionManager(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKSessionManager::~sipKSessionManager()
{
    sipCommonDtor(sipPySelf);
}

bool sipKSessionManager::commitData(QSessionManager& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_commitData);

    if (!sipMeth)
        return KSessionManager::commitData(a0);

    extern bool sipVH_kdeui_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QSessionManager&);

    return sipVH_kdeui_46(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKSessionManager::saveState(QSessionManager& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_saveState);

    if (!sipMeth)
        return KSessionManager::saveState(a0);

    extern bool sipVH_kdeui_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QSessionManager&);

    return sipVH_kdeui_46(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KSessionManager_saveState(PyObject *, PyObject *);}
static PyObject *meth_KSessionManager_saveState(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QSessionManager* a0;
        KSessionManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KSessionManager, &sipCpp, sipType_QSessionManager, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KSessionManager::saveState(*a0) : sipCpp->saveState(*a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSessionManager, sipName_saveState, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSessionManager_commitData(PyObject *, PyObject *);}
static PyObject *meth_KSessionManager_commitData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QSessionManager* a0;
        KSessionManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KSessionManager, &sipCpp, sipType_QSessionManager, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KSessionManager::commitData(*a0) : sipCpp->commitData(*a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSessionManager, sipName_commitData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSessionManager_sessionClients(PyObject *, PyObject *);}
static PyObject *meth_KSessionManager_sessionClients(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QList<KSessionManager*>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &KSessionManager::sessionClients();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QList_0101KSessionManager,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSessionManager, sipName_sessionClients, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KSessionManager(void *, int);}
static void release_KSessionManager(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKSessionManager *>(sipCppV);
    else
        delete reinterpret_cast<KSessionManager *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KSessionManager(sipSimpleWrapper *);}
static void dealloc_KSessionManager(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKSessionManager *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KSessionManager(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KSessionManager(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KSessionManager(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipKSessionManager *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKSessionManager();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KSessionManager[] = {
    {SIP_MLNAME_CAST(sipName_commitData), meth_KSessionManager_commitData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_saveState), meth_KSessionManager_saveState, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sessionClients), meth_KSessionManager_sessionClients, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KSessionManager = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KSessionManager,
        {0}
    },
    {
        sipNameNr_KSessionManager,
        {0, 0, 1},
        3, methods_KSessionManager,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KSessionManager,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KSessionManager,
    0,
    0,
    0,
    release_KSessionManager,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kseparator.sip"
#include <kseparator.h>
#line 40564 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 40568 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 40571 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 40574 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 40577 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 40580 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40583 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 40586 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qframe.sip"
#include <qframe.h>
#line 40589 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 40592 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 40595 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 40598 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 40601 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 40604 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 40607 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 40610 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 40613 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 40616 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 40619 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 40622 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 40625 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 40628 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 40631 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 40634 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 40637 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 40640 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 40643 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40646 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40649 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40652 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40655 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40658 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40661 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40664 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40667 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40670 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40673 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40676 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40679 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40682 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40685 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40688 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40691 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40694 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 40697 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 40700 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 40703 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 40706 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 40709 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 40712 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 40715 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 40718 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 40721 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 40724 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 40727 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 40730 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 40733 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 40736 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 40739 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 40742 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 40745 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 40748 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 40751 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 40754 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 40757 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"


class sipKSeparator : public KSeparator
{
public:
    sipKSeparator(QWidget*,Qt::WFlags);
    sipKSeparator(Qt::Orientation,QWidget*,Qt::WFlags);
    virtual ~sipKSeparator();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void resizeEvent(QResizeEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    QSize minimumSizeHint() const;
    void setVisible(bool);
    int devType() const;
    void changeEvent(QEvent*);
    void paintEvent(QPaintEvent*);
    bool event(QEvent*);
    QSize sizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKSeparator(const sipKSeparator &);
    sipKSeparator &operator = (const sipKSeparator &);

    char sipPyMethods[47];
};

sipKSeparator::sipKSeparator(QWidget*a0,Qt::WFlags a1): KSeparator(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKSeparator::sipKSeparator(Qt::Orientation a0,QWidget*a1,Qt::WFlags a2): KSeparator(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKSeparator::~sipKSeparator()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKSeparator::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KSeparator);
}

int sipKSeparator::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KSeparator::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KSeparator,_c,_id,_a);

    return _id;
}

void *sipKSeparator::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KSeparator, _clname)) ? this : KSeparator::qt_metacast(_clname);
}

void sipKSeparator::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KSeparator::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KSeparator::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KSeparator::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KSeparator::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KSeparator::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKSeparator::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KSeparator::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKSeparator::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KSeparator::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKSeparator::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KSeparator::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KSeparator::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_kdeui_QtGui->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KSeparator::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kdeui_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KSeparator::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKSeparator::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KSeparator::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kdeui_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipKSeparator::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return KSeparator::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_kdeui_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KSeparator::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_kdeui_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKSeparator::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return KSeparator::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kdeui_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KSeparator::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_kdeui_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KSeparator::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kdeui_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KSeparator::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kdeui_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KSeparator::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kdeui_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KSeparator::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtGui_17)(sipModuleAPI_kdeui_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KSeparator::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kdeui_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KSeparator::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kdeui_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KSeparator::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kdeui_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KSeparator::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kdeui_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KSeparator::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_kdeui_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KSeparator::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kdeui_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KSeparator::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kdeui_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KSeparator::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KSeparator::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KSeparator::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KSeparator::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KSeparator::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KSeparator::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KSeparator::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kdeui_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KSeparator::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KSeparator::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KSeparator::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KSeparator::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPaintEngine* sipKSeparator::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KSeparator::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKSeparator::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return KSeparator::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kdeui_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKSeparator::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KSeparator::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKSeparator::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KSeparator::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKSeparator::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KSeparator::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kdeui_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKSeparator::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KSeparator::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KSeparator::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kdeui_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKSeparator::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KSeparator::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKSeparator::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KSeparator::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KSeparator_orientation(PyObject *, PyObject *);}
static PyObject *meth_KSeparator_orientation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KSeparator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KSeparator, &sipCpp))
        {
            Qt::Orientation sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->orientation();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Qt_Orientation);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSeparator, sipName_orientation, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSeparator_setOrientation(PyObject *, PyObject *);}
static PyObject *meth_KSeparator_setOrientation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::Orientation a0;
        KSeparator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KSeparator, &sipCpp, sipType_Qt_Orientation, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setOrientation(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSeparator, sipName_setOrientation, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_KSeparator(void *, const sipTypeDef *);}
static void *cast_KSeparator(void *sipCppV, const sipTypeDef *targetType)
{
    KSeparator *sipCpp = reinterpret_cast<KSeparator *>(sipCppV);

    if (targetType == sipType_QPaintDevice)
        return static_cast<QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KSeparator(void *, int);}
static void release_KSeparator(void *sipCppV,int)
{
    KSeparator *sipCpp = reinterpret_cast<KSeparator *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KSeparator(sipSimpleWrapper *);}
static void dealloc_KSeparator(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKSeparator *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KSeparator(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KSeparator(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KSeparator(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKSeparator *sipCpp = 0;

    {
        QWidget* a0 = 0;
        Qt::WFlags a1def = 0;
        Qt::WFlags* a1 = &a1def;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JHJ1", sipType_QWidget, &a0, sipOwner, sipType_Qt_WindowFlags, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKSeparator(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_Qt_WindowFlags,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        Qt::Orientation a0;
        QWidget* a1 = 0;
        Qt::WFlags a2def = 0;
        Qt::WFlags* a2 = &a2def;
        int a2State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "E|JHJ1", sipType_Qt_Orientation, &a0, sipType_QWidget, &a1, sipOwner, sipType_Qt_WindowFlags, &a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKSeparator(a0,a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(a2,sipType_Qt_WindowFlags,a2State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KSeparator[] = {{143, 2, 1}};


static PyMethodDef methods_KSeparator[] = {
    {SIP_MLNAME_CAST(sipName_orientation), meth_KSeparator_orientation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOrientation), meth_KSeparator_setOrientation, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KSeparator = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KSeparator,
        {0}
    },
    {
        sipNameNr_KSeparator,
        {0, 0, 1},
        2, methods_KSeparator,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KSeparator,
    0,
    init_type_KSeparator,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KSeparator,
    0,
    0,
    0,
    release_KSeparator,
    cast_KSeparator,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KSeparator::staticMetaObject,
    0,
    0
};

#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kselector.sip"
#include <kselector.h>
#line 41896 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 41900 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 41903 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 247 "/usr/share/python3-sip/PyQt4/QtCore/qvector.sip"
#include <qvector.h>
#include <qpair.h>
#line 41907 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcolor.sip"
#include <qcolor.h>
#line 41910 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 41913 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 41916 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 41919 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 41922 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 41925 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 41928 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 41931 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 41934 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 41937 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 41940 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 41943 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qabstractslider.sip"
#include <qabstractslider.h>
#line 41946 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 41949 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 41952 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 41955 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 41958 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 41961 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 41964 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 41967 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 41970 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 41973 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 41976 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 41979 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 41982 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 41985 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 41988 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 41991 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 41994 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 41997 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42000 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42003 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42006 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42009 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42012 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42015 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42018 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42021 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42024 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42027 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42030 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42033 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42036 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 42039 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 42042 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 42045 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 42048 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 42051 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 42054 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 42057 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 42060 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 42063 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 42066 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 42069 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 42072 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 42075 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 42078 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 42081 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 42084 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 42087 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 42090 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 42093 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 42096 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"


class sipKGradientSelector : public KGradientSelector
{
public:
    sipKGradientSelector(QWidget*);
    sipKGradientSelector(Qt::Orientation,QWidget*);
    virtual ~sipKGradientSelector();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    bool eventFilter(QObject*,QEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void resizeEvent(QResizeEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;
    void changeEvent(QEvent*);
    void timerEvent(QTimerEvent*);
    void keyPressEvent(QKeyEvent*);
    bool event(QEvent*);
    void sliderChange(QAbstractSlider::SliderChange);
    void wheelEvent(QWheelEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    void paintEvent(QPaintEvent*);
    void drawArrow(QPainter*,const QPoint&);
    QSize minimumSize() const;
    void drawContents(QPainter*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKGradientSelector(const sipKGradientSelector &);
    sipKGradientSelector &operator = (const sipKGradientSelector &);

    char sipPyMethods[51];
};

sipKGradientSelector::sipKGradientSelector(QWidget*a0): KGradientSelector(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKGradientSelector::sipKGradientSelector(Qt::Orientation a0,QWidget*a1): KGradientSelector(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKGradientSelector::~sipKGradientSelector()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKGradientSelector::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KGradientSelector);
}

int sipKGradientSelector::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KGradientSelector::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KGradientSelector,_c,_id,_a);

    return _id;
}

void *sipKGradientSelector::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KGradientSelector, _clname)) ? this : KGradientSelector::qt_metacast(_clname);
}

void sipKGradientSelector::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KGradientSelector::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KGradientSelector::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KGradientSelector::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KGradientSelector::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKGradientSelector::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KGradientSelector::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKGradientSelector::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KGradientSelector::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKGradientSelector::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KGradientSelector::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KGradientSelector::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_kdeui_QtGui->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KGradientSelector::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kdeui_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KGradientSelector::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKGradientSelector::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KGradientSelector::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kdeui_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipKGradientSelector::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return KGradientSelector::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_kdeui_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KGradientSelector::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_kdeui_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKGradientSelector::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return KGradientSelector::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kdeui_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KGradientSelector::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_kdeui_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KGradientSelector::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kdeui_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KGradientSelector::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kdeui_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KGradientSelector::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kdeui_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KGradientSelector::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtGui_17)(sipModuleAPI_kdeui_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KGradientSelector::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kdeui_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KGradientSelector::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kdeui_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KGradientSelector::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kdeui_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KGradientSelector::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kdeui_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KGradientSelector::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_kdeui_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KGradientSelector::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kdeui_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KGradientSelector::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kdeui_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KGradientSelector::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KGradientSelector::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KGradientSelector::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KGradientSelector::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KGradientSelector::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KGradientSelector::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPaintEngine* sipKGradientSelector::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[32]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KGradientSelector::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKGradientSelector::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return KGradientSelector::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kdeui_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKGradientSelector::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KGradientSelector::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKGradientSelector::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KGradientSelector::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKGradientSelector::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KGradientSelector::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKGradientSelector::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KGradientSelector::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kdeui_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKGradientSelector::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KGradientSelector::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KGradientSelector::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KGradientSelector::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKGradientSelector::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KGradientSelector::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::sliderChange(QAbstractSlider::SliderChange a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_sliderChange);

    if (!sipMeth)
    {
        KGradientSelector::sliderChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_116)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractSlider::SliderChange);

    ((sipVH_QtGui_116)(sipModuleAPI_kdeui_QtGui->em_virthandlers[116]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KGradientSelector::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kdeui_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KGradientSelector::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KGradientSelector::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KGradientSelector::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KGradientSelector::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kdeui_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::drawArrow(QPainter*a0,const QPoint& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_drawArrow);

    if (!sipMeth)
    {
        KGradientSelector::drawArrow(a0,a1);
        return;
    }

    extern void sipVH_kdeui_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QPoint&);

    sipVH_kdeui_47(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

QSize sipKGradientSelector::minimumSize() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[49]),sipPySelf,NULL,sipName_minimumSize);

    if (!sipMeth)
        return KGradientSelector::minimumSize();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKGradientSelector::drawContents(QPainter*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_drawContents);

    if (!sipMeth)
    {
        KGradientSelector::drawContents(a0);
        return;
    }

    typedef void (*sipVH_QtGui_108)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    ((sipVH_QtGui_108)(sipModuleAPI_kdeui_QtGui->em_virthandlers[108]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KGradientSelector_setColors(PyObject *, PyObject *);}
static PyObject *meth_KGradientSelector_setColors(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QColor* a0;
        int a0State = 0;
        const QColor* a1;
        int a1State = 0;
        KGradientSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_KGradientSelector, &sipCpp, sipType_QColor, &a0, &a0State, sipType_QColor, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setColors(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QColor *>(a0),sipType_QColor,a0State);
            sipReleaseType(const_cast<QColor *>(a1),sipType_QColor,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KGradientSelector, sipName_setColors, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KGradientSelector_setText(PyObject *, PyObject *);}
static PyObject *meth_KGradientSelector_setText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        KGradientSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_KGradientSelector, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setText(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KGradientSelector, sipName_setText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KGradientSelector_setFirstColor(PyObject *, PyObject *);}
static PyObject *meth_KGradientSelector_setFirstColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QColor* a0;
        int a0State = 0;
        KGradientSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KGradientSelector, &sipCpp, sipType_QColor, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFirstColor(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QColor *>(a0),sipType_QColor,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KGradientSelector, sipName_setFirstColor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KGradientSelector_setSecondColor(PyObject *, PyObject *);}
static PyObject *meth_KGradientSelector_setSecondColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QColor* a0;
        int a0State = 0;
        KGradientSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KGradientSelector, &sipCpp, sipType_QColor, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSecondColor(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QColor *>(a0),sipType_QColor,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KGradientSelector, sipName_setSecondColor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KGradientSelector_setFirstText(PyObject *, PyObject *);}
static PyObject *meth_KGradientSelector_setFirstText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KGradientSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KGradientSelector, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFirstText(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KGradientSelector, sipName_setFirstText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KGradientSelector_setSecondText(PyObject *, PyObject *);}
static PyObject *meth_KGradientSelector_setSecondText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KGradientSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KGradientSelector, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSecondText(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KGradientSelector, sipName_setSecondText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KGradientSelector_firstColor(PyObject *, PyObject *);}
static PyObject *meth_KGradientSelector_firstColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KGradientSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KGradientSelector, &sipCpp))
        {
            QColor*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QColor(sipCpp->firstColor());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QColor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KGradientSelector, sipName_firstColor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KGradientSelector_secondColor(PyObject *, PyObject *);}
static PyObject *meth_KGradientSelector_secondColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KGradientSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KGradientSelector, &sipCpp))
        {
            QColor*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QColor(sipCpp->secondColor());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QColor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KGradientSelector, sipName_secondColor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KGradientSelector_firstText(PyObject *, PyObject *);}
static PyObject *meth_KGradientSelector_firstText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KGradientSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KGradientSelector, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->firstText());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KGradientSelector, sipName_firstText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KGradientSelector_secondText(PyObject *, PyObject *);}
static PyObject *meth_KGradientSelector_secondText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KGradientSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KGradientSelector, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->secondText());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KGradientSelector, sipName_secondText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KGradientSelector_drawContents(PyObject *, PyObject *);}
static PyObject *meth_KGradientSelector_drawContents(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        KGradientSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KGradientSelector, &sipCpp, sipType_QPainter, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KGradientSelector::drawContents(a0) : sipCpp->drawContents(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KGradientSelector, sipName_drawContents, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KGradientSelector_minimumSize(PyObject *, PyObject *);}
static PyObject *meth_KGradientSelector_minimumSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KGradientSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KGradientSelector, &sipCpp))
        {
            QSize*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize((sipSelfWasArg ? sipCpp->KGradientSelector::minimumSize() : sipCpp->minimumSize()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KGradientSelector, sipName_minimumSize, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KGradientSelector_setStops(PyObject *, PyObject *);}
static PyObject *meth_KGradientSelector_setStops(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGradientStops* a0;
        int a0State = 0;
        KGradientSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KGradientSelector, &sipCpp, sipType_QVector_0600QPair_2400_0100QColor,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setStops(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QGradientStops *>(a0),sipType_QVector_0600QPair_2400_0100QColor,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KGradientSelector, sipName_setStops, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KGradientSelector_stops(PyObject *, PyObject *);}
static PyObject *meth_KGradientSelector_stops(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KGradientSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KGradientSelector, &sipCpp))
        {
            QGradientStops*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QGradientStops(sipCpp->stops());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QVector_0600QPair_2400_0100QColor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KGradientSelector, sipName_stops, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_KGradientSelector(void *, const sipTypeDef *);}
static void *cast_KGradientSelector(void *sipCppV, const sipTypeDef *targetType)
{
    KGradientSelector *sipCpp = reinterpret_cast<KGradientSelector *>(sipCppV);

    if (targetType == sipType_QPaintDevice)
        return static_cast<QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KGradientSelector(void *, int);}
static void release_KGradientSelector(void *sipCppV,int)
{
    KGradientSelector *sipCpp = reinterpret_cast<KGradientSelector *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KGradientSelector(sipSimpleWrapper *);}
static void dealloc_KGradientSelector(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKGradientSelector *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KGradientSelector(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KGradientSelector(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KGradientSelector(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKGradientSelector *sipCpp = 0;

    {
        QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKGradientSelector(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        Qt::Orientation a0;
        QWidget* a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "E|JH", sipType_Qt_Orientation, &a0, sipType_QWidget, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKGradientSelector(a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KGradientSelector[] = {{271, 255, 1}};


static PyMethodDef methods_KGradientSelector[] = {
    {SIP_MLNAME_CAST(sipName_drawContents), meth_KGradientSelector_drawContents, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_firstColor), meth_KGradientSelector_firstColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_firstText), meth_KGradientSelector_firstText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_minimumSize), meth_KGradientSelector_minimumSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_secondColor), meth_KGradientSelector_secondColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_secondText), meth_KGradientSelector_secondText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setColors), meth_KGradientSelector_setColors, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFirstColor), meth_KGradientSelector_setFirstColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFirstText), meth_KGradientSelector_setFirstText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSecondColor), meth_KGradientSelector_setSecondColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSecondText), meth_KGradientSelector_setSecondText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setStops), meth_KGradientSelector_setStops, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setText), meth_KGradientSelector_setText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_stops), meth_KGradientSelector_stops, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KGradientSelector = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KGradientSelector,
        {0}
    },
    {
        sipNameNr_KGradientSelector,
        {0, 0, 1},
        14, methods_KGradientSelector,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KGradientSelector,
    0,
    init_type_KGradientSelector,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KGradientSelector,
    0,
    0,
    0,
    release_KGradientSelector,
    cast_KGradientSelector,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KGradientSelector::staticMetaObject,
    0,
    0
};

#line 23 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kselectionproxymodel.sip"
#include <kselectionproxymodel.h>
#line 43658 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"

#line 89 "/usr/share/python3-sip/PyQt4/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 43662 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 43665 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 169 "/usr/share/python3-sip/PyQt4/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 43668 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 43671 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 43674 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 43677 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 43680 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 43683 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 78 "/usr/share/python3-sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 43686 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 43689 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 43692 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 43695 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 43698 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 43701 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 122 "/usr/share/python3-sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 43704 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 43707 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 139 "/usr/share/python3-sip/PyQt4/QtCore/qmap.sip"
#include <qmap.h>
#line 43710 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 43713 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 139 "/usr/share/python3-sip/PyQt4/QtCore/qhash.sip"
#include <qhash.h>
#line 43716 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 43719 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 43722 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 43725 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 43728 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 43731 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 43734 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 43737 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 43740 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 43743 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 43746 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 43749 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"


class sipKSelectionProxyModel : public KSelectionProxyModel
{
public:
    sipKSelectionProxyModel(QItemSelectionModel*,QObject*);
    virtual ~sipKSelectionProxyModel();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    bool removeColumns(int,int,const QModelIndex&);
    bool removeRows(int,int,const QModelIndex&);
    bool insertColumns(int,int,const QModelIndex&);
    bool insertRows(int,int,const QModelIndex&);
    QVariant data(const QModelIndex&,int) const;
    QSize span(const QModelIndex&) const;
    void sort(int,Qt::SortOrder);
    void fetchMore(const QModelIndex&);
    bool canFetchMore(const QModelIndex&) const;
    QModelIndex buddy(const QModelIndex&) const;
    bool setItemData(const QModelIndex&,const QMap<int,QVariant>&);
    QMap<int,QVariant> itemData(const QModelIndex&) const;
    bool setHeaderData(int,Qt::Orientation,const QVariant&,int);
    bool setData(const QModelIndex&,const QVariant&,int);
    void revert();
    bool submit();
    QItemSelection mapSelectionFromSource(const QItemSelection&) const;
    QItemSelection mapSelectionToSource(const QItemSelection&) const;
    QModelIndex mapFromSource(const QModelIndex&) const;
    QModelIndex mapToSource(const QModelIndex&) const;
    QModelIndexList match(const QModelIndex&,int,const QVariant&,int,Qt::MatchFlags) const;
    int columnCount(const QModelIndex&) const;
    QModelIndex parent(const QModelIndex&) const;
    QModelIndex index(int,int,const QModelIndex&) const;
    bool hasChildren(const QModelIndex&) const;
    bool dropMimeData(const QMimeData*,Qt::DropAction,int,int,const QModelIndex&);
    Qt::DropActions supportedDropActions() const;
    QStringList mimeTypes() const;
    QMimeData* mimeData(const QModelIndexList&) const;
    QVariant headerData(int,Qt::Orientation,int) const;
    int rowCount(const QModelIndex&) const;
    Qt::ItemFlags flags(const QModelIndex&) const;
    void setSourceModel(QAbstractItemModel*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKSelectionProxyModel(const sipKSelectionProxyModel &);
    sipKSelectionProxyModel &operator = (const sipKSelectionProxyModel &);

    char sipPyMethods[41];
};

sipKSelectionProxyModel::sipKSelectionProxyModel(QItemSelectionModel*a0,QObject*a1): KSelectionProxyModel(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKSelectionProxyModel::~sipKSelectionProxyModel()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKSelectionProxyModel::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KSelectionProxyModel);
}

int sipKSelectionProxyModel::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KSelectionProxyModel::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KSelectionProxyModel,_c,_id,_a);

    return _id;
}

void *sipKSelectionProxyModel::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KSelectionProxyModel, _clname)) ? this : KSelectionProxyModel::qt_metacast(_clname);
}

void sipKSelectionProxyModel::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KSelectionProxyModel::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelectionProxyModel::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KSelectionProxyModel::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelectionProxyModel::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KSelectionProxyModel::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelectionProxyModel::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KSelectionProxyModel::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelectionProxyModel::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KSelectionProxyModel::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKSelectionProxyModel::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KSelectionProxyModel::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKSelectionProxyModel::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KSelectionProxyModel::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKSelectionProxyModel::removeColumns(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_removeColumns);

    if (!sipMeth)
        return KSelectionProxyModel::removeColumns(a0,a1,a2);

    typedef bool (*sipVH_QtCore_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_52)(sipModuleAPI_kdeui_QtCore->em_virthandlers[52]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKSelectionProxyModel::removeRows(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_removeRows);

    if (!sipMeth)
        return KSelectionProxyModel::removeRows(a0,a1,a2);

    typedef bool (*sipVH_QtCore_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_52)(sipModuleAPI_kdeui_QtCore->em_virthandlers[52]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKSelectionProxyModel::insertColumns(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_insertColumns);

    if (!sipMeth)
        return KSelectionProxyModel::insertColumns(a0,a1,a2);

    typedef bool (*sipVH_QtCore_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_52)(sipModuleAPI_kdeui_QtCore->em_virthandlers[52]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKSelectionProxyModel::insertRows(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_insertRows);

    if (!sipMeth)
        return KSelectionProxyModel::insertRows(a0,a1,a2);

    typedef bool (*sipVH_QtCore_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_52)(sipModuleAPI_kdeui_QtCore->em_virthandlers[52]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

QVariant sipKSelectionProxyModel::data(const QModelIndex& a0,int a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_data);

    if (!sipMeth)
        return KSelectionProxyModel::data(a0,a1);

    typedef QVariant (*sipVH_QtCore_60)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int);

    return ((sipVH_QtCore_60)(sipModuleAPI_kdeui_QtCore->em_virthandlers[60]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

QSize sipKSelectionProxyModel::span(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_span);

    if (!sipMeth)
        return KSelectionProxyModel::span(a0);

    typedef QSize (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_47)(sipModuleAPI_kdeui_QtCore->em_virthandlers[47]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelectionProxyModel::sort(int a0,Qt::SortOrder a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_sort);

    if (!sipMeth)
    {
        KSelectionProxyModel::sort(a0,a1);
        return;
    }

    typedef void (*sipVH_QtCore_49)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::SortOrder);

    ((sipVH_QtCore_49)(sipModuleAPI_kdeui_QtCore->em_virthandlers[49]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKSelectionProxyModel::fetchMore(const QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_fetchMore);

    if (!sipMeth)
    {
        KSelectionProxyModel::fetchMore(a0);
        return;
    }

    typedef void (*sipVH_QtCore_51)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    ((sipVH_QtCore_51)(sipModuleAPI_kdeui_QtCore->em_virthandlers[51]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKSelectionProxyModel::canFetchMore(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_canFetchMore);

    if (!sipMeth)
        return KSelectionProxyModel::canFetchMore(a0);

    typedef bool (*sipVH_QtCore_42)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_42)(sipModuleAPI_kdeui_QtCore->em_virthandlers[42]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QModelIndex sipKSelectionProxyModel::buddy(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_buddy);

    if (!sipMeth)
        return KSelectionProxyModel::buddy(a0);

    typedef QModelIndex (*sipVH_QtCore_44)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_44)(sipModuleAPI_kdeui_QtCore->em_virthandlers[44]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKSelectionProxyModel::setItemData(const QModelIndex& a0,const QMap<int,QVariant>& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_setItemData);

    if (!sipMeth)
        return KSelectionProxyModel::setItemData(a0,a1);

    typedef bool (*sipVH_QtCore_55)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QMap<int,QVariant>&);

    return ((sipVH_QtCore_55)(sipModuleAPI_kdeui_QtCore->em_virthandlers[55]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

QMap<int,QVariant> sipKSelectionProxyModel::itemData(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_itemData);

    if (!sipMeth)
        return KSelectionProxyModel::itemData(a0);

    typedef QMap<int,QVariant> (*sipVH_QtCore_56)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_56)(sipModuleAPI_kdeui_QtCore->em_virthandlers[56]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKSelectionProxyModel::setHeaderData(int a0,Qt::Orientation a1,const QVariant& a2,int a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_setHeaderData);

    if (!sipMeth)
        return KSelectionProxyModel::setHeaderData(a0,a1,a2,a3);

    typedef bool (*sipVH_QtCore_57)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::Orientation,const QVariant&,int);

    return ((sipVH_QtCore_57)(sipModuleAPI_kdeui_QtCore->em_virthandlers[57]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

bool sipKSelectionProxyModel::setData(const QModelIndex& a0,const QVariant& a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_setData);

    if (!sipMeth)
        return KSelectionProxyModel::setData(a0,a1,a2);

    typedef bool (*sipVH_QtCore_59)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QVariant&,int);

    return ((sipVH_QtCore_59)(sipModuleAPI_kdeui_QtCore->em_virthandlers[59]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKSelectionProxyModel::revert()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_revert);

    if (!sipMeth)
    {
        KSelectionProxyModel::revert();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKSelectionProxyModel::submit()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_submit);

    if (!sipMeth)
        return KSelectionProxyModel::submit();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_kdeui_QtCore->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth);
}

QItemSelection sipKSelectionProxyModel::mapSelectionFromSource(const QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_mapSelectionFromSource);

    if (!sipMeth)
        return KSelectionProxyModel::mapSelectionFromSource(a0);

    typedef QItemSelection (*sipVH_QtGui_115)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QItemSelection&);

    return ((sipVH_QtGui_115)(sipModuleAPI_kdeui_QtGui->em_virthandlers[115]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QItemSelection sipKSelectionProxyModel::mapSelectionToSource(const QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_mapSelectionToSource);

    if (!sipMeth)
        return KSelectionProxyModel::mapSelectionToSource(a0);

    typedef QItemSelection (*sipVH_QtGui_115)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QItemSelection&);

    return ((sipVH_QtGui_115)(sipModuleAPI_kdeui_QtGui->em_virthandlers[115]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QModelIndex sipKSelectionProxyModel::mapFromSource(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_mapFromSource);

    if (!sipMeth)
        return KSelectionProxyModel::mapFromSource(a0);

    typedef QModelIndex (*sipVH_QtCore_44)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_44)(sipModuleAPI_kdeui_QtCore->em_virthandlers[44]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QModelIndex sipKSelectionProxyModel::mapToSource(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,NULL,sipName_mapToSource);

    if (!sipMeth)
        return KSelectionProxyModel::mapToSource(a0);

    typedef QModelIndex (*sipVH_QtCore_44)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_44)(sipModuleAPI_kdeui_QtCore->em_virthandlers[44]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QModelIndexList sipKSelectionProxyModel::match(const QModelIndex& a0,int a1,const QVariant& a2,int a3,Qt::MatchFlags a4) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_match);

    if (!sipMeth)
        return KSelectionProxyModel::match(a0,a1,a2,a3,a4);

    typedef QList<QModelIndex> (*sipVH_QtCore_48)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,const QVariant&,int,Qt::MatchFlags);

    return ((sipVH_QtCore_48)(sipModuleAPI_kdeui_QtCore->em_virthandlers[48]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

int sipKSelectionProxyModel::columnCount(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,NULL,sipName_columnCount);

    if (!sipMeth)
        return KSelectionProxyModel::columnCount(a0);

    typedef int (*sipVH_QtCore_43)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_43)(sipModuleAPI_kdeui_QtCore->em_virthandlers[43]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QModelIndex sipKSelectionProxyModel::parent(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_parent);

    if (!sipMeth)
        return KSelectionProxyModel::parent(a0);

    typedef QModelIndex (*sipVH_QtCore_44)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_44)(sipModuleAPI_kdeui_QtCore->em_virthandlers[44]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QModelIndex sipKSelectionProxyModel::index(int a0,int a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_index);

    if (!sipMeth)
        return KSelectionProxyModel::index(a0,a1,a2);

    typedef QModelIndex (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_46)(sipModuleAPI_kdeui_QtCore->em_virthandlers[46]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKSelectionProxyModel::hasChildren(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_hasChildren);

    if (!sipMeth)
        return KSelectionProxyModel::hasChildren(a0);

    typedef bool (*sipVH_QtCore_42)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_42)(sipModuleAPI_kdeui_QtCore->em_virthandlers[42]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKSelectionProxyModel::dropMimeData(const QMimeData*a0,Qt::DropAction a1,int a2,int a3,const QModelIndex& a4)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_dropMimeData);

    if (!sipMeth)
        return KSelectionProxyModel::dropMimeData(a0,a1,a2,a3,a4);

    typedef bool (*sipVH_QtCore_45)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMimeData*,Qt::DropAction,int,int,const QModelIndex&);

    return ((sipVH_QtCore_45)(sipModuleAPI_kdeui_QtCore->em_virthandlers[45]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

Qt::DropActions sipKSelectionProxyModel::supportedDropActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_supportedDropActions);

    if (!sipMeth)
        return KSelectionProxyModel::supportedDropActions();

    typedef Qt::DropActions (*sipVH_QtCore_53)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_53)(sipModuleAPI_kdeui_QtCore->em_virthandlers[53]))(sipGILState, 0, sipPySelf, sipMeth);
}

QStringList sipKSelectionProxyModel::mimeTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_mimeTypes);

    if (!sipMeth)
        return KSelectionProxyModel::mimeTypes();

    typedef QStringList (*sipVH_QtCore_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_27)(sipModuleAPI_kdeui_QtCore->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

QMimeData* sipKSelectionProxyModel::mimeData(const QModelIndexList& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_mimeData);

    if (!sipMeth)
        return KSelectionProxyModel::mimeData(a0);

    typedef QMimeData* (*sipVH_QtGui_216)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QList<QModelIndex>&);

    return ((sipVH_QtGui_216)(sipModuleAPI_kdeui_QtGui->em_virthandlers[216]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipKSelectionProxyModel::headerData(int a0,Qt::Orientation a1,int a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_headerData);

    if (!sipMeth)
        return KSelectionProxyModel::headerData(a0,a1,a2);

    typedef QVariant (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::Orientation,int);

    return ((sipVH_QtCore_58)(sipModuleAPI_kdeui_QtCore->em_virthandlers[58]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

int sipKSelectionProxyModel::rowCount(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_rowCount);

    if (!sipMeth)
        return KSelectionProxyModel::rowCount(a0);

    typedef int (*sipVH_QtCore_43)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_43)(sipModuleAPI_kdeui_QtCore->em_virthandlers[43]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

Qt::ItemFlags sipKSelectionProxyModel::flags(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_flags);

    if (!sipMeth)
        return KSelectionProxyModel::flags(a0);

    typedef Qt::ItemFlags (*sipVH_QtCore_50)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_50)(sipModuleAPI_kdeui_QtCore->em_virthandlers[50]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelectionProxyModel::setSourceModel(QAbstractItemModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_setSourceModel);

    if (!sipMeth)
    {
        KSelectionProxyModel::setSourceModel(a0);
        return;
    }

    typedef void (*sipVH_QtGui_36)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractItemModel*);

    ((sipVH_QtGui_36)(sipModuleAPI_kdeui_QtGui->em_virthandlers[36]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KSelectionProxyModel_setSourceModel(PyObject *, PyObject *);}
static PyObject *meth_KSelectionProxyModel_setSourceModel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QAbstractItemModel* a0;
        KSelectionProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KSelectionProxyModel, &sipCpp, sipType_QAbstractItemModel, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KSelectionProxyModel::setSourceModel(a0) : sipCpp->setSourceModel(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSelectionProxyModel, sipName_setSourceModel, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSelectionProxyModel_selectionModel(PyObject *, PyObject *);}
static PyObject *meth_KSelectionProxyModel_selectionModel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KSelectionProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KSelectionProxyModel, &sipCpp))
        {
            QItemSelectionModel*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->selectionModel();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QItemSelectionModel,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSelectionProxyModel, sipName_selectionModel, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSelectionProxyModel_setFilterBehavior(PyObject *, PyObject *);}
static PyObject *meth_KSelectionProxyModel_setFilterBehavior(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KSelectionProxyModel::FilterBehavior a0;
        KSelectionProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KSelectionProxyModel, &sipCpp, sipType_KSelectionProxyModel_FilterBehavior, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFilterBehavior(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSelectionProxyModel, sipName_setFilterBehavior, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSelectionProxyModel_filterBehavior(PyObject *, PyObject *);}
static PyObject *meth_KSelectionProxyModel_filterBehavior(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KSelectionProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KSelectionProxyModel, &sipCpp))
        {
            KSelectionProxyModel::FilterBehavior sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->filterBehavior();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KSelectionProxyModel_FilterBehavior);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSelectionProxyModel, sipName_filterBehavior, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSelectionProxyModel_mapFromSource(PyObject *, PyObject *);}
static PyObject *meth_KSelectionProxyModel_mapFromSource(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const KSelectionProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KSelectionProxyModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            QModelIndex*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndex((sipSelfWasArg ? sipCpp->KSelectionProxyModel::mapFromSource(*a0) : sipCpp->mapFromSource(*a0)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSelectionProxyModel, sipName_mapFromSource, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSelectionProxyModel_mapToSource(PyObject *, PyObject *);}
static PyObject *meth_KSelectionProxyModel_mapToSource(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const KSelectionProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KSelectionProxyModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            QModelIndex*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndex((sipSelfWasArg ? sipCpp->KSelectionProxyModel::mapToSource(*a0) : sipCpp->mapToSource(*a0)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSelectionProxyModel, sipName_mapToSource, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSelectionProxyModel_flags(PyObject *, PyObject *);}
static PyObject *meth_KSelectionProxyModel_flags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const KSelectionProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KSelectionProxyModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            Qt::ItemFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::ItemFlags((sipSelfWasArg ? sipCpp->KSelectionProxyModel::flags(*a0) : sipCpp->flags(*a0)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_Qt_ItemFlags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSelectionProxyModel, sipName_flags, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSelectionProxyModel_data(PyObject *, PyObject *);}
static PyObject *meth_KSelectionProxyModel_data(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        int a1 = Qt::DisplayRole;
        const KSelectionProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9|i", &sipSelf, sipType_KSelectionProxyModel, &sipCpp, sipType_QModelIndex, &a0, &a1))
        {
            QVariant*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((sipSelfWasArg ? sipCpp->KSelectionProxyModel::data(*a0,a1) : sipCpp->data(*a0,a1)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSelectionProxyModel, sipName_data, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSelectionProxyModel_rowCount(PyObject *, PyObject *);}
static PyObject *meth_KSelectionProxyModel_rowCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex& a0def = QModelIndex();
        const QModelIndex* a0 = &a0def;
        const KSelectionProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J9", &sipSelf, sipType_KSelectionProxyModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KSelectionProxyModel::rowCount(*a0) : sipCpp->rowCount(*a0));
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSelectionProxyModel, sipName_rowCount, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSelectionProxyModel_headerData(PyObject *, PyObject *);}
static PyObject *meth_KSelectionProxyModel_headerData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        Qt::Orientation a1;
        int a2 = Qt::DisplayRole;
        const KSelectionProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiE|i", &sipSelf, sipType_KSelectionProxyModel, &sipCpp, &a0, sipType_Qt_Orientation, &a1, &a2))
        {
            QVariant*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((sipSelfWasArg ? sipCpp->KSelectionProxyModel::headerData(a0,a1,a2) : sipCpp->headerData(a0,a1,a2)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSelectionProxyModel, sipName_headerData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSelectionProxyModel_mimeData(PyObject *, PyObject *);}
static PyObject *meth_KSelectionProxyModel_mimeData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndexList* a0;
        int a0State = 0;
        const KSelectionProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KSelectionProxyModel, &sipCpp, sipType_QList_0100QModelIndex,&a0, &a0State))
        {
            QMimeData*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KSelectionProxyModel::mimeData(*a0) : sipCpp->mimeData(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QModelIndexList *>(a0),sipType_QList_0100QModelIndex,a0State);

            return sipConvertFromType(sipRes,sipType_QMimeData,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSelectionProxyModel, sipName_mimeData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSelectionProxyModel_mimeTypes(PyObject *, PyObject *);}
static PyObject *meth_KSelectionProxyModel_mimeTypes(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KSelectionProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KSelectionProxyModel, &sipCpp))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList((sipSelfWasArg ? sipCpp->KSelectionProxyModel::mimeTypes() : sipCpp->mimeTypes()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSelectionProxyModel, sipName_mimeTypes, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSelectionProxyModel_supportedDropActions(PyObject *, PyObject *);}
static PyObject *meth_KSelectionProxyModel_supportedDropActions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KSelectionProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KSelectionProxyModel, &sipCpp))
        {
            Qt::DropActions*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::DropActions((sipSelfWasArg ? sipCpp->KSelectionProxyModel::supportedDropActions() : sipCpp->supportedDropActions()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_Qt_DropActions,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSelectionProxyModel, sipName_supportedDropActions, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSelectionProxyModel_dropMimeData(PyObject *, PyObject *);}
static PyObject *meth_KSelectionProxyModel_dropMimeData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMimeData* a0;
        Qt::DropAction a1;
        int a2;
        int a3;
        const QModelIndex* a4;
        KSelectionProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8EiiJ9", &sipSelf, sipType_KSelectionProxyModel, &sipCpp, sipType_QMimeData, &a0, sipType_Qt_DropAction, &a1, &a2, &a3, sipType_QModelIndex, &a4))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KSelectionProxyModel::dropMimeData(a0,a1,a2,a3,*a4) : sipCpp->dropMimeData(a0,a1,a2,a3,*a4));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSelectionProxyModel, sipName_dropMimeData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSelectionProxyModel_hasChildren(PyObject *, PyObject *);}
static PyObject *meth_KSelectionProxyModel_hasChildren(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex& a0def = QModelIndex();
        const QModelIndex* a0 = &a0def;
        const KSelectionProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J9", &sipSelf, sipType_KSelectionProxyModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KSelectionProxyModel::hasChildren(*a0) : sipCpp->hasChildren(*a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSelectionProxyModel, sipName_hasChildren, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSelectionProxyModel_index(PyObject *, PyObject *);}
static PyObject *meth_KSelectionProxyModel_index(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        const QModelIndex& a2def = QModelIndex();
        const QModelIndex* a2 = &a2def;
        const KSelectionProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii|J9", &sipSelf, sipType_KSelectionProxyModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2))
        {
            QModelIndex*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndex((sipSelfWasArg ? sipCpp->KSelectionProxyModel::index(a0,a1,*a2) : sipCpp->index(a0,a1,*a2)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSelectionProxyModel, sipName_index, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSelectionProxyModel_parent(PyObject *, PyObject *);}
static PyObject *meth_KSelectionProxyModel_parent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const KSelectionProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KSelectionProxyModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            QModelIndex*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndex((sipSelfWasArg ? sipCpp->KSelectionProxyModel::parent(*a0) : sipCpp->parent(*a0)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSelectionProxyModel, sipName_parent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSelectionProxyModel_columnCount(PyObject *, PyObject *);}
static PyObject *meth_KSelectionProxyModel_columnCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex& a0def = QModelIndex();
        const QModelIndex* a0 = &a0def;
        const KSelectionProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J9", &sipSelf, sipType_KSelectionProxyModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KSelectionProxyModel::columnCount(*a0) : sipCpp->columnCount(*a0));
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSelectionProxyModel, sipName_columnCount, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSelectionProxyModel_sourceRootIndexes(PyObject *, PyObject *);}
static PyObject *meth_KSelectionProxyModel_sourceRootIndexes(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KSelectionProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KSelectionProxyModel, &sipCpp))
        {
            QList<QPersistentModelIndex>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QPersistentModelIndex>(sipCpp->sourceRootIndexes());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0100QPersistentModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSelectionProxyModel, sipName_sourceRootIndexes, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSelectionProxyModel_match(PyObject *, PyObject *);}
static PyObject *meth_KSelectionProxyModel_match(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        int a1;
        const QVariant* a2;
        int a2State = 0;
        int a3 = 1;
        Qt::MatchFlags a4def = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap);
        Qt::MatchFlags* a4 = &a4def;
        int a4State = 0;
        const KSelectionProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9iJ1|iJ1", &sipSelf, sipType_KSelectionProxyModel, &sipCpp, sipType_QModelIndex, &a0, &a1, sipType_QVariant,&a2, &a2State, &a3, sipType_Qt_MatchFlags, &a4, &a4State))
        {
            QModelIndexList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndexList((sipSelfWasArg ? sipCpp->KSelectionProxyModel::match(*a0,a1,*a2,a3,*a4) : sipCpp->match(*a0,a1,*a2,a3,*a4)));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a2),sipType_QVariant,a2State);
            sipReleaseType(a4,sipType_Qt_MatchFlags,a4State);

            return sipConvertFromNewType(sipRes,sipType_QList_0100QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSelectionProxyModel, sipName_match, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSelectionProxyModel_mapSelectionFromSource(PyObject *, PyObject *);}
static PyObject *meth_KSelectionProxyModel_mapSelectionFromSource(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QItemSelection* a0;
        const KSelectionProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KSelectionProxyModel, &sipCpp, sipType_QItemSelection, &a0))
        {
            QItemSelection*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QItemSelection((sipSelfWasArg ? sipCpp->KSelectionProxyModel::mapSelectionFromSource(*a0) : sipCpp->mapSelectionFromSource(*a0)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QItemSelection,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSelectionProxyModel, sipName_mapSelectionFromSource, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSelectionProxyModel_mapSelectionToSource(PyObject *, PyObject *);}
static PyObject *meth_KSelectionProxyModel_mapSelectionToSource(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QItemSelection* a0;
        const KSelectionProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KSelectionProxyModel, &sipCpp, sipType_QItemSelection, &a0))
        {
            QItemSelection*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QItemSelection((sipSelfWasArg ? sipCpp->KSelectionProxyModel::mapSelectionToSource(*a0) : sipCpp->mapSelectionToSource(*a0)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QItemSelection,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSelectionProxyModel, sipName_mapSelectionToSource, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KSelectionProxyModel(void *, int);}
static void release_KSelectionProxyModel(void *sipCppV,int)
{
    KSelectionProxyModel *sipCpp = reinterpret_cast<KSelectionProxyModel *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KSelectionProxyModel(sipSimpleWrapper *);}
static void dealloc_KSelectionProxyModel(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKSelectionProxyModel *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KSelectionProxyModel(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KSelectionProxyModel(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KSelectionProxyModel(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKSelectionProxyModel *sipCpp = 0;

    {
        QItemSelectionModel* a0;
        QObject* a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8|JH", sipType_QItemSelectionModel, &a0, sipType_QObject, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKSelectionProxyModel(a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KSelectionProxyModel[] = {{20, 2, 1}};


static PyMethodDef methods_KSelectionProxyModel[] = {
    {SIP_MLNAME_CAST(sipName_columnCount), meth_KSelectionProxyModel_columnCount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_data), meth_KSelectionProxyModel_data, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropMimeData), meth_KSelectionProxyModel_dropMimeData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_filterBehavior), meth_KSelectionProxyModel_filterBehavior, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_flags), meth_KSelectionProxyModel_flags, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasChildren), meth_KSelectionProxyModel_hasChildren, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_headerData), meth_KSelectionProxyModel_headerData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_index), meth_KSelectionProxyModel_index, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mapFromSource), meth_KSelectionProxyModel_mapFromSource, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mapSelectionFromSource), meth_KSelectionProxyModel_mapSelectionFromSource, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mapSelectionToSource), meth_KSelectionProxyModel_mapSelectionToSource, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mapToSource), meth_KSelectionProxyModel_mapToSource, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_match), meth_KSelectionProxyModel_match, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mimeData), meth_KSelectionProxyModel_mimeData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mimeTypes), meth_KSelectionProxyModel_mimeTypes, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_parent), meth_KSelectionProxyModel_parent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rowCount), meth_KSelectionProxyModel_rowCount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectionModel), meth_KSelectionProxyModel_selectionModel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFilterBehavior), meth_KSelectionProxyModel_setFilterBehavior, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSourceModel), meth_KSelectionProxyModel_setSourceModel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sourceRootIndexes), meth_KSelectionProxyModel_sourceRootIndexes, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_supportedDropActions), meth_KSelectionProxyModel_supportedDropActions, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KSelectionProxyModel[] = {
    {sipName_ChildrenOfExactSelection, static_cast<int>(KSelectionProxyModel::ChildrenOfExactSelection), 269},
    {sipName_ExactSelection, static_cast<int>(KSelectionProxyModel::ExactSelection), 269},
    {sipName_SubTreeRoots, static_cast<int>(KSelectionProxyModel::SubTreeRoots), 269},
    {sipName_SubTrees, static_cast<int>(KSelectionProxyModel::SubTrees), 269},
    {sipName_SubTreesWithoutRoots, static_cast<int>(KSelectionProxyModel::SubTreesWithoutRoots), 269},
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KSelectionProxyModel = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KSelectionProxyModel,
        {0}
    },
    {
        sipNameNr_KSelectionProxyModel,
        {0, 0, 1},
        22, methods_KSelectionProxyModel,
        5, enummembers_KSelectionProxyModel,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KSelectionProxyModel,
    0,
    init_type_KSelectionProxyModel,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KSelectionProxyModel,
    0,
    0,
    0,
    release_KSelectionProxyModel,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KSelectionProxyModel::staticMetaObject,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kruler.sip"
#include <kruler.h>
#line 45275 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 45279 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 45282 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 45285 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 45288 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 45291 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 45294 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 45297 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 45300 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 45303 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qabstractslider.sip"
#include <qabstractslider.h>
#line 45306 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 45309 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 45312 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 45315 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 45318 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 45321 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 45324 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 45327 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 45330 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 45333 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 45336 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 45339 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 45342 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 45345 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 45348 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 45351 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 45354 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 45357 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 45360 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 45363 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 45366 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 45369 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 45372 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 45375 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 45378 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 45381 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 45384 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 45387 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 45390 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 45393 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 45396 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 45399 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 45402 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 45405 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 45408 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 45411 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 45414 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 45417 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 45420 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 45423 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 45426 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 45429 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 45432 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 45435 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 45438 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 45441 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 45444 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 45447 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 45450 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 45453 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 45456 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 45459 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 45462 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 45465 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 45468 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart2.cpp"


class sipKRuler : public KRuler
{
public:
    sipKRuler(QWidget*);
    sipKRuler(Qt::Orientation,QWidget*,Qt::WFlags);
    sipKRuler(Qt::Orientation,int,QWidget*,Qt::WFlags);
    virtual ~sipKRuler();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    bool eventFilter(QObject*,QEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void resizeEvent(QResizeEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;
    void changeEvent(QEvent*);
    void wheelEvent(QWheelEvent*);
    void timerEvent(QTimerEvent*);
    void keyPressEvent(QKeyEvent*);
    bool event(QEvent*);
    void sliderChange(QAbstractSlider::SliderChange);
    void paintEvent(QPaintEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKRuler(const sipKRuler &);
    sipKRuler &operator = (const sipKRuler &);

    char sipPyMethods[48];
};

sipKRuler::sipKRuler(QWidget*a0): KRuler(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKRuler::sipKRuler(Qt::Orientation a0,QWidget*a1,Qt::WFlags a2): KRuler(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKRuler::sipKRuler(Qt::Orientation a0,int a1,QWidget*a2,Qt::WFlags a3): KRuler(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKRuler::~sipKRuler()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKRuler::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KRuler);
}

int sipKRuler::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KRuler::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KRuler,_c,_id,_a);

    return _id;
}

void *sipKRuler::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KRuler, _clname)) ? this : KRuler::qt_metacast(_clname);
}

void sipKRuler::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KRuler::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KRuler::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KRuler::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KRuler::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKRuler::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KRuler::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKRuler::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KRuler::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKRuler::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KRuler::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KRuler::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_kdeui_QtGui->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KRuler::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kdeui_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KRuler::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKRuler::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KRuler::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kdeui_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipKRuler::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return KRuler::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_kdeui_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KRuler::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_kdeui_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKRuler::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return KRuler::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kdeui_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KRuler::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_kdeui_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KRuler::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kdeui_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KRuler::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kdeui_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KRuler::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kdeui_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KRuler::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtGui_17)(sipModuleAPI_kdeui_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KRuler::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kdeui_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KRuler::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kdeui_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KRuler::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kdeui_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KRuler::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kdeui_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KRuler::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_kdeui_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KRuler::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kdeui_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KRuler::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kdeui_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KRuler::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KRuler::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KRuler::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KRuler::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KRuler::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KRuler::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KRuler::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KRuler::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KRuler::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPaintEngine* sipKRuler::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KRuler::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKRuler::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return KRuler::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kdeui_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKRuler::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KRuler::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKRuler::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KRuler::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKRuler::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KRuler::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKRuler::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KRuler::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kdeui_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKRuler::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KRuler::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KRuler::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kdeui_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KRuler::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KRuler::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKRuler::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KRuler::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::sliderChange(QAbstractSlider::SliderChange a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_sliderChange);

    if (!sipMeth)
    {
        KRuler::sliderChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_116)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractSlider::SliderChange);

    ((sipVH_QtGui_116)(sipModuleAPI_kdeui_QtGui->em_virthandlers[116]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KRuler::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kdeui_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KRuler_setMinValue(PyObject *, PyObject *);}
static PyObject *meth_KRuler_setMinValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KRuler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KRuler, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMinValue(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRuler, sipName_setMinValue, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRuler_minValue(PyObject *, PyObject *);}
static PyObject *meth_KRuler_minValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KRuler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KRuler, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->minValue();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRuler, sipName_minValue, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRuler_setMaxValue(PyObject *, PyObject *);}
static PyObject *meth_KRuler_setMaxValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KRuler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KRuler, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMaxValue(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRuler, sipName_setMaxValue, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRuler_maxValue(PyObject *, PyObject *);}
static PyObject *meth_KRuler_maxValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KRuler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KRuler, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->maxValue();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRuler, sipName_maxValue, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRuler_setTinyMarkDistance(PyObject *, PyObject *);}
static PyObject *meth_KRuler_setTinyMarkDistance(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KRuler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KRuler, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTinyMarkDistance(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRuler, sipName_setTinyMarkDistance, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRuler_tinyMarkDistance(PyObject *, PyObject *);}
static PyObject *meth_KRuler_tinyMarkDistance(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KRuler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KRuler, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->tinyMarkDistance();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRuler, sipName_tinyMarkDistance, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRuler_setLittleMarkDistance(PyObject *, PyObject *);}
static PyObject *meth_KRuler_setLittleMarkDistance(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KRuler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KRuler, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLittleMarkDistance(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRuler, sipName_setLittleMarkDistance, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRuler_littleMarkDistance(PyObject *, PyObject *);}
static PyObject *meth_KRuler_littleMarkDistance(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KRuler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KRuler, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->littleMarkDistance();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRuler, sipName_littleMarkDistance, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRuler_setMediumMarkDistance(PyObject *, PyObject *);}
static PyObject *meth_KRuler_setMediumMarkDistance(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KRuler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KRuler, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMediumMarkDistance(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRuler, sipName_setMediumMarkDistance, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRuler_mediumMarkDistance(PyObject *, PyObject *);}
static PyObject *meth_KRuler_mediumMarkDistance(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KRuler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KRuler, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->mediumMarkDistance();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRuler, sipName_mediumMarkDistance, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRuler_setBigMarkDistance(PyObject *, PyObject *);}
static PyObject *meth_KRuler_setBigMarkDistance(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KRuler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KRuler, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setBigMarkDistance(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRuler, sipName_setBigMarkDistance, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRuler_bigMarkDistance(PyObject *, PyObject *);}
static PyObject *meth_KRuler_bigMarkDistance(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KRuler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KRuler, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->bigMarkDistance();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRuler, sipName_bigMarkDistance, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRuler_setShowTinyMarks(PyObject *, PyObject *);}
static PyObject *meth_KRuler_setShowTinyMarks(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KRuler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KRuler, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setShowTinyMarks(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRuler, sipName_setShowTinyMarks, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRuler_showTinyMarks(PyObject *, PyObject *);}
static PyObject *meth_KRuler_showTinyMarks(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KRuler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KRuler, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->showTinyMarks();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRuler, sipName_showTinyMarks, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRuler_setShowLittleMarks(PyObject *, PyObject *);}
static PyObject *meth_KRuler_setShowLittleMarks(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KRuler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KRuler, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setShowLittleMarks(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRuler, sipName_setShowLittleMarks, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRuler_showLittleMarks(PyObject *, PyObject *);}
static PyObject *meth_KRuler_showLittleMarks(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KRuler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KRuler, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->showLittleMarks();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRuler, sipName_showLittleMarks, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRuler_setShowMediumMarks(PyObject *, PyObject *);}
static PyObject *meth_KRuler_setShowMediumMarks(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KRuler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KRuler, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setShowMediumMarks(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRuler, sipName_setShowMediumMarks, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRuler_showMediumMarks(PyObject *, PyObject *);}
static PyObject *meth_KRuler_showMediumMarks(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KRuler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KRuler, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->showMediumMarks();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRuler, sipName_showMediumMarks, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRuler_setShowBigMarks(PyObject *, PyObject *);}
static PyObject *meth_KRuler_setShowBigMarks(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KRuler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KRuler, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setShowBigMarks(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRuler, sipName_setShowBigMarks, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRuler_showBigMarks(PyObject *, PyObject *);}
static PyObject *meth_KRuler_showBigMarks(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KRuler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KRuler, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->showBigMarks();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRuler, sipName_showBigMarks, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRuler_setShowEndMarks(PyObject *, PyObject *);}
static PyObject *meth_KRuler_setShowEndMarks(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KRuler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KRuler, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setShowEndMarks(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRuler, sipName_setShowEndMarks, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRuler_showEndMarks(PyObject *, PyObject *);}
static PyObject *meth_KRuler_showEndMarks(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KRuler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KRuler, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->showEndMarks();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRuler, sipName_showEndMarks, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRuler_setShowPointer(PyObject *, PyObject *);}
static PyObject *meth_KRuler_setShowPointer(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KRuler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KRuler, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setShowPointer(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRuler, sipName_setShowPointer, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRuler_showPointer(PyObject *, PyObject *);}
static PyObject *meth_KRuler_showPointer(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KRuler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KRuler, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->showPointer();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRuler, sipName_showPointer, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRuler_setFrameStyle(PyObject *, PyObject *);}
static PyObject *meth_KRuler_setFrameStyle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KRuler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KRuler, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFrameStyle(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRuler, sipName_setFrameStyle, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRuler_setShowEndLabel(PyObject *, PyObject *);}
static PyObject *meth_KRuler_setShowEndLabel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KRuler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KRuler, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setShowEndLabel(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRuler, sipName_setShowEndLabel, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRuler_showEndLabel(PyObject *, PyObject *);}
static PyObject *meth_KRuler_showEndLabel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KRuler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KRuler, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->showEndLabel();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRuler, sipName_showEndLabel, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRuler_setEndLabel(PyObject *, PyObject *);}
static PyObject *meth_KRuler_setEndLabel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KRuler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KRuler, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setEndLabel(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRuler, sipName_setEndLabel, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRuler_endLabel(PyObject *, PyObject *);}
static PyObject *meth_KRuler_endLabel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KRuler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KRuler, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->endLabel());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRuler, sipName_endLabel, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRuler_setRulerMetricStyle(PyObject *, PyObject *);}
static PyObject *meth_KRuler_setRulerMetricStyle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KRuler::MetricStyle a0;
        KRuler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KRuler, &sipCpp, sipType_KRuler_MetricStyle, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setRulerMetricStyle(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRuler, sipName_setRulerMetricStyle, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRuler_setPixelPerMark(PyObject *, PyObject *);}
static PyObject *meth_KRuler_setPixelPerMark(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        double a0;
        KRuler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_KRuler, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPixelPerMark(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRuler, sipName_setPixelPerMark, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRuler_pixelPerMark(PyObject *, PyObject *);}
static PyObject *meth_KRuler_pixelPerMark(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KRuler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KRuler, &sipCpp))
        {
            double sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->pixelPerMark();
            Py_END_ALLOW_THREADS

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRuler, sipName_pixelPerMark, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRuler_setLength(PyObject *, PyObject *);}
static PyObject *meth_KRuler_setLength(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KRuler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KRuler, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLength(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRuler, sipName_setLength, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRuler_length(PyObject *, PyObject *);}
static PyObject *meth_KRuler_length(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KRuler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KRuler, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->length();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRuler, sipName_length, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRuler_setLengthFixed(PyObject *, PyObject *);}
static PyObject *meth_KRuler_setLengthFixed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KRuler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KRuler, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLengthFixed(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRuler, sipName_setLengthFixed, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRuler_lengthFixed(PyObject *, PyObject *);}
static PyObject *meth_KRuler_lengthFixed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KRuler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KRuler, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->lengthFixed();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRuler, sipName_lengthFixed, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRuler_slideUp(PyObject *, PyObject *);}
static PyObject *meth_KRuler_slideUp(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0 = 1;
        KRuler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|i", &sipSelf, sipType_KRuler, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slideUp(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRuler, sipName_slideUp, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRuler_slideDown(PyObject *, PyObject *);}
static PyObject *meth_KRuler_slideDown(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0 = 1;
        KRuler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|i", &sipSelf, sipType_KRuler, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slideDown(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRuler, sipName_slideDown, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRuler_setOffset(PyObject *, PyObject *);}
static PyObject *meth_KRuler_setOffset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KRuler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KRuler, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setOffset(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRuler, sipName_setOffset, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRuler_offset(PyObject *, PyObject *);}
static PyObject *meth_KRuler_offset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KRuler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KRuler, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->offset();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRuler, sipName_offset, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRuler_endOffset(PyObject *, PyObject *);}
static PyObject *meth_KRuler_endOffset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KRuler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KRuler, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->endOffset();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRuler, sipName_endOffset, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRuler_slotNewValue(PyObject *, PyObject *);}
static PyObject *meth_KRuler_slotNewValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KRuler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KRuler, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotNewValue(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRuler, sipName_slotNewValue, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRuler_slotNewOffset(PyObject *, PyObject *);}
static PyObject *meth_KRuler_slotNewOffset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KRuler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KRuler, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotNewOffset(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRuler, sipName_slotNewOffset, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRuler_slotEndOffset(PyObject *, PyObject *);}
static PyObject *meth_KRuler_slotEndOffset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KRuler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KRuler, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotEndOffset(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRuler, sipName_slotEndOffset, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRuler_paintEvent(PyObject *, PyObject *);}
static PyObject *meth_KRuler_paintEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        KRuler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KRuler, &sipCpp, sipType_QPaintEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KRuler::paintEvent(a0) : sipCpp->paintEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRuler, sipName_paintEvent, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_KRuler(void *, const sipTypeDef *);}
static void *cast_KRuler(void *sipCppV, const sipTypeDef *targetType)
{
    KRuler *sipCpp = reinterpret_cast<KRuler *>(sipCppV);

    if (targetType == sipType_QPaintDevice)
        return static_cast<QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KRuler(void *, int);}
static void release_KRuler(void *sipCppV,int)
{
    KRuler *sipCpp = reinterpret_cast<KRuler *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KRuler(sipSimpleWrapper *);}
static void dealloc_KRuler(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKRuler *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KRuler(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KRuler(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KRuler(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKRuler *sipCpp = 0;

    {
        QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKRuler(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        Qt::Orientation a0;
        QWidget* a1 = 0;
        Qt::WFlags a2def = 0;
        Qt::WFlags* a2 = &a2def;
        int a2State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "E|JHJ1", sipType_Qt_Orientation, &a0, sipType_QWidget, &a1, sipOwner, sipType_Qt_WindowFlags, &a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKRuler(a0,a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(a2,sipType_Qt_WindowFlags,a2State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        Qt::Orientation a0;
        int a1;
        QWidget* a2 = 0;
        Qt::WFlags a3def = 0;
        Qt::WFlags* a3 = &a3def;
        int a3State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "Ei|JHJ1", sipType_Qt_Orientation, &a0, &a1, sipType_QWidget, &a2, sipOwner, sipType_Qt_WindowFlags, &a3, &a3State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKRuler(a0,a1,a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(a3,sipType_Qt_WindowFlags,a3State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KRuler[] = {{22, 2, 1}};


static PyMethodDef methods_KRuler[] = {
    {SIP_MLNAME_CAST(sipName_bigMarkDistance), meth_KRuler_bigMarkDistance, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_endLabel), meth_KRuler_endLabel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_endOffset), meth_KRuler_endOffset, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_length), meth_KRuler_length, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_lengthFixed), meth_KRuler_lengthFixed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_littleMarkDistance), meth_KRuler_littleMarkDistance, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_maxValue), meth_KRuler_maxValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mediumMarkDistance), meth_KRuler_mediumMarkDistance, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_minValue), meth_KRuler_minValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_offset), meth_KRuler_offset, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_KRuler_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pixelPerMark), meth_KRuler_pixelPerMark, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setBigMarkDistance), meth_KRuler_setBigMarkDistance, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setEndLabel), meth_KRuler_setEndLabel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFrameStyle), meth_KRuler_setFrameStyle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLength), meth_KRuler_setLength, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLengthFixed), meth_KRuler_setLengthFixed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLittleMarkDistance), meth_KRuler_setLittleMarkDistance, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMaxValue), meth_KRuler_setMaxValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMediumMarkDistance), meth_KRuler_setMediumMarkDistance, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMinValue), meth_KRuler_setMinValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOffset), meth_KRuler_setOffset, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPixelPerMark), meth_KRuler_setPixelPerMark, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRulerMetricStyle), meth_KRuler_setRulerMetricStyle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setShowBigMarks), meth_KRuler_setShowBigMarks, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setShowEndLabel), meth_KRuler_setShowEndLabel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setShowEndMarks), meth_KRuler_setShowEndMarks, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setShowLittleMarks), meth_KRuler_setShowLittleMarks, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setShowMediumMarks), meth_KRuler_setShowMediumMarks, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setShowPointer), meth_KRuler_setShowPointer, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setShowTinyMarks), meth_KRuler_setShowTinyMarks, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTinyMarkDistance), meth_KRuler_setTinyMarkDistance, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showBigMarks), meth_KRuler_showBigMarks, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEndLabel), meth_KRuler_showEndLabel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEndMarks), meth_KRuler_showEndMarks, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showLittleMarks), meth_KRuler_showLittleMarks, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showMediumMarks), meth_KRuler_showMediumMarks, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showPointer), meth_KRuler_showPointer, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showTinyMarks), meth_KRuler_showTinyMarks, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slideDown), meth_KRuler_slideDown, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slideUp), meth_KRuler_slideUp, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotEndOffset), meth_KRuler_slotEndOffset, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotNewOffset), meth_KRuler_slotNewOffset, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotNewValue), meth_KRuler_slotNewValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tinyMarkDistance), meth_KRuler_tinyMarkDistance, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KRuler[] = {
    {sipName_Centimetres, static_cast<int>(KRuler::Centimetres), 264},
    {sipName_Custom, static_cast<int>(KRuler::Custom), 264},
    {sipName_Inch, static_cast<int>(KRuler::Inch), 264},
    {sipName_Metres, static_cast<int>(KRuler::Metres), 264},
    {sipName_Millimetres, static_cast<int>(KRuler::Millimetres), 264},
    {sipName_Pixel, static_cast<int>(KRuler::Pixel), 264},
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KRuler = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KRuler,
        {0}
    },
    {
        sipNameNr_KRuler,
        {0, 0, 1},
        45, methods_KRuler,
        6, enummembers_KRuler,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KRuler,
    0,
    init_type_KRuler,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KRuler,
    0,
    0,
    0,
    release_KRuler,
    cast_KRuler,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KRuler::staticMetaObject,
    0,
    0
};
