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

#include "sipAPIkdeui.h"

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

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/ktip.sip"
#include <ktip.h>
#line 16 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 19 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 22 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 28 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 31 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 37 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 43 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 46 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 49 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 52 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 55 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kpushbutton.sip"
#include <kpushbutton.h>
#line 58 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 61 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 64 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 67 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kguiitem.sip"
#include <kguiitem.h>
#line 70 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 73 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 76 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 79 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 82 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 85 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 88 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 91 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 94 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 97 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 100 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 103 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 106 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 109 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 112 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 115 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 118 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 121 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 124 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 127 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 130 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 133 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 136 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 139 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 142 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 145 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 148 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 151 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 154 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 157 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 160 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 163 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 166 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 169 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 172 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 175 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 178 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 181 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 184 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 187 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 190 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 193 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 196 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 199 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 202 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 205 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 208 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 211 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 214 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 217 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 220 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 223 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 226 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 229 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 232 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 235 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 reject();
    void accept();
    void done(int);
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    void enabledChange(bool);
    void paletteChange(const  ::QPalette&);
    void fontChange(const  ::QFont&);
    void windowActivationChange(bool);
    void languageChange();
    void setCaption(const  ::QString&);
    void setCaption(const  ::QString&,bool);
    void setPlainCaption(const  ::QString&);
    void slotButtonClicked(int);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[54];
};

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

sipKTipDialog::~sipKTipDialog()
{
    sipInstanceDestroyed(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::reject()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    extern void sipVH_kdeui_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

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

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

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

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

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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

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

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

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

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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

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

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

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

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

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

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

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

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

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

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

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

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

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

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(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[10]),sipPySelf,NULL,sipName_metric);

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

    extern int sipVH_kdeui_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_kdeui_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

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

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

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

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

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

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

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

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

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

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

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

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

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

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

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

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

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

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

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

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

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

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

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

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

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

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

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

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

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

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

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

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

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

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

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

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

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

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

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

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

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

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

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

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

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

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

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

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

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

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

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

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

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

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

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

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

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

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

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

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

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

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

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

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

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

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

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

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

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

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

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

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

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

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

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

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

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

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

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

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

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

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

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

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

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

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

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

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

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

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

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

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

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

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

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

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

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

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

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

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

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

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

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

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

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

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

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

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

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

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

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

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

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

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

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

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

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

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

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

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

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

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

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

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

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

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

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

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

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

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(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[43]),sipPySelf,NULL,sipName_inputMethodQuery);

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

    extern  ::QVariant sipVH_kdeui_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_kdeui_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

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

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

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

    extern void sipVH_kdeui_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

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

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

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

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

    extern void sipVH_kdeui_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

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

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

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

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

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

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

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

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

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    extern void sipVH_kdeui_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

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

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

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

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

    extern void sipVH_kdeui_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&,bool);

    sipVH_kdeui_37(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

    extern void sipVH_kdeui_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

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

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

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

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

    extern void sipVH_kdeui_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

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


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 || sipIsDerivedClass((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 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_KDialog)
        return static_cast< ::KDialog *>(sipCpp);

    if (targetType == sipType_QDialog)
        return static_cast< ::QDialog *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKTipDialog *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KTipDialog(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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


static pyqt4ClassPluginDef plugin_KTipDialog = {
    & ::KTipDialog::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KTipDialog = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KTipDialog,
        {0},
        &plugin_KTipDialog
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/ktip.sip"
#include <ktip.h>
#line 1576 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"

#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 1580 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 1583 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 (sipIsOwnedByPython(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}
};


static pyqt4ClassPluginDef plugin_KTipDatabase = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KTipDatabase = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KTipDatabase,
        {0},
        &plugin_KTipDatabase
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/ktimezonewidget.sip"
#include <ktimezonewidget.h>
#line 1792 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 1796 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 1799 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 1802 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 1805 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 52 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 1808 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 1811 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 122 "/usr/share/sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 1814 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 85 "/usr/share/sip/PyQt4/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 1817 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 1820 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1823 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1826 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 1829 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1832 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 1835 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1838 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1841 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1844 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 1847 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 1850 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 85 "/usr/share/sip/PyQt4/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 1853 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 165 "/usr/share/sip/PyQt4/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 1856 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1859 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1862 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1865 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 1868 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 1871 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 1126 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 1874 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1877 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1880 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1883 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1886 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qheaderview.sip"
#include <qheaderview.h>
#line 1889 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1892 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 1895 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 1898 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1901 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1904 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1907 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1910 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 1913 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 1916 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 1919 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1922 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1925 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qscrollbar.sip"
#include <qscrollbar.h>
#line 1928 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1931 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1934 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 1937 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qframe.sip"
#include <qframe.h>
#line 1940 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1943 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1946 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 1949 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 1952 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 1955 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 1958 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 1961 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 1964 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 1967 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 1970 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 1973 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1976 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 1979 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1982 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1985 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1988 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1991 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1994 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1997 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 2000 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 2003 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 2006 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2009 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 2012 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 2015 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 2018 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2021 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 2024 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 2027 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 2030 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 2033 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 2036 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2039 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2042 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2045 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 2048 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 2051 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 2054 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 drawBranches( ::QPainter*,const  ::QRect&,const  ::QModelIndex&) const;
    void drawRow( ::QPainter*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&) const;
    void scrollContentsBy(int,int);
    bool viewportEvent( ::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*);
    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*);
    int heightForWidth(int) const;
     ::QSize minimumSizeHint() const;
     ::QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;
     ::QPaintEngine* paintEngine() const;
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);
    void setSelectionModel( ::QItemSelectionModel*);
    void keyboardSearch(const  ::QString&);
     ::QRect visualRect(const  ::QModelIndex&) const;
    void scrollTo(const  ::QModelIndex&, ::QAbstractItemView::ScrollHint);
     ::QModelIndex indexAt(const  ::QPoint&) const;
    int sizeHintForRow(int) const;
    int sizeHintForColumn(int) const;
    void reset();
    void setRootIndex(const  ::QModelIndex&);
    void selectAll();
    void dataChanged(const  ::QModelIndex&,const  ::QModelIndex&);
    void rowsInserted(const  ::QModelIndex&,int,int);
    void rowsAboutToBeRemoved(const  ::QModelIndex&,int,int);
    void selectionChanged(const  ::QItemSelection&,const  ::QItemSelection&);
    void currentChanged(const  ::QModelIndex&,const  ::QModelIndex&);
    void updateEditorData();
    void updateEditorGeometries();
    void updateGeometries();
    void verticalScrollbarAction(int);
    void horizontalScrollbarAction(int);
    void verticalScrollbarValueChanged(int);
    void horizontalScrollbarValueChanged(int);
    void closeEditor( ::QWidget*, ::QAbstractItemDelegate::EndEditHint);
    void commitData( ::QWidget*);
    void editorDestroyed( ::QObject*);
     ::QModelIndex moveCursor( ::QAbstractItemView::CursorAction, ::Qt::KeyboardModifiers);
    int horizontalOffset() const;
    int verticalOffset() const;
    bool isIndexHidden(const  ::QModelIndex&) const;
    void setSelection(const  ::QRect&, ::QItemSelectionModel::SelectionFlags);
     ::QRegion visualRegionForSelection(const  ::QItemSelection&) const;
     ::QModelIndexList selectedIndexes() const;
    bool edit(const  ::QModelIndex&, ::QAbstractItemView::EditTrigger, ::QEvent*);
     ::QItemSelectionModel::SelectionFlags selectionCommand(const  ::QModelIndex&,const  ::QEvent*) const;
    void startDrag( ::Qt::DropActions);
     ::QStyleOptionViewItem viewOptions() const;
     ::QStringList mimeTypes() const;
     ::QMimeData* mimeData(const QList< ::QTreeWidgetItem*>) const;
    bool dropMimeData( ::QTreeWidgetItem*,int,const  ::QMimeData*, ::Qt::DropAction);
     ::Qt::DropActions supportedDropActions() 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()
{
    sipInstanceDestroyed(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::drawBranches( ::QPainter*a0,const  ::QRect& a1,const  ::QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    extern void sipVH_kdeui_216(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QRect&,const  ::QModelIndex&);

    sipVH_kdeui_216(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[1]),sipPySelf,NULL,sipName_drawRow);

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

    extern void sipVH_kdeui_145(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&);

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

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

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

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

    extern void sipVH_kdeui_78(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    sipVH_kdeui_78(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

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

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

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

    extern void sipVH_kdeui_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

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

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

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

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

    extern void sipVH_kdeui_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

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

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

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

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

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

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

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

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

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(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[10]),sipPySelf,NULL,sipName_inputMethodQuery);

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

    extern  ::QVariant sipVH_kdeui_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_kdeui_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

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

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

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

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

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

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

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

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

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

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

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

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

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

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

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

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

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

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

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

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

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

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

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

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

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

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

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

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

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

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

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

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

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

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

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

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

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

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

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

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

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

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

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

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

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

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

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

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

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

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

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

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

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

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

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

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

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

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

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

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

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

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

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

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

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

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

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

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

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

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

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

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

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

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

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

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

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

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

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

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

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

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

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

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

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

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

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

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

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

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

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

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

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

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

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

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

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

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

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

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

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

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

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

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

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

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

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

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

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

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

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

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

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

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

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

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

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

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

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

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

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

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

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

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

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

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

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

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

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

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

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

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

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

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

    extern int sipVH_kdeui_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_kdeui_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

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

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

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

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

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

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

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

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

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

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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

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

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

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

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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

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

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

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

    extern void sipVH_kdeui_79(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QItemSelectionModel*);

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

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

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

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

    extern void sipVH_kdeui_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

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

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

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

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

    extern  ::QRect sipVH_kdeui_80(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_kdeui_80(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_kdeui_81(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

    extern  ::QModelIndex sipVH_kdeui_82(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPoint&);

    return sipVH_kdeui_82(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    extern void sipVH_kdeui_61(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

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

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

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

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

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    extern void sipVH_kdeui_83(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QModelIndex&);

    sipVH_kdeui_83(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

    extern void sipVH_kdeui_84(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int);

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

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

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

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

    extern void sipVH_kdeui_84(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int);

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

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

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

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

    extern void sipVH_kdeui_85(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QItemSelection&,const  ::QItemSelection&);

    sipVH_kdeui_85(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

    extern void sipVH_kdeui_83(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QModelIndex&);

    sipVH_kdeui_83(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    extern void sipVH_kdeui_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

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

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

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

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

    extern void sipVH_kdeui_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

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

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

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

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

    extern void sipVH_kdeui_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

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

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

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

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

    extern void sipVH_kdeui_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

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

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

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

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

    extern void sipVH_kdeui_86(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*, ::QAbstractItemDelegate::EndEditHint);

    sipVH_kdeui_86(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

    extern void sipVH_kdeui_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

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

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

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

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

    extern void sipVH_kdeui_87(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*);

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

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

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

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

    extern  ::QModelIndex sipVH_kdeui_88(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QAbstractItemView::CursorAction, ::Qt::KeyboardModifiers);

    return sipVH_kdeui_88(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

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

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

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

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

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

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

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

    extern bool sipVH_kdeui_60(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_kdeui_60(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_kdeui_89(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

    extern  ::QRegion sipVH_kdeui_90(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QItemSelection&);

    return sipVH_kdeui_90(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern  ::QModelIndexList sipVH_kdeui_91(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

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

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

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

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

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

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

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

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

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

    return sipVH_kdeui_93(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

    extern void sipVH_kdeui_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::DropActions);

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

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

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

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

    extern  ::QStyleOptionViewItem sipVH_kdeui_95(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

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

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

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

    extern  ::QStringList sipVH_kdeui_66(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

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

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

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

    extern  ::QMimeData* sipVH_kdeui_215(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QList< ::QTreeWidgetItem*>);

    return sipVH_kdeui_215(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return sipVH_kdeui_214(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

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

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

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

    extern  ::Qt::DropActions sipVH_kdeui_63(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_63(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 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_QTreeWidget)
        return static_cast< ::QTreeWidget *>(sipCpp);

    if (targetType == sipType_QTreeView)
        return static_cast< ::QTreeView *>(sipCpp);

    if (targetType == sipType_QAbstractItemView)
        return static_cast< ::QAbstractItemView *>(sipCpp);

    if (targetType == sipType_QAbstractScrollArea)
        return static_cast< ::QAbstractScrollArea *>(sipCpp);

    if (targetType == sipType_QFrame)
        return static_cast< ::QFrame *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKTimeZoneWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KTimeZoneWidget(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{124, 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}
};


static pyqt4ClassPluginDef plugin_KTimeZoneWidget = {
    & ::KTimeZoneWidget::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KTimeZoneWidget = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KTimeZoneWidget,
        {0},
        &plugin_KTimeZoneWidget
    },
    {
        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
};

#line 23 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/ktimecombobox.sip"
#include <ktimecombobox.h>
#line 4140 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"

#line 23 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/ktimecombobox.sip"
#include <ktimecombobox.h>
#line 4144 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 381 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KTimeComboBox::Options::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 4166 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 372 "/usr/share/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 4200 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 363 "/usr/share/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 4240 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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___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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 357 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
        *sipCpp = KTimeComboBox::Options(*sipCpp ^ a0);
#line 4279 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"

            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___xor__(PyObject *,PyObject *);}
static PyObject *slot_KTimeComboBox_Options___xor__(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, xor_slot, NULL, sipArg0, sipArg1);
}


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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 351 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
        *sipCpp = KTimeComboBox::Options(*sipCpp | a0);
#line 4353 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"

            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___or__(PyObject *,PyObject *);}
static PyObject *slot_KTimeComboBox_Options___or__(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, or_slot, NULL, sipArg0, sipArg1);
}


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


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___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___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;
}


/* 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 (sipIsOwnedByPython(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;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KTimeComboBox::Options();
            Py_END_ALLOW_THREADS

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

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

    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 390 "/usr/share/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 4641 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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___ixor__, ixor_slot},
    {(void *)slot_KTimeComboBox_Options___xor__, xor_slot},
    {(void *)slot_KTimeComboBox_Options___ior__, ior_slot},
    {(void *)slot_KTimeComboBox_Options___or__, or_slot},
    {(void *)slot_KTimeComboBox_Options___iand__, iand_slot},
    {(void *)slot_KTimeComboBox_Options___and__, and_slot},
    {(void *)slot_KTimeComboBox_Options___invert__, invert_slot},
    {(void *)slot_KTimeComboBox_Options___int__, int_slot},
    {0, (sipPySlotType)0}
};


static pyqt4ClassPluginDef plugin_KTimeComboBox_Options = {
    0,
    1,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KTimeComboBox_Options = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KTimeComboBox__Options,
        {0},
        &plugin_KTimeComboBox_Options
    },
    {
        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
};

#line 23 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/ktimecombobox.sip"
#include <ktimecombobox.h>
#line 4720 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 4724 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/klocale.sip"
#include <klocale.h>
#line 4727 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4730 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 241 "/usr/share/sip/PyQt4/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 4733 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 4736 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4739 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4742 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4745 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4748 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4751 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 4754 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4757 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 23 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/ktimecombobox.sip"
#include <ktimecombobox.h>
#line 4760 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 4763 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 4766 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 103 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kcompletion.sip"
#include <kcompletion.h>
#line 4769 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 4772 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kglobalsettings.sip"
#include <kglobalsettings.h>
#line 4775 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlineedit.sip"
#include <qlineedit.h>
#line 4778 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kcompletionbox.sip"
#include <kcompletionbox.h>
#line 4781 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 4784 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 4787 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 4790 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 4793 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4796 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4799 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4802 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4805 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4808 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4811 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 1576 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 4814 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qcompleter.sip"
#include <qcompleter.h>
#line 4817 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 4820 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 4823 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 122 "/usr/share/sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 4826 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 4829 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qvalidator.sip"
#include <qvalidator.h>
#line 4832 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcombobox.sip"
#include <qcombobox.h>
#line 4835 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4838 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4841 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 4844 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4847 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 4850 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 4853 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 4856 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 4859 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 4862 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 4865 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 4868 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 4871 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 4874 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 4877 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 4880 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 4883 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 4886 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4889 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 4892 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4895 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4898 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4901 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4904 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4907 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4910 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4913 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4916 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 4919 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 4922 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 4925 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4928 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 4931 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 4934 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 4937 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4940 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 4943 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 4946 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 4949 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 4952 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4955 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4958 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4961 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4964 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 4967 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 4970 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 4973 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 157 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kcompletion.sip"
#include <qmap.h>
#line 4976 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 4979 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 31 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kcompletion.sip"
#include <kcompletion.h>
#line 4982 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 assignTime(const  ::QTime&);
    void hidePopup();
    void showPopup();
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    void enabledChange(bool);
    void paletteChange(const  ::QPalette&);
    void fontChange(const  ::QFont&);
    void windowActivationChange(bool);
    void languageChange();
    void setCompletedItems(const  ::QStringList&,bool);
    void setCompletedText(const  ::QString&);
    void setCompletionMode( ::KGlobalSettings::Completion);
    void setHandleSignals(bool);
    void setCompletionObject( ::KCompletion*,bool);
    void setAutoCompletion(bool);
    void setContextMenuEnabled(bool);
    void setLineEdit( ::QLineEdit*);
    void makeCompletion(const  ::QString&);
    void setCompletedText(const  ::QString&,bool);
    void create( ::WId,bool,bool);

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()
{
    sipInstanceDestroyed(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::assignTime(const  ::QTime& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KTimeComboBox::assignTime(a0);
        return;
    }

    extern void sipVH_kdeui_140(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QTime&);

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

void sipKTimeComboBox::hidePopup()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KTimeComboBox::hidePopup();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKTimeComboBox::showPopup()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KTimeComboBox::showPopup();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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

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

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

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

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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

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

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

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

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

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

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

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

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

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

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

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

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

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

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(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[10]),sipPySelf,NULL,sipName_metric);

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

    extern int sipVH_kdeui_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_kdeui_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

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

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

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

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

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

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

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

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

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

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

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

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

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

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

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

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

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

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

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

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

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

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

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

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

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

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

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

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

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

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

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

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

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

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

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

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

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

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

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

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

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

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

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

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

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

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

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

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

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

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

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

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

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

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

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

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

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

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

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

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

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

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

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

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

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

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

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

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

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

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

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

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

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

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

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

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

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

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

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

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

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

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

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

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

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

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

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

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

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

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

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

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

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

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

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

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

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

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

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

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

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

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

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

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

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

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

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

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

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

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

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

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

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

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

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

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

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

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

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

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

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

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

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

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

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

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

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

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

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

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

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

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

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

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

    extern  ::QVariant sipVH_kdeui_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_kdeui_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

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

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

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

    extern void sipVH_kdeui_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

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

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

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

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

    extern void sipVH_kdeui_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

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

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

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

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

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

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

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

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

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKTimeComboBox::setCompletedItems(const  ::QStringList& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KTimeComboBox::setCompletedItems(a0,a1);
        return;
    }

    extern void sipVH_kdeui_114(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QStringList&,bool);

    sipVH_kdeui_114(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKTimeComboBox::setCompletedText(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KTimeComboBox::setCompletedText(a0);
        return;
    }

    extern void sipVH_kdeui_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

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

void sipKTimeComboBox::setCompletionMode( ::KGlobalSettings::Completion a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KTimeComboBox::setCompletionMode(a0);
        return;
    }

    extern void sipVH_kdeui_113(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KGlobalSettings::Completion);

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

void sipKTimeComboBox::setHandleSignals(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KTimeComboBox::setHandleSignals(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

void sipKTimeComboBox::setCompletionObject( ::KCompletion*a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KTimeComboBox::setCompletionObject(a0,a1);
        return;
    }

    extern void sipVH_kdeui_112(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KCompletion*,bool);

    sipVH_kdeui_112(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKTimeComboBox::setAutoCompletion(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KTimeComboBox::setAutoCompletion(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

void sipKTimeComboBox::setContextMenuEnabled(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KTimeComboBox::setContextMenuEnabled(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

void sipKTimeComboBox::setLineEdit( ::QLineEdit*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KTimeComboBox::setLineEdit(a0);
        return;
    }

    extern void sipVH_kdeui_115(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QLineEdit*);

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

void sipKTimeComboBox::makeCompletion(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KTimeComboBox::makeCompletion(a0);
        return;
    }

    extern void sipVH_kdeui_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

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

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

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

    if (!sipMeth)
    {
         ::KTimeComboBox::setCompletedText(a0,a1);
        return;
    }

    extern void sipVH_kdeui_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&,bool);

    sipVH_kdeui_37(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKTimeComboBox::create( ::WId a0,bool a1,bool a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KTimeComboBox::create(a0,a1,a2);
        return;
    }

    extern void sipVH_kdeui_116(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::WId,bool,bool);

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


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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 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_KComboBox)
        return static_cast< ::KComboBox *>(sipCpp);

    if (targetType == sipType_QComboBox)
        return static_cast< ::QComboBox *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKTimeComboBox *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KTimeComboBox(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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


static pyqt4ClassPluginDef plugin_KTimeComboBox = {
    & ::KTimeComboBox::staticMetaObject,
    0,
    signals_KTimeComboBox
};


sipClassTypeDef sipTypeDef_kdeui_KTimeComboBox = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KTimeComboBox,
        {0},
        &plugin_KTimeComboBox
    },
    {
        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
};

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/ktextedit.sip"
#include <ktextedit.h>
#line 7225 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"

#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 7229 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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()
{
    sipInstanceDestroyed(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;

    extern bool sipVH_kdeui_171(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    return sipVH_kdeui_171(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;

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(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;

    extern bool sipVH_kdeui_54(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_54(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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKTextEditSpellInterface *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KTextEditSpellInterface(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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


static pyqt4ClassPluginDef plugin_KTextEditSpellInterface = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KTextEditSpellInterface = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_KTextEditSpellInterface,
        {0},
        &plugin_KTextEditSpellInterface
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/ktextbrowser.sip"
#include <ktextbrowser.h>
#line 7554 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 7558 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 7561 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7564 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7567 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7570 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 98 "/usr/share/sip/PyQt4/QtCore/qurl.sip"
#include <qurl.h>
#line 7573 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7576 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7579 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7582 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7585 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 7588 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 7591 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcolor.sip"
#include <qcolor.h>
#line 7594 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7597 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7600 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 7603 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7606 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7609 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7612 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7615 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7618 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7621 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7624 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 336 "/usr/share/sip/PyQt4/QtGui/qtextformat.sip"
#include <qtextformat.h>
#line 7627 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7630 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 7633 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 210 "/usr/share/sip/PyQt4/QtGui/qprinter.sip"
#include <qprinter.h>
#line 7636 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qtextcursor.sip"
#include <qtextcursor.h>
#line 7639 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7642 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 35 "/usr/share/sip/PyQt4/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 7647 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7650 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 7653 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 7656 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 7659 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 59 "/usr/share/sip/PyQt4/QtGui/qtextdocument.sip"
#include <qtextdocument.h>
#line 7662 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 7665 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 7668 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 7671 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 59 "/usr/share/sip/PyQt4/QtGui/qtextdocument.sip"
#include <qtextdocument.h>
#line 7674 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7677 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qscrollbar.sip"
#include <qscrollbar.h>
#line 7680 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 7683 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 7686 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 7689 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qframe.sip"
#include <qframe.h>
#line 7692 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7695 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7698 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 7701 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 7704 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 7707 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 7710 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 7713 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 7716 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 7719 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 7722 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 7725 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7728 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 7731 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7734 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7737 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7740 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7743 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7746 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 7749 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 7752 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 7755 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7758 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 7761 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 7764 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 7767 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7770 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 7773 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 7776 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 7779 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 7782 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 7785 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7788 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 7791 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7794 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7797 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 7800 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 7803 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 7806 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 insertFromMimeData(const  ::QMimeData*);
    bool canInsertFromMimeData(const  ::QMimeData*) const;
     ::QMimeData* createMimeDataFromSelection() const;
     ::QVariant loadResource(int,const  ::QUrl&);
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    void enabledChange(bool);
    void paletteChange(const  ::QPalette&);
    void fontChange(const  ::QFont&);
    void windowActivationChange(bool);
    void languageChange();
    bool viewportEvent( ::QEvent*);
    void scrollContentsBy(int,int);
    void setSource(const  ::QUrl&);
    void backward();
    void forward();
    void home();
    void reload();

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()
{
    sipInstanceDestroyed(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::insertFromMimeData(const  ::QMimeData*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KTextBrowser::insertFromMimeData(a0);
        return;
    }

    extern void sipVH_kdeui_185(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMimeData*);

    sipVH_kdeui_185(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[1]),sipPySelf,NULL,sipName_canInsertFromMimeData);

    if (!sipMeth)
        return  ::KTextBrowser::canInsertFromMimeData(a0);

    extern bool sipVH_kdeui_186(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMimeData*);

    return sipVH_kdeui_186(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QMimeData* sipKTextBrowser::createMimeDataFromSelection() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KTextBrowser::createMimeDataFromSelection();

    extern  ::QMimeData* sipVH_kdeui_187(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

 ::QVariant sipKTextBrowser::loadResource(int a0,const  ::QUrl& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KTextBrowser::loadResource(a0,a1);

    extern  ::QVariant sipVH_kdeui_188(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,const  ::QUrl&);

    return sipVH_kdeui_188(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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

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

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

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

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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

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

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

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

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

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

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

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

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

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

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

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

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

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

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(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[11]),sipPySelf,NULL,sipName_metric);

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

    extern int sipVH_kdeui_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_kdeui_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

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

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

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

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

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

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

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

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

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

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

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

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

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

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

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

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

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

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

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

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

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

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KTextBrowser::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KTextBrowser::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KTextBrowser::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KTextBrowser::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KTextBrowser::wheelEvent(a0);
        return;
    }

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kdeui_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KTextBrowser::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KTextBrowser::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KTextBrowser::focusInEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KTextBrowser::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KTextBrowser::enterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KTextBrowser::leaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KTextBrowser::paintEvent(a0);
        return;
    }

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kdeui_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KTextBrowser::moveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kdeui_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KTextBrowser::resizeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kdeui_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KTextBrowser::closeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kdeui_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KTextBrowser::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kdeui_22(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KTextBrowser::tabletEvent(a0);
        return;
    }

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kdeui_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KTextBrowser::actionEvent(a0);
        return;
    }

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kdeui_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KTextBrowser::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kdeui_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KTextBrowser::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kdeui_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KTextBrowser::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kdeui_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KTextBrowser::dropEvent(a0);
        return;
    }

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kdeui_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KTextBrowser::showEvent(a0);
        return;
    }

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kdeui_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KTextBrowser::hideEvent(a0);
        return;
    }

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kdeui_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KTextBrowser::changeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KTextBrowser::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QVariant sipKTextBrowser::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::KTextBrowser::inputMethodQuery(a0);

    extern  ::QVariant sipVH_kdeui_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_kdeui_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKTextBrowser::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KTextBrowser::focusNextPrevChild(a0);

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KTextBrowser::enabledChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KTextBrowser::paletteChange(a0);
        return;
    }

    extern void sipVH_kdeui_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

    sipVH_kdeui_34(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KTextBrowser::fontChange(a0);
        return;
    }

    extern void sipVH_kdeui_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

    sipVH_kdeui_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KTextBrowser::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KTextBrowser::languageChange();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKTextBrowser::viewportEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_viewportEvent);

    if (!sipMeth)
        return  ::KTextBrowser::viewportEvent(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_scrollContentsBy);

    if (!sipMeth)
    {
         ::KTextBrowser::scrollContentsBy(a0,a1);
        return;
    }

    extern void sipVH_kdeui_78(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    sipVH_kdeui_78(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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;
    }

    extern void sipVH_kdeui_213(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QUrl&);

    sipVH_kdeui_213(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextBrowser::backward()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_backward);

    if (!sipMeth)
    {
         ::KTextBrowser::backward();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKTextBrowser::forward()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_forward);

    if (!sipMeth)
    {
         ::KTextBrowser::forward();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKTextBrowser::home()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_home);

    if (!sipMeth)
    {
         ::KTextBrowser::home();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKTextBrowser::reload()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_reload);

    if (!sipMeth)
    {
         ::KTextBrowser::reload();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}


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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 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_QTextBrowser)
        return static_cast< ::QTextBrowser *>(sipCpp);

    if (targetType == sipType_QTextEdit)
        return static_cast< ::QTextEdit *>(sipCpp);

    if (targetType == sipType_QAbstractScrollArea)
        return static_cast< ::QAbstractScrollArea *>(sipCpp);

    if (targetType == sipType_QFrame)
        return static_cast< ::QFrame *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKTextBrowser *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KTextBrowser(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{117, 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}
};


static pyqt4ClassPluginDef plugin_KTextBrowser = {
    & ::KTextBrowser::staticMetaObject,
    0,
    signals_KTextBrowser
};


sipClassTypeDef sipTypeDef_kdeui_KTextBrowser = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KTextBrowser,
        {0},
        &plugin_KTextBrowser
    },
    {
        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
};

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/ktabwidget.sip"
#include <ktabwidget.h>
#line 9258 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 9262 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9265 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9268 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9271 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9274 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9277 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9280 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9283 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 9286 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 9289 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcolor.sip"
#include <qcolor.h>
#line 9292 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 9295 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9298 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9301 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qtabbar.sip"
#include <qtabbar.h>
#line 9304 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9307 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9310 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9313 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 516 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 9316 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qtabwidget.sip"
#include <qtabwidget.h>
#line 9319 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 9322 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9325 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 9328 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9331 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 9334 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 9337 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 9340 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 9343 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 9346 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 9349 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 9352 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 9355 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 9358 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 9361 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 9364 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 9367 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 9370 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 9373 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9376 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9379 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9382 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9385 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9388 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9391 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9394 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9397 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9400 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 9403 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 9406 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 9409 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 9412 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 9415 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 9418 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 9421 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9424 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 9427 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 9430 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 9433 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 9436 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9439 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9442 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 9445 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 9448 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 9451 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 9454 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 9457 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 9460 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 wheelDelta(int);
    void removeTab(int);
    void removePage( ::QWidget*);
    void moveTab(int,int);
    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*);
    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*);
    int heightForWidth(int) const;
     ::QSize minimumSizeHint() const;
     ::QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;
     ::QPaintEngine* paintEngine() const;
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);
    void tabInserted(int);
    void tabRemoved(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()
{
    sipInstanceDestroyed(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::wheelDelta(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_wheelDelta);

    if (!sipMeth)
    {
         ::KTabWidget::wheelDelta(a0);
        return;
    }

    extern void sipVH_kdeui_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_kdeui_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::removeTab(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_removeTab);

    if (!sipMeth)
    {
         ::KTabWidget::removeTab(a0);
        return;
    }

    extern void sipVH_kdeui_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_kdeui_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::removePage( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_removePage);

    if (!sipMeth)
    {
         ::KTabWidget::removePage(a0);
        return;
    }

    extern void sipVH_kdeui_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    sipVH_kdeui_44(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::moveTab(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_moveTab);

    if (!sipMeth)
    {
         ::KTabWidget::moveTab(a0,a1);
        return;
    }

    extern void sipVH_kdeui_78(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    sipVH_kdeui_78(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKTabWidget::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KTabWidget::languageChange();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKTabWidget::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KTabWidget::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KTabWidget::fontChange(a0);
        return;
    }

    extern void sipVH_kdeui_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

    sipVH_kdeui_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KTabWidget::paletteChange(a0);
        return;
    }

    extern void sipVH_kdeui_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

    sipVH_kdeui_34(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KTabWidget::enabledChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKTabWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KTabWidget::focusNextPrevChild(a0);

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(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[10]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::KTabWidget::inputMethodQuery(a0);

    extern  ::QVariant sipVH_kdeui_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_kdeui_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KTabWidget::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KTabWidget::changeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KTabWidget::hideEvent(a0);
        return;
    }

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kdeui_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KTabWidget::showEvent(a0);
        return;
    }

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kdeui_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KTabWidget::dropEvent(a0);
        return;
    }

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kdeui_28(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;
    }

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kdeui_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KTabWidget::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kdeui_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KTabWidget::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kdeui_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KTabWidget::actionEvent(a0);
        return;
    }

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kdeui_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KTabWidget::tabletEvent(a0);
        return;
    }

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kdeui_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KTabWidget::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kdeui_22(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KTabWidget::closeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kdeui_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KTabWidget::resizeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kdeui_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KTabWidget::moveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kdeui_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KTabWidget::paintEvent(a0);
        return;
    }

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kdeui_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KTabWidget::leaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KTabWidget::enterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KTabWidget::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KTabWidget::focusInEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KTabWidget::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KTabWidget::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KTabWidget::wheelEvent(a0);
        return;
    }

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kdeui_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KTabWidget::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KTabWidget::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KTabWidget::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KTabWidget::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKTabWidget::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::KTabWidget::heightForWidth(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKTabWidget::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KTabWidget::minimumSizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKTabWidget::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KTabWidget::sizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKTabWidget::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KTabWidget::setVisible(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKTabWidget::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KTabWidget::devType();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipKTabWidget::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KTabWidget::paintEngine();

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKTabWidget::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[43]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::KTabWidget::metric(a0);

    extern int sipVH_kdeui_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_kdeui_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKTabWidget::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KTabWidget::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKTabWidget::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KTabWidget::eventFilter(a0,a1);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKTabWidget::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KTabWidget::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KTabWidget::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KTabWidget::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KTabWidget::connectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KTabWidget::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::tabInserted(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_tabInserted);

    if (!sipMeth)
    {
         ::KTabWidget::tabInserted(a0);
        return;
    }

    extern void sipVH_kdeui_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_kdeui_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabWidget::tabRemoved(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_tabRemoved);

    if (!sipMeth)
    {
         ::KTabWidget::tabRemoved(a0);
        return;
    }

    extern void sipVH_kdeui_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_kdeui_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}


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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 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_QTabWidget)
        return static_cast< ::QTabWidget *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKTabWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KTabWidget(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{113, 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}
};


static pyqt4ClassPluginDef plugin_KTabWidget = {
    & ::KTabWidget::staticMetaObject,
    0,
    signals_KTabWidget
};


sipClassTypeDef sipTypeDef_kdeui_KTabWidget = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KTabWidget,
        {0},
        &plugin_KTabWidget
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/ktabbar.sip"
#include <ktabbar.h>
#line 11635 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 11639 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 11642 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11645 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11648 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11651 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11654 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11657 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11660 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11663 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 11666 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11669 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qtabbar.sip"
#include <qtabbar.h>
#line 11672 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11675 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11678 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11681 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 759 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 11684 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11687 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 11690 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 11693 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 11696 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 11699 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcolor.sip"
#include <qcolor.h>
#line 11702 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11705 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 11708 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11711 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 11714 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 11717 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 11720 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 11723 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 11726 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 11729 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 11732 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 11735 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 11738 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 11741 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 11744 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11747 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 11750 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11753 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11756 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11759 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11762 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11765 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11768 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11771 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11774 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 11777 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 11780 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 11783 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 11786 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 11789 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 11792 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 11795 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11798 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 11801 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 11804 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 11807 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 11810 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11813 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11816 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 11819 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 11822 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 11825 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 11828 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 11831 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 11834 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 activateDragSwitchTab();
    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*);
    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*);
    int heightForWidth(int) const;
     ::QSize minimumSizeHint() const;
     ::QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;
     ::QPaintEngine* paintEngine() const;
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);
     ::QSize tabSizeHint(int) const;
    void tabInserted(int);
    void tabRemoved(int);
    void tabLayoutChange();

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()
{
    sipInstanceDestroyed(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::activateDragSwitchTab()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_activateDragSwitchTab);

    if (!sipMeth)
    {
         ::KTabBar::activateDragSwitchTab();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKTabBar::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KTabBar::languageChange();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKTabBar::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KTabBar::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KTabBar::fontChange(a0);
        return;
    }

    extern void sipVH_kdeui_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

    sipVH_kdeui_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KTabBar::paletteChange(a0);
        return;
    }

    extern void sipVH_kdeui_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

    sipVH_kdeui_34(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KTabBar::enabledChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKTabBar::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KTabBar::focusNextPrevChild(a0);

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(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[7]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::KTabBar::inputMethodQuery(a0);

    extern  ::QVariant sipVH_kdeui_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_kdeui_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KTabBar::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KTabBar::changeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KTabBar::hideEvent(a0);
        return;
    }

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kdeui_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KTabBar::showEvent(a0);
        return;
    }

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kdeui_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KTabBar::dropEvent(a0);
        return;
    }

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kdeui_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KTabBar::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kdeui_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KTabBar::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kdeui_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KTabBar::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kdeui_25(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;
    }

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kdeui_24(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;
    }

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kdeui_23(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;
    }

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kdeui_22(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;
    }

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kdeui_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KTabBar::resizeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kdeui_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KTabBar::moveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kdeui_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KTabBar::paintEvent(a0);
        return;
    }

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kdeui_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KTabBar::leaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KTabBar::enterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KTabBar::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KTabBar::focusInEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KTabBar::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KTabBar::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KTabBar::wheelEvent(a0);
        return;
    }

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kdeui_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KTabBar::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KTabBar::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KTabBar::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KTabBar::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKTabBar::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::KTabBar::heightForWidth(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKTabBar::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KTabBar::minimumSizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKTabBar::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KTabBar::sizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKTabBar::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KTabBar::setVisible(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKTabBar::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KTabBar::devType();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipKTabBar::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KTabBar::paintEngine();

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKTabBar::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::KTabBar::metric(a0);

    extern int sipVH_kdeui_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_kdeui_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKTabBar::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KTabBar::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKTabBar::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KTabBar::eventFilter(a0,a1);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKTabBar::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KTabBar::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KTabBar::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KTabBar::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KTabBar::connectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KTabBar::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKTabBar::tabSizeHint(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[48]),sipPySelf,NULL,sipName_tabSizeHint);

    if (!sipMeth)
        return  ::KTabBar::tabSizeHint(a0);

    extern  ::QSize sipVH_kdeui_212(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_212(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::tabInserted(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_tabInserted);

    if (!sipMeth)
    {
         ::KTabBar::tabInserted(a0);
        return;
    }

    extern void sipVH_kdeui_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_kdeui_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::tabRemoved(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_tabRemoved);

    if (!sipMeth)
    {
         ::KTabBar::tabRemoved(a0);
        return;
    }

    extern void sipVH_kdeui_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_kdeui_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTabBar::tabLayoutChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_tabLayoutChange);

    if (!sipMeth)
    {
         ::KTabBar::tabLayoutChange();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}


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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 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_QTabBar)
        return static_cast< ::QTabBar *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKTabBar *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KTabBar(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{112, 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}
};


static pyqt4ClassPluginDef plugin_KTabBar = {
    & ::KTabBar::staticMetaObject,
    0,
    signals_KTabBar
};


sipClassTypeDef sipTypeDef_kdeui_KTabBar = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KTabBar,
        {0},
        &plugin_KTabBar
    },
    {
        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
};

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/ksystemtrayicon.sip"
#include <ksystemtrayicon.h>
#line 13747 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 13751 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 13754 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 13757 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qmovie.sip"
#include <qmovie.h>
#line 13760 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 13763 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kcomponentdata.sip"
#include <kcomponentdata.h>
#line 13766 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kactioncollection.sip"
#include <kactioncollection.h>
#line 13769 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13772 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 29 "/usr/share/sip/PyQt4/QtGui/qsystemtrayicon.sip"
#include <qsystemtrayicon.h>
#line 13775 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 13778 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 13781 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13784 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13787 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 13790 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 13793 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 13796 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 13799 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13802 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 13805 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 13808 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 13811 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 13814 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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()
{
    sipInstanceDestroyed(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;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(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;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(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;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(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;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(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;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(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);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(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);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(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;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KSystemTrayIcon(void *, const sipTypeDef *);}
static void *cast_KSystemTrayIcon(void *sipCppV, const sipTypeDef *targetType)
{
     ::KSystemTrayIcon *sipCpp = reinterpret_cast< ::KSystemTrayIcon *>(sipCppV);

    if (targetType == sipType_QSystemTrayIcon)
        return static_cast< ::QSystemTrayIcon *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKSystemTrayIcon *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KSystemTrayIcon(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{111, 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}
};


static pyqt4ClassPluginDef plugin_KSystemTrayIcon = {
    & ::KSystemTrayIcon::staticMetaObject,
    0,
    signals_KSystemTrayIcon
};


sipClassTypeDef sipTypeDef_kdeui_KSystemTrayIcon = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KSystemTrayIcon,
        {0},
        &plugin_KSystemTrayIcon
    },
    {
        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,
    cast_KSystemTrayIcon,
    0,
    0,
    0,
    0,
    0,
    0
};


#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 14468 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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}
};


static pyqt4ClassPluginDef plugin_KSystemEventFilter = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KSystemEventFilter = {
    {
        -1,
        0,
        0,
        SIP_TYPE_NAMESPACE,
        sipNameNr_KSystemEventFilter,
        {0},
        &plugin_KSystemEventFilter
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/ksvgrenderer.sip"
#include <ksvgrenderer.h>
#line 14587 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"

#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 14591 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 14594 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 14597 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 14600 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 159 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 14603 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 14606 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 14609 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 30 "/usr/share/sip/PyQt4/QtGui/qmatrix.sip"
#include <qmatrix.h>
#line 14612 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14615 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14618 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14621 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 14624 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 14627 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 14630 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 14633 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 14636 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 14639 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 14642 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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()
{
    sipInstanceDestroyed(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;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(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;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(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;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(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;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(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;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(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);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(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);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(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;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KSvgRenderer(void *, const sipTypeDef *);}
static void *cast_KSvgRenderer(void *sipCppV, const sipTypeDef *targetType)
{
     ::KSvgRenderer *sipCpp = reinterpret_cast< ::KSvgRenderer *>(sipCppV);

    if (targetType == sipType_QSvgRenderer)
        return static_cast< ::QSvgRenderer *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKSvgRenderer *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KSvgRenderer(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{0, 4, 1}};


static PyMethodDef methods_KSvgRenderer[] = {
    {SIP_MLNAME_CAST(sipName_load), meth_KSvgRenderer_load, METH_VARARGS, NULL}
};


static pyqt4ClassPluginDef plugin_KSvgRenderer = {
    & ::KSvgRenderer::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KSvgRenderer = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KSvgRenderer,
        {0},
        &plugin_KSvgRenderer
    },
    {
        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,
    cast_KSvgRenderer,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kstyle.sip"
#include <kstyle.h>
#line 15062 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"

#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 15066 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 15069 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 15072 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 15075 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 15078 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 1361 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 15081 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 15084 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 15087 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 15090 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 1677 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 15093 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 15096 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 15099 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15102 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 15105 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15108 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 15111 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 15114 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 15117 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 475 "/usr/share/sip/PyQt4/QtGui/qapplication.sip"
#include <qapplication.h>
#line 15120 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 15123 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15126 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15129 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15132 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 15135 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 15138 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 15141 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 15144 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 15147 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 15150 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 15153 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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:
    int widgetLayoutProp( ::KStyle::WidgetType,int,const  ::QStyleOption*,const  ::QWidget*) const;
    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 polish( ::QWidget*);
    void unpolish( ::QWidget*);
    void polish( ::QApplication*);
    void unpolish( ::QApplication*);
    void polish( ::QPalette&);
     ::QRect itemTextRect(const  ::QFontMetrics&,const  ::QRect&,int,bool,const  ::QString&) const;
     ::QRect itemPixmapRect(const  ::QRect&,int,const  ::QPixmap&) const;
    void drawItemText( ::QPainter*,const  ::QRect&,int,const  ::QPalette&,bool,const  ::QString&, ::QPalette::ColorRole) const;
    void drawItemPixmap( ::QPainter*,const  ::QRect&,int,const  ::QPixmap&) const;
     ::QPalette standardPalette() const;
    void drawPrimitive( ::QStyle::PrimitiveElement,const  ::QStyleOption*, ::QPainter*,const  ::QWidget*) const;
    void drawControl( ::QStyle::ControlElement,const  ::QStyleOption*, ::QPainter*,const  ::QWidget*) const;
     ::QRect subElementRect( ::QStyle::SubElement,const  ::QStyleOption*,const  ::QWidget*) const;
    void drawComplexControl( ::QStyle::ComplexControl,const  ::QStyleOptionComplex*, ::QPainter*,const  ::QWidget*) const;
     ::QStyle::SubControl hitTestComplexControl( ::QStyle::ComplexControl,const  ::QStyleOptionComplex*,const  ::QPoint&,const  ::QWidget*) const;
     ::QRect subControlRect( ::QStyle::ComplexControl,const  ::QStyleOptionComplex*, ::QStyle::SubControl,const  ::QWidget*) const;
    int pixelMetric( ::QStyle::PixelMetric,const  ::QStyleOption*,const  ::QWidget*) const;
     ::QSize sizeFromContents( ::QStyle::ContentsType,const  ::QStyleOption*,const  ::QSize&,const  ::QWidget*) const;
    int styleHint( ::QStyle::StyleHint,const  ::QStyleOption*,const  ::QWidget*, ::QStyleHintReturn*) const;
     ::QPixmap standardPixmap( ::QStyle::StandardPixmap,const  ::QStyleOption*,const  ::QWidget*) const;
     ::QPixmap generatedIconPixmap( ::QIcon::Mode,const  ::QPixmap&,const  ::QStyleOption*) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKStyle(const sipKStyle &);
    sipKStyle &operator = (const sipKStyle &);

    char sipPyMethods[29];
};

sipKStyle::sipKStyle():  ::KStyle(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKStyle::~sipKStyle()
{
    sipInstanceDestroyed(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);
}

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[0]),sipPySelf,NULL,sipName_widgetLayoutProp);

    if (!sipMeth)
        return  ::KStyle::widgetLayoutProp(a0,a1,a2,a3);

    extern int sipVH_kdeui_211(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KStyle::WidgetType,int,const  ::QStyleOption*,const  ::QWidget*);

    return sipVH_kdeui_211(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipKStyle::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KStyle::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStyle::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KStyle::connectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStyle::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KStyle::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStyle::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KStyle::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStyle::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KStyle::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKStyle::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KStyle::eventFilter(a0,a1);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKStyle::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KStyle::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStyle::polish( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_polish);

    if (!sipMeth)
    {
         ::KStyle::polish(a0);
        return;
    }

    extern void sipVH_kdeui_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    sipVH_kdeui_44(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStyle::unpolish( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_unpolish);

    if (!sipMeth)
    {
         ::KStyle::unpolish(a0);
        return;
    }

    extern void sipVH_kdeui_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    sipVH_kdeui_44(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStyle::polish( ::QApplication*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_polish);

    if (!sipMeth)
    {
         ::KStyle::polish(a0);
        return;
    }

    extern void sipVH_kdeui_210(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QApplication*);

    sipVH_kdeui_210(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStyle::unpolish( ::QApplication*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_unpolish);

    if (!sipMeth)
    {
         ::KStyle::unpolish(a0);
        return;
    }

    extern void sipVH_kdeui_210(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QApplication*);

    sipVH_kdeui_210(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStyle::polish( ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_polish);

    if (!sipMeth)
    {
         ::KStyle::polish(a0);
        return;
    }

    extern void sipVH_kdeui_209(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPalette&);

    sipVH_kdeui_209(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::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[13]),sipPySelf,NULL,sipName_itemTextRect);

    if (!sipMeth)
        return  ::KStyle::itemTextRect(a0,a1,a2,a3,a4);

    extern  ::QRect sipVH_kdeui_208(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFontMetrics&,const  ::QRect&,int,bool,const  ::QString&);

    return sipVH_kdeui_208(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

 ::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[14]),sipPySelf,NULL,sipName_itemPixmapRect);

    if (!sipMeth)
        return  ::KStyle::itemPixmapRect(a0,a1,a2);

    extern  ::QRect sipVH_kdeui_207(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRect&,int,const  ::QPixmap&);

    return sipVH_kdeui_207(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

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[15]),sipPySelf,NULL,sipName_drawItemText);

    if (!sipMeth)
    {
         ::KStyle::drawItemText(a0,a1,a2,a3,a4,a5,a6);
        return;
    }

    extern void sipVH_kdeui_206(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QRect&,int,const  ::QPalette&,bool,const  ::QString&, ::QPalette::ColorRole);

    sipVH_kdeui_206(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3, a4, a5, a6);
}

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[16]),sipPySelf,NULL,sipName_drawItemPixmap);

    if (!sipMeth)
    {
         ::KStyle::drawItemPixmap(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_kdeui_205(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QRect&,int,const  ::QPixmap&);

    sipVH_kdeui_205(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[17]),sipPySelf,NULL,sipName_standardPalette);

    if (!sipMeth)
        return  ::KStyle::standardPalette();

    extern  ::QPalette sipVH_kdeui_204(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_204(sipGILState, 0, sipPySelf, sipMeth);
}

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[18]),sipPySelf,NULL,sipName_drawPrimitive);

    if (!sipMeth)
    {
         ::KStyle::drawPrimitive(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_kdeui_203(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyle::PrimitiveElement,const  ::QStyleOption*, ::QPainter*,const  ::QWidget*);

    sipVH_kdeui_203(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

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[19]),sipPySelf,NULL,sipName_drawControl);

    if (!sipMeth)
    {
         ::KStyle::drawControl(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_kdeui_202(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyle::ControlElement,const  ::QStyleOption*, ::QPainter*,const  ::QWidget*);

    sipVH_kdeui_202(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[20]),sipPySelf,NULL,sipName_subElementRect);

    if (!sipMeth)
        return  ::KStyle::subElementRect(a0,a1,a2);

    extern  ::QRect sipVH_kdeui_201(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyle::SubElement,const  ::QStyleOption*,const  ::QWidget*);

    return sipVH_kdeui_201(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

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[21]),sipPySelf,NULL,sipName_drawComplexControl);

    if (!sipMeth)
    {
         ::KStyle::drawComplexControl(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_kdeui_200(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyle::ComplexControl,const  ::QStyleOptionComplex*, ::QPainter*,const  ::QWidget*);

    sipVH_kdeui_200(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[22]),sipPySelf,NULL,sipName_hitTestComplexControl);

    if (!sipMeth)
        return  ::KStyle::hitTestComplexControl(a0,a1,a2,a3);

    extern  ::QStyle::SubControl sipVH_kdeui_199(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyle::ComplexControl,const  ::QStyleOptionComplex*,const  ::QPoint&,const  ::QWidget*);

    return sipVH_kdeui_199(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

 ::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[23]),sipPySelf,NULL,sipName_subControlRect);

    if (!sipMeth)
        return  ::KStyle::subControlRect(a0,a1,a2,a3);

    extern  ::QRect sipVH_kdeui_198(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyle::ComplexControl,const  ::QStyleOptionComplex*, ::QStyle::SubControl,const  ::QWidget*);

    return sipVH_kdeui_198(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[24]),sipPySelf,NULL,sipName_pixelMetric);

    if (!sipMeth)
        return  ::KStyle::pixelMetric(a0,a1,a2);

    extern int sipVH_kdeui_197(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyle::PixelMetric,const  ::QStyleOption*,const  ::QWidget*);

    return sipVH_kdeui_197(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

 ::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[25]),sipPySelf,NULL,sipName_sizeFromContents);

    if (!sipMeth)
        return  ::KStyle::sizeFromContents(a0,a1,a2,a3);

    extern  ::QSize sipVH_kdeui_196(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyle::ContentsType,const  ::QStyleOption*,const  ::QSize&,const  ::QWidget*);

    return sipVH_kdeui_196(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

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[26]),sipPySelf,NULL,sipName_styleHint);

    if (!sipMeth)
        return  ::KStyle::styleHint(a0,a1,a2,a3);

    extern int sipVH_kdeui_195(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyle::StyleHint,const  ::QStyleOption*,const  ::QWidget*, ::QStyleHintReturn*);

    return sipVH_kdeui_195(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

 ::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[27]),sipPySelf,NULL,sipName_standardPixmap);

    if (!sipMeth)
        return  ::KStyle::standardPixmap(a0,a1,a2);

    extern  ::QPixmap sipVH_kdeui_194(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyle::StandardPixmap,const  ::QStyleOption*,const  ::QWidget*);

    return sipVH_kdeui_194(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

 ::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[28]),sipPySelf,NULL,sipName_generatedIconPixmap);

    if (!sipMeth)
        return  ::KStyle::generatedIconPixmap(a0,a1,a2);

    extern  ::QPixmap sipVH_kdeui_193(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QIcon::Mode,const  ::QPixmap&,const  ::QStyleOption*);

    return sipVH_kdeui_193(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}


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 || sipIsDerivedClass((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 || sipIsDerivedClass((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
            (sipSelfWasArg ? sipCpp-> ::KStyle::polish(a0) : 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
            (sipSelfWasArg ? sipCpp-> ::KStyle::polish(*a0) : 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 || sipIsDerivedClass((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
            (sipSelfWasArg ? sipCpp-> ::KStyle::unpolish(a0) : 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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KStyle(void *, const sipTypeDef *);}
static void *cast_KStyle(void *sipCppV, const sipTypeDef *targetType)
{
     ::KStyle *sipCpp = reinterpret_cast< ::KStyle *>(sipCppV);

    if (targetType == sipType_QStyle)
        return static_cast< ::QStyle *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKStyle *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KStyle(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{95, 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},
};


static pyqt4ClassPluginDef plugin_KStyle = {
    & ::KStyle::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KStyle = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KStyle,
        {0},
        &plugin_KStyle
    },
    {
        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,
    cast_KStyle,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 50 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kstringvalidator.sip"
#include <kstringvalidator.h>
#line 16964 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"

#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 16968 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 16971 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qvalidator.sip"
#include <qvalidator.h>
#line 16974 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 16977 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 16980 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 16983 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 16986 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 16989 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 16992 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 16995 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 16998 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 17001 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 17004 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 17007 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 17010 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 fixup( ::QString&) const;
     ::QValidator::State validate( ::QString&,int&) const;
    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:
    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()
{
    sipInstanceDestroyed(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::fixup( ::QString& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_fixup);

    if (!sipMeth)
    {
         ::KMimeTypeValidator::fixup(a0);
        return;
    }

    if (sipIsAPIEnabled(sipName_QString, 0, 2))
    {
        extern void sipVH_kdeui_136(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QString&);

        sipVH_kdeui_136(sipGILState, 0, sipPySelf, sipMeth, a0);
        return;
    }

    if (sipIsAPIEnabled(sipName_QString, 2, 0))
    {
        extern void sipVH_kdeui_135(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QString&);

        sipVH_kdeui_135(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[1]),sipPySelf,sipName_KMimeTypeValidator,sipName_validate);

    if (!sipMeth)
        return ( ::QValidator::State)0;

    if (sipIsAPIEnabled(sipName_QString, 0, 2))
    {
        extern  ::QValidator::State sipVH_kdeui_134(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QString&,int&);

        return sipVH_kdeui_134(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
    }

    if (sipIsAPIEnabled(sipName_QString, 2, 0))
    {
        extern  ::QValidator::State sipVH_kdeui_133(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QString&,int&);

        return sipVH_kdeui_133(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
    }

    return ( ::QValidator::State)0;
}

void sipKMimeTypeValidator::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KMimeTypeValidator::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMimeTypeValidator::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KMimeTypeValidator::connectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMimeTypeValidator::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KMimeTypeValidator::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMimeTypeValidator::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KMimeTypeValidator::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMimeTypeValidator::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KMimeTypeValidator::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKMimeTypeValidator::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KMimeTypeValidator::eventFilter(a0,a1);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKMimeTypeValidator::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KMimeTypeValidator::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}


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 || sipIsDerivedClass((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;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KMimeTypeValidator(void *, const sipTypeDef *);}
static void *cast_KMimeTypeValidator(void *sipCppV, const sipTypeDef *targetType)
{
     ::KMimeTypeValidator *sipCpp = reinterpret_cast< ::KMimeTypeValidator *>(sipCppV);

    if (targetType == sipType_QValidator)
        return static_cast< ::QValidator *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKMimeTypeValidator *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KMimeTypeValidator(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{127, 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}
};


static pyqt4ClassPluginDef plugin_KMimeTypeValidator = {
    & ::KMimeTypeValidator::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KMimeTypeValidator = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KMimeTypeValidator,
        {0},
        &plugin_KMimeTypeValidator
    },
    {
        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,
    cast_KMimeTypeValidator,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kstringvalidator.sip"
#include <kstringvalidator.h>
#line 17512 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"

#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 17516 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 17519 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 17522 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qvalidator.sip"
#include <qvalidator.h>
#line 17525 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 17528 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17531 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17534 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17537 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 17540 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 17543 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 17546 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17549 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 17552 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 17555 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 17558 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 17561 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 fixup( ::QString&) const;
     ::QValidator::State validate( ::QString&,int&) const;
    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:
    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()
{
    sipInstanceDestroyed(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::fixup( ::QString& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_fixup);

    if (!sipMeth)
    {
         ::KStringListValidator::fixup(a0);
        return;
    }

    if (sipIsAPIEnabled(sipName_QString, 0, 2))
    {
        extern void sipVH_kdeui_136(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QString&);

        sipVH_kdeui_136(sipGILState, 0, sipPySelf, sipMeth, a0);
        return;
    }

    if (sipIsAPIEnabled(sipName_QString, 2, 0))
    {
        extern void sipVH_kdeui_135(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QString&);

        sipVH_kdeui_135(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[1]),sipPySelf,sipName_KStringListValidator,sipName_validate);

    if (!sipMeth)
        return ( ::QValidator::State)0;

    if (sipIsAPIEnabled(sipName_QString, 0, 2))
    {
        extern  ::QValidator::State sipVH_kdeui_134(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QString&,int&);

        return sipVH_kdeui_134(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
    }

    if (sipIsAPIEnabled(sipName_QString, 2, 0))
    {
        extern  ::QValidator::State sipVH_kdeui_133(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QString&,int&);

        return sipVH_kdeui_133(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
    }

    return ( ::QValidator::State)0;
}

void sipKStringListValidator::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KStringListValidator::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStringListValidator::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KStringListValidator::connectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStringListValidator::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KStringListValidator::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStringListValidator::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KStringListValidator::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStringListValidator::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KStringListValidator::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKStringListValidator::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KStringListValidator::eventFilter(a0,a1);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKStringListValidator::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KStringListValidator::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}


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 || sipIsDerivedClass((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;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KStringListValidator(void *, const sipTypeDef *);}
static void *cast_KStringListValidator(void *sipCppV, const sipTypeDef *targetType)
{
     ::KStringListValidator *sipCpp = reinterpret_cast< ::KStringListValidator *>(sipCppV);

    if (targetType == sipType_QValidator)
        return static_cast< ::QValidator *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKStringListValidator *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KStringListValidator(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{127, 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}
};


static pyqt4ClassPluginDef plugin_KStringListValidator = {
    & ::KStringListValidator::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KStringListValidator = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KStringListValidator,
        {0},
        &plugin_KStringListValidator
    },
    {
        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,
    cast_KStringListValidator,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 23 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kstatusnotifieritem.sip"
#include <kstatusnotifieritem.h>
#line 18239 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"

#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 18243 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 18246 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 18249 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 18252 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 18255 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kactioncollection.sip"
#include <kactioncollection.h>
#line 18258 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 18261 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kmenu.sip"
#include <kmenu.h>
#line 18264 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 18267 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 18270 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 18273 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 18276 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 18279 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 18282 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 18285 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 18288 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 18291 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 18294 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 activate(const  ::QPoint&);
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    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()
{
    sipInstanceDestroyed(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::activate(const  ::QPoint& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_activate);

    if (!sipMeth)
    {
         ::KStatusNotifierItem::activate(a0);
        return;
    }

    extern void sipVH_kdeui_192(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPoint&);

    sipVH_kdeui_192(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKStatusNotifierItem::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KStatusNotifierItem::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKStatusNotifierItem::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KStatusNotifierItem::eventFilter(a0,a1);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKStatusNotifierItem::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KStatusNotifierItem::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusNotifierItem::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KStatusNotifierItem::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusNotifierItem::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KStatusNotifierItem::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusNotifierItem::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KStatusNotifierItem::connectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusNotifierItem::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KStatusNotifierItem::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(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 || sipIsDerivedClass((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 || sipIsDerivedClass((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;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KStatusNotifierItem(void *, const sipTypeDef *);}
static void *cast_KStatusNotifierItem(void *sipCppV, const sipTypeDef *targetType)
{
     ::KStatusNotifierItem *sipCpp = reinterpret_cast< ::KStatusNotifierItem *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKStatusNotifierItem *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KStatusNotifierItem(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{19, 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}
};


static pyqt4ClassPluginDef plugin_KStatusNotifierItem = {
    & ::KStatusNotifierItem::staticMetaObject,
    0,
    signals_KStatusNotifierItem
};


sipClassTypeDef sipTypeDef_kdeui_KStatusNotifierItem = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KStatusNotifierItem,
        {0},
        &plugin_KStatusNotifierItem
    },
    {
        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,
    cast_KStatusNotifierItem,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kstatusbarjobtracker.sip"
#include <kstatusbarjobtracker.h>
#line 19856 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kstatusbarjobtracker.sip"
#include <kstatusbarjobtracker.h>
#line 19860 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 381 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KStatusBarJobTracker::StatusBarModes::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 19882 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 372 "/usr/share/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 19916 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 363 "/usr/share/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 19956 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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___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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 357 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
        *sipCpp = KStatusBarJobTracker::StatusBarModes(*sipCpp ^ a0);
#line 19995 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"

            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___xor__(PyObject *,PyObject *);}
static PyObject *slot_KStatusBarJobTracker_StatusBarModes___xor__(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, xor_slot, NULL, sipArg0, sipArg1);
}


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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 351 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
        *sipCpp = KStatusBarJobTracker::StatusBarModes(*sipCpp | a0);
#line 20069 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"

            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___or__(PyObject *,PyObject *);}
static PyObject *slot_KStatusBarJobTracker_StatusBarModes___or__(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, or_slot, NULL, sipArg0, sipArg1);
}


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;
}


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___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___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;
}


/* 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 (sipIsOwnedByPython(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;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KStatusBarJobTracker::StatusBarModes();
            Py_END_ALLOW_THREADS

            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;
        }
    }

    {
        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;
        }
    }

    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 390 "/usr/share/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 20357 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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___ixor__, ixor_slot},
    {(void *)slot_KStatusBarJobTracker_StatusBarModes___xor__, xor_slot},
    {(void *)slot_KStatusBarJobTracker_StatusBarModes___ior__, ior_slot},
    {(void *)slot_KStatusBarJobTracker_StatusBarModes___or__, or_slot},
    {(void *)slot_KStatusBarJobTracker_StatusBarModes___iand__, iand_slot},
    {(void *)slot_KStatusBarJobTracker_StatusBarModes___and__, and_slot},
    {(void *)slot_KStatusBarJobTracker_StatusBarModes___invert__, invert_slot},
    {(void *)slot_KStatusBarJobTracker_StatusBarModes___int__, int_slot},
    {0, (sipPySlotType)0}
};


static pyqt4ClassPluginDef plugin_KStatusBarJobTracker_StatusBarModes = {
    0,
    1,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KStatusBarJobTracker_StatusBarModes = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KStatusBarJobTracker__StatusBarModes,
        {0},
        &plugin_KStatusBarJobTracker_StatusBarModes
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kstatusbarjobtracker.sip"
#include <kstatusbarjobtracker.h>
#line 20436 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 20440 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 20443 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 20446 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 589 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <qpair.h>
#line 20449 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 68 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 20452 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kstatusbarjobtracker.sip"
#include <kstatusbarjobtracker.h>
#line 20455 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 20458 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 20461 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 20464 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 20467 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 20470 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 20473 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 20476 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 20479 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 20482 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 20485 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 20488 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 20491 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 speed( ::KJob*,unsigned long);
    void percent( ::KJob*,unsigned long);
    void processedAmount( ::KJob*, ::KJob::Unit, ::qulonglong);
    void totalAmount( ::KJob*, ::KJob::Unit, ::qulonglong);
    void warning( ::KJob*,const  ::QString&,const  ::QString&);
    void infoMessage( ::KJob*,const  ::QString&,const  ::QString&);
    void description( ::KJob*,const  ::QString&,const QPair< ::QString, ::QString>&,const QPair< ::QString, ::QString>&);
    void resumed( ::KJob*);
    void suspended( ::KJob*);
    void finished( ::KJob*);
    void unregisterJob( ::KJob*);
    void registerJob( ::KJob*);
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);
     ::QWidget* widget( ::KJob*);
    void slotStop( ::KJob*);
    void slotSuspend( ::KJob*);
    void slotResume( ::KJob*);
    void slotClean( ::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()
{
    sipInstanceDestroyed(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::speed( ::KJob*a0,unsigned long a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_speed);

    if (!sipMeth)
    {
         ::KStatusBarJobTracker::speed(a0,a1);
        return;
    }

    extern void sipVH_kdeui_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KJob*,unsigned long);

    sipVH_kdeui_38(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKStatusBarJobTracker::percent( ::KJob*a0,unsigned long a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_percent);

    if (!sipMeth)
    {
         ::KStatusBarJobTracker::percent(a0,a1);
        return;
    }

    extern void sipVH_kdeui_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KJob*,unsigned long);

    sipVH_kdeui_38(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKStatusBarJobTracker::processedAmount( ::KJob*a0, ::KJob::Unit a1, ::qulonglong a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_processedAmount);

    if (!sipMeth)
    {
         ::KStatusBarJobTracker::processedAmount(a0,a1,a2);
        return;
    }

    extern void sipVH_kdeui_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KJob*, ::KJob::Unit, ::qulonglong);

    sipVH_kdeui_39(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKStatusBarJobTracker::totalAmount( ::KJob*a0, ::KJob::Unit a1, ::qulonglong a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_totalAmount);

    if (!sipMeth)
    {
         ::KStatusBarJobTracker::totalAmount(a0,a1,a2);
        return;
    }

    extern void sipVH_kdeui_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KJob*, ::KJob::Unit, ::qulonglong);

    sipVH_kdeui_39(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[4],sipPySelf,NULL,sipName_warning);

    if (!sipMeth)
    {
         ::KStatusBarJobTracker::warning(a0,a1,a2);
        return;
    }

    extern void sipVH_kdeui_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KJob*,const  ::QString&,const  ::QString&);

    sipVH_kdeui_40(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[5],sipPySelf,NULL,sipName_infoMessage);

    if (!sipMeth)
    {
         ::KStatusBarJobTracker::infoMessage(a0,a1,a2);
        return;
    }

    extern void sipVH_kdeui_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KJob*,const  ::QString&,const  ::QString&);

    sipVH_kdeui_40(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[6],sipPySelf,NULL,sipName_description);

    if (!sipMeth)
    {
         ::KStatusBarJobTracker::description(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_kdeui_41(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KJob*,const  ::QString&,const QPair< ::QString, ::QString>&,const QPair< ::QString, ::QString>&);

    sipVH_kdeui_41(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipKStatusBarJobTracker::resumed( ::KJob*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_resumed);

    if (!sipMeth)
    {
         ::KStatusBarJobTracker::resumed(a0);
        return;
    }

    extern void sipVH_kdeui_42(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KJob*);

    sipVH_kdeui_42(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBarJobTracker::suspended( ::KJob*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_suspended);

    if (!sipMeth)
    {
         ::KStatusBarJobTracker::suspended(a0);
        return;
    }

    extern void sipVH_kdeui_42(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KJob*);

    sipVH_kdeui_42(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBarJobTracker::finished( ::KJob*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_finished);

    if (!sipMeth)
    {
         ::KStatusBarJobTracker::finished(a0);
        return;
    }

    extern void sipVH_kdeui_42(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KJob*);

    sipVH_kdeui_42(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBarJobTracker::unregisterJob( ::KJob*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_unregisterJob);

    if (!sipMeth)
    {
         ::KStatusBarJobTracker::unregisterJob(a0);
        return;
    }

    extern void sipVH_kdeui_42(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KJob*);

    sipVH_kdeui_42(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBarJobTracker::registerJob( ::KJob*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_registerJob);

    if (!sipMeth)
    {
         ::KStatusBarJobTracker::registerJob(a0);
        return;
    }

    extern void sipVH_kdeui_42(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KJob*);

    sipVH_kdeui_42(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKStatusBarJobTracker::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KStatusBarJobTracker::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKStatusBarJobTracker::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KStatusBarJobTracker::eventFilter(a0,a1);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKStatusBarJobTracker::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KStatusBarJobTracker::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBarJobTracker::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KStatusBarJobTracker::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBarJobTracker::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KStatusBarJobTracker::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBarJobTracker::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KStatusBarJobTracker::connectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBarJobTracker::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KStatusBarJobTracker::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QWidget* sipKStatusBarJobTracker::widget( ::KJob*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_widget);

    if (!sipMeth)
        return  ::KStatusBarJobTracker::widget(a0);

    extern  ::QWidget* sipVH_kdeui_43(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KJob*);

    return sipVH_kdeui_43(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBarJobTracker::slotStop( ::KJob*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_slotStop);

    if (!sipMeth)
    {
         ::KStatusBarJobTracker::slotStop(a0);
        return;
    }

    extern void sipVH_kdeui_42(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KJob*);

    sipVH_kdeui_42(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBarJobTracker::slotSuspend( ::KJob*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_slotSuspend);

    if (!sipMeth)
    {
         ::KStatusBarJobTracker::slotSuspend(a0);
        return;
    }

    extern void sipVH_kdeui_42(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KJob*);

    sipVH_kdeui_42(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBarJobTracker::slotResume( ::KJob*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_slotResume);

    if (!sipMeth)
    {
         ::KStatusBarJobTracker::slotResume(a0);
        return;
    }

    extern void sipVH_kdeui_42(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KJob*);

    sipVH_kdeui_42(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBarJobTracker::slotClean( ::KJob*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_slotClean);

    if (!sipMeth)
    {
         ::KStatusBarJobTracker::slotClean(a0);
        return;
    }

    extern void sipVH_kdeui_42(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KJob*);

    sipVH_kdeui_42(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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KStatusBarJobTracker(void *, const sipTypeDef *);}
static void *cast_KStatusBarJobTracker(void *sipCppV, const sipTypeDef *targetType)
{
     ::KStatusBarJobTracker *sipCpp = reinterpret_cast< ::KStatusBarJobTracker *>(sipCppV);

    if (targetType == sipType_KAbstractWidgetJobTracker)
        return static_cast< ::KAbstractWidgetJobTracker *>(sipCpp);

    if (targetType == sipType_KJobTrackerInterface)
        return static_cast< ::KJobTrackerInterface *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKStatusBarJobTracker *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KStatusBarJobTracker(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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},
};


static pyqt4ClassPluginDef plugin_KStatusBarJobTracker = {
    & ::KStatusBarJobTracker::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KStatusBarJobTracker = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KStatusBarJobTracker,
        {0},
        &plugin_KStatusBarJobTracker
    },
    {
        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,
    cast_KStatusBarJobTracker,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kstatusbar.sip"
#include <kstatusbar.h>
#line 21420 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 21424 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 21427 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 21430 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21433 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 21436 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21439 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21442 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21445 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21448 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 21451 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21454 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21457 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 21460 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 21463 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 21466 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 21469 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 21472 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 21475 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 21478 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 21481 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 21484 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 21487 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 21490 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 21493 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 21496 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 21499 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21502 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 21505 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 21508 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21511 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21514 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21517 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21520 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21523 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21526 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21529 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21532 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21535 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21538 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21541 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21544 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21547 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21550 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21553 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 21556 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 21559 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 21562 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 21565 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 21568 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 21571 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 21574 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21577 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 21580 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 21583 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 21586 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 21589 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 21592 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 21595 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 21598 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 21601 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 21604 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 21607 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 21610 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 21613 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 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*);
    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*);
    int heightForWidth(int) const;
     ::QSize minimumSizeHint() const;
     ::QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;
     ::QPaintEngine* paintEngine() const;
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    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()
{
    sipInstanceDestroyed(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::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KStatusBar::languageChange();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKStatusBar::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KStatusBar::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KStatusBar::fontChange(a0);
        return;
    }

    extern void sipVH_kdeui_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

    sipVH_kdeui_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KStatusBar::paletteChange(a0);
        return;
    }

    extern void sipVH_kdeui_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

    sipVH_kdeui_34(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KStatusBar::enabledChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKStatusBar::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KStatusBar::focusNextPrevChild(a0);

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(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[6]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::KStatusBar::inputMethodQuery(a0);

    extern  ::QVariant sipVH_kdeui_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_kdeui_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KStatusBar::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KStatusBar::changeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KStatusBar::hideEvent(a0);
        return;
    }

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kdeui_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KStatusBar::showEvent(a0);
        return;
    }

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kdeui_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KStatusBar::dropEvent(a0);
        return;
    }

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kdeui_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KStatusBar::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kdeui_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KStatusBar::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kdeui_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KStatusBar::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kdeui_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KStatusBar::actionEvent(a0);
        return;
    }

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kdeui_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KStatusBar::tabletEvent(a0);
        return;
    }

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kdeui_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KStatusBar::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kdeui_22(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KStatusBar::closeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kdeui_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KStatusBar::resizeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kdeui_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KStatusBar::moveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kdeui_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KStatusBar::paintEvent(a0);
        return;
    }

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kdeui_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KStatusBar::leaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KStatusBar::enterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KStatusBar::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KStatusBar::focusInEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KStatusBar::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KStatusBar::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KStatusBar::wheelEvent(a0);
        return;
    }

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kdeui_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KStatusBar::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KStatusBar::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KStatusBar::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KStatusBar::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKStatusBar::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  ::KStatusBar::heightForWidth(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKStatusBar::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KStatusBar::minimumSizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKStatusBar::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KStatusBar::sizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKStatusBar::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KStatusBar::setVisible(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKStatusBar::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KStatusBar::devType();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipKStatusBar::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KStatusBar::paintEngine();

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKStatusBar::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::KStatusBar::metric(a0);

    extern int sipVH_kdeui_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_kdeui_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKStatusBar::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KStatusBar::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKStatusBar::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KStatusBar::eventFilter(a0,a1);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKStatusBar::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KStatusBar::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KStatusBar::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KStatusBar::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KStatusBar::connectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStatusBar::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KStatusBar::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(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 || sipIsDerivedClass((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 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_QStatusBar)
        return static_cast< ::QStatusBar *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKStatusBar *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KStatusBar(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{94, 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}
};


static pyqt4ClassPluginDef plugin_KStatusBar = {
    & ::KStatusBar::staticMetaObject,
    0,
    signals_KStatusBar
};


sipClassTypeDef sipTypeDef_kdeui_KStatusBar = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KStatusBar,
        {0},
        &plugin_KStatusBar
    },
    {
        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
};

#line 129 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kstartupinfo.sip"
#include <kstartupinfo.h>
#line 23020 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"

#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 23024 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 623 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 23027 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 23030 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 (sipIsOwnedByPython(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},
};


static pyqt4ClassPluginDef plugin_KStartupInfoData = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KStartupInfoData = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KStartupInfoData,
        {0},
        &plugin_KStartupInfoData
    },
    {
        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
};

#line 95 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kstartupinfo.sip"
#include <kstartupinfo.h>
#line 24145 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"

#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 24149 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 24152 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 (sipIsOwnedByPython(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}
};


static pyqt4ClassPluginDef plugin_KStartupInfoId = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KStartupInfoId = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KStartupInfoId,
        {0},
        &plugin_KStartupInfoId
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kstartupinfo.sip"
#include <kstartupinfo.h>
#line 24582 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"

#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 24586 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 24589 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 95 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kstartupinfo.sip"
#include <kstartupinfo.h>
#line 24592 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 129 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kstartupinfo.sip"
#include <kstartupinfo.h>
#line 24595 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 24598 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 24601 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 24604 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 24607 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 24610 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 24613 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24616 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 24619 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 24622 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 24625 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 24628 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 24631 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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:
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    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()
{
    sipInstanceDestroyed(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);
}

bool sipKStartupInfo::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KStartupInfo::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKStartupInfo::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KStartupInfo::eventFilter(a0,a1);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKStartupInfo::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KStartupInfo::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStartupInfo::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KStartupInfo::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStartupInfo::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KStartupInfo::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStartupInfo::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KStartupInfo::connectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKStartupInfo::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KStartupInfo::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(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 || sipIsDerivedClass((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;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KStartupInfo(void *, const sipTypeDef *);}
static void *cast_KStartupInfo(void *sipCppV, const sipTypeDef *targetType)
{
     ::KStartupInfo *sipCpp = reinterpret_cast< ::KStartupInfo *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKStartupInfo *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KStartupInfo(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{19, 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}
};


static pyqt4ClassPluginDef plugin_KStartupInfo = {
    & ::KStartupInfo::staticMetaObject,
    0,
    signals_KStartupInfo
};


sipClassTypeDef sipTypeDef_kdeui_KStartupInfo = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KStartupInfo,
        {0},
        &plugin_KStartupInfo
    },
    {
        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,
    cast_KStartupInfo,
    0,
    0,
    0,
    0,
    0,
    0
};


#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 25496 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 25499 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 25502 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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;

        if (sipParseArgs(&sipParseErr, sipArgs, "s", &a0))
        {
             ::KStandardShortcut::StandardShortcut sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KStandardShortcut::find(a0);
            Py_END_ALLOW_THREADS

            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},
};


static pyqt4ClassPluginDef plugin_KStandardShortcut = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KStandardShortcut = {
    {
        -1,
        0,
        0,
        SIP_TYPE_NAMESPACE,
        sipNameNr_KStandardShortcut,
        {0},
        &plugin_KStandardShortcut
    },
    {
        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
};


#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kguiitem.sip"
#include <kguiitem.h>
#line 27086 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 27089 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 589 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <qpair.h>
#line 27092 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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},
};


static pyqt4ClassPluginDef plugin_KStandardGuiItem = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KStandardGuiItem = {
    {
        -1,
        0,
        0,
        SIP_TYPE_NAMESPACE,
        sipNameNr_KStandardGuiItem,
        {0},
        &plugin_KStandardGuiItem
    },
    {
        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
};

#line 185 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kstandardaction.sip"
#include <qlist.h>
#line 28139 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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/python-pykde4/python-pykde4-4.14.3-4.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 28197 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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/python-pykde4/python-pykde4-4.14.3-4.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 28231 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
}


sipMappedTypeDef sipTypeDef_kdeui_QList_0100KStandardAction_StandardAction = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_268,     /* QList<KStandardAction::StandardAction> */
        {0},
        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/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 28264 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 28267 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 28270 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 185 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kstandardaction.sip"
#include <qlist.h>
#line 28273 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/krecentfilesaction.sip"
#include <krecentfilesaction.h>
#line 28276 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/ktoggleaction.sip"
#include <ktoggleaction.h>
#line 28279 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/ktogglefullscreenaction.sip"
#include <ktogglefullscreenaction.h>
#line 28282 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 28285 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 SIPBytes_FromString(sipRes);
        }
    }

    /* 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 SIPBytes_FromString(sipRes);
        }
    }

    /* 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},
};


static pyqt4ClassPluginDef plugin_KStandardAction = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KStandardAction = {
    {
        -1,
        0,
        0,
        SIP_TYPE_NAMESPACE,
        sipNameNr_KStandardAction,
        {0},
        &plugin_KStandardAction
    },
    {
        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
};

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/ksqueezedtextlabel.sip"
#include <ksqueezedtextlabel.h>
#line 31654 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 31658 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 31661 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31664 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31667 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31670 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 31673 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 31676 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 31679 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31682 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31685 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 31688 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31691 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 31694 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpicture.sip"
#include <qpicture.h>
#line 31697 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qmovie.sip"
#include <qmovie.h>
#line 31700 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 31703 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 31706 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 31709 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qframe.sip"
#include <qframe.h>
#line 31712 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 31715 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 31718 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 31721 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 31724 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 31727 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 31730 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 31733 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 31736 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 31739 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 31742 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 31745 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 31748 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 31751 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 31754 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 31757 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 31760 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 31763 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31766 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31769 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31772 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31775 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31778 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31781 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31784 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31787 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31790 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31793 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31796 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31799 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 31802 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 31805 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 31808 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 31811 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 31814 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 31817 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 31820 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 31823 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 31826 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 31829 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 31832 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 31835 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 31838 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 31841 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 31844 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 31847 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 31850 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 31853 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 31856 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 31859 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 31862 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 setAlignment( ::Qt::Alignment);
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    void enabledChange(bool);
    void paletteChange(const  ::QPalette&);
    void fontChange(const  ::QFont&);
    void windowActivationChange(bool);
    void languageChange();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKSqueezedTextLabel(const sipKSqueezedTextLabel &);
    sipKSqueezedTextLabel &operator = (const sipKSqueezedTextLabel &);

    char sipPyMethods[48];
};

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()
{
    sipInstanceDestroyed(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::setAlignment( ::Qt::Alignment a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_setAlignment);

    if (!sipMeth)
    {
         ::KSqueezedTextLabel::setAlignment(a0);
        return;
    }

    extern void sipVH_kdeui_191(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::Alignment);

    sipVH_kdeui_191(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KSqueezedTextLabel::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KSqueezedTextLabel::connectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KSqueezedTextLabel::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KSqueezedTextLabel::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KSqueezedTextLabel::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKSqueezedTextLabel::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KSqueezedTextLabel::eventFilter(a0,a1);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKSqueezedTextLabel::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KSqueezedTextLabel::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(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[8]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::KSqueezedTextLabel::metric(a0);

    extern int sipVH_kdeui_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_kdeui_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipKSqueezedTextLabel::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KSqueezedTextLabel::paintEngine();

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKSqueezedTextLabel::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KSqueezedTextLabel::devType();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKSqueezedTextLabel::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KSqueezedTextLabel::setVisible(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKSqueezedTextLabel::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KSqueezedTextLabel::sizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKSqueezedTextLabel::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KSqueezedTextLabel::minimumSizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKSqueezedTextLabel::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::KSqueezedTextLabel::heightForWidth(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KSqueezedTextLabel::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KSqueezedTextLabel::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KSqueezedTextLabel::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KSqueezedTextLabel::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KSqueezedTextLabel::wheelEvent(a0);
        return;
    }

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kdeui_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KSqueezedTextLabel::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KSqueezedTextLabel::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KSqueezedTextLabel::focusInEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KSqueezedTextLabel::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KSqueezedTextLabel::enterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KSqueezedTextLabel::leaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KSqueezedTextLabel::paintEvent(a0);
        return;
    }

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kdeui_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KSqueezedTextLabel::moveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kdeui_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KSqueezedTextLabel::resizeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kdeui_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KSqueezedTextLabel::closeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kdeui_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KSqueezedTextLabel::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kdeui_22(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KSqueezedTextLabel::tabletEvent(a0);
        return;
    }

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kdeui_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KSqueezedTextLabel::actionEvent(a0);
        return;
    }

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kdeui_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KSqueezedTextLabel::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kdeui_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KSqueezedTextLabel::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kdeui_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KSqueezedTextLabel::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kdeui_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KSqueezedTextLabel::dropEvent(a0);
        return;
    }

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kdeui_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KSqueezedTextLabel::showEvent(a0);
        return;
    }

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kdeui_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KSqueezedTextLabel::hideEvent(a0);
        return;
    }

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kdeui_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KSqueezedTextLabel::changeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KSqueezedTextLabel::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(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[41]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::KSqueezedTextLabel::inputMethodQuery(a0);

    extern  ::QVariant sipVH_kdeui_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_kdeui_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKSqueezedTextLabel::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KSqueezedTextLabel::focusNextPrevChild(a0);

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KSqueezedTextLabel::enabledChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KSqueezedTextLabel::paletteChange(a0);
        return;
    }

    extern void sipVH_kdeui_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

    sipVH_kdeui_34(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KSqueezedTextLabel::fontChange(a0);
        return;
    }

    extern void sipVH_kdeui_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

    sipVH_kdeui_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KSqueezedTextLabel::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSqueezedTextLabel::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KSqueezedTextLabel::languageChange();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 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_QLabel)
        return static_cast< ::QLabel *>(sipCpp);

    if (targetType == sipType_QFrame)
        return static_cast< ::QFrame *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKSqueezedTextLabel *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KSqueezedTextLabel(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{50, 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}
};


static pyqt4ClassPluginDef plugin_KSqueezedTextLabel = {
    & ::KSqueezedTextLabel::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KSqueezedTextLabel = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KSqueezedTextLabel,
        {0},
        &plugin_KSqueezedTextLabel
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/ksplashscreen.sip"
#include <ksplashscreen.h>
#line 33317 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"

#line 26 "/usr/share/sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 33321 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 33324 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33327 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 33330 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 33333 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 33336 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcolor.sip"
#include <qcolor.h>
#line 33339 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 33342 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 33345 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 33348 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 33351 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 33354 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 33357 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 33360 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 33363 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 33366 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 33369 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 33372 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 33375 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 33378 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 33381 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 33384 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 33387 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 33390 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 33393 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 33396 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 33399 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33402 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33405 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33408 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33411 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33414 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33417 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33420 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33423 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33426 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33429 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33432 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33435 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33438 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33441 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33444 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33447 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33450 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 33453 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 33456 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 33459 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 33462 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 33465 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 33468 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 33471 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 33474 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 33477 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 33480 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 33483 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 33486 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 33489 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 33492 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 33495 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 33498 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 33501 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 33504 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 33507 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 33510 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 33513 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 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*);
    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*);
    int heightForWidth(int) const;
     ::QSize minimumSizeHint() const;
     ::QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;
     ::QPaintEngine* paintEngine() const;
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);
    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()
{
    sipInstanceDestroyed(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::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KSplashScreen::languageChange();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKSplashScreen::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KSplashScreen::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KSplashScreen::fontChange(a0);
        return;
    }

    extern void sipVH_kdeui_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

    sipVH_kdeui_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KSplashScreen::paletteChange(a0);
        return;
    }

    extern void sipVH_kdeui_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

    sipVH_kdeui_34(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KSplashScreen::enabledChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKSplashScreen::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KSplashScreen::focusNextPrevChild(a0);

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(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[6]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::KSplashScreen::inputMethodQuery(a0);

    extern  ::QVariant sipVH_kdeui_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_kdeui_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KSplashScreen::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KSplashScreen::changeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KSplashScreen::hideEvent(a0);
        return;
    }

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kdeui_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KSplashScreen::showEvent(a0);
        return;
    }

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kdeui_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KSplashScreen::dropEvent(a0);
        return;
    }

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kdeui_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KSplashScreen::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kdeui_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KSplashScreen::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kdeui_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KSplashScreen::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kdeui_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KSplashScreen::actionEvent(a0);
        return;
    }

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kdeui_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KSplashScreen::tabletEvent(a0);
        return;
    }

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kdeui_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KSplashScreen::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kdeui_22(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KSplashScreen::closeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kdeui_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KSplashScreen::resizeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kdeui_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KSplashScreen::moveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kdeui_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KSplashScreen::paintEvent(a0);
        return;
    }

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kdeui_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KSplashScreen::leaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KSplashScreen::enterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KSplashScreen::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KSplashScreen::focusInEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KSplashScreen::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KSplashScreen::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KSplashScreen::wheelEvent(a0);
        return;
    }

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kdeui_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KSplashScreen::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KSplashScreen::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KSplashScreen::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KSplashScreen::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKSplashScreen::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  ::KSplashScreen::heightForWidth(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKSplashScreen::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KSplashScreen::minimumSizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKSplashScreen::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KSplashScreen::sizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKSplashScreen::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KSplashScreen::setVisible(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKSplashScreen::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KSplashScreen::devType();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipKSplashScreen::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KSplashScreen::paintEngine();

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKSplashScreen::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::KSplashScreen::metric(a0);

    extern int sipVH_kdeui_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_kdeui_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKSplashScreen::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KSplashScreen::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKSplashScreen::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KSplashScreen::eventFilter(a0,a1);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKSplashScreen::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KSplashScreen::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KSplashScreen::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KSplashScreen::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KSplashScreen::connectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSplashScreen::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KSplashScreen::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(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;
    }

    extern void sipVH_kdeui_109(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_kdeui_109(sipGILState, 0, sipPySelf, sipMeth, a0);
}


/* Cast a pointer to a type somewhere in its 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_QSplashScreen)
        return static_cast< ::QSplashScreen *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKSplashScreen *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KSplashScreen(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{93, 2, 1}};


static pyqt4ClassPluginDef plugin_KSplashScreen = {
    & ::KSplashScreen::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KSplashScreen = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KSplashScreen,
        {0},
        &plugin_KSplashScreen
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kshortcutwidget.sip"
#include <kshortcutwidget.h>
#line 34597 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 34601 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 34604 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 34607 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 34610 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 34613 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kactioncollection.sip"
#include <kactioncollection.h>
#line 34616 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34619 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 34622 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34625 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34628 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 34631 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 34634 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 34637 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 34640 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 34643 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 34646 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 34649 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 34652 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 34655 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 34658 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 34661 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 34664 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 34667 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 34670 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 34673 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34676 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 34679 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 34682 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34685 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 34688 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34691 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34694 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34697 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34700 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34703 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34706 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34709 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34712 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34715 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34718 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34721 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34724 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34727 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34730 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34733 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34736 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34739 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 34742 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 34745 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 34748 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 34751 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 34754 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34757 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 34760 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 34763 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 34766 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 34769 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 34772 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 34775 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 34778 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 34781 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 34784 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 34787 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 34790 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 34793 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 34796 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    void enabledChange(bool);
    void paletteChange(const  ::QPalette&);
    void fontChange(const  ::QFont&);
    void windowActivationChange(bool);
    void languageChange();

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()
{
    sipInstanceDestroyed(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;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(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;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(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;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(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;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(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;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(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);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKShortcutWidget::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KShortcutWidget::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(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[7]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::KShortcutWidget::metric(a0);

    extern int sipVH_kdeui_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_kdeui_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipKShortcutWidget::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KShortcutWidget::paintEngine();

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKShortcutWidget::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KShortcutWidget::devType();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKShortcutWidget::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KShortcutWidget::setVisible(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKShortcutWidget::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KShortcutWidget::sizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKShortcutWidget::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KShortcutWidget::minimumSizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKShortcutWidget::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::KShortcutWidget::heightForWidth(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KShortcutWidget::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KShortcutWidget::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KShortcutWidget::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KShortcutWidget::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KShortcutWidget::wheelEvent(a0);
        return;
    }

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kdeui_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KShortcutWidget::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KShortcutWidget::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KShortcutWidget::focusInEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KShortcutWidget::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KShortcutWidget::enterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KShortcutWidget::leaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KShortcutWidget::paintEvent(a0);
        return;
    }

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kdeui_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KShortcutWidget::moveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kdeui_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KShortcutWidget::resizeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kdeui_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KShortcutWidget::closeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kdeui_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KShortcutWidget::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kdeui_22(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KShortcutWidget::tabletEvent(a0);
        return;
    }

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kdeui_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KShortcutWidget::actionEvent(a0);
        return;
    }

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kdeui_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KShortcutWidget::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kdeui_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KShortcutWidget::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kdeui_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KShortcutWidget::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kdeui_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KShortcutWidget::dropEvent(a0);
        return;
    }

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kdeui_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KShortcutWidget::showEvent(a0);
        return;
    }

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kdeui_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KShortcutWidget::hideEvent(a0);
        return;
    }

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kdeui_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KShortcutWidget::changeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KShortcutWidget::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(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[40]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::KShortcutWidget::inputMethodQuery(a0);

    extern  ::QVariant sipVH_kdeui_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_kdeui_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKShortcutWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KShortcutWidget::focusNextPrevChild(a0);

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KShortcutWidget::enabledChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KShortcutWidget::paletteChange(a0);
        return;
    }

    extern void sipVH_kdeui_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

    sipVH_kdeui_34(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KShortcutWidget::fontChange(a0);
        return;
    }

    extern void sipVH_kdeui_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

    sipVH_kdeui_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KShortcutWidget::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutWidget::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KShortcutWidget::languageChange();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(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 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_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKShortcutWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KShortcutWidget(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{131, 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}
};


static pyqt4ClassPluginDef plugin_KShortcutWidget = {
    & ::KShortcutWidget::staticMetaObject,
    0,
    signals_KShortcutWidget
};


sipClassTypeDef sipTypeDef_kdeui_KShortcutWidget = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KShortcutWidget,
        {0},
        &plugin_KShortcutWidget
    },
    {
        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
};

#line 28 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kshortcutseditor.sip"
#include <kshortcutseditor.h>
#line 36091 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"

#line 28 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kshortcutseditor.sip"
#include <kshortcutseditor.h>
#line 36095 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 381 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KShortcutsEditor::ActionTypes::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 36117 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 372 "/usr/share/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 36151 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 363 "/usr/share/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 36191 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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___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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 357 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
        *sipCpp = KShortcutsEditor::ActionTypes(*sipCpp ^ a0);
#line 36230 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"

            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___xor__(PyObject *,PyObject *);}
static PyObject *slot_KShortcutsEditor_ActionTypes___xor__(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, xor_slot, NULL, sipArg0, sipArg1);
}


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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 351 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
        *sipCpp = KShortcutsEditor::ActionTypes(*sipCpp | a0);
#line 36304 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"

            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___or__(PyObject *,PyObject *);}
static PyObject *slot_KShortcutsEditor_ActionTypes___or__(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, or_slot, NULL, sipArg0, sipArg1);
}


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;
}


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___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___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;
}


/* 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 (sipIsOwnedByPython(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;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KShortcutsEditor::ActionTypes();
            Py_END_ALLOW_THREADS

            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;
        }
    }

    {
        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;
        }
    }

    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 390 "/usr/share/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 36592 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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___ixor__, ixor_slot},
    {(void *)slot_KShortcutsEditor_ActionTypes___xor__, xor_slot},
    {(void *)slot_KShortcutsEditor_ActionTypes___ior__, ior_slot},
    {(void *)slot_KShortcutsEditor_ActionTypes___or__, or_slot},
    {(void *)slot_KShortcutsEditor_ActionTypes___iand__, iand_slot},
    {(void *)slot_KShortcutsEditor_ActionTypes___and__, and_slot},
    {(void *)slot_KShortcutsEditor_ActionTypes___invert__, invert_slot},
    {(void *)slot_KShortcutsEditor_ActionTypes___int__, int_slot},
    {0, (sipPySlotType)0}
};


static pyqt4ClassPluginDef plugin_KShortcutsEditor_ActionTypes = {
    0,
    1,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KShortcutsEditor_ActionTypes = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KShortcutsEditor__ActionTypes,
        {0},
        &plugin_KShortcutsEditor_ActionTypes
    },
    {
        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
};

#line 28 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kshortcutseditor.sip"
#include <kshortcutseditor.h>
#line 36671 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kactioncollection.sip"
#include <kactioncollection.h>
#line 36675 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 36678 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kshortcutseditor.sip"
#include <kshortcutseditor.h>
#line 36681 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 36 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 36684 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 36687 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 36690 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 36693 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 36696 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 36699 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 36702 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 36705 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 36708 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 36711 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 36714 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 36717 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 36720 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 36723 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 36726 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 36729 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 36732 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 36735 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 36738 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 36741 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 36744 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 36747 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 36750 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 36753 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 36756 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36759 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 36762 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36765 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36768 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36771 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36774 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36777 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36780 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36783 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36786 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36789 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36792 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36795 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36798 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36801 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36804 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36807 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36810 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36813 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 36816 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 36819 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 36822 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 36825 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 36828 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 36831 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 36834 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 36837 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 36840 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 36843 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 36846 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 36849 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 36852 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 36855 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 36858 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 36861 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 36864 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 36867 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 36870 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 36873 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 36876 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    void enabledChange(bool);
    void paletteChange(const  ::QPalette&);
    void fontChange(const  ::QFont&);
    void windowActivationChange(bool);
    void languageChange();

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()
{
    sipInstanceDestroyed(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;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(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;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(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;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(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;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(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;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(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);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKShortcutsEditor::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KShortcutsEditor::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(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[7]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::KShortcutsEditor::metric(a0);

    extern int sipVH_kdeui_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_kdeui_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipKShortcutsEditor::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KShortcutsEditor::paintEngine();

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKShortcutsEditor::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KShortcutsEditor::devType();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKShortcutsEditor::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KShortcutsEditor::setVisible(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKShortcutsEditor::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KShortcutsEditor::sizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKShortcutsEditor::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KShortcutsEditor::minimumSizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKShortcutsEditor::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::KShortcutsEditor::heightForWidth(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KShortcutsEditor::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KShortcutsEditor::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KShortcutsEditor::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KShortcutsEditor::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KShortcutsEditor::wheelEvent(a0);
        return;
    }

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kdeui_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KShortcutsEditor::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KShortcutsEditor::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KShortcutsEditor::focusInEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KShortcutsEditor::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KShortcutsEditor::enterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KShortcutsEditor::leaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KShortcutsEditor::paintEvent(a0);
        return;
    }

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kdeui_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KShortcutsEditor::moveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kdeui_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KShortcutsEditor::resizeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kdeui_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KShortcutsEditor::closeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kdeui_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KShortcutsEditor::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kdeui_22(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KShortcutsEditor::tabletEvent(a0);
        return;
    }

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kdeui_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KShortcutsEditor::actionEvent(a0);
        return;
    }

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kdeui_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KShortcutsEditor::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kdeui_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KShortcutsEditor::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kdeui_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KShortcutsEditor::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kdeui_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KShortcutsEditor::dropEvent(a0);
        return;
    }

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kdeui_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KShortcutsEditor::showEvent(a0);
        return;
    }

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kdeui_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KShortcutsEditor::hideEvent(a0);
        return;
    }

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kdeui_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KShortcutsEditor::changeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KShortcutsEditor::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(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[40]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::KShortcutsEditor::inputMethodQuery(a0);

    extern  ::QVariant sipVH_kdeui_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_kdeui_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKShortcutsEditor::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KShortcutsEditor::focusNextPrevChild(a0);

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KShortcutsEditor::enabledChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KShortcutsEditor::paletteChange(a0);
        return;
    }

    extern void sipVH_kdeui_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

    sipVH_kdeui_34(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KShortcutsEditor::fontChange(a0);
        return;
    }

    extern void sipVH_kdeui_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

    sipVH_kdeui_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KShortcutsEditor::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsEditor::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KShortcutsEditor::languageChange();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(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 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_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKShortcutsEditor *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KShortcutsEditor(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{131, 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}
};


static pyqt4ClassPluginDef plugin_KShortcutsEditor = {
    & ::KShortcutsEditor::staticMetaObject,
    0,
    signals_KShortcutsEditor
};


sipClassTypeDef sipTypeDef_kdeui_KShortcutsEditor = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KShortcutsEditor,
        {0},
        &plugin_KShortcutsEditor
    },
    {
        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
};

#line 28 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kshortcutsdialog.sip"
#include <kshortcutsdialog.h>
#line 38377 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"

#line 28 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kshortcutseditor.sip"
#include <kshortcutseditor.h>
#line 38381 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kshortcutseditor.sip"
#include <kshortcutseditor.h>
#line 38384 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 38387 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 38390 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kactioncollection.sip"
#include <kactioncollection.h>
#line 38393 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 38396 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 38399 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38402 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38405 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38408 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 38411 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 38414 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 38417 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 38420 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kpushbutton.sip"
#include <kpushbutton.h>
#line 38423 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 38426 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 38429 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 38432 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kguiitem.sip"
#include <kguiitem.h>
#line 38435 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 38438 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 38441 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 38444 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 38447 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 38450 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38453 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38456 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38459 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 38462 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 38465 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 38468 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 38471 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 38474 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 38477 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 38480 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 38483 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 38486 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 38489 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 38492 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 38495 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 38498 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 38501 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 38504 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 38507 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 38510 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 38513 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38516 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38519 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38522 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38525 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38528 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38531 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38534 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38537 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38540 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38543 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38546 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38549 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 38552 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 38555 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 38558 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 38561 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 38564 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 38567 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 38570 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 38573 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 38576 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 38579 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 38582 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 38585 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 38588 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 38591 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 38594 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 38597 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 38600 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 38603 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 38606 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 reject();
    void accept();
    void done(int);
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    void enabledChange(bool);
    void paletteChange(const  ::QPalette&);
    void fontChange(const  ::QFont&);
    void windowActivationChange(bool);
    void languageChange();
    void setCaption(const  ::QString&);
    void setCaption(const  ::QString&,bool);
    void setPlainCaption(const  ::QString&);
    void slotButtonClicked(int);

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()
{
    sipInstanceDestroyed(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::reject()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_reject);

    if (!sipMeth)
    {
         ::KShortcutsDialog::reject();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKShortcutsDialog::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_accept);

    if (!sipMeth)
    {
         ::KShortcutsDialog::accept();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKShortcutsDialog::done(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_done);

    if (!sipMeth)
    {
         ::KShortcutsDialog::done(a0);
        return;
    }

    extern void sipVH_kdeui_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_kdeui_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KShortcutsDialog::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KShortcutsDialog::connectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KShortcutsDialog::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KShortcutsDialog::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KShortcutsDialog::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKShortcutsDialog::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KShortcutsDialog::eventFilter(a0,a1);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKShortcutsDialog::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KShortcutsDialog::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(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[10]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::KShortcutsDialog::metric(a0);

    extern int sipVH_kdeui_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_kdeui_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipKShortcutsDialog::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KShortcutsDialog::paintEngine();

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKShortcutsDialog::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KShortcutsDialog::devType();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKShortcutsDialog::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KShortcutsDialog::setVisible(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKShortcutsDialog::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KShortcutsDialog::sizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKShortcutsDialog::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KShortcutsDialog::minimumSizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKShortcutsDialog::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::KShortcutsDialog::heightForWidth(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KShortcutsDialog::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KShortcutsDialog::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KShortcutsDialog::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KShortcutsDialog::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KShortcutsDialog::wheelEvent(a0);
        return;
    }

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kdeui_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KShortcutsDialog::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KShortcutsDialog::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KShortcutsDialog::focusInEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_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;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KShortcutsDialog::enterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KShortcutsDialog::leaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KShortcutsDialog::paintEvent(a0);
        return;
    }

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kdeui_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KShortcutsDialog::moveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kdeui_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KShortcutsDialog::resizeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kdeui_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KShortcutsDialog::closeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kdeui_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KShortcutsDialog::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kdeui_22(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KShortcutsDialog::tabletEvent(a0);
        return;
    }

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kdeui_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KShortcutsDialog::actionEvent(a0);
        return;
    }

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kdeui_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KShortcutsDialog::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kdeui_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KShortcutsDialog::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kdeui_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KShortcutsDialog::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kdeui_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KShortcutsDialog::dropEvent(a0);
        return;
    }

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kdeui_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KShortcutsDialog::showEvent(a0);
        return;
    }

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kdeui_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KShortcutsDialog::hideEvent(a0);
        return;
    }

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kdeui_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KShortcutsDialog::changeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KShortcutsDialog::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(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[43]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::KShortcutsDialog::inputMethodQuery(a0);

    extern  ::QVariant sipVH_kdeui_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_kdeui_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKShortcutsDialog::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KShortcutsDialog::focusNextPrevChild(a0);

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KShortcutsDialog::enabledChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KShortcutsDialog::paletteChange(a0);
        return;
    }

    extern void sipVH_kdeui_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

    sipVH_kdeui_34(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KShortcutsDialog::fontChange(a0);
        return;
    }

    extern void sipVH_kdeui_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

    sipVH_kdeui_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KShortcutsDialog::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KShortcutsDialog::languageChange();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKShortcutsDialog::setCaption(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
         ::KShortcutsDialog::setCaption(a0);
        return;
    }

    extern void sipVH_kdeui_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    sipVH_kdeui_36(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::setCaption(const  ::QString& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
         ::KShortcutsDialog::setCaption(a0,a1);
        return;
    }

    extern void sipVH_kdeui_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&,bool);

    sipVH_kdeui_37(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKShortcutsDialog::setPlainCaption(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_setPlainCaption);

    if (!sipMeth)
    {
         ::KShortcutsDialog::setPlainCaption(a0);
        return;
    }

    extern void sipVH_kdeui_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    sipVH_kdeui_36(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKShortcutsDialog::slotButtonClicked(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_slotButtonClicked);

    if (!sipMeth)
    {
         ::KShortcutsDialog::slotButtonClicked(a0);
        return;
    }

    extern void sipVH_kdeui_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_kdeui_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}


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 || sipIsDerivedClass((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 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_KDialog)
        return static_cast< ::KDialog *>(sipCpp);

    if (targetType == sipType_QDialog)
        return static_cast< ::QDialog *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKShortcutsDialog *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KShortcutsDialog(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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}
};


static pyqt4ClassPluginDef plugin_KShortcutsDialog = {
    & ::KShortcutsDialog::staticMetaObject,
    0,
    signals_KShortcutsDialog
};


sipClassTypeDef sipTypeDef_kdeui_KShortcutsDialog = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KShortcutsDialog,
        {0},
        &plugin_KShortcutsDialog
    },
    {
        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
};

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 39955 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"

#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 39959 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 39962 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 39965 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 (sipIsOwnedByPython(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},
};


static pyqt4ClassPluginDef plugin_KShortcut = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KShortcut = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KShortcut,
        {0},
        &plugin_KShortcut
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/ksessionmanager.sip"
#include <ksessionmanager.h>
#line 40574 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"

#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 40578 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qsessionmanager.sip"
#include <qsessionmanager.h>
#line 40581 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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()
{
    sipInstanceDestroyed(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_190(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QSessionManager&);

    return sipVH_kdeui_190(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_190(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QSessionManager&);

    return sipVH_kdeui_190(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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKSessionManager *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KSessionManager(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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}
};


static pyqt4ClassPluginDef plugin_KSessionManager = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KSessionManager = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KSessionManager,
        {0},
        &plugin_KSessionManager
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kseparator.sip"
#include <kseparator.h>
#line 40847 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 40851 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 40854 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 40857 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 40860 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 40863 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40866 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 40869 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qframe.sip"
#include <qframe.h>
#line 40872 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 40875 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 40878 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 40881 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 40884 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 40887 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 40890 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 40893 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 40896 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 40899 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 40902 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 40905 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 40908 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 40911 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 40914 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 40917 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 40920 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 40923 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 40926 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40929 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40932 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40935 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40938 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40941 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40944 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40947 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40950 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40953 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40956 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40959 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40962 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40965 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40968 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40971 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40974 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40977 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 40980 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 40983 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 40986 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 40989 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 40992 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 40995 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 40998 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 41001 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 41004 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 41007 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 41010 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 41013 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 41016 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 41019 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 41022 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 41025 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 41028 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 41031 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 41034 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 41037 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 41040 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 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*);
    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*);
    int heightForWidth(int) const;
     ::QSize minimumSizeHint() const;
     ::QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;
     ::QPaintEngine* paintEngine() const;
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    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()
{
    sipInstanceDestroyed(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::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KSeparator::languageChange();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKSeparator::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KSeparator::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KSeparator::fontChange(a0);
        return;
    }

    extern void sipVH_kdeui_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

    sipVH_kdeui_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KSeparator::paletteChange(a0);
        return;
    }

    extern void sipVH_kdeui_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

    sipVH_kdeui_34(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KSeparator::enabledChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKSeparator::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KSeparator::focusNextPrevChild(a0);

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(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[6]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::KSeparator::inputMethodQuery(a0);

    extern  ::QVariant sipVH_kdeui_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_kdeui_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KSeparator::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KSeparator::changeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KSeparator::hideEvent(a0);
        return;
    }

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kdeui_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KSeparator::showEvent(a0);
        return;
    }

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kdeui_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KSeparator::dropEvent(a0);
        return;
    }

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kdeui_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KSeparator::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kdeui_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KSeparator::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kdeui_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KSeparator::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kdeui_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KSeparator::actionEvent(a0);
        return;
    }

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kdeui_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KSeparator::tabletEvent(a0);
        return;
    }

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kdeui_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KSeparator::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kdeui_22(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KSeparator::closeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kdeui_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KSeparator::resizeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kdeui_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KSeparator::moveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kdeui_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KSeparator::paintEvent(a0);
        return;
    }

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kdeui_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KSeparator::leaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KSeparator::enterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KSeparator::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KSeparator::focusInEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KSeparator::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KSeparator::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KSeparator::wheelEvent(a0);
        return;
    }

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kdeui_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KSeparator::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KSeparator::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KSeparator::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KSeparator::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKSeparator::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  ::KSeparator::heightForWidth(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKSeparator::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KSeparator::minimumSizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKSeparator::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KSeparator::sizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKSeparator::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KSeparator::setVisible(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKSeparator::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KSeparator::devType();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

 ::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();

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKSeparator::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::KSeparator::metric(a0);

    extern int sipVH_kdeui_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_kdeui_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKSeparator::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KSeparator::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKSeparator::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KSeparator::eventFilter(a0,a1);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKSeparator::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KSeparator::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KSeparator::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KSeparator::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KSeparator::connectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSeparator::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KSeparator::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}


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 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_QFrame)
        return static_cast< ::QFrame *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKSeparator *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KSeparator(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{37, 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}
};


static pyqt4ClassPluginDef plugin_KSeparator = {
    & ::KSeparator::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KSeparator = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KSeparator,
        {0},
        &plugin_KSeparator
    },
    {
        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
};

#line 61 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kselector.sip"
#include <kselector.h>
#line 42191 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 42195 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 42198 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 247 "/usr/share/sip/PyQt4/QtCore/qvector.sip"
#include <qvector.h>
#include <qpair.h>
#line 42202 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcolor.sip"
#include <qcolor.h>
#line 42205 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 42208 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 42211 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 42214 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42217 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42220 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42223 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 42226 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 42229 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 42232 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 42235 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42238 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qabstractslider.sip"
#include <qabstractslider.h>
#line 42241 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 42244 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 42247 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 42250 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 42253 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 42256 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 42259 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 42262 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 42265 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 42268 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 42271 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 42274 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 42277 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 42280 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 42283 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 42286 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 42289 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42292 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42295 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42298 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42301 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42304 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42307 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42310 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42313 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42316 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42319 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42322 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42325 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42328 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42331 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 42334 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 42337 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 42340 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 42343 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 42346 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 42349 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 42352 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 42355 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 42358 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 42361 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 42364 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 42367 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 42370 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 42373 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 42376 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 42379 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 42382 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 42385 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 42388 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 42391 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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:
     ::QSize minimumSize() const;
    void sliderChange( ::QAbstractSlider::SliderChange);
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    void enabledChange(bool);
    void paletteChange(const  ::QPalette&);
    void fontChange(const  ::QFont&);
    void windowActivationChange(bool);
    void languageChange();
    void drawContents( ::QPainter*);
    void drawArrow( ::QPainter*,const  ::QPoint&);

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()
{
    sipInstanceDestroyed(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);
}

 ::QSize sipKGradientSelector::minimumSize() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_minimumSize);

    if (!sipMeth)
        return  ::KGradientSelector::minimumSize();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKGradientSelector::sliderChange( ::QAbstractSlider::SliderChange a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_sliderChange);

    if (!sipMeth)
    {
         ::KGradientSelector::sliderChange(a0);
        return;
    }

    extern void sipVH_kdeui_108(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QAbstractSlider::SliderChange);

    sipVH_kdeui_108(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KGradientSelector::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KGradientSelector::connectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KGradientSelector::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KGradientSelector::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KGradientSelector::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKGradientSelector::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KGradientSelector::eventFilter(a0,a1);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKGradientSelector::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KGradientSelector::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(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[9]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::KGradientSelector::metric(a0);

    extern int sipVH_kdeui_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_kdeui_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipKGradientSelector::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KGradientSelector::paintEngine();

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKGradientSelector::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KGradientSelector::devType();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKGradientSelector::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KGradientSelector::setVisible(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKGradientSelector::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KGradientSelector::sizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKGradientSelector::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KGradientSelector::minimumSizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKGradientSelector::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::KGradientSelector::heightForWidth(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KGradientSelector::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KGradientSelector::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KGradientSelector::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KGradientSelector::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KGradientSelector::wheelEvent(a0);
        return;
    }

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kdeui_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KGradientSelector::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KGradientSelector::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KGradientSelector::focusInEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KGradientSelector::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KGradientSelector::enterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(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;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KGradientSelector::paintEvent(a0);
        return;
    }

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kdeui_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KGradientSelector::moveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kdeui_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KGradientSelector::resizeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kdeui_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KGradientSelector::closeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kdeui_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KGradientSelector::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kdeui_22(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KGradientSelector::tabletEvent(a0);
        return;
    }

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kdeui_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KGradientSelector::actionEvent(a0);
        return;
    }

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kdeui_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KGradientSelector::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kdeui_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KGradientSelector::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kdeui_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KGradientSelector::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kdeui_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KGradientSelector::dropEvent(a0);
        return;
    }

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kdeui_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KGradientSelector::showEvent(a0);
        return;
    }

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kdeui_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KGradientSelector::hideEvent(a0);
        return;
    }

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kdeui_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KGradientSelector::changeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KGradientSelector::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(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[42]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::KGradientSelector::inputMethodQuery(a0);

    extern  ::QVariant sipVH_kdeui_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_kdeui_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKGradientSelector::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KGradientSelector::focusNextPrevChild(a0);

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KGradientSelector::enabledChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KGradientSelector::paletteChange(a0);
        return;
    }

    extern void sipVH_kdeui_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

    sipVH_kdeui_34(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KGradientSelector::fontChange(a0);
        return;
    }

    extern void sipVH_kdeui_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

    sipVH_kdeui_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KGradientSelector::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KGradientSelector::languageChange();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKGradientSelector::drawContents( ::QPainter*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_drawContents);

    if (!sipMeth)
    {
         ::KGradientSelector::drawContents(a0);
        return;
    }

    extern void sipVH_kdeui_109(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_kdeui_109(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKGradientSelector::drawArrow( ::QPainter*a0,const  ::QPoint& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_drawArrow);

    if (!sipMeth)
    {
         ::KGradientSelector::drawArrow(a0,a1);
        return;
    }

    extern void sipVH_kdeui_110(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QPoint&);

    sipVH_kdeui_110(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}


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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 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_KSelector)
        return static_cast< ::KSelector *>(sipCpp);

    if (targetType == sipType_QAbstractSlider)
        return static_cast< ::QAbstractSlider *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKGradientSelector *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KGradientSelector(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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}
};


static pyqt4ClassPluginDef plugin_KGradientSelector = {
    & ::KGradientSelector::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KGradientSelector = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KGradientSelector,
        {0},
        &plugin_KGradientSelector
    },
    {
        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
};

#line 23 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kselectionproxymodel.sip"
#include <kselectionproxymodel.h>
#line 43968 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"

#line 85 "/usr/share/sip/PyQt4/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 43972 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 43975 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 165 "/usr/share/sip/PyQt4/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 43978 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 43981 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 43984 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 43987 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 43990 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 43993 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 78 "/usr/share/sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 43996 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 43999 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 44002 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 44005 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 44008 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 44011 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 122 "/usr/share/sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 44014 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 44017 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 139 "/usr/share/sip/PyQt4/QtCore/qmap.sip"
#include <qmap.h>
#line 44020 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 44023 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 139 "/usr/share/sip/PyQt4/QtCore/qhash.sip"
#include <qhash.h>
#line 44026 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 44029 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 44032 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 44035 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 44038 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 44041 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 44044 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 44047 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 44050 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 44053 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 44056 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 44059 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 revert();
    bool submit();
     ::QSize span(const  ::QModelIndex&) const;
     ::QModelIndexList match(const  ::QModelIndex&,int,const  ::QVariant&,int, ::Qt::MatchFlags) const;
     ::QModelIndex buddy(const  ::QModelIndex&) const;
    void sort(int, ::Qt::SortOrder);
     ::Qt::ItemFlags flags(const  ::QModelIndex&) const;
    bool canFetchMore(const  ::QModelIndex&) const;
    void fetchMore(const  ::QModelIndex&);
    bool removeColumns(int,int,const  ::QModelIndex&);
    bool removeRows(int,int,const  ::QModelIndex&);
    bool insertColumns(int,int,const  ::QModelIndex&);
    bool insertRows(int,int,const  ::QModelIndex&);
     ::Qt::DropActions supportedDropActions() const;
    bool dropMimeData(const  ::QMimeData*, ::Qt::DropAction,int,int,const  ::QModelIndex&);
     ::QMimeData* mimeData(const  ::QModelIndexList&) const;
     ::QStringList mimeTypes() const;
    bool setItemData(const  ::QModelIndex&,const QMap<int, ::QVariant>&);
    QMap<int, ::QVariant> itemData(const  ::QModelIndex&) const;
    bool setHeaderData(int, ::Qt::Orientation,const  ::QVariant&,int);
     ::QVariant headerData(int, ::Qt::Orientation,int) const;
    bool setData(const  ::QModelIndex&,const  ::QVariant&,int);
     ::QVariant data(const  ::QModelIndex&,int) const;
    bool hasChildren(const  ::QModelIndex&) const;
    int columnCount(const  ::QModelIndex&) const;
    int rowCount(const  ::QModelIndex&) const;
     ::QModelIndex parent(const  ::QModelIndex&) const;
     ::QModelIndex index(int,int,const  ::QModelIndex&) const;
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);
    void setSourceModel( ::QAbstractItemModel*);
     ::QModelIndex mapToSource(const  ::QModelIndex&) const;
     ::QModelIndex mapFromSource(const  ::QModelIndex&) const;
     ::QItemSelection mapSelectionToSource(const  ::QItemSelection&) const;
     ::QItemSelection mapSelectionFromSource(const  ::QItemSelection&) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKSelectionProxyModel(const sipKSelectionProxyModel &);
    sipKSelectionProxyModel &operator = (const sipKSelectionProxyModel &);

    char sipPyMethods[40];
};

sipKSelectionProxyModel::sipKSelectionProxyModel( ::QItemSelectionModel*a0, ::QObject*a1):  ::KSelectionProxyModel(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKSelectionProxyModel::~sipKSelectionProxyModel()
{
    sipInstanceDestroyed(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::revert()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_revert);

    if (!sipMeth)
    {
         ::KSelectionProxyModel::revert();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKSelectionProxyModel::submit()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_submit);

    if (!sipMeth)
        return  ::KSelectionProxyModel::submit();

    extern bool sipVH_kdeui_54(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_54(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKSelectionProxyModel::span(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_span);

    if (!sipMeth)
        return  ::KSelectionProxyModel::span(a0);

    extern  ::QSize sipVH_kdeui_55(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_kdeui_55(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[3]),sipPySelf,NULL,sipName_match);

    if (!sipMeth)
        return  ::KSelectionProxyModel::match(a0,a1,a2,a3,a4);

    extern  ::QModelIndexList sipVH_kdeui_56(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,const  ::QVariant&,int, ::Qt::MatchFlags);

    return sipVH_kdeui_56(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

 ::QModelIndex sipKSelectionProxyModel::buddy(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_buddy);

    if (!sipMeth)
        return  ::KSelectionProxyModel::buddy(a0);

    extern  ::QModelIndex sipVH_kdeui_57(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_kdeui_57(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelectionProxyModel::sort(int a0, ::Qt::SortOrder a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_sort);

    if (!sipMeth)
    {
         ::KSelectionProxyModel::sort(a0,a1);
        return;
    }

    extern void sipVH_kdeui_58(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int, ::Qt::SortOrder);

    sipVH_kdeui_58(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

 ::Qt::ItemFlags sipKSelectionProxyModel::flags(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_flags);

    if (!sipMeth)
        return  ::KSelectionProxyModel::flags(a0);

    extern  ::Qt::ItemFlags sipVH_kdeui_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_kdeui_59(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[7]),sipPySelf,NULL,sipName_canFetchMore);

    if (!sipMeth)
        return  ::KSelectionProxyModel::canFetchMore(a0);

    extern bool sipVH_kdeui_60(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_kdeui_60(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelectionProxyModel::fetchMore(const  ::QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_fetchMore);

    if (!sipMeth)
    {
         ::KSelectionProxyModel::fetchMore(a0);
        return;
    }

    extern void sipVH_kdeui_61(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    sipVH_kdeui_61(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[9],sipPySelf,NULL,sipName_removeColumns);

    if (!sipMeth)
        return  ::KSelectionProxyModel::removeColumns(a0,a1,a2);

    extern bool sipVH_kdeui_62(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_kdeui_62(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[10],sipPySelf,NULL,sipName_removeRows);

    if (!sipMeth)
        return  ::KSelectionProxyModel::removeRows(a0,a1,a2);

    extern bool sipVH_kdeui_62(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_kdeui_62(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[11],sipPySelf,NULL,sipName_insertColumns);

    if (!sipMeth)
        return  ::KSelectionProxyModel::insertColumns(a0,a1,a2);

    extern bool sipVH_kdeui_62(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_kdeui_62(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[12],sipPySelf,NULL,sipName_insertRows);

    if (!sipMeth)
        return  ::KSelectionProxyModel::insertRows(a0,a1,a2);

    extern bool sipVH_kdeui_62(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_kdeui_62(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

 ::Qt::DropActions sipKSelectionProxyModel::supportedDropActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_supportedDropActions);

    if (!sipMeth)
        return  ::KSelectionProxyModel::supportedDropActions();

    extern  ::Qt::DropActions sipVH_kdeui_63(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_63(sipGILState, 0, sipPySelf, sipMeth);
}

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[14],sipPySelf,NULL,sipName_dropMimeData);

    if (!sipMeth)
        return  ::KSelectionProxyModel::dropMimeData(a0,a1,a2,a3,a4);

    extern bool sipVH_kdeui_64(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMimeData*, ::Qt::DropAction,int,int,const  ::QModelIndex&);

    return sipVH_kdeui_64(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

 ::QMimeData* sipKSelectionProxyModel::mimeData(const  ::QModelIndexList& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_mimeData);

    if (!sipMeth)
        return  ::KSelectionProxyModel::mimeData(a0);

    extern  ::QMimeData* sipVH_kdeui_65(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndexList&);

    return sipVH_kdeui_65(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QStringList sipKSelectionProxyModel::mimeTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_mimeTypes);

    if (!sipMeth)
        return  ::KSelectionProxyModel::mimeTypes();

    extern  ::QStringList sipVH_kdeui_66(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_66(sipGILState, 0, sipPySelf, sipMeth);
}

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);

    extern bool sipVH_kdeui_67(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const QMap<int, ::QVariant>&);

    return sipVH_kdeui_67(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);

    extern QMap<int, ::QVariant> sipVH_kdeui_68(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_kdeui_68(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);

    extern bool sipVH_kdeui_69(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int, ::Qt::Orientation,const  ::QVariant&,int);

    return sipVH_kdeui_69(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

 ::QVariant sipKSelectionProxyModel::headerData(int a0, ::Qt::Orientation a1,int a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_headerData);

    if (!sipMeth)
        return  ::KSelectionProxyModel::headerData(a0,a1,a2);

    extern  ::QVariant sipVH_kdeui_70(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int, ::Qt::Orientation,int);

    return sipVH_kdeui_70(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKSelectionProxyModel::setData(const  ::QModelIndex& a0,const  ::QVariant& a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_setData);

    if (!sipMeth)
        return  ::KSelectionProxyModel::setData(a0,a1,a2);

    extern bool sipVH_kdeui_71(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QVariant&,int);

    return sipVH_kdeui_71(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[22]),sipPySelf,NULL,sipName_data);

    if (!sipMeth)
        return  ::KSelectionProxyModel::data(a0,a1);

    extern  ::QVariant sipVH_kdeui_72(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int);

    return sipVH_kdeui_72(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKSelectionProxyModel::hasChildren(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_hasChildren);

    if (!sipMeth)
        return  ::KSelectionProxyModel::hasChildren(a0);

    extern bool sipVH_kdeui_60(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_kdeui_60(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKSelectionProxyModel::columnCount(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_columnCount);

    if (!sipMeth)
        return  ::KSelectionProxyModel::columnCount(a0);

    extern int sipVH_kdeui_73(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_kdeui_73(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKSelectionProxyModel::rowCount(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_rowCount);

    if (!sipMeth)
        return  ::KSelectionProxyModel::rowCount(a0);

    extern int sipVH_kdeui_73(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_kdeui_73(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[26]),sipPySelf,NULL,sipName_parent);

    if (!sipMeth)
        return  ::KSelectionProxyModel::parent(a0);

    extern  ::QModelIndex sipVH_kdeui_57(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_kdeui_57(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[27]),sipPySelf,NULL,sipName_index);

    if (!sipMeth)
        return  ::KSelectionProxyModel::index(a0,a1,a2);

    extern  ::QModelIndex sipVH_kdeui_74(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_kdeui_74(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKSelectionProxyModel::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KSelectionProxyModel::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKSelectionProxyModel::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KSelectionProxyModel::eventFilter(a0,a1);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKSelectionProxyModel::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KSelectionProxyModel::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelectionProxyModel::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KSelectionProxyModel::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelectionProxyModel::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KSelectionProxyModel::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelectionProxyModel::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KSelectionProxyModel::connectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelectionProxyModel::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KSelectionProxyModel::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelectionProxyModel::setSourceModel( ::QAbstractItemModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_setSourceModel);

    if (!sipMeth)
    {
         ::KSelectionProxyModel::setSourceModel(a0);
        return;
    }

    extern void sipVH_kdeui_75(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QAbstractItemModel*);

    sipVH_kdeui_75(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[36]),sipPySelf,NULL,sipName_mapToSource);

    if (!sipMeth)
        return  ::KSelectionProxyModel::mapToSource(a0);

    extern  ::QModelIndex sipVH_kdeui_57(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_kdeui_57(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[37]),sipPySelf,NULL,sipName_mapFromSource);

    if (!sipMeth)
        return  ::KSelectionProxyModel::mapFromSource(a0);

    extern  ::QModelIndex sipVH_kdeui_57(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_kdeui_57(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[38]),sipPySelf,NULL,sipName_mapSelectionToSource);

    if (!sipMeth)
        return  ::KSelectionProxyModel::mapSelectionToSource(a0);

    extern  ::QItemSelection sipVH_kdeui_76(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QItemSelection&);

    return sipVH_kdeui_76(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QItemSelection sipKSelectionProxyModel::mapSelectionFromSource(const  ::QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_mapSelectionFromSource);

    if (!sipMeth)
        return  ::KSelectionProxyModel::mapSelectionFromSource(a0);

    extern  ::QItemSelection sipVH_kdeui_76(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QItemSelection&);

    return sipVH_kdeui_76(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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KSelectionProxyModel(void *, const sipTypeDef *);}
static void *cast_KSelectionProxyModel(void *sipCppV, const sipTypeDef *targetType)
{
     ::KSelectionProxyModel *sipCpp = reinterpret_cast< ::KSelectionProxyModel *>(sipCppV);

    if (targetType == sipType_QAbstractProxyModel)
        return static_cast< ::QAbstractProxyModel *>(sipCpp);

    if (targetType == sipType_QAbstractItemModel)
        return static_cast< ::QAbstractItemModel *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKSelectionProxyModel *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KSelectionProxyModel(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{9, 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},
};


static pyqt4ClassPluginDef plugin_KSelectionProxyModel = {
    & ::KSelectionProxyModel::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KSelectionProxyModel = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KSelectionProxyModel,
        {0},
        &plugin_KSelectionProxyModel
    },
    {
        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,
    cast_KSelectionProxyModel,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kruler.sip"
#include <kruler.h>
#line 45607 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 45611 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 45614 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 45617 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 45620 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 45623 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 45626 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 45629 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 45632 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 45635 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qabstractslider.sip"
#include <qabstractslider.h>
#line 45638 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 45641 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 45644 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 45647 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 45650 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 45653 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 45656 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 45659 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 45662 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 45665 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 45668 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 45671 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 45674 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 45677 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 45680 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 45683 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 45686 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 45689 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 45692 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 45695 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 45698 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 45701 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 45704 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 45707 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 45710 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 45713 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 45716 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 45719 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 45722 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 45725 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 45728 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 45731 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 45734 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 45737 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 45740 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 45743 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 45746 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 45749 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 45752 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 45755 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 45758 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 45761 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 45764 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 45767 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 45770 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 45773 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 45776 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 45779 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 45782 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 45785 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 45788 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 45791 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 45794 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 45797 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart2.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 45800 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 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*);
    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*);
    int heightForWidth(int) const;
     ::QSize minimumSizeHint() const;
     ::QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;
     ::QPaintEngine* paintEngine() const;
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);
    void sliderChange( ::QAbstractSlider::SliderChange);

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()
{
    sipInstanceDestroyed(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::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KRuler::languageChange();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKRuler::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KRuler::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KRuler::fontChange(a0);
        return;
    }

    extern void sipVH_kdeui_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

    sipVH_kdeui_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KRuler::paletteChange(a0);
        return;
    }

    extern void sipVH_kdeui_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

    sipVH_kdeui_34(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KRuler::enabledChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKRuler::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KRuler::focusNextPrevChild(a0);

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(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[6]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::KRuler::inputMethodQuery(a0);

    extern  ::QVariant sipVH_kdeui_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_kdeui_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KRuler::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KRuler::changeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KRuler::hideEvent(a0);
        return;
    }

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kdeui_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KRuler::showEvent(a0);
        return;
    }

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kdeui_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KRuler::dropEvent(a0);
        return;
    }

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kdeui_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KRuler::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kdeui_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KRuler::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kdeui_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KRuler::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kdeui_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KRuler::actionEvent(a0);
        return;
    }

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kdeui_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KRuler::tabletEvent(a0);
        return;
    }

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kdeui_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KRuler::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kdeui_22(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KRuler::closeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kdeui_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KRuler::resizeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kdeui_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KRuler::moveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kdeui_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KRuler::paintEvent(a0);
        return;
    }

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kdeui_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KRuler::leaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KRuler::enterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KRuler::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KRuler::focusInEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KRuler::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KRuler::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KRuler::wheelEvent(a0);
        return;
    }

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kdeui_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KRuler::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KRuler::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KRuler::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KRuler::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKRuler::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  ::KRuler::heightForWidth(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKRuler::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KRuler::minimumSizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKRuler::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KRuler::sizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKRuler::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KRuler::setVisible(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKRuler::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KRuler::devType();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipKRuler::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KRuler::paintEngine();

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKRuler::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::KRuler::metric(a0);

    extern int sipVH_kdeui_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_kdeui_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKRuler::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KRuler::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKRuler::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KRuler::eventFilter(a0,a1);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKRuler::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KRuler::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KRuler::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KRuler::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KRuler::connectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KRuler::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRuler::sliderChange( ::QAbstractSlider::SliderChange a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_sliderChange);

    if (!sipMeth)
    {
         ::KRuler::sliderChange(a0);
        return;
    }

    extern void sipVH_kdeui_108(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QAbstractSlider::SliderChange);

    sipVH_kdeui_108(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 || sipIsDerivedClass((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 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_QAbstractSlider)
        return static_cast< ::QAbstractSlider *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKRuler *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KRuler(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{11, 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},
};


static pyqt4ClassPluginDef plugin_KRuler = {
    & ::KRuler::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KRuler = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KRuler,
        {0},
        &plugin_KRuler
    },
    {
        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
};
