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

#include "sipAPIkdeui.h"

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

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 16 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qslider.sip"
#include <qslider.h>
#line 19 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 22 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 28 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 31 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 34 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 37 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 40 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 43 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 46 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 49 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 52 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 55 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 58 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 61 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 64 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 67 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 70 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 73 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 76 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 79 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 82 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 85 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 88 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 91 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 94 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 97 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 100 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 103 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 106 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 109 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 112 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 115 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 118 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 121 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 124 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 127 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 130 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 133 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 136 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 139 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 142 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 252 "/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/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 148 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 151 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 154 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 157 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 160 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 163 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 166 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 169 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 172 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 175 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 178 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 181 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 184 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 187 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 190 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 193 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 196 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 199 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 202 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 205 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 208 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"


class sipKNumInput : public  ::KNumInput
{
public:
    sipKNumInput( ::QWidget*);
    sipKNumInput( ::QWidget*, ::KNumInput*);
    virtual ~sipKNumInput();

    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 doLayout();
    void setLabel(const  ::QString&, ::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:
    sipKNumInput(const sipKNumInput &);
    sipKNumInput &operator = (const sipKNumInput &);

    char sipPyMethods[49];
};

sipKNumInput::sipKNumInput( ::QWidget*a0):  ::KNumInput(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKNumInput::sipKNumInput( ::QWidget*a0, ::KNumInput*a1):  ::KNumInput(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKNumInput::~sipKNumInput()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKNumInput::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KNumInput);
}

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

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

    return _id;
}

void *sipKNumInput::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KNumInput, _clname)) ? this :  ::KNumInput::qt_metacast(_clname);
}

void sipKNumInput::doLayout()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_KNumInput,sipName_doLayout);

    if (!sipMeth)
        return;

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

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

void sipKNumInput::setLabel(const  ::QString& a0, ::Qt::Alignment a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KNumInput::setLabel(a0,a1);
        return;
    }

    extern void sipVH_kdeui_172(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&, ::Qt::Alignment);

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

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

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

    if (!sipMeth)
    {
         ::KNumInput::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 sipKNumInput::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KNumInput::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 sipKNumInput::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if (!sipMeth)
        return  ::KNumInput::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 sipKNumInput::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

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

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

int sipKNumInput::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  ::KNumInput::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* sipKNumInput::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

int sipKNumInput::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  ::KNumInput::heightForWidth(a0);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

 ::QVariant sipKNumInput::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  ::KNumInput::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 sipKNumInput::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

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

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

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

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

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

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

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

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

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

    if (!sipMeth)
    {
         ::KNumInput::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 sipKNumInput::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KNumInput::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 sipKNumInput::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

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

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

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

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

    if (!sipMeth)
    {
         ::KNumInput::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_KNumInput_setLabel(PyObject *, PyObject *);}
static PyObject *meth_KNumInput_setLabel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QString* a0;
        int a0State = 0;
         ::Qt::Alignment a1def = Qt::AlignLeft|Qt::AlignTop;
         ::Qt::Alignment* a1 = &a1def;
        int a1State = 0;
         ::KNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|J1", &sipSelf, sipType_KNumInput, &sipCpp, sipType_QString,&a0, &a0State, sipType_Qt_Alignment, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KNumInput::setLabel(*a0,*a1) : sipCpp->setLabel(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            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_KNumInput, sipName_setLabel, NULL);

    return NULL;
}


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

    {
        const  ::KNumInput *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const  ::KNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KNumInput, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->showSlider();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        int a1;
         ::KNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_KNumInput, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSteps(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_KNumInput, sipName_setSteps, NULL);

    return NULL;
}


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

    {
        const  ::KNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KNumInput, &sipCpp))
        {
             ::QSize*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QSize((sipSelfWasArg ? sipCpp-> ::KNumInput::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_KNumInput, sipName_sizeHint, NULL);

    return NULL;
}


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

    {
        const  ::KNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KNumInput, &sipCpp))
        {
             ::QSlider*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->slider();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        bool a0;
         ::KNumInput *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::KNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KNumInput, &sipCpp))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KNumInput, sipName_doLayout);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->doLayout();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KNumInput(void *, const sipTypeDef *);}
static void *cast_KNumInput(void *sipCppV, const sipTypeDef *targetType)
{
     ::KNumInput *sipCpp = reinterpret_cast< ::KNumInput *>(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_KNumInput(void *, int);}
static void release_KNumInput(void *sipCppV, int)
{
     ::KNumInput *sipCpp = reinterpret_cast< ::KNumInput *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KNumInput(sipSimpleWrapper *);}
static void dealloc_KNumInput(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKNumInput *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

    {
         ::QWidget* a0 = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
         ::QWidget* a0;
         ::KNumInput* a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JHJ8", sipType_QWidget, &a0, sipOwner, sipType_KNumInput, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKNumInput(a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KNumInput[] = {{131, 2, 1}};


static PyMethodDef methods_KNumInput[] = {
    {SIP_MLNAME_CAST(sipName_doLayout), meth_KNumInput_doLayout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_label), meth_KNumInput_label, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_layout), meth_KNumInput_layout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLabel), meth_KNumInput_setLabel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSteps), meth_KNumInput_setSteps, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showSlider), meth_KNumInput_showSlider, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_KNumInput_sizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slider), meth_KNumInput_slider, METH_VARARGS, NULL}
};


static pyqt4ClassPluginDef plugin_KNumInput = {
    & ::KNumInput::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KNumInput = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KNumInput,
        {0},
        &plugin_KNumInput
    },
    {
        sipNameNr_KNumInput,
        {0, 0, 1},
        8, methods_KNumInput,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KNumInput,
    0,
    init_type_KNumInput,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KNumInput,
    0,
    0,
    0,
    release_KNumInput,
    cast_KNumInput,
    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/knotificationrestrictions.sip"
#include <knotificationrestrictions.h>
#line 1566 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"

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


extern "C" {static int slot_KNotificationRestrictions_Services___bool__(PyObject *);}
static int slot_KNotificationRestrictions_Services___bool__(PyObject *sipSelf)
{
     ::KNotificationRestrictions::Services *sipCpp = reinterpret_cast< ::KNotificationRestrictions::Services *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KNotificationRestrictions_Services));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 381 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KNotificationRestrictions::Services::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 1592 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KNotificationRestrictions_Services___ne__(PyObject *,PyObject *);}
static PyObject *slot_KNotificationRestrictions_Services___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::KNotificationRestrictions::Services *sipCpp = reinterpret_cast< ::KNotificationRestrictions::Services *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KNotificationRestrictions_Services));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::KNotificationRestrictions::Services* a0;
        int a0State = 0;

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

#line 372 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KNotificationRestrictions::Services::Int() != a0->operator KNotificationRestrictions::Services::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 1626 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
            sipReleaseType(const_cast< ::KNotificationRestrictions::Services *>(a0),sipType_KNotificationRestrictions_Services,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui, ne_slot, sipType_KNotificationRestrictions_Services, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_KNotificationRestrictions_Services___eq__(PyObject *,PyObject *);}
static PyObject *slot_KNotificationRestrictions_Services___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::KNotificationRestrictions::Services *sipCpp = reinterpret_cast< ::KNotificationRestrictions::Services *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KNotificationRestrictions_Services));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::KNotificationRestrictions::Services* a0;
        int a0State = 0;

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

#line 363 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KNotificationRestrictions::Services::Int() == a0->operator KNotificationRestrictions::Services::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 1666 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
            sipReleaseType(const_cast< ::KNotificationRestrictions::Services *>(a0),sipType_KNotificationRestrictions_Services,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui, eq_slot, sipType_KNotificationRestrictions_Services, sipSelf, sipArg);
}


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

     ::KNotificationRestrictions::Services *sipCpp = reinterpret_cast< ::KNotificationRestrictions::Services *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KNotificationRestrictions_Services));

    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 = KNotificationRestrictions::Services(*sipCpp ^ a0);
#line 1705 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.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_KNotificationRestrictions_Services___xor__(PyObject *,PyObject *);}
static PyObject *slot_KNotificationRestrictions_Services___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::KNotificationRestrictions::Services* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KNotificationRestrictions_Services, &a0, &a0State, &a1))
        {
             ::KNotificationRestrictions::Services*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KNotificationRestrictions::Services((*a0 ^ a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KNotificationRestrictions_Services,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


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

     ::KNotificationRestrictions::Services *sipCpp = reinterpret_cast< ::KNotificationRestrictions::Services *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KNotificationRestrictions_Services));

    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 = KNotificationRestrictions::Services(*sipCpp | a0);
#line 1779 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.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_KNotificationRestrictions_Services___or__(PyObject *,PyObject *);}
static PyObject *slot_KNotificationRestrictions_Services___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::KNotificationRestrictions::Services* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KNotificationRestrictions_Services, &a0, &a0State, &a1))
        {
             ::KNotificationRestrictions::Services*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KNotificationRestrictions::Services((*a0 | a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KNotificationRestrictions_Services,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


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

     ::KNotificationRestrictions::Services *sipCpp = reinterpret_cast< ::KNotificationRestrictions::Services *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KNotificationRestrictions_Services));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp-> ::KNotificationRestrictions::Services::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_KNotificationRestrictions_Services___and__(PyObject *,PyObject *);}
static PyObject *slot_KNotificationRestrictions_Services___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::KNotificationRestrictions::Services* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KNotificationRestrictions_Services, &a0, &a0State, &a1))
        {
             ::KNotificationRestrictions::Services*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KNotificationRestrictions::Services((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KNotificationRestrictions_Services,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_KNotificationRestrictions_Services___invert__(PyObject *);}
static PyObject *slot_KNotificationRestrictions_Services___invert__(PyObject *sipSelf)
{
     ::KNotificationRestrictions::Services *sipCpp = reinterpret_cast< ::KNotificationRestrictions::Services *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KNotificationRestrictions_Services));

    if (!sipCpp)
        return 0;


    {
        {
             ::KNotificationRestrictions::Services*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KNotificationRestrictions::Services(~(*sipCpp));
            Py_END_ALLOW_THREADS

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

    return 0;
}


extern "C" {static PyObject *slot_KNotificationRestrictions_Services___int__(PyObject *);}
static PyObject *slot_KNotificationRestrictions_Services___int__(PyObject *sipSelf)
{
     ::KNotificationRestrictions::Services *sipCpp = reinterpret_cast< ::KNotificationRestrictions::Services *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KNotificationRestrictions_Services));

    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_KNotificationRestrictions_Services(void *, int);}
static void release_KNotificationRestrictions_Services(void *sipCppV, int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast< ::KNotificationRestrictions::Services *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KNotificationRestrictions_Services(void *, SIP_SSIZE_T, const void *);}
static void assign_KNotificationRestrictions_Services(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::KNotificationRestrictions::Services *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::KNotificationRestrictions::Services *>(sipSrc);
}


extern "C" {static void *array_KNotificationRestrictions_Services(SIP_SSIZE_T);}
static void *array_KNotificationRestrictions_Services(SIP_SSIZE_T sipNrElem)
{
    return new  ::KNotificationRestrictions::Services[sipNrElem];
}


extern "C" {static void *copy_KNotificationRestrictions_Services(const void *, SIP_SSIZE_T);}
static void *copy_KNotificationRestrictions_Services(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::KNotificationRestrictions::Services(reinterpret_cast<const  ::KNotificationRestrictions::Services *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KNotificationRestrictions_Services(sipSimpleWrapper *);}
static void dealloc_KNotificationRestrictions_Services(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_KNotificationRestrictions_Services(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_KNotificationRestrictions_Services(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KNotificationRestrictions_Services(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::KNotificationRestrictions::Services *sipCpp = 0;

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

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KNotificationRestrictions::Services(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const  ::KNotificationRestrictions::Services* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_KNotificationRestrictions_Services, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KNotificationRestrictions::Services(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::KNotificationRestrictions::Services *>(a0),sipType_KNotificationRestrictions_Services,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_KNotificationRestrictions_Services(PyObject *, void **, int *, PyObject *);}
static int convertTo_KNotificationRestrictions_Services(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::KNotificationRestrictions::Services **sipCppPtr = reinterpret_cast< ::KNotificationRestrictions::Services **>(sipCppPtrV);

#line 390 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KNotificationRestrictions::Services is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KNotificationRestrictions_Service)) ||
            sipCanConvertToType(sipPy, sipType_KNotificationRestrictions_Services, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KNotificationRestrictions_Service)))
{
    *sipCppPtr = new KNotificationRestrictions::Services(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KNotificationRestrictions::Services *>(sipConvertToType(sipPy, sipType_KNotificationRestrictions_Services, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 2067 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KNotificationRestrictions_Services[] = {
    {(void *)slot_KNotificationRestrictions_Services___bool__, bool_slot},
    {(void *)slot_KNotificationRestrictions_Services___ne__, ne_slot},
    {(void *)slot_KNotificationRestrictions_Services___eq__, eq_slot},
    {(void *)slot_KNotificationRestrictions_Services___ixor__, ixor_slot},
    {(void *)slot_KNotificationRestrictions_Services___xor__, xor_slot},
    {(void *)slot_KNotificationRestrictions_Services___ior__, ior_slot},
    {(void *)slot_KNotificationRestrictions_Services___or__, or_slot},
    {(void *)slot_KNotificationRestrictions_Services___iand__, iand_slot},
    {(void *)slot_KNotificationRestrictions_Services___and__, and_slot},
    {(void *)slot_KNotificationRestrictions_Services___invert__, invert_slot},
    {(void *)slot_KNotificationRestrictions_Services___int__, int_slot},
    {0, (sipPySlotType)0}
};


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


sipClassTypeDef sipTypeDef_kdeui_KNotificationRestrictions_Services = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KNotificationRestrictions__Services,
        {0},
        &plugin_KNotificationRestrictions_Services
    },
    {
        sipNameNr_Services,
        {208, 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_KNotificationRestrictions_Services,
    init_type_KNotificationRestrictions_Services,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KNotificationRestrictions_Services,
    assign_KNotificationRestrictions_Services,
    array_KNotificationRestrictions_Services,
    copy_KNotificationRestrictions_Services,
    release_KNotificationRestrictions_Services,
    0,
    convertTo_KNotificationRestrictions_Services,
    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/knotificationrestrictions.sip"
#include <knotificationrestrictions.h>
#line 2146 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/knotificationrestrictions.sip"
#include <knotificationrestrictions.h>
#line 2150 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 2153 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2156 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2159 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2162 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 2165 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2168 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 2171 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2174 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2177 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 2180 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 2183 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 2186 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 2189 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"


class sipKNotificationRestrictions : public  ::KNotificationRestrictions
{
public:
    sipKNotificationRestrictions( ::KNotificationRestrictions::Services, ::QObject*);
    virtual ~sipKNotificationRestrictions();

    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:
    sipKNotificationRestrictions(const sipKNotificationRestrictions &);
    sipKNotificationRestrictions &operator = (const sipKNotificationRestrictions &);

    char sipPyMethods[7];
};

sipKNotificationRestrictions::sipKNotificationRestrictions( ::KNotificationRestrictions::Services a0, ::QObject*a1):  ::KNotificationRestrictions(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKNotificationRestrictions::~sipKNotificationRestrictions()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKNotificationRestrictions::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KNotificationRestrictions);
}

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

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

    return _id;
}

void *sipKNotificationRestrictions::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KNotificationRestrictions, _clname)) ? this :  ::KNotificationRestrictions::qt_metacast(_clname);
}

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

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

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

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

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

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

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

    if (!sipMeth)
        return  ::KNotificationRestrictions::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 sipKNotificationRestrictions::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if (!sipMeth)
    {
         ::KNotificationRestrictions::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 sipKNotificationRestrictions::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

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

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


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

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

    return sipCppV;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KNotificationRestrictions(sipSimpleWrapper *);}
static void dealloc_KNotificationRestrictions(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKNotificationRestrictions *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

    {
         ::KNotificationRestrictions::Services a0def = KNotificationRestrictions::NonCriticalServices;
         ::KNotificationRestrictions::Services* a0 = &a0def;
        int a0State = 0;
         ::QObject* a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|J1JH", sipType_KNotificationRestrictions_Services, &a0, &a0State, sipType_QObject, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKNotificationRestrictions(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KNotificationRestrictions_Services,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KNotificationRestrictions[] = {{19, 0, 1}};

static sipEnumMemberDef enummembers_KNotificationRestrictions[] = {
    {sipName_AllServices, static_cast<int>( ::KNotificationRestrictions::AllServices), 209},
    {sipName_CriticalNotifications, static_cast<int>( ::KNotificationRestrictions::CriticalNotifications), 209},
    {sipName_MessagingPopups, static_cast<int>( ::KNotificationRestrictions::MessagingPopups), 209},
    {sipName_NoServices, static_cast<int>( ::KNotificationRestrictions::NoServices), 209},
    {sipName_NonCriticalServices, static_cast<int>( ::KNotificationRestrictions::NonCriticalServices), 209},
    {sipName_Notifications, static_cast<int>( ::KNotificationRestrictions::Notifications), 209},
    {sipName_ScreenSaver, static_cast<int>( ::KNotificationRestrictions::ScreenSaver), 209},
};


static pyqt4ClassPluginDef plugin_KNotificationRestrictions = {
    & ::KNotificationRestrictions::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KNotificationRestrictions = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KNotificationRestrictions,
        {0},
        &plugin_KNotificationRestrictions
    },
    {
        sipNameNr_KNotificationRestrictions,
        {0, 0, 1},
        0, 0,
        7, enummembers_KNotificationRestrictions,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KNotificationRestrictions,
    0,
    init_type_KNotificationRestrictions,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KNotificationRestrictions,
    0,
    0,
    0,
    release_KNotificationRestrictions,
    cast_KNotificationRestrictions,
    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/knotification.sip"
#include <knotification.h>
#line 2519 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"

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


extern "C" {static int slot_KNotification_NotificationFlags___bool__(PyObject *);}
static int slot_KNotification_NotificationFlags___bool__(PyObject *sipSelf)
{
     ::KNotification::NotificationFlags *sipCpp = reinterpret_cast< ::KNotification::NotificationFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KNotification_NotificationFlags));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 381 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KNotification::NotificationFlags::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 2545 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KNotification_NotificationFlags___ne__(PyObject *,PyObject *);}
static PyObject *slot_KNotification_NotificationFlags___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::KNotification::NotificationFlags *sipCpp = reinterpret_cast< ::KNotification::NotificationFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KNotification_NotificationFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::KNotification::NotificationFlags* a0;
        int a0State = 0;

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

#line 372 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KNotification::NotificationFlags::Int() != a0->operator KNotification::NotificationFlags::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 2579 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
            sipReleaseType(const_cast< ::KNotification::NotificationFlags *>(a0),sipType_KNotification_NotificationFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui, ne_slot, sipType_KNotification_NotificationFlags, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_KNotification_NotificationFlags___eq__(PyObject *,PyObject *);}
static PyObject *slot_KNotification_NotificationFlags___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::KNotification::NotificationFlags *sipCpp = reinterpret_cast< ::KNotification::NotificationFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KNotification_NotificationFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::KNotification::NotificationFlags* a0;
        int a0State = 0;

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

#line 363 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KNotification::NotificationFlags::Int() == a0->operator KNotification::NotificationFlags::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 2619 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
            sipReleaseType(const_cast< ::KNotification::NotificationFlags *>(a0),sipType_KNotification_NotificationFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui, eq_slot, sipType_KNotification_NotificationFlags, sipSelf, sipArg);
}


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

     ::KNotification::NotificationFlags *sipCpp = reinterpret_cast< ::KNotification::NotificationFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KNotification_NotificationFlags));

    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 = KNotification::NotificationFlags(*sipCpp ^ a0);
#line 2658 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.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_KNotification_NotificationFlags___xor__(PyObject *,PyObject *);}
static PyObject *slot_KNotification_NotificationFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::KNotification::NotificationFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KNotification_NotificationFlags, &a0, &a0State, &a1))
        {
             ::KNotification::NotificationFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KNotification::NotificationFlags((*a0 ^ a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KNotification_NotificationFlags,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


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

     ::KNotification::NotificationFlags *sipCpp = reinterpret_cast< ::KNotification::NotificationFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KNotification_NotificationFlags));

    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 = KNotification::NotificationFlags(*sipCpp | a0);
#line 2732 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.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_KNotification_NotificationFlags___or__(PyObject *,PyObject *);}
static PyObject *slot_KNotification_NotificationFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::KNotification::NotificationFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KNotification_NotificationFlags, &a0, &a0State, &a1))
        {
             ::KNotification::NotificationFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KNotification::NotificationFlags((*a0 | a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KNotification_NotificationFlags,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


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

     ::KNotification::NotificationFlags *sipCpp = reinterpret_cast< ::KNotification::NotificationFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KNotification_NotificationFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp-> ::KNotification::NotificationFlags::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_KNotification_NotificationFlags___and__(PyObject *,PyObject *);}
static PyObject *slot_KNotification_NotificationFlags___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::KNotification::NotificationFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KNotification_NotificationFlags, &a0, &a0State, &a1))
        {
             ::KNotification::NotificationFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KNotification::NotificationFlags((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KNotification_NotificationFlags,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_KNotification_NotificationFlags___invert__(PyObject *);}
static PyObject *slot_KNotification_NotificationFlags___invert__(PyObject *sipSelf)
{
     ::KNotification::NotificationFlags *sipCpp = reinterpret_cast< ::KNotification::NotificationFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KNotification_NotificationFlags));

    if (!sipCpp)
        return 0;


    {
        {
             ::KNotification::NotificationFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KNotification::NotificationFlags(~(*sipCpp));
            Py_END_ALLOW_THREADS

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

    return 0;
}


extern "C" {static PyObject *slot_KNotification_NotificationFlags___int__(PyObject *);}
static PyObject *slot_KNotification_NotificationFlags___int__(PyObject *sipSelf)
{
     ::KNotification::NotificationFlags *sipCpp = reinterpret_cast< ::KNotification::NotificationFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KNotification_NotificationFlags));

    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_KNotification_NotificationFlags(void *, int);}
static void release_KNotification_NotificationFlags(void *sipCppV, int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast< ::KNotification::NotificationFlags *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KNotification_NotificationFlags(void *, SIP_SSIZE_T, const void *);}
static void assign_KNotification_NotificationFlags(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::KNotification::NotificationFlags *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::KNotification::NotificationFlags *>(sipSrc);
}


extern "C" {static void *array_KNotification_NotificationFlags(SIP_SSIZE_T);}
static void *array_KNotification_NotificationFlags(SIP_SSIZE_T sipNrElem)
{
    return new  ::KNotification::NotificationFlags[sipNrElem];
}


extern "C" {static void *copy_KNotification_NotificationFlags(const void *, SIP_SSIZE_T);}
static void *copy_KNotification_NotificationFlags(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::KNotification::NotificationFlags(reinterpret_cast<const  ::KNotification::NotificationFlags *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KNotification_NotificationFlags(sipSimpleWrapper *);}
static void dealloc_KNotification_NotificationFlags(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_KNotification_NotificationFlags(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_KNotification_NotificationFlags(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KNotification_NotificationFlags(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::KNotification::NotificationFlags *sipCpp = 0;

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

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KNotification::NotificationFlags(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const  ::KNotification::NotificationFlags* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_KNotification_NotificationFlags, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KNotification::NotificationFlags(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::KNotification::NotificationFlags *>(a0),sipType_KNotification_NotificationFlags,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_KNotification_NotificationFlags(PyObject *, void **, int *, PyObject *);}
static int convertTo_KNotification_NotificationFlags(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::KNotification::NotificationFlags **sipCppPtr = reinterpret_cast< ::KNotification::NotificationFlags **>(sipCppPtrV);

#line 390 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KNotification::NotificationFlags is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KNotification_NotificationFlag)) ||
            sipCanConvertToType(sipPy, sipType_KNotification_NotificationFlags, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KNotification_NotificationFlag)))
{
    *sipCppPtr = new KNotification::NotificationFlags(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KNotification::NotificationFlags *>(sipConvertToType(sipPy, sipType_KNotification_NotificationFlags, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 3020 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KNotification_NotificationFlags[] = {
    {(void *)slot_KNotification_NotificationFlags___bool__, bool_slot},
    {(void *)slot_KNotification_NotificationFlags___ne__, ne_slot},
    {(void *)slot_KNotification_NotificationFlags___eq__, eq_slot},
    {(void *)slot_KNotification_NotificationFlags___ixor__, ixor_slot},
    {(void *)slot_KNotification_NotificationFlags___xor__, xor_slot},
    {(void *)slot_KNotification_NotificationFlags___ior__, ior_slot},
    {(void *)slot_KNotification_NotificationFlags___or__, or_slot},
    {(void *)slot_KNotification_NotificationFlags___iand__, iand_slot},
    {(void *)slot_KNotification_NotificationFlags___and__, and_slot},
    {(void *)slot_KNotification_NotificationFlags___invert__, invert_slot},
    {(void *)slot_KNotification_NotificationFlags___int__, int_slot},
    {0, (sipPySlotType)0}
};


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


sipClassTypeDef sipTypeDef_kdeui_KNotification_NotificationFlags = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KNotification__NotificationFlags,
        {0},
        &plugin_KNotification_NotificationFlags
    },
    {
        sipNameNr_NotificationFlags,
        {204, 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_KNotification_NotificationFlags,
    init_type_KNotification_NotificationFlags,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KNotification_NotificationFlags,
    assign_KNotification_NotificationFlags,
    array_KNotification_NotificationFlags,
    copy_KNotification_NotificationFlags,
    release_KNotification_NotificationFlags,
    0,
    convertTo_KNotification_NotificationFlags,
    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/knotification.sip"
#include <knotification.h>
#line 3099 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"

#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 3103 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 3106 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/knotification.sip"
#include <knotification.h>
#line 3109 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 3112 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 3115 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.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 3118 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3121 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.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 3124 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 68 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 3127 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 196 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 3131 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 3134 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3137 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3140 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 3143 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 3146 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 3149 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3152 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 3155 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 3158 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 3161 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 3164 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"


class sipKNotification : public  ::KNotification
{
public:
    sipKNotification(const  ::QString&, ::QWidget*,const  ::KNotification::NotificationFlags&);
    sipKNotification(const  ::QString&,const  ::KNotification::NotificationFlags&, ::QObject*);
    virtual ~sipKNotification();

    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 eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[6];
};

sipKNotification::sipKNotification(const  ::QString& a0, ::QWidget*a1,const  ::KNotification::NotificationFlags& a2):  ::KNotification(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKNotification::sipKNotification(const  ::QString& a0,const  ::KNotification::NotificationFlags& a1, ::QObject*a2):  ::KNotification(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKNotification::~sipKNotification()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKNotification::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KNotification);
}

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

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

    return _id;
}

void *sipKNotification::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KNotification, _clname)) ? this :  ::KNotification::qt_metacast(_clname);
}

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

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

    if (!sipMeth)
        return  ::KNotification::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 sipKNotification::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if (!sipMeth)
    {
         ::KNotification::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 sipKNotification::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KNotification::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_KNotification_widget(PyObject *, PyObject *);}
static PyObject *meth_KNotification_widget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KNotification *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KNotification, &sipCpp))
        {
             ::QWidget*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->widget();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
         ::QWidget* a0;
         ::KNotification *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KNotification, &sipCpp, sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setWidget(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::KNotification *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const  ::KNotification *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KNotification, &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_KNotification, sipName_title, NULL);

    return NULL;
}


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

    {
        const  ::QString* a0;
        int a0State = 0;
         ::KNotification *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KNotification, &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_KNotification, sipName_setTitle, NULL);

    return NULL;
}


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

    {
        const  ::KNotification *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const  ::QString* a0;
        int a0State = 0;
         ::KNotification *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KNotification, &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_KNotification, sipName_setText, NULL);

    return NULL;
}


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

    {
        const  ::KNotification *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KNotification, &sipCpp))
        {
             ::QPixmap*sipRes;

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

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

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

    return NULL;
}


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

    {
        const  ::QPixmap* a0;
         ::KNotification *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::KNotification *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KNotification, &sipCpp))
        {
             ::QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QStringList(sipCpp->actions());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const  ::QStringList* a0;
        int a0State = 0;
         ::KNotification *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KNotification, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setActions(*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_KNotification, sipName_setActions, NULL);

    return NULL;
}


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

    {
        const  ::KNotification *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KNotification, &sipCpp))
        {
             ::KNotification::ContextList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KNotification::ContextList(sipCpp->contexts());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const  ::KNotification::ContextList* a0;
        int a0State = 0;
         ::KNotification *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KNotification, &sipCpp, sipType_QList_0600QPair_0100QString_0100QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setContexts(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::KNotification::ContextList *>(a0),sipType_QList_0600QPair_0100QString_0100QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::KNotification::Context* a0;
        int a0State = 0;
         ::KNotification *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KNotification, &sipCpp, sipType_QPair_0100QString_0100QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addContext(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::KNotification::Context *>(a0),sipType_QPair_0100QString_0100QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
         ::KNotification *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_KNotification, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addContext(*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_KNotification, sipName_addContext, NULL);

    return NULL;
}


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

    {
        const  ::KNotification *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KNotification, &sipCpp))
        {
             ::KNotification::NotificationFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KNotification::NotificationFlags(sipCpp->flags());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const  ::KNotification::NotificationFlags* a0;
        int a0State = 0;
         ::KNotification *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KNotification, &sipCpp, sipType_KNotification_NotificationFlags, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFlags(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::KNotification::NotificationFlags *>(a0),sipType_KNotification_NotificationFlags,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::KComponentData* a0;
         ::KNotification *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KNotification, &sipCpp, sipType_KComponentData, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setComponentData(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        uint a0 = 0;
         ::KNotification *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|u", &sipSelf, sipType_KNotification, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            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_KNotification, sipName_activate, NULL);

    return NULL;
}


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

    {
         ::KNotification *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::KNotification *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::KNotification *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::KNotification *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::KNotification *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::KNotification *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QObject* a0;
         ::QEvent* a1;
         ::KNotification *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::KNotification::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_KNotification, sipName_eventFilter, NULL);

    return NULL;
}


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

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString& a1def = QString();
        const  ::QString* a1 = &a1def;
        int a1State = 0;
        const  ::QPixmap& a2def = QPixmap();
        const  ::QPixmap* a2 = &a2def;
         ::QWidget* a3 = 0;
        const  ::KNotification::NotificationFlags& a4def = KNotification::CloseOnTimeout;
        const  ::KNotification::NotificationFlags* a4 = &a4def;
        int a4State = 0;
        const  ::KComponentData& a5def = KComponentData();
        const  ::KComponentData* a5 = &a5def;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1|J1J9J8J1J9", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QPixmap, &a2, sipType_QWidget, &a3, sipType_KNotification_NotificationFlags, &a4, &a4State, sipType_KComponentData, &a5))
        {
             ::KNotification*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KNotification::event(*a0,*a1,*a2,a3,*a4,*a5);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::KNotification::NotificationFlags *>(a4),sipType_KNotification_NotificationFlags,a4State);

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

    {
         ::KNotification::StandardEvent a0;
        const  ::QString& a1def = QString();
        const  ::QString* a1 = &a1def;
        int a1State = 0;
        const  ::QPixmap& a2def = QPixmap();
        const  ::QPixmap* a2 = &a2def;
         ::QWidget* a3 = 0;
        const  ::KNotification::NotificationFlags& a4def = KNotification::CloseOnTimeout;
        const  ::KNotification::NotificationFlags* a4 = &a4def;
        int a4State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "E|J1J9J8J1", sipType_KNotification_StandardEvent, &a0, sipType_QString,&a1, &a1State, sipType_QPixmap, &a2, sipType_QWidget, &a3, sipType_KNotification_NotificationFlags, &a4, &a4State))
        {
             ::KNotification*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KNotification::event(a0,*a1,*a2,a3,*a4);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::KNotification::NotificationFlags *>(a4),sipType_KNotification_NotificationFlags,a4State);

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

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString* a2;
        int a2State = 0;
        const  ::QPixmap& a3def = QPixmap();
        const  ::QPixmap* a3 = &a3def;
         ::QWidget* a4 = 0;
        const  ::KNotification::NotificationFlags& a5def = KNotification::CloseOnTimeout;
        const  ::KNotification::NotificationFlags* a5 = &a5def;
        int a5State = 0;
        const  ::KComponentData& a6def = KComponentData();
        const  ::KComponentData* a6 = &a6def;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1J1|J9J8J1J9", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QPixmap, &a3, sipType_QWidget, &a4, sipType_KNotification_NotificationFlags, &a5, &a5State, sipType_KComponentData, &a6))
        {
             ::KNotification*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KNotification::event(*a0,*a1,*a2,*a3,a4,*a5,*a6);
            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);
            sipReleaseType(const_cast< ::KNotification::NotificationFlags *>(a5),sipType_KNotification_NotificationFlags,a5State);

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

    {
         ::KNotification::StandardEvent a0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString* a2;
        int a2State = 0;
        const  ::QPixmap& a3def = QPixmap();
        const  ::QPixmap* a3 = &a3def;
         ::QWidget* a4 = 0;
        const  ::KNotification::NotificationFlags& a5def = KNotification::CloseOnTimeout;
        const  ::KNotification::NotificationFlags* a5 = &a5def;
        int a5State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "EJ1J1|J9J8J1", sipType_KNotification_StandardEvent, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QPixmap, &a3, sipType_QWidget, &a4, sipType_KNotification_NotificationFlags, &a5, &a5State))
        {
             ::KNotification*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KNotification::event(a0,*a1,*a2,*a3,a4,*a5);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast< ::KNotification::NotificationFlags *>(a5),sipType_KNotification_NotificationFlags,a5State);

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "|J1J8", sipType_QString,&a0, &a0State, sipType_QWidget, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KNotification::beep(*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_KNotification, sipName_beep, NULL);

    return NULL;
}


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

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

    return sipCppV;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KNotification(sipSimpleWrapper *);}
static void dealloc_KNotification(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKNotification *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QWidget* a1 = 0;
        const  ::KNotification::NotificationFlags& a2def = KNotification::CloseOnTimeout;
        const  ::KNotification::NotificationFlags* a2 = &a2def;
        int a2State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1|J8J1", sipType_QString,&a0, &a0State, sipType_QWidget, &a1, sipType_KNotification_NotificationFlags, &a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKNotification(*a0,a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::KNotification::NotificationFlags *>(a2),sipType_KNotification_NotificationFlags,a2State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::KNotification::NotificationFlags* a1;
        int a1State = 0;
         ::QObject* a2 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J1|JH", sipType_QString,&a0, &a0State, sipType_KNotification_NotificationFlags, &a1, &a1State, sipType_QObject, &a2, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKNotification(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::KNotification::NotificationFlags *>(a1),sipType_KNotification_NotificationFlags,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KNotification[] = {{19, 0, 1}};


static PyMethodDef methods_KNotification[] = {
    {SIP_MLNAME_CAST(sipName_actions), meth_KNotification_actions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_activate), meth_KNotification_activate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addContext), meth_KNotification_addContext, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_beep), meth_KNotification_beep, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_close), meth_KNotification_close, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contexts), meth_KNotification_contexts, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deref), meth_KNotification_deref, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_KNotification_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_KNotification_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventId), meth_KNotification_eventId, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_flags), meth_KNotification_flags, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pixmap), meth_KNotification_pixmap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_raiseWidget), meth_KNotification_raiseWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ref), meth_KNotification_ref, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sendEvent), meth_KNotification_sendEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setActions), meth_KNotification_setActions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setComponentData), meth_KNotification_setComponentData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setContexts), meth_KNotification_setContexts, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFlags), meth_KNotification_setFlags, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPixmap), meth_KNotification_setPixmap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setText), meth_KNotification_setText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTitle), meth_KNotification_setTitle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setWidget), meth_KNotification_setWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_text), meth_KNotification_text, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_title), meth_KNotification_title, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_update), meth_KNotification_update, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_widget), meth_KNotification_widget, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KNotification[] = {
    {sipName_Catastrophe, static_cast<int>( ::KNotification::Catastrophe), 207},
    {sipName_CloseOnTimeout, static_cast<int>( ::KNotification::CloseOnTimeout), 205},
    {sipName_CloseWhenWidgetActivated, static_cast<int>( ::KNotification::CloseWhenWidgetActivated), 205},
    {sipName_DefaultEvent, static_cast<int>( ::KNotification::DefaultEvent), 205},
    {sipName_Error, static_cast<int>( ::KNotification::Error), 207},
    {sipName_Notification, static_cast<int>( ::KNotification::Notification), 207},
    {sipName_Persistant, static_cast<int>( ::KNotification::Persistant), 205},
    {sipName_Persistent, static_cast<int>( ::KNotification::Persistent), 205},
    {sipName_RaiseWidgetOnActivation, static_cast<int>( ::KNotification::RaiseWidgetOnActivation), 205},
    {sipName_Warning, static_cast<int>( ::KNotification::Warning), 207},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KNotification[] = {
    {"ignored()", 0, 0, 0},
    {"closed()", 0, 0, 0},
    {"action3Activated()", 0, 0, 0},
    {"action2Activated()", 0, 0, 0},
    {"action1Activated()", 0, 0, 0},
    {"activated()", 0, 0, 0},
    {"activated(uint)", 0, 0, 0},
    {0, 0, 0, 0}
};


static pyqt4ClassPluginDef plugin_KNotification = {
    & ::KNotification::staticMetaObject,
    0,
    signals_KNotification
};


sipClassTypeDef sipTypeDef_kdeui_KNotification = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KNotification,
        {0},
        &plugin_KNotification
    },
    {
        sipNameNr_KNotification,
        {0, 0, 1},
        27, methods_KNotification,
        10, enummembers_KNotification,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KNotification,
    0,
    init_type_KNotification,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KNotification,
    0,
    0,
    0,
    release_KNotification,
    cast_KNotification,
    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/knewpassworddialog.sip"
#include <knewpassworddialog.h>
#line 4417 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 4421 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 4424 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 4427 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4430 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4433 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4436 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.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 4439 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 4442 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 4445 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 4448 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.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 4451 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.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 4454 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.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 4457 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.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 4460 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 4463 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.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 4466 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.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 4469 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4472 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.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 4475 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 4478 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4481 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4484 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4487 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4490 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4493 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 4496 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4499 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 4502 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 4505 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 4508 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 4511 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 4514 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 4517 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 4520 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 4523 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 4526 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 4529 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 4532 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 4535 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4538 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 4541 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 4544 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4547 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4550 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4553 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4556 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4559 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4562 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4565 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4568 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4571 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4574 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4577 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4580 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 4583 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 4586 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 4589 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4592 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 4595 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 4598 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4601 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 4604 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 4607 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 4610 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 4613 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 4616 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4619 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4622 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4625 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4628 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 4631 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 4634 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 4637 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"


class sipKNewPasswordDialog : public  ::KNewPasswordDialog
{
public:
    sipKNewPasswordDialog( ::QWidget*);
    virtual ~sipKNewPasswordDialog();

    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 checkPassword(const  ::QString&);
    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:
    sipKNewPasswordDialog(const sipKNewPasswordDialog &);
    sipKNewPasswordDialog &operator = (const sipKNewPasswordDialog &);

    char sipPyMethods[55];
};

sipKNewPasswordDialog::sipKNewPasswordDialog( ::QWidget*a0):  ::KNewPasswordDialog(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKNewPasswordDialog::~sipKNewPasswordDialog()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKNewPasswordDialog::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KNewPasswordDialog);
}

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

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

    return _id;
}

void *sipKNewPasswordDialog::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KNewPasswordDialog, _clname)) ? this :  ::KNewPasswordDialog::qt_metacast(_clname);
}

bool sipKNewPasswordDialog::checkPassword(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KNewPasswordDialog::checkPassword(a0);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if (!sipMeth)
    {
         ::KNewPasswordDialog::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 sipKNewPasswordDialog::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KNewPasswordDialog::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 sipKNewPasswordDialog::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if (!sipMeth)
        return  ::KNewPasswordDialog::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 sipKNewPasswordDialog::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

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

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

int sipKNewPasswordDialog::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  ::KNewPasswordDialog::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* sipKNewPasswordDialog::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

int sipKNewPasswordDialog::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  ::KNewPasswordDialog::heightForWidth(a0);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

 ::QVariant sipKNewPasswordDialog::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  ::KNewPasswordDialog::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 sipKNewPasswordDialog::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

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

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

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

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

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

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

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

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

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

    if (!sipMeth)
    {
         ::KNewPasswordDialog::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 sipKNewPasswordDialog::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KNewPasswordDialog::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 sipKNewPasswordDialog::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

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

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

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

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

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

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

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

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

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

    if (!sipMeth)
    {
         ::KNewPasswordDialog::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 sipKNewPasswordDialog::setCaption(const  ::QString& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KNewPasswordDialog::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 sipKNewPasswordDialog::setPlainCaption(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KNewPasswordDialog::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 sipKNewPasswordDialog::slotButtonClicked(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KNewPasswordDialog::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_KNewPasswordDialog_setPrompt(PyObject *, PyObject *);}
static PyObject *meth_KNewPasswordDialog_setPrompt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::KNewPasswordDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KNewPasswordDialog, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPrompt(*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_KNewPasswordDialog, sipName_setPrompt, NULL);

    return NULL;
}


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

    {
        const  ::KNewPasswordDialog *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const  ::QPixmap* a0;
         ::KNewPasswordDialog *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::KNewPasswordDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KNewPasswordDialog, &sipCpp))
        {
             ::QPixmap*sipRes;

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

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

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

    return NULL;
}


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

    {
        bool a0;
         ::KNewPasswordDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KNewPasswordDialog, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAllowEmptyPasswords(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::KNewPasswordDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KNewPasswordDialog, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->allowEmptyPasswords();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        int a0;
         ::KNewPasswordDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KNewPasswordDialog, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMinimumPasswordLength(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::KNewPasswordDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KNewPasswordDialog, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->minimumPasswordLength();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        int a0;
         ::KNewPasswordDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KNewPasswordDialog, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMaximumPasswordLength(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::KNewPasswordDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KNewPasswordDialog, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->maximumPasswordLength();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        int a0;
         ::KNewPasswordDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KNewPasswordDialog, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setReasonablePasswordLength(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::KNewPasswordDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KNewPasswordDialog, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->reasonablePasswordLength();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        int a0;
         ::KNewPasswordDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KNewPasswordDialog, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPasswordStrengthWarningLevel(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::KNewPasswordDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KNewPasswordDialog, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->passwordStrengthWarningLevel();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const  ::KNewPasswordDialog *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
         ::KNewPasswordDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KNewPasswordDialog, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KNewPasswordDialog::accept() : sipCpp->accept());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::QString* a0;
        int a0State = 0;
         ::KNewPasswordDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_KNewPasswordDialog, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::KNewPasswordDialog::checkPassword(*a0) : sipCpp->checkPassword(*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_KNewPasswordDialog, sipName_checkPassword, NULL);

    return NULL;
}


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

    {
         ::QString* a0;
        int a0State = 0;
         ::KNewPasswordDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ0", &sipSelf, sipType_KNewPasswordDialog, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->checkAndGetPassword(a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KNewPasswordDialog(void *, const sipTypeDef *);}
static void *cast_KNewPasswordDialog(void *sipCppV, const sipTypeDef *targetType)
{
     ::KNewPasswordDialog *sipCpp = reinterpret_cast< ::KNewPasswordDialog *>(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_KNewPasswordDialog(void *, int);}
static void release_KNewPasswordDialog(void *sipCppV, int)
{
     ::KNewPasswordDialog *sipCpp = reinterpret_cast< ::KNewPasswordDialog *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KNewPasswordDialog(sipSimpleWrapper *);}
static void dealloc_KNewPasswordDialog(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKNewPasswordDialog *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

    {
         ::QWidget* a0 = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KNewPasswordDialog[] = {
    {SIP_MLNAME_CAST(sipName_accept), meth_KNewPasswordDialog_accept, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_allowEmptyPasswords), meth_KNewPasswordDialog_allowEmptyPasswords, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_checkAndGetPassword), meth_KNewPasswordDialog_checkAndGetPassword, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_checkPassword), meth_KNewPasswordDialog_checkPassword, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_maximumPasswordLength), meth_KNewPasswordDialog_maximumPasswordLength, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_minimumPasswordLength), meth_KNewPasswordDialog_minimumPasswordLength, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_password), meth_KNewPasswordDialog_password, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_passwordStrengthWarningLevel), meth_KNewPasswordDialog_passwordStrengthWarningLevel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pixmap), meth_KNewPasswordDialog_pixmap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_prompt), meth_KNewPasswordDialog_prompt, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_reasonablePasswordLength), meth_KNewPasswordDialog_reasonablePasswordLength, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAllowEmptyPasswords), meth_KNewPasswordDialog_setAllowEmptyPasswords, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMaximumPasswordLength), meth_KNewPasswordDialog_setMaximumPasswordLength, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMinimumPasswordLength), meth_KNewPasswordDialog_setMinimumPasswordLength, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPasswordStrengthWarningLevel), meth_KNewPasswordDialog_setPasswordStrengthWarningLevel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPixmap), meth_KNewPasswordDialog_setPixmap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPrompt), meth_KNewPasswordDialog_setPrompt, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setReasonablePasswordLength), meth_KNewPasswordDialog_setReasonablePasswordLength, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KNewPasswordDialog[] = {
    {"newPassword(QString)", 0, 0, 0},
    {0, 0, 0, 0}
};


static pyqt4ClassPluginDef plugin_KNewPasswordDialog = {
    & ::KNewPasswordDialog::staticMetaObject,
    0,
    signals_KNewPasswordDialog
};


sipClassTypeDef sipTypeDef_kdeui_KNewPasswordDialog = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KNewPasswordDialog,
        {0},
        &plugin_KNewPasswordDialog
    },
    {
        sipNameNr_KNewPasswordDialog,
        {0, 0, 1},
        18, methods_KNewPasswordDialog,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KNewPasswordDialog,
    0,
    init_type_KNewPasswordDialog,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KNewPasswordDialog,
    0,
    0,
    0,
    release_KNewPasswordDialog,
    cast_KNewPasswordDialog,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 101 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kmultitabbar.sip"
#include <kmultitabbar.h>
#line 6374 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"

#line 26 "/usr/share/sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 6378 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 6381 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 6384 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kmultitabbar.sip"
#include <kmultitabbar.h>
#line 6387 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6390 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 6393 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6396 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6399 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6402 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6405 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6408 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 696 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 6411 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 6414 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6417 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6420 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 6423 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbuttongroup.sip"
#include <qbuttongroup.h>
#line 6426 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 6429 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 6432 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6435 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 6438 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6441 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6444 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 6447 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 6450 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 6453 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 6456 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 6459 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 6462 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 6465 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 6468 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 6471 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 6474 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 6477 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 6480 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6483 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 6486 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 6489 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6492 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6495 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6498 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6501 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6504 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6507 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6510 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6513 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6516 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6519 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6522 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6525 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 6528 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 6531 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 6534 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 6537 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 6540 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 6543 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 6546 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6549 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 6552 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 6555 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 6558 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6561 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 6564 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 6567 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 6570 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 6573 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 6576 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 6579 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"


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

    {
        const  ::KMultiTabBarTab *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KMultiTabBarTab, &sipCpp))
        {
             ::QSize*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QSize((sipSelfWasArg ? sipCpp-> ::KMultiTabBarTab::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_KMultiTabBarTab, sipName_sizeHint, NULL);

    return NULL;
}


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

    {
        const  ::KMultiTabBarTab *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KMultiTabBarTab, &sipCpp))
        {
             ::QSize*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QSize((sipSelfWasArg ? sipCpp-> ::KMultiTabBarTab::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_KMultiTabBarTab, sipName_minimumSizeHint, NULL);

    return NULL;
}


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

    {
         ::KMultiTabBar::KMultiTabBarPosition a0;
         ::KMultiTabBarTab *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KMultiTabBarTab, &sipCpp, sipType_KMultiTabBar_KMultiTabBarPosition, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPosition(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::KMultiTabBar::KMultiTabBarStyle a0;
         ::KMultiTabBarTab *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KMultiTabBarTab, &sipCpp, sipType_KMultiTabBar_KMultiTabBarStyle, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setStyle(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
         ::KMultiTabBarTab *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KMultiTabBarTab, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setState(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::QString* a0;
        int a0State = 0;
         ::KMultiTabBarTab *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KMultiTabBarTab, &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;
        }
    }

    {
        const  ::QPixmap* a0;
         ::KMultiTabBarTab *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KMultiTabBarTab, &sipCpp, sipType_QPixmap, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setIcon(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::QPaintEvent* a0;
         ::KMultiTabBarTab *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KMultiTabBarTab, &sipCpp, sipType_QPaintEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KMultiTabBarTab::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_KMultiTabBarTab, sipName_paintEvent, NULL);

    return NULL;
}


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

    if (targetType == sipType_KMultiTabBarButton)
        return static_cast< ::KMultiTabBarButton *>(sipCpp);

    if (targetType == sipType_QPushButton)
        return static_cast< ::QPushButton *>(sipCpp);

    if (targetType == sipType_QAbstractButton)
        return static_cast< ::QAbstractButton *>(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_KMultiTabBarTab(void *, int);}
static void release_KMultiTabBarTab(void *sipCppV, int)
{
     ::KMultiTabBarTab *sipCpp = reinterpret_cast< ::KMultiTabBarTab *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KMultiTabBarTab(sipSimpleWrapper *);}
static void dealloc_KMultiTabBarTab(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_KMultiTabBarTab(sipGetAddress(sipSelf), 0);
    }
}


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


static PyMethodDef methods_KMultiTabBarTab[] = {
    {SIP_MLNAME_CAST(sipName_minimumSizeHint), meth_KMultiTabBarTab_minimumSizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_KMultiTabBarTab_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIcon), meth_KMultiTabBarTab_setIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPosition), meth_KMultiTabBarTab_setPosition, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setState), meth_KMultiTabBarTab_setState, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setStyle), meth_KMultiTabBarTab_setStyle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_KMultiTabBarTab_sizeHint, METH_VARARGS, NULL}
};


static pyqt4ClassPluginDef plugin_KMultiTabBarTab = {
    & ::KMultiTabBarTab::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KMultiTabBarTab = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KMultiTabBarTab,
        {0},
        &plugin_KMultiTabBarTab
    },
    {
        sipNameNr_KMultiTabBarTab,
        {0, 0, 1},
        7, methods_KMultiTabBarTab,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KMultiTabBarTab,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KMultiTabBarTab,
    0,
    0,
    0,
    release_KMultiTabBarTab,
    cast_KMultiTabBarTab,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 74 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kmultitabbar.sip"
#include <kmultitabbar.h>
#line 6919 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"

#line 26 "/usr/share/sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 6923 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 6926 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 6929 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6932 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6935 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6938 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6941 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6944 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6947 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 696 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 6950 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 6953 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 6956 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6959 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6962 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 6965 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbuttongroup.sip"
#include <qbuttongroup.h>
#line 6968 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 6971 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 6974 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6977 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 6980 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6983 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6986 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 6989 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 6992 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 6995 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 6998 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 7001 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 7004 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 7007 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 7010 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 7013 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 7016 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 7019 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 7022 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7025 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 7028 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 7031 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7034 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7037 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7040 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7043 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7046 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7049 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7052 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7055 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7058 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7061 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7064 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7067 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 7070 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 7073 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 7076 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7079 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 7082 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 7085 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 7088 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7091 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 7094 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 7097 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 7100 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7103 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 7106 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7109 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7112 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 7115 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 7118 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 7121 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"


class sipKMultiTabBarButton : public  ::KMultiTabBarButton
{
public:
    sipKMultiTabBarButton(const  ::QPixmap&,const  ::QString&,int, ::QWidget*);
    virtual ~sipKMultiTabBarButton();

    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 slotClicked();
    void nextCheckState();
    void checkStateSet();
    bool hitButton(const  ::QPoint&) 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*);
    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:
    sipKMultiTabBarButton(const sipKMultiTabBarButton &);
    sipKMultiTabBarButton &operator = (const sipKMultiTabBarButton &);

    char sipPyMethods[51];
};

sipKMultiTabBarButton::sipKMultiTabBarButton(const  ::QPixmap& a0,const  ::QString& a1,int a2, ::QWidget*a3):  ::KMultiTabBarButton(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKMultiTabBarButton::~sipKMultiTabBarButton()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKMultiTabBarButton::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KMultiTabBarButton);
}

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

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

    return _id;
}

void *sipKMultiTabBarButton::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KMultiTabBarButton, _clname)) ? this :  ::KMultiTabBarButton::qt_metacast(_clname);
}

void sipKMultiTabBarButton::slotClicked()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KMultiTabBarButton::slotClicked();
        return;
    }

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

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

void sipKMultiTabBarButton::nextCheckState()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KMultiTabBarButton::nextCheckState();
        return;
    }

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

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

void sipKMultiTabBarButton::checkStateSet()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KMultiTabBarButton::checkStateSet();
        return;
    }

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

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

bool sipKMultiTabBarButton::hitButton(const  ::QPoint& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KMultiTabBarButton::hitButton(a0);

    extern bool sipVH_kdeui_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPoint&);

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

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

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

    if (!sipMeth)
    {
         ::KMultiTabBarButton::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 sipKMultiTabBarButton::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KMultiTabBarButton::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 sipKMultiTabBarButton::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if (!sipMeth)
        return  ::KMultiTabBarButton::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 sipKMultiTabBarButton::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

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

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

int sipKMultiTabBarButton::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  ::KMultiTabBarButton::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* sipKMultiTabBarButton::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

int sipKMultiTabBarButton::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  ::KMultiTabBarButton::heightForWidth(a0);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kdeui_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMultiTabBarButton::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KMultiTabBarButton::resizeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kdeui_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMultiTabBarButton::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KMultiTabBarButton::closeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kdeui_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMultiTabBarButton::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KMultiTabBarButton::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kdeui_22(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMultiTabBarButton::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KMultiTabBarButton::tabletEvent(a0);
        return;
    }

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kdeui_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMultiTabBarButton::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KMultiTabBarButton::actionEvent(a0);
        return;
    }

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kdeui_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMultiTabBarButton::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KMultiTabBarButton::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kdeui_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMultiTabBarButton::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KMultiTabBarButton::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kdeui_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMultiTabBarButton::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KMultiTabBarButton::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kdeui_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMultiTabBarButton::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KMultiTabBarButton::dropEvent(a0);
        return;
    }

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kdeui_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMultiTabBarButton::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KMultiTabBarButton::showEvent(a0);
        return;
    }

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kdeui_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMultiTabBarButton::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KMultiTabBarButton::hideEvent(a0);
        return;
    }

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kdeui_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMultiTabBarButton::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KMultiTabBarButton::changeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMultiTabBarButton::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KMultiTabBarButton::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QVariant sipKMultiTabBarButton::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  ::KMultiTabBarButton::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 sipKMultiTabBarButton::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KMultiTabBarButton::focusNextPrevChild(a0);

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMultiTabBarButton::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KMultiTabBarButton::enabledChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMultiTabBarButton::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KMultiTabBarButton::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 sipKMultiTabBarButton::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KMultiTabBarButton::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 sipKMultiTabBarButton::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KMultiTabBarButton::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMultiTabBarButton::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KMultiTabBarButton::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_KMultiTabBarButton_id(PyObject *, PyObject *);}
static PyObject *meth_KMultiTabBarButton_id(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KMultiTabBarButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KMultiTabBarButton, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->id();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMultiTabBarButton, sipName_id, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMultiTabBarButton_setText(PyObject *, PyObject *);}
static PyObject *meth_KMultiTabBarButton_setText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::KMultiTabBarButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KMultiTabBarButton, &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_KMultiTabBarButton, sipName_setText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMultiTabBarButton_slotClicked(PyObject *, PyObject *);}
static PyObject *meth_KMultiTabBarButton_slotClicked(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::KMultiTabBarButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KMultiTabBarButton, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KMultiTabBarButton::slotClicked() : sipCpp->slotClicked());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMultiTabBarButton, sipName_slotClicked, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMultiTabBarButton_hideEvent(PyObject *, PyObject *);}
static PyObject *meth_KMultiTabBarButton_hideEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QHideEvent* a0;
         ::KMultiTabBarButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KMultiTabBarButton, &sipCpp, sipType_QHideEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KMultiTabBarButton::hideEvent(a0) : sipCpp->hideEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMultiTabBarButton, sipName_hideEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMultiTabBarButton_showEvent(PyObject *, PyObject *);}
static PyObject *meth_KMultiTabBarButton_showEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QShowEvent* a0;
         ::KMultiTabBarButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KMultiTabBarButton, &sipCpp, sipType_QShowEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KMultiTabBarButton::showEvent(a0) : sipCpp->showEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMultiTabBarButton, sipName_showEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMultiTabBarButton_paintEvent(PyObject *, PyObject *);}
static PyObject *meth_KMultiTabBarButton_paintEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QPaintEvent* a0;
         ::KMultiTabBarButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KMultiTabBarButton, &sipCpp, sipType_QPaintEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KMultiTabBarButton::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_KMultiTabBarButton, sipName_paintEvent, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KMultiTabBarButton(void *, const sipTypeDef *);}
static void *cast_KMultiTabBarButton(void *sipCppV, const sipTypeDef *targetType)
{
     ::KMultiTabBarButton *sipCpp = reinterpret_cast< ::KMultiTabBarButton *>(sipCppV);

    if (targetType == sipType_QPushButton)
        return static_cast< ::QPushButton *>(sipCpp);

    if (targetType == sipType_QAbstractButton)
        return static_cast< ::QAbstractButton *>(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_KMultiTabBarButton(void *, int);}
static void release_KMultiTabBarButton(void *sipCppV, int)
{
     ::KMultiTabBarButton *sipCpp = reinterpret_cast< ::KMultiTabBarButton *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KMultiTabBarButton(sipSimpleWrapper *);}
static void dealloc_KMultiTabBarButton(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKMultiTabBarButton *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KMultiTabBarButton(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KMultiTabBarButton(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KMultiTabBarButton(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKMultiTabBarButton *sipCpp = 0;

    {
        const  ::QPixmap* a0;
        const  ::QString* a1;
        int a1State = 0;
        int a2;
         ::QWidget* a3;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9J1iJH", sipType_QPixmap, &a0, sipType_QString,&a1, &a1State, &a2, sipType_QWidget, &a3, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKMultiTabBarButton(*a0,*a1,a2,a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KMultiTabBarButton[] = {{84, 2, 1}};


static PyMethodDef methods_KMultiTabBarButton[] = {
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_KMultiTabBarButton_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_id), meth_KMultiTabBarButton_id, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_KMultiTabBarButton_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setText), meth_KMultiTabBarButton_setText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_KMultiTabBarButton_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotClicked), meth_KMultiTabBarButton_slotClicked, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KMultiTabBarButton[] = {
    {"clicked(int)", 0, 0, 0},
    {0, 0, 0, 0}
};


static pyqt4ClassPluginDef plugin_KMultiTabBarButton = {
    & ::KMultiTabBarButton::staticMetaObject,
    0,
    signals_KMultiTabBarButton
};


sipClassTypeDef sipTypeDef_kdeui_KMultiTabBarButton = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KMultiTabBarButton,
        {0},
        &plugin_KMultiTabBarButton
    },
    {
        sipNameNr_KMultiTabBarButton,
        {0, 0, 1},
        6, methods_KMultiTabBarButton,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KMultiTabBarButton,
    0,
    init_type_KMultiTabBarButton,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KMultiTabBarButton,
    0,
    0,
    0,
    release_KMultiTabBarButton,
    cast_KMultiTabBarButton,
    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/kmultitabbar.sip"
#include <kmultitabbar.h>
#line 8447 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 8451 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 8454 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 101 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kmultitabbar.sip"
#include <kmultitabbar.h>
#line 8457 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 74 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kmultitabbar.sip"
#include <kmultitabbar.h>
#line 8460 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 8463 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 8466 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 8469 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8472 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 8475 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8478 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8481 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 8484 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 8487 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 8490 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 8493 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 8496 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 8499 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 8502 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 8505 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 8508 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 8511 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 8514 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 8517 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 8520 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8523 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 8526 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 8529 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8532 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8535 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8538 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8541 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8544 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8547 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8550 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8553 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8556 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8559 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8562 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8565 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8568 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8571 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8574 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8577 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8580 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8583 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 8586 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 8589 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 8592 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 8595 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8598 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 8601 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 8604 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 8607 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8610 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 8613 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 8616 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 8619 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 8622 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 8625 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8628 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8631 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 8634 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8637 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8640 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 8643 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 8646 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 8649 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"


class sipKMultiTabBar : public  ::KMultiTabBar
{
public:
    sipKMultiTabBar( ::KMultiTabBar::KMultiTabBarPosition, ::QWidget*);
    virtual ~sipKMultiTabBar();

    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:
    sipKMultiTabBar(const sipKMultiTabBar &);
    sipKMultiTabBar &operator = (const sipKMultiTabBar &);

    char sipPyMethods[47];
};

sipKMultiTabBar::sipKMultiTabBar( ::KMultiTabBar::KMultiTabBarPosition a0, ::QWidget*a1):  ::KMultiTabBar(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKMultiTabBar::~sipKMultiTabBar()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKMultiTabBar::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KMultiTabBar);
}

int sipKMultiTabBar::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KMultiTabBar::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KMultiTabBar,_c,_id,_a);

    return _id;
}

void *sipKMultiTabBar::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KMultiTabBar, _clname)) ? this :  ::KMultiTabBar::qt_metacast(_clname);
}

void sipKMultiTabBar::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KMultiTabBar::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 sipKMultiTabBar::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KMultiTabBar::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 sipKMultiTabBar::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KMultiTabBar::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMultiTabBar::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KMultiTabBar::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMultiTabBar::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KMultiTabBar::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKMultiTabBar::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KMultiTabBar::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 sipKMultiTabBar::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KMultiTabBar::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKMultiTabBar::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  ::KMultiTabBar::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* sipKMultiTabBar::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KMultiTabBar::paintEngine();

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKMultiTabBar::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KMultiTabBar::devType();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKMultiTabBar::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KMultiTabBar::setVisible(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKMultiTabBar::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KMultiTabBar::sizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKMultiTabBar::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KMultiTabBar::minimumSizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKMultiTabBar::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  ::KMultiTabBar::heightForWidth(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMultiTabBar::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KMultiTabBar::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMultiTabBar::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KMultiTabBar::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMultiTabBar::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KMultiTabBar::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMultiTabBar::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KMultiTabBar::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMultiTabBar::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KMultiTabBar::wheelEvent(a0);
        return;
    }

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kdeui_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMultiTabBar::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KMultiTabBar::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMultiTabBar::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KMultiTabBar::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMultiTabBar::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KMultiTabBar::focusInEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMultiTabBar::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KMultiTabBar::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMultiTabBar::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KMultiTabBar::enterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMultiTabBar::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KMultiTabBar::leaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMultiTabBar::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KMultiTabBar::paintEvent(a0);
        return;
    }

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kdeui_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMultiTabBar::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KMultiTabBar::moveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kdeui_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMultiTabBar::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KMultiTabBar::resizeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kdeui_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMultiTabBar::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KMultiTabBar::closeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kdeui_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMultiTabBar::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KMultiTabBar::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kdeui_22(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMultiTabBar::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KMultiTabBar::tabletEvent(a0);
        return;
    }

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kdeui_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMultiTabBar::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KMultiTabBar::actionEvent(a0);
        return;
    }

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kdeui_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMultiTabBar::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KMultiTabBar::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kdeui_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMultiTabBar::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KMultiTabBar::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kdeui_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMultiTabBar::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KMultiTabBar::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kdeui_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMultiTabBar::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KMultiTabBar::dropEvent(a0);
        return;
    }

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kdeui_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMultiTabBar::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KMultiTabBar::showEvent(a0);
        return;
    }

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kdeui_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMultiTabBar::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KMultiTabBar::hideEvent(a0);
        return;
    }

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kdeui_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMultiTabBar::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KMultiTabBar::changeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMultiTabBar::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KMultiTabBar::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QVariant sipKMultiTabBar::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  ::KMultiTabBar::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 sipKMultiTabBar::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KMultiTabBar::focusNextPrevChild(a0);

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMultiTabBar::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KMultiTabBar::enabledChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMultiTabBar::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KMultiTabBar::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 sipKMultiTabBar::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KMultiTabBar::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 sipKMultiTabBar::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KMultiTabBar::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMultiTabBar::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KMultiTabBar::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_KMultiTabBar_appendButton(PyObject *, PyObject *);}
static PyObject *meth_KMultiTabBar_appendButton(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPixmap* a0;
        int a1 = -1;
         ::QMenu* a2 = 0;
        const  ::QString& a3def = QString();
        const  ::QString* a3 = &a3def;
        int a3State = 0;
         ::KMultiTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9|iJ8J1", &sipSelf, sipType_KMultiTabBar, &sipCpp, sipType_QPixmap, &a0, &a1, sipType_QMenu, &a2, sipType_QString,&a3, &a3State))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->appendButton(*a0,a1,a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMultiTabBar, sipName_appendButton, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMultiTabBar_removeButton(PyObject *, PyObject *);}
static PyObject *meth_KMultiTabBar_removeButton(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::KMultiTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KMultiTabBar, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeButton(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMultiTabBar, sipName_removeButton, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMultiTabBar_appendTab(PyObject *, PyObject *);}
static PyObject *meth_KMultiTabBar_appendTab(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPixmap* a0;
        int a1 = -1;
        const  ::QString& a2def = QString();
        const  ::QString* a2 = &a2def;
        int a2State = 0;
         ::KMultiTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9|iJ1", &sipSelf, sipType_KMultiTabBar, &sipCpp, sipType_QPixmap, &a0, &a1, sipType_QString,&a2, &a2State))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->appendTab(*a0,a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMultiTabBar, sipName_appendTab, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMultiTabBar_removeTab(PyObject *, PyObject *);}
static PyObject *meth_KMultiTabBar_removeTab(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::KMultiTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KMultiTabBar, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeTab(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMultiTabBar, sipName_removeTab, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMultiTabBar_setTab(PyObject *, PyObject *);}
static PyObject *meth_KMultiTabBar_setTab(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        bool a1;
         ::KMultiTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bib", &sipSelf, sipType_KMultiTabBar, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTab(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_KMultiTabBar, sipName_setTab, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMultiTabBar_isTabRaised(PyObject *, PyObject *);}
static PyObject *meth_KMultiTabBar_isTabRaised(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::KMultiTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KMultiTabBar, &sipCpp, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isTabRaised(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMultiTabBar, sipName_isTabRaised, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMultiTabBar_button(PyObject *, PyObject *);}
static PyObject *meth_KMultiTabBar_button(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::KMultiTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KMultiTabBar, &sipCpp, &a0))
        {
             ::KMultiTabBarButton*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->button(a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KMultiTabBarButton,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMultiTabBar, sipName_button, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMultiTabBar_tab(PyObject *, PyObject *);}
static PyObject *meth_KMultiTabBar_tab(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::KMultiTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KMultiTabBar, &sipCpp, &a0))
        {
             ::KMultiTabBarTab*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->tab(a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KMultiTabBarTab,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMultiTabBar, sipName_tab, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMultiTabBar_setPosition(PyObject *, PyObject *);}
static PyObject *meth_KMultiTabBar_setPosition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KMultiTabBar::KMultiTabBarPosition a0;
         ::KMultiTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KMultiTabBar, &sipCpp, sipType_KMultiTabBar_KMultiTabBarPosition, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPosition(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMultiTabBar, sipName_setPosition, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMultiTabBar_position(PyObject *, PyObject *);}
static PyObject *meth_KMultiTabBar_position(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KMultiTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KMultiTabBar, &sipCpp))
        {
             ::KMultiTabBar::KMultiTabBarPosition sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->position();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KMultiTabBar_KMultiTabBarPosition);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMultiTabBar, sipName_position, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMultiTabBar_setStyle(PyObject *, PyObject *);}
static PyObject *meth_KMultiTabBar_setStyle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KMultiTabBar::KMultiTabBarStyle a0;
         ::KMultiTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KMultiTabBar, &sipCpp, sipType_KMultiTabBar_KMultiTabBarStyle, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setStyle(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMultiTabBar, sipName_setStyle, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMultiTabBar_tabStyle(PyObject *, PyObject *);}
static PyObject *meth_KMultiTabBar_tabStyle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KMultiTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KMultiTabBar, &sipCpp))
        {
             ::KMultiTabBar::KMultiTabBarStyle sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->tabStyle();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KMultiTabBar_KMultiTabBarStyle);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMultiTabBar, sipName_tabStyle, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMultiTabBar_fontChange(PyObject *, PyObject *);}
static PyObject *meth_KMultiTabBar_fontChange(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QFont* a0;
         ::KMultiTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9", &sipSelf, sipType_KMultiTabBar, &sipCpp, sipType_QFont, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KMultiTabBar::fontChange(*a0) : sipCpp->fontChange(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMultiTabBar, sipName_fontChange, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMultiTabBar_updateSeparator(PyObject *, PyObject *);}
static PyObject *meth_KMultiTabBar_updateSeparator(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KMultiTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KMultiTabBar, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->updateSeparator();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMultiTabBar, sipName_updateSeparator, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KMultiTabBar(void *, const sipTypeDef *);}
static void *cast_KMultiTabBar(void *sipCppV, const sipTypeDef *targetType)
{
     ::KMultiTabBar *sipCpp = reinterpret_cast< ::KMultiTabBar *>(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_KMultiTabBar(void *, int);}
static void release_KMultiTabBar(void *sipCppV, int)
{
     ::KMultiTabBar *sipCpp = reinterpret_cast< ::KMultiTabBar *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KMultiTabBar(sipSimpleWrapper *);}
static void dealloc_KMultiTabBar(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKMultiTabBar *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KMultiTabBar(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KMultiTabBar(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KMultiTabBar(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKMultiTabBar *sipCpp = 0;

    {
         ::KMultiTabBar::KMultiTabBarPosition a0;
         ::QWidget* a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "E|JH", sipType_KMultiTabBar_KMultiTabBarPosition, &a0, sipType_QWidget, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKMultiTabBar(a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KMultiTabBar[] = {{131, 2, 1}};


static PyMethodDef methods_KMultiTabBar[] = {
    {SIP_MLNAME_CAST(sipName_appendButton), meth_KMultiTabBar_appendButton, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_appendTab), meth_KMultiTabBar_appendTab, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_button), meth_KMultiTabBar_button, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fontChange), meth_KMultiTabBar_fontChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isTabRaised), meth_KMultiTabBar_isTabRaised, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_position), meth_KMultiTabBar_position, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeButton), meth_KMultiTabBar_removeButton, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeTab), meth_KMultiTabBar_removeTab, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPosition), meth_KMultiTabBar_setPosition, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setStyle), meth_KMultiTabBar_setStyle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTab), meth_KMultiTabBar_setTab, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tab), meth_KMultiTabBar_tab, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tabStyle), meth_KMultiTabBar_tabStyle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateSeparator), meth_KMultiTabBar_updateSeparator, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KMultiTabBar[] = {
    {sipName_Bottom, static_cast<int>( ::KMultiTabBar::Bottom), 199},
    {sipName_KDEV3ICON, static_cast<int>( ::KMultiTabBar::KDEV3ICON), 200},
    {sipName_Left, static_cast<int>( ::KMultiTabBar::Left), 199},
    {sipName_Right, static_cast<int>( ::KMultiTabBar::Right), 199},
    {sipName_STYLELAST, static_cast<int>( ::KMultiTabBar::STYLELAST), 200},
    {sipName_Top, static_cast<int>( ::KMultiTabBar::Top), 199},
    {sipName_VSNET, static_cast<int>( ::KMultiTabBar::VSNET), 200},
};


static pyqt4ClassPluginDef plugin_KMultiTabBar = {
    & ::KMultiTabBar::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KMultiTabBar = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KMultiTabBar,
        {0},
        &plugin_KMultiTabBar
    },
    {
        sipNameNr_KMultiTabBar,
        {0, 0, 1},
        14, methods_KMultiTabBar,
        7, enummembers_KMultiTabBar,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KMultiTabBar,
    0,
    init_type_KMultiTabBar,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KMultiTabBar,
    0,
    0,
    0,
    release_KMultiTabBar,
    cast_KMultiTabBar,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kmodifierkeyinfo.sip"
#include <kmodifierkeyinfo.h>
#line 10131 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"

#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 10135 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10138 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 10141 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10144 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10147 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10150 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 10153 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 10156 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 10159 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 10162 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 10165 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 10168 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 10171 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 10174 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"


class sipKModifierKeyInfo : public  ::KModifierKeyInfo
{
public:
    sipKModifierKeyInfo( ::QObject*);
    virtual ~sipKModifierKeyInfo();

    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:
    sipKModifierKeyInfo(const sipKModifierKeyInfo &);
    sipKModifierKeyInfo &operator = (const sipKModifierKeyInfo &);

    char sipPyMethods[7];
};

sipKModifierKeyInfo::sipKModifierKeyInfo( ::QObject*a0):  ::KModifierKeyInfo(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKModifierKeyInfo::~sipKModifierKeyInfo()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKModifierKeyInfo::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KModifierKeyInfo);
}

int sipKModifierKeyInfo::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KModifierKeyInfo::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KModifierKeyInfo,_c,_id,_a);

    return _id;
}

void *sipKModifierKeyInfo::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KModifierKeyInfo, _clname)) ? this :  ::KModifierKeyInfo::qt_metacast(_clname);
}

bool sipKModifierKeyInfo::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KModifierKeyInfo::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKModifierKeyInfo::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KModifierKeyInfo::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 sipKModifierKeyInfo::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KModifierKeyInfo::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKModifierKeyInfo::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KModifierKeyInfo::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKModifierKeyInfo::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KModifierKeyInfo::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKModifierKeyInfo::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KModifierKeyInfo::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 sipKModifierKeyInfo::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KModifierKeyInfo::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_KModifierKeyInfo_knowsKey(PyObject *, PyObject *);}
static PyObject *meth_KModifierKeyInfo_knowsKey(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::Key a0;
        const  ::KModifierKeyInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KModifierKeyInfo, &sipCpp, sipType_Qt_Key, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->knowsKey(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KModifierKeyInfo, sipName_knowsKey, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KModifierKeyInfo_knownKeys(PyObject *, PyObject *);}
static PyObject *meth_KModifierKeyInfo_knownKeys(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KModifierKeyInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KModifierKeyInfo, &sipCpp))
        {
            QList< ::Qt::Key>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList< ::Qt::Key>(sipCpp->knownKeys());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0100Qt_Key,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KModifierKeyInfo, sipName_knownKeys, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KModifierKeyInfo_isKeyPressed(PyObject *, PyObject *);}
static PyObject *meth_KModifierKeyInfo_isKeyPressed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::Key a0;
        const  ::KModifierKeyInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KModifierKeyInfo, &sipCpp, sipType_Qt_Key, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isKeyPressed(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KModifierKeyInfo, sipName_isKeyPressed, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KModifierKeyInfo_isKeyLatched(PyObject *, PyObject *);}
static PyObject *meth_KModifierKeyInfo_isKeyLatched(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::Key a0;
        const  ::KModifierKeyInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KModifierKeyInfo, &sipCpp, sipType_Qt_Key, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isKeyLatched(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KModifierKeyInfo, sipName_isKeyLatched, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KModifierKeyInfo_setKeyLatched(PyObject *, PyObject *);}
static PyObject *meth_KModifierKeyInfo_setKeyLatched(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::Key a0;
        bool a1;
         ::KModifierKeyInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEb", &sipSelf, sipType_KModifierKeyInfo, &sipCpp, sipType_Qt_Key, &a0, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->setKeyLatched(a0,a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KModifierKeyInfo, sipName_setKeyLatched, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KModifierKeyInfo_isKeyLocked(PyObject *, PyObject *);}
static PyObject *meth_KModifierKeyInfo_isKeyLocked(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::Key a0;
        const  ::KModifierKeyInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KModifierKeyInfo, &sipCpp, sipType_Qt_Key, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isKeyLocked(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KModifierKeyInfo, sipName_isKeyLocked, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KModifierKeyInfo_setKeyLocked(PyObject *, PyObject *);}
static PyObject *meth_KModifierKeyInfo_setKeyLocked(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::Key a0;
        bool a1;
         ::KModifierKeyInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEb", &sipSelf, sipType_KModifierKeyInfo, &sipCpp, sipType_Qt_Key, &a0, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->setKeyLocked(a0,a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KModifierKeyInfo, sipName_setKeyLocked, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KModifierKeyInfo_isButtonPressed(PyObject *, PyObject *);}
static PyObject *meth_KModifierKeyInfo_isButtonPressed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::MouseButton a0;
        const  ::KModifierKeyInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KModifierKeyInfo, &sipCpp, sipType_Qt_MouseButton, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isButtonPressed(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KModifierKeyInfo, sipName_isButtonPressed, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KModifierKeyInfo(void *, const sipTypeDef *);}
static void *cast_KModifierKeyInfo(void *sipCppV, const sipTypeDef *targetType)
{
     ::KModifierKeyInfo *sipCpp = reinterpret_cast< ::KModifierKeyInfo *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KModifierKeyInfo(void *, int);}
static void release_KModifierKeyInfo(void *sipCppV, int)
{
     ::KModifierKeyInfo *sipCpp = reinterpret_cast< ::KModifierKeyInfo *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KModifierKeyInfo(sipSimpleWrapper *);}
static void dealloc_KModifierKeyInfo(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKModifierKeyInfo *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KModifierKeyInfo(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KModifierKeyInfo(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KModifierKeyInfo(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKModifierKeyInfo *sipCpp = 0;

    {
         ::QObject* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKModifierKeyInfo(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KModifierKeyInfo[] = {{19, 0, 1}};


static PyMethodDef methods_KModifierKeyInfo[] = {
    {SIP_MLNAME_CAST(sipName_isButtonPressed), meth_KModifierKeyInfo_isButtonPressed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isKeyLatched), meth_KModifierKeyInfo_isKeyLatched, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isKeyLocked), meth_KModifierKeyInfo_isKeyLocked, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isKeyPressed), meth_KModifierKeyInfo_isKeyPressed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_knownKeys), meth_KModifierKeyInfo_knownKeys, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_knowsKey), meth_KModifierKeyInfo_knowsKey, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setKeyLatched), meth_KModifierKeyInfo_setKeyLatched, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setKeyLocked), meth_KModifierKeyInfo_setKeyLocked, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KModifierKeyInfo[] = {
    {"keyRemoved(Qt::Key)", 0, 0, 0},
    {"keyAdded(Qt::Key)", 0, 0, 0},
    {"buttonPressed(Qt::MouseButton,bool)", 0, 0, 0},
    {"keyLocked(Qt::Key,bool)", 0, 0, 0},
    {"keyLatched(Qt::Key,bool)", 0, 0, 0},
    {"keyPressed(Qt::Key,bool)", 0, 0, 0},
    {0, 0, 0, 0}
};


static pyqt4ClassPluginDef plugin_KModifierKeyInfo = {
    & ::KModifierKeyInfo::staticMetaObject,
    0,
    signals_KModifierKeyInfo
};


sipClassTypeDef sipTypeDef_kdeui_KModifierKeyInfo = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KModifierKeyInfo,
        {0},
        &plugin_KModifierKeyInfo
    },
    {
        sipNameNr_KModifierKeyInfo,
        {0, 0, 1},
        8, methods_KModifierKeyInfo,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KModifierKeyInfo,
    0,
    init_type_KModifierKeyInfo,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KModifierKeyInfo,
    0,
    0,
    0,
    release_KModifierKeyInfo,
    cast_KModifierKeyInfo,
    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/kmodelindexproxymapper.sip"
#include <kmodelindexproxymapper.h>
#line 10739 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"

#line 122 "/usr/share/sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 10743 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 10746 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 165 "/usr/share/sip/PyQt4/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 10749 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 10752 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10755 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10758 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10761 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 10764 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 10767 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 10770 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10773 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 10776 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 10779 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 10782 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 10785 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 10788 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"


class sipKModelIndexProxyMapper : public  ::KModelIndexProxyMapper
{
public:
    sipKModelIndexProxyMapper(const  ::QAbstractItemModel*,const  ::QAbstractItemModel*, ::QObject*);
    virtual ~sipKModelIndexProxyMapper();

    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:
    sipKModelIndexProxyMapper(const sipKModelIndexProxyMapper &);
    sipKModelIndexProxyMapper &operator = (const sipKModelIndexProxyMapper &);

    char sipPyMethods[7];
};

sipKModelIndexProxyMapper::sipKModelIndexProxyMapper(const  ::QAbstractItemModel*a0,const  ::QAbstractItemModel*a1, ::QObject*a2):  ::KModelIndexProxyMapper(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKModelIndexProxyMapper::~sipKModelIndexProxyMapper()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKModelIndexProxyMapper::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KModelIndexProxyMapper);
}

int sipKModelIndexProxyMapper::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KModelIndexProxyMapper::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KModelIndexProxyMapper,_c,_id,_a);

    return _id;
}

void *sipKModelIndexProxyMapper::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KModelIndexProxyMapper, _clname)) ? this :  ::KModelIndexProxyMapper::qt_metacast(_clname);
}

bool sipKModelIndexProxyMapper::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KModelIndexProxyMapper::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKModelIndexProxyMapper::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KModelIndexProxyMapper::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 sipKModelIndexProxyMapper::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KModelIndexProxyMapper::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKModelIndexProxyMapper::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KModelIndexProxyMapper::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKModelIndexProxyMapper::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KModelIndexProxyMapper::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKModelIndexProxyMapper::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KModelIndexProxyMapper::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 sipKModelIndexProxyMapper::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KModelIndexProxyMapper::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_KModelIndexProxyMapper_mapLeftToRight(PyObject *, PyObject *);}
static PyObject *meth_KModelIndexProxyMapper_mapLeftToRight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        const  ::KModelIndexProxyMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KModelIndexProxyMapper, &sipCpp, sipType_QModelIndex, &a0))
        {
             ::QModelIndex*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QModelIndex(sipCpp->mapLeftToRight(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KModelIndexProxyMapper, sipName_mapLeftToRight, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KModelIndexProxyMapper_mapRightToLeft(PyObject *, PyObject *);}
static PyObject *meth_KModelIndexProxyMapper_mapRightToLeft(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        const  ::KModelIndexProxyMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KModelIndexProxyMapper, &sipCpp, sipType_QModelIndex, &a0))
        {
             ::QModelIndex*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QModelIndex(sipCpp->mapRightToLeft(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KModelIndexProxyMapper, sipName_mapRightToLeft, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KModelIndexProxyMapper_mapSelectionLeftToRight(PyObject *, PyObject *);}
static PyObject *meth_KModelIndexProxyMapper_mapSelectionLeftToRight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QItemSelection* a0;
        const  ::KModelIndexProxyMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KModelIndexProxyMapper, &sipCpp, sipType_QItemSelection, &a0))
        {
             ::QItemSelection*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QItemSelection(sipCpp->mapSelectionLeftToRight(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QItemSelection,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KModelIndexProxyMapper, sipName_mapSelectionLeftToRight, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KModelIndexProxyMapper_mapSelectionRightToLeft(PyObject *, PyObject *);}
static PyObject *meth_KModelIndexProxyMapper_mapSelectionRightToLeft(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QItemSelection* a0;
        const  ::KModelIndexProxyMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KModelIndexProxyMapper, &sipCpp, sipType_QItemSelection, &a0))
        {
             ::QItemSelection*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QItemSelection(sipCpp->mapSelectionRightToLeft(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QItemSelection,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KModelIndexProxyMapper, sipName_mapSelectionRightToLeft, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KModelIndexProxyMapper(void *, const sipTypeDef *);}
static void *cast_KModelIndexProxyMapper(void *sipCppV, const sipTypeDef *targetType)
{
     ::KModelIndexProxyMapper *sipCpp = reinterpret_cast< ::KModelIndexProxyMapper *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KModelIndexProxyMapper(void *, int);}
static void release_KModelIndexProxyMapper(void *sipCppV, int)
{
     ::KModelIndexProxyMapper *sipCpp = reinterpret_cast< ::KModelIndexProxyMapper *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KModelIndexProxyMapper(sipSimpleWrapper *);}
static void dealloc_KModelIndexProxyMapper(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKModelIndexProxyMapper *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KModelIndexProxyMapper(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KModelIndexProxyMapper(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KModelIndexProxyMapper(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKModelIndexProxyMapper *sipCpp = 0;

    {
        const  ::QAbstractItemModel* a0;
        const  ::QAbstractItemModel* a1;
         ::QObject* a2 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8J8|JH", sipType_QAbstractItemModel, &a0, sipType_QAbstractItemModel, &a1, sipType_QObject, &a2, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKModelIndexProxyMapper(a0,a1,a2);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KModelIndexProxyMapper[] = {{19, 0, 1}};


static PyMethodDef methods_KModelIndexProxyMapper[] = {
    {SIP_MLNAME_CAST(sipName_mapLeftToRight), meth_KModelIndexProxyMapper_mapLeftToRight, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mapRightToLeft), meth_KModelIndexProxyMapper_mapRightToLeft, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mapSelectionLeftToRight), meth_KModelIndexProxyMapper_mapSelectionLeftToRight, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mapSelectionRightToLeft), meth_KModelIndexProxyMapper_mapSelectionRightToLeft, METH_VARARGS, NULL}
};


static pyqt4ClassPluginDef plugin_KModelIndexProxyMapper = {
    & ::KModelIndexProxyMapper::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KModelIndexProxyMapper = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KModelIndexProxyMapper,
        {0},
        &plugin_KModelIndexProxyMapper
    },
    {
        sipNameNr_KModelIndexProxyMapper,
        {0, 0, 1},
        4, methods_KModelIndexProxyMapper,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KModelIndexProxyMapper,
    0,
    init_type_KModelIndexProxyMapper,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KModelIndexProxyMapper,
    0,
    0,
    0,
    release_KModelIndexProxyMapper,
    cast_KModelIndexProxyMapper,
    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/kmessagewidget.sip"
#include <kmessagewidget.h>
#line 11226 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 11230 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 11233 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11236 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11239 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11242 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11245 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 11248 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 11251 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 11254 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 11257 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qframe.sip"
#include <qframe.h>
#line 11260 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11263 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 11266 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11269 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11272 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 11275 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 11278 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 11281 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 11284 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 11287 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 11290 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 11293 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 11296 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 11299 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 11302 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 11305 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11308 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 11311 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 11314 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11317 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11320 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11323 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11326 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11329 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11332 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11335 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11338 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11341 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11344 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11347 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11350 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11353 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11356 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11359 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 11362 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 11365 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 11368 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 11371 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 11374 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 11377 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11380 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 11383 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 11386 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 11389 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 11392 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 11395 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11398 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11401 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 11404 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 11407 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 11410 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 11413 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 11416 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 11419 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"


class sipKMessageWidget : public  ::KMessageWidget
{
public:
    sipKMessageWidget( ::QWidget*);
    sipKMessageWidget(const  ::QString&, ::QWidget*);
    virtual ~sipKMessageWidget();

    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:
    sipKMessageWidget(const sipKMessageWidget &);
    sipKMessageWidget &operator = (const sipKMessageWidget &);

    char sipPyMethods[47];
};

sipKMessageWidget::sipKMessageWidget( ::QWidget*a0):  ::KMessageWidget(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKMessageWidget::sipKMessageWidget(const  ::QString& a0, ::QWidget*a1):  ::KMessageWidget(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKMessageWidget::~sipKMessageWidget()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKMessageWidget::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KMessageWidget);
}

int sipKMessageWidget::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KMessageWidget::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KMessageWidget,_c,_id,_a);

    return _id;
}

void *sipKMessageWidget::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KMessageWidget, _clname)) ? this :  ::KMessageWidget::qt_metacast(_clname);
}

void sipKMessageWidget::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KMessageWidget::languageChange();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKMessageWidget::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KMessageWidget::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMessageWidget::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KMessageWidget::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 sipKMessageWidget::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KMessageWidget::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 sipKMessageWidget::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KMessageWidget::enabledChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKMessageWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KMessageWidget::focusNextPrevChild(a0);

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QVariant sipKMessageWidget::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  ::KMessageWidget::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 sipKMessageWidget::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KMessageWidget::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMessageWidget::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KMessageWidget::changeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMessageWidget::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KMessageWidget::hideEvent(a0);
        return;
    }

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kdeui_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMessageWidget::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KMessageWidget::showEvent(a0);
        return;
    }

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kdeui_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMessageWidget::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KMessageWidget::dropEvent(a0);
        return;
    }

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kdeui_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMessageWidget::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KMessageWidget::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kdeui_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMessageWidget::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KMessageWidget::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kdeui_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMessageWidget::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KMessageWidget::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kdeui_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMessageWidget::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KMessageWidget::actionEvent(a0);
        return;
    }

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kdeui_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMessageWidget::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KMessageWidget::tabletEvent(a0);
        return;
    }

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kdeui_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMessageWidget::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KMessageWidget::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kdeui_22(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMessageWidget::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KMessageWidget::closeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kdeui_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMessageWidget::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KMessageWidget::resizeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kdeui_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMessageWidget::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KMessageWidget::moveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kdeui_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMessageWidget::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KMessageWidget::paintEvent(a0);
        return;
    }

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kdeui_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMessageWidget::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KMessageWidget::leaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMessageWidget::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KMessageWidget::enterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMessageWidget::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KMessageWidget::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMessageWidget::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KMessageWidget::focusInEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMessageWidget::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KMessageWidget::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMessageWidget::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KMessageWidget::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMessageWidget::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KMessageWidget::wheelEvent(a0);
        return;
    }

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kdeui_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMessageWidget::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KMessageWidget::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMessageWidget::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KMessageWidget::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMessageWidget::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KMessageWidget::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMessageWidget::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KMessageWidget::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKMessageWidget::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  ::KMessageWidget::heightForWidth(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKMessageWidget::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KMessageWidget::minimumSizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKMessageWidget::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KMessageWidget::sizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKMessageWidget::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KMessageWidget::setVisible(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKMessageWidget::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KMessageWidget::devType();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipKMessageWidget::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KMessageWidget::paintEngine();

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKMessageWidget::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  ::KMessageWidget::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 sipKMessageWidget::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KMessageWidget::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKMessageWidget::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KMessageWidget::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 sipKMessageWidget::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KMessageWidget::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMessageWidget::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KMessageWidget::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMessageWidget::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KMessageWidget::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMessageWidget::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KMessageWidget::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 sipKMessageWidget::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KMessageWidget::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_KMessageWidget_text(PyObject *, PyObject *);}
static PyObject *meth_KMessageWidget_text(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KMessageWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KMessageWidget, &sipCpp))
        {
             ::QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString(sipCpp->text());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageWidget, sipName_text, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageWidget_wordWrap(PyObject *, PyObject *);}
static PyObject *meth_KMessageWidget_wordWrap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KMessageWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KMessageWidget, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->wordWrap();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageWidget, sipName_wordWrap, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageWidget_isCloseButtonVisible(PyObject *, PyObject *);}
static PyObject *meth_KMessageWidget_isCloseButtonVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KMessageWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KMessageWidget, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isCloseButtonVisible();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageWidget, sipName_isCloseButtonVisible, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageWidget_messageType(PyObject *, PyObject *);}
static PyObject *meth_KMessageWidget_messageType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KMessageWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KMessageWidget, &sipCpp))
        {
             ::KMessageWidget::MessageType sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->messageType();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KMessageWidget_MessageType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageWidget, sipName_messageType, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageWidget_addAction(PyObject *, PyObject *);}
static PyObject *meth_KMessageWidget_addAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QAction* a0;
         ::KMessageWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KMessageWidget, &sipCpp, sipType_QAction, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addAction(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageWidget, sipName_addAction, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageWidget_removeAction(PyObject *, PyObject *);}
static PyObject *meth_KMessageWidget_removeAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QAction* a0;
         ::KMessageWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KMessageWidget, &sipCpp, sipType_QAction, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeAction(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageWidget, sipName_removeAction, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageWidget_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_KMessageWidget_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::KMessageWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KMessageWidget, &sipCpp))
        {
             ::QSize*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QSize((sipSelfWasArg ? sipCpp-> ::KMessageWidget::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_KMessageWidget, sipName_sizeHint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageWidget_minimumSizeHint(PyObject *, PyObject *);}
static PyObject *meth_KMessageWidget_minimumSizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::KMessageWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KMessageWidget, &sipCpp))
        {
             ::QSize*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QSize((sipSelfWasArg ? sipCpp-> ::KMessageWidget::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_KMessageWidget, sipName_minimumSizeHint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageWidget_setText(PyObject *, PyObject *);}
static PyObject *meth_KMessageWidget_setText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::KMessageWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KMessageWidget, &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_KMessageWidget, sipName_setText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageWidget_setWordWrap(PyObject *, PyObject *);}
static PyObject *meth_KMessageWidget_setWordWrap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::KMessageWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KMessageWidget, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setWordWrap(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageWidget, sipName_setWordWrap, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageWidget_setCloseButtonVisible(PyObject *, PyObject *);}
static PyObject *meth_KMessageWidget_setCloseButtonVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::KMessageWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KMessageWidget, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCloseButtonVisible(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageWidget, sipName_setCloseButtonVisible, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageWidget_setMessageType(PyObject *, PyObject *);}
static PyObject *meth_KMessageWidget_setMessageType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KMessageWidget::MessageType a0;
         ::KMessageWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KMessageWidget, &sipCpp, sipType_KMessageWidget_MessageType, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMessageType(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageWidget, sipName_setMessageType, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageWidget_animatedShow(PyObject *, PyObject *);}
static PyObject *meth_KMessageWidget_animatedShow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KMessageWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KMessageWidget, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->animatedShow();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageWidget, sipName_animatedShow, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageWidget_animatedHide(PyObject *, PyObject *);}
static PyObject *meth_KMessageWidget_animatedHide(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KMessageWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KMessageWidget, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->animatedHide();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageWidget, sipName_animatedHide, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageWidget_paintEvent(PyObject *, PyObject *);}
static PyObject *meth_KMessageWidget_paintEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QPaintEvent* a0;
         ::KMessageWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KMessageWidget, &sipCpp, sipType_QPaintEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KMessageWidget::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_KMessageWidget, sipName_paintEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageWidget_event(PyObject *, PyObject *);}
static PyObject *meth_KMessageWidget_event(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
         ::KMessageWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KMessageWidget, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::KMessageWidget::event(a0) : sipCpp->event(a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageWidget, sipName_event, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageWidget_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_KMessageWidget_resizeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QResizeEvent* a0;
         ::KMessageWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KMessageWidget, &sipCpp, sipType_QResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KMessageWidget::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_KMessageWidget, sipName_resizeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageWidget_showEvent(PyObject *, PyObject *);}
static PyObject *meth_KMessageWidget_showEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QShowEvent* a0;
         ::KMessageWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KMessageWidget, &sipCpp, sipType_QShowEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KMessageWidget::showEvent(a0) : sipCpp->showEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageWidget, sipName_showEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageWidget_heightForWidth(PyObject *, PyObject *);}
static PyObject *meth_KMessageWidget_heightForWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const  ::KMessageWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KMessageWidget, &sipCpp, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::KMessageWidget::heightForWidth(a0) : sipCpp->heightForWidth(a0));
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageWidget, sipName_heightForWidth, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KMessageWidget(void *, const sipTypeDef *);}
static void *cast_KMessageWidget(void *sipCppV, const sipTypeDef *targetType)
{
     ::KMessageWidget *sipCpp = reinterpret_cast< ::KMessageWidget *>(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_KMessageWidget(void *, int);}
static void release_KMessageWidget(void *sipCppV, int)
{
     ::KMessageWidget *sipCpp = reinterpret_cast< ::KMessageWidget *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KMessageWidget(sipSimpleWrapper *);}
static void dealloc_KMessageWidget(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKMessageWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KMessageWidget(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KMessageWidget(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KMessageWidget(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKMessageWidget *sipCpp = 0;

    {
         ::QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKMessageWidget(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 sipKMessageWidget(*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_KMessageWidget[] = {{37, 2, 1}};


static PyMethodDef methods_KMessageWidget[] = {
    {SIP_MLNAME_CAST(sipName_addAction), meth_KMessageWidget_addAction, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_animatedHide), meth_KMessageWidget_animatedHide, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_animatedShow), meth_KMessageWidget_animatedShow, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_KMessageWidget_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_heightForWidth), meth_KMessageWidget_heightForWidth, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isCloseButtonVisible), meth_KMessageWidget_isCloseButtonVisible, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_messageType), meth_KMessageWidget_messageType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_minimumSizeHint), meth_KMessageWidget_minimumSizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_KMessageWidget_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeAction), meth_KMessageWidget_removeAction, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_KMessageWidget_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCloseButtonVisible), meth_KMessageWidget_setCloseButtonVisible, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMessageType), meth_KMessageWidget_setMessageType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setText), meth_KMessageWidget_setText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setWordWrap), meth_KMessageWidget_setWordWrap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_KMessageWidget_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_KMessageWidget_sizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_text), meth_KMessageWidget_text, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wordWrap), meth_KMessageWidget_wordWrap, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KMessageWidget[] = {
    {sipName_Error, static_cast<int>( ::KMessageWidget::Error), 194},
    {sipName_Information, static_cast<int>( ::KMessageWidget::Information), 194},
    {sipName_Positive, static_cast<int>( ::KMessageWidget::Positive), 194},
    {sipName_Warning, static_cast<int>( ::KMessageWidget::Warning), 194},
};


static pyqt4ClassPluginDef plugin_KMessageWidget = {
    & ::KMessageWidget::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KMessageWidget = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KMessageWidget,
        {0},
        &plugin_KMessageWidget
    },
    {
        sipNameNr_KMessageWidget,
        {0, 0, 1},
        19, methods_KMessageWidget,
        4, enummembers_KMessageWidget,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KMessageWidget,
    0,
    init_type_KMessageWidget,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KMessageWidget,
    0,
    0,
    0,
    release_KMessageWidget,
    cast_KMessageWidget,
    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/kmessageboxmessagehandler.sip"
#include <kmessageboxmessagehandler.h>
#line 13056 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 13060 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 13063 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13066 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13069 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13072 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 13075 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 13078 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 13081 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 13084 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13087 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 13090 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 13093 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 13096 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 13099 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"


class sipKMessageBoxMessageHandler : public  ::KMessageBoxMessageHandler
{
public:
    sipKMessageBoxMessageHandler( ::QWidget*);
    virtual ~sipKMessageBoxMessageHandler();

    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 message( ::KMessage::MessageType,const  ::QString&,const  ::QString&);
    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:
    sipKMessageBoxMessageHandler(const sipKMessageBoxMessageHandler &);
    sipKMessageBoxMessageHandler &operator = (const sipKMessageBoxMessageHandler &);

    char sipPyMethods[8];
};

sipKMessageBoxMessageHandler::sipKMessageBoxMessageHandler( ::QWidget*a0):  ::KMessageBoxMessageHandler(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKMessageBoxMessageHandler::~sipKMessageBoxMessageHandler()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKMessageBoxMessageHandler::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KMessageBoxMessageHandler);
}

int sipKMessageBoxMessageHandler::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KMessageBoxMessageHandler::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KMessageBoxMessageHandler,_c,_id,_a);

    return _id;
}

void *sipKMessageBoxMessageHandler::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KMessageBoxMessageHandler, _clname)) ? this :  ::KMessageBoxMessageHandler::qt_metacast(_clname);
}

void sipKMessageBoxMessageHandler::message( ::KMessage::MessageType a0,const  ::QString& a1,const  ::QString& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_message);

    if (!sipMeth)
    {
         ::KMessageBoxMessageHandler::message(a0,a1,a2);
        return;
    }

    extern void sipVH_kdeui_170(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KMessage::MessageType,const  ::QString&,const  ::QString&);

    sipVH_kdeui_170(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKMessageBoxMessageHandler::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KMessageBoxMessageHandler::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKMessageBoxMessageHandler::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KMessageBoxMessageHandler::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 sipKMessageBoxMessageHandler::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KMessageBoxMessageHandler::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMessageBoxMessageHandler::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KMessageBoxMessageHandler::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMessageBoxMessageHandler::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KMessageBoxMessageHandler::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMessageBoxMessageHandler::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KMessageBoxMessageHandler::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 sipKMessageBoxMessageHandler::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KMessageBoxMessageHandler::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_KMessageBoxMessageHandler_message(PyObject *, PyObject *);}
static PyObject *meth_KMessageBoxMessageHandler_message(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::KMessage::MessageType a0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString* a2;
        int a2State = 0;
         ::KMessageBoxMessageHandler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ1J1", &sipSelf, sipType_KMessageBoxMessageHandler, &sipCpp, sipType_KMessage_MessageType, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KMessageBoxMessageHandler::message(a0,*a1,*a2) : sipCpp->message(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_KMessageBoxMessageHandler, sipName_message, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KMessageBoxMessageHandler(void *, const sipTypeDef *);}
static void *cast_KMessageBoxMessageHandler(void *sipCppV, const sipTypeDef *targetType)
{
     ::KMessageBoxMessageHandler *sipCpp = reinterpret_cast< ::KMessageBoxMessageHandler *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_KMessageHandler)
        return static_cast< ::KMessageHandler *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KMessageBoxMessageHandler(void *, int);}
static void release_KMessageBoxMessageHandler(void *sipCppV, int)
{
     ::KMessageBoxMessageHandler *sipCpp = reinterpret_cast< ::KMessageBoxMessageHandler *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KMessageBoxMessageHandler(sipSimpleWrapper *);}
static void dealloc_KMessageBoxMessageHandler(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKMessageBoxMessageHandler *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KMessageBoxMessageHandler(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KMessageBoxMessageHandler(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KMessageBoxMessageHandler(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKMessageBoxMessageHandler *sipCpp = 0;

    {
         ::QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKMessageBoxMessageHandler(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KMessageBoxMessageHandler[] = {{19, 0, 0}, {23, 3, 1}};


static PyMethodDef methods_KMessageBoxMessageHandler[] = {
    {SIP_MLNAME_CAST(sipName_message), meth_KMessageBoxMessageHandler_message, METH_VARARGS, NULL}
};


static pyqt4ClassPluginDef plugin_KMessageBoxMessageHandler = {
    & ::KMessageBoxMessageHandler::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KMessageBoxMessageHandler = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KMessageBoxMessageHandler,
        {0},
        &plugin_KMessageBoxMessageHandler
    },
    {
        sipNameNr_KMessageBoxMessageHandler,
        {0, 0, 1},
        1, methods_KMessageBoxMessageHandler,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KMessageBoxMessageHandler,
    0,
    init_type_KMessageBoxMessageHandler,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KMessageBoxMessageHandler,
    0,
    0,
    0,
    release_KMessageBoxMessageHandler,
    cast_KMessageBoxMessageHandler,
    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/kmessagebox.sip"
#include <kmessagebox.h>
#line 13476 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kmessagebox.sip"
#include <kmessagebox.h>
#line 13480 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"


extern "C" {static int slot_KMessageBox_Options___bool__(PyObject *);}
static int slot_KMessageBox_Options___bool__(PyObject *sipSelf)
{
     ::KMessageBox::Options *sipCpp = reinterpret_cast< ::KMessageBox::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KMessageBox_Options));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 381 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KMessageBox::Options::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 13502 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KMessageBox_Options___ne__(PyObject *,PyObject *);}
static PyObject *slot_KMessageBox_Options___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::KMessageBox::Options *sipCpp = reinterpret_cast< ::KMessageBox::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KMessageBox_Options));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::KMessageBox::Options* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KMessageBox_Options, &a0, &a0State))
        {
            bool sipRes = 0;

#line 372 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KMessageBox::Options::Int() != a0->operator KMessageBox::Options::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 13536 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
            sipReleaseType(const_cast< ::KMessageBox::Options *>(a0),sipType_KMessageBox_Options,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui, ne_slot, sipType_KMessageBox_Options, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_KMessageBox_Options___eq__(PyObject *,PyObject *);}
static PyObject *slot_KMessageBox_Options___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::KMessageBox::Options *sipCpp = reinterpret_cast< ::KMessageBox::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KMessageBox_Options));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::KMessageBox::Options* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KMessageBox_Options, &a0, &a0State))
        {
            bool sipRes = 0;

#line 363 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KMessageBox::Options::Int() == a0->operator KMessageBox::Options::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 13576 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
            sipReleaseType(const_cast< ::KMessageBox::Options *>(a0),sipType_KMessageBox_Options,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui, eq_slot, sipType_KMessageBox_Options, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_KMessageBox_Options___ixor__(PyObject *,PyObject *);}
static PyObject *slot_KMessageBox_Options___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KMessageBox_Options)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::KMessageBox::Options *sipCpp = reinterpret_cast< ::KMessageBox::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KMessageBox_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 = KMessageBox::Options(*sipCpp ^ a0);
#line 13615 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.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_KMessageBox_Options___xor__(PyObject *,PyObject *);}
static PyObject *slot_KMessageBox_Options___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::KMessageBox::Options* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KMessageBox_Options, &a0, &a0State, &a1))
        {
             ::KMessageBox::Options*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KMessageBox::Options((*a0 ^ a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KMessageBox_Options,a0State);

            return sipConvertFromNewType(sipRes,sipType_KMessageBox_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_KMessageBox_Options___ior__(PyObject *,PyObject *);}
static PyObject *slot_KMessageBox_Options___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KMessageBox_Options)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::KMessageBox::Options *sipCpp = reinterpret_cast< ::KMessageBox::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KMessageBox_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 = KMessageBox::Options(*sipCpp | a0);
#line 13689 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.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_KMessageBox_Options___or__(PyObject *,PyObject *);}
static PyObject *slot_KMessageBox_Options___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::KMessageBox::Options* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KMessageBox_Options, &a0, &a0State, &a1))
        {
             ::KMessageBox::Options*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KMessageBox::Options((*a0 | a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KMessageBox_Options,a0State);

            return sipConvertFromNewType(sipRes,sipType_KMessageBox_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_KMessageBox_Options___iand__(PyObject *,PyObject *);}
static PyObject *slot_KMessageBox_Options___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KMessageBox_Options)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::KMessageBox::Options *sipCpp = reinterpret_cast< ::KMessageBox::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KMessageBox_Options));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp-> ::KMessageBox::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_KMessageBox_Options___and__(PyObject *,PyObject *);}
static PyObject *slot_KMessageBox_Options___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::KMessageBox::Options* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KMessageBox_Options, &a0, &a0State, &a1))
        {
             ::KMessageBox::Options*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KMessageBox::Options((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KMessageBox_Options,a0State);

            return sipConvertFromNewType(sipRes,sipType_KMessageBox_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_KMessageBox_Options___invert__(PyObject *);}
static PyObject *slot_KMessageBox_Options___invert__(PyObject *sipSelf)
{
     ::KMessageBox::Options *sipCpp = reinterpret_cast< ::KMessageBox::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KMessageBox_Options));

    if (!sipCpp)
        return 0;


    {
        {
             ::KMessageBox::Options*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KMessageBox::Options(~(*sipCpp));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KMessageBox_Options,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KMessageBox_Options___int__(PyObject *);}
static PyObject *slot_KMessageBox_Options___int__(PyObject *sipSelf)
{
     ::KMessageBox::Options *sipCpp = reinterpret_cast< ::KMessageBox::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KMessageBox_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_KMessageBox_Options(void *, int);}
static void release_KMessageBox_Options(void *sipCppV, int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast< ::KMessageBox::Options *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KMessageBox_Options(void *, SIP_SSIZE_T, const void *);}
static void assign_KMessageBox_Options(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::KMessageBox::Options *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::KMessageBox::Options *>(sipSrc);
}


extern "C" {static void *array_KMessageBox_Options(SIP_SSIZE_T);}
static void *array_KMessageBox_Options(SIP_SSIZE_T sipNrElem)
{
    return new  ::KMessageBox::Options[sipNrElem];
}


extern "C" {static void *copy_KMessageBox_Options(const void *, SIP_SSIZE_T);}
static void *copy_KMessageBox_Options(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::KMessageBox::Options(reinterpret_cast<const  ::KMessageBox::Options *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KMessageBox_Options(sipSimpleWrapper *);}
static void dealloc_KMessageBox_Options(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_KMessageBox_Options(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_KMessageBox_Options(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KMessageBox_Options(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::KMessageBox::Options *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KMessageBox::Options();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KMessageBox::Options(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const  ::KMessageBox::Options* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_KMessageBox_Options, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KMessageBox::Options(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::KMessageBox::Options *>(a0),sipType_KMessageBox_Options,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_KMessageBox_Options(PyObject *, void **, int *, PyObject *);}
static int convertTo_KMessageBox_Options(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::KMessageBox::Options **sipCppPtr = reinterpret_cast< ::KMessageBox::Options **>(sipCppPtrV);

#line 390 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KMessageBox::Options is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KMessageBox_Option)) ||
            sipCanConvertToType(sipPy, sipType_KMessageBox_Options, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KMessageBox_Option)))
{
    *sipCppPtr = new KMessageBox::Options(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KMessageBox::Options *>(sipConvertToType(sipPy, sipType_KMessageBox_Options, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 13977 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KMessageBox_Options[] = {
    {(void *)slot_KMessageBox_Options___bool__, bool_slot},
    {(void *)slot_KMessageBox_Options___ne__, ne_slot},
    {(void *)slot_KMessageBox_Options___eq__, eq_slot},
    {(void *)slot_KMessageBox_Options___ixor__, ixor_slot},
    {(void *)slot_KMessageBox_Options___xor__, xor_slot},
    {(void *)slot_KMessageBox_Options___ior__, ior_slot},
    {(void *)slot_KMessageBox_Options___or__, or_slot},
    {(void *)slot_KMessageBox_Options___iand__, iand_slot},
    {(void *)slot_KMessageBox_Options___and__, and_slot},
    {(void *)slot_KMessageBox_Options___invert__, invert_slot},
    {(void *)slot_KMessageBox_Options___int__, int_slot},
    {0, (sipPySlotType)0}
};


static pyqt4ClassPluginDef plugin_KMessageBox_Options = {
    0,
    1,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KMessageBox_Options = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KMessageBox__Options,
        {0},
        &plugin_KMessageBox_Options
    },
    {
        sipNameNr_Options,
        {187, 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_KMessageBox_Options,
    init_type_KMessageBox_Options,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KMessageBox_Options,
    assign_KMessageBox_Options,
    array_KMessageBox_Options,
    copy_KMessageBox_Options,
    release_KMessageBox_Options,
    0,
    convertTo_KMessageBox_Options,
    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/kmessagebox.sip"
#include <kmessagebox.h>
#line 14056 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.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 14060 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qmessagebox.sip"
#include <qmessagebox.h>
#line 14063 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 14066 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 14069 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kmessagebox.sip"
#include <kmessagebox.h>
#line 14072 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 14075 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.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 14078 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 14081 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.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 14084 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"


extern "C" {static PyObject *meth_KMessageBox_questionYesNo(PyObject *, PyObject *);}
static PyObject *meth_KMessageBox_questionYesNo(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QWidget* a0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString& a2def = QString();
        const  ::QString* a2 = &a2def;
        int a2State = 0;
        const  ::KGuiItem& a3def = KStandardGuiItem::yes();
        const  ::KGuiItem* a3 = &a3def;
        const  ::KGuiItem& a4def = KStandardGuiItem::no();
        const  ::KGuiItem* a4 = &a4def;
        const  ::QString& a5def = QString();
        const  ::QString* a5 = &a5def;
        int a5State = 0;
         ::KMessageBox::Options a6def = KMessageBox::Notify;
         ::KMessageBox::Options* a6 = &a6def;
        int a6State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J:J1|J1J9J9J1J1", sipType_QWidget, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_KGuiItem, &a3, sipType_KGuiItem, &a4, sipType_QString,&a5, &a5State, sipType_KMessageBox_Options, &a6, &a6State))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KMessageBox::questionYesNo(a0,*a1,*a2,*a3,*a4,*a5,*a6);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast< ::QString *>(a5),sipType_QString,a5State);
            sipReleaseType(a6,sipType_KMessageBox_Options,a6State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageBox, sipName_questionYesNo, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageBox_questionYesNoWId(PyObject *, PyObject *);}
static PyObject *meth_KMessageBox_questionYesNoWId(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::WId a0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString& a2def = QString();
        const  ::QString* a2 = &a2def;
        int a2State = 0;
        const  ::KGuiItem& a3def = KStandardGuiItem::yes();
        const  ::KGuiItem* a3 = &a3def;
        const  ::KGuiItem& a4def = KStandardGuiItem::no();
        const  ::KGuiItem* a4 = &a4def;
        const  ::QString& a5def = QString();
        const  ::QString* a5 = &a5def;
        int a5State = 0;
         ::KMessageBox::Options a6def = KMessageBox::Notify;
         ::KMessageBox::Options* a6 = &a6def;
        int a6State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "mJ1|J1J9J9J1J1", &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_KGuiItem, &a3, sipType_KGuiItem, &a4, sipType_QString,&a5, &a5State, sipType_KMessageBox_Options, &a6, &a6State))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KMessageBox::questionYesNoWId(a0,*a1,*a2,*a3,*a4,*a5,*a6);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast< ::QString *>(a5),sipType_QString,a5State);
            sipReleaseType(a6,sipType_KMessageBox_Options,a6State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageBox, sipName_questionYesNoWId, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageBox_questionYesNoCancel(PyObject *, PyObject *);}
static PyObject *meth_KMessageBox_questionYesNoCancel(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QWidget* a0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString& a2def = QString();
        const  ::QString* a2 = &a2def;
        int a2State = 0;
        const  ::KGuiItem& a3def = KStandardGuiItem::yes();
        const  ::KGuiItem* a3 = &a3def;
        const  ::KGuiItem& a4def = KStandardGuiItem::no();
        const  ::KGuiItem* a4 = &a4def;
        const  ::KGuiItem& a5def = KStandardGuiItem::cancel();
        const  ::KGuiItem* a5 = &a5def;
        const  ::QString& a6def = QString();
        const  ::QString* a6 = &a6def;
        int a6State = 0;
         ::KMessageBox::Options a7def = KMessageBox::Notify;
         ::KMessageBox::Options* a7 = &a7def;
        int a7State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J:J1|J1J9J9J9J1J1", sipType_QWidget, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_KGuiItem, &a3, sipType_KGuiItem, &a4, sipType_KGuiItem, &a5, sipType_QString,&a6, &a6State, sipType_KMessageBox_Options, &a7, &a7State))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KMessageBox::questionYesNoCancel(a0,*a1,*a2,*a3,*a4,*a5,*a6,*a7);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast< ::QString *>(a6),sipType_QString,a6State);
            sipReleaseType(a7,sipType_KMessageBox_Options,a7State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageBox, sipName_questionYesNoCancel, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageBox_questionYesNoCancelWId(PyObject *, PyObject *);}
static PyObject *meth_KMessageBox_questionYesNoCancelWId(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::WId a0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString& a2def = QString();
        const  ::QString* a2 = &a2def;
        int a2State = 0;
        const  ::KGuiItem& a3def = KStandardGuiItem::yes();
        const  ::KGuiItem* a3 = &a3def;
        const  ::KGuiItem& a4def = KStandardGuiItem::no();
        const  ::KGuiItem* a4 = &a4def;
        const  ::KGuiItem& a5def = KStandardGuiItem::cancel();
        const  ::KGuiItem* a5 = &a5def;
        const  ::QString& a6def = QString();
        const  ::QString* a6 = &a6def;
        int a6State = 0;
         ::KMessageBox::Options a7def = KMessageBox::Notify;
         ::KMessageBox::Options* a7 = &a7def;
        int a7State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "mJ1|J1J9J9J9J1J1", &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_KGuiItem, &a3, sipType_KGuiItem, &a4, sipType_KGuiItem, &a5, sipType_QString,&a6, &a6State, sipType_KMessageBox_Options, &a7, &a7State))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KMessageBox::questionYesNoCancelWId(a0,*a1,*a2,*a3,*a4,*a5,*a6,*a7);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast< ::QString *>(a6),sipType_QString,a6State);
            sipReleaseType(a7,sipType_KMessageBox_Options,a7State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageBox, sipName_questionYesNoCancelWId, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageBox_questionYesNoList(PyObject *, PyObject *);}
static PyObject *meth_KMessageBox_questionYesNoList(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QWidget* a0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QStringList* a2;
        int a2State = 0;
        const  ::QString& a3def = QString();
        const  ::QString* a3 = &a3def;
        int a3State = 0;
        const  ::KGuiItem& a4def = KStandardGuiItem::yes();
        const  ::KGuiItem* a4 = &a4def;
        const  ::KGuiItem& a5def = KStandardGuiItem::no();
        const  ::KGuiItem* a5 = &a5def;
        const  ::QString& a6def = QString();
        const  ::QString* a6 = &a6def;
        int a6State = 0;
         ::KMessageBox::Options a7def = KMessageBox::Notify;
         ::KMessageBox::Options* a7 = &a7def;
        int a7State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J:J1J1|J1J9J9J1J1", sipType_QWidget, &a0, sipType_QString,&a1, &a1State, sipType_QStringList,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_KGuiItem, &a4, sipType_KGuiItem, &a5, sipType_QString,&a6, &a6State, sipType_KMessageBox_Options, &a7, &a7State))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KMessageBox::questionYesNoList(a0,*a1,*a2,*a3,*a4,*a5,*a6,*a7);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QStringList *>(a2),sipType_QStringList,a2State);
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);
            sipReleaseType(const_cast< ::QString *>(a6),sipType_QString,a6State);
            sipReleaseType(a7,sipType_KMessageBox_Options,a7State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageBox, sipName_questionYesNoList, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageBox_questionYesNoListWId(PyObject *, PyObject *);}
static PyObject *meth_KMessageBox_questionYesNoListWId(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::WId a0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QStringList* a2;
        int a2State = 0;
        const  ::QString& a3def = QString();
        const  ::QString* a3 = &a3def;
        int a3State = 0;
        const  ::KGuiItem& a4def = KStandardGuiItem::yes();
        const  ::KGuiItem* a4 = &a4def;
        const  ::KGuiItem& a5def = KStandardGuiItem::no();
        const  ::KGuiItem* a5 = &a5def;
        const  ::QString& a6def = QString();
        const  ::QString* a6 = &a6def;
        int a6State = 0;
         ::KMessageBox::Options a7def = KMessageBox::Notify;
         ::KMessageBox::Options* a7 = &a7def;
        int a7State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "mJ1J1|J1J9J9J1J1", &a0, sipType_QString,&a1, &a1State, sipType_QStringList,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_KGuiItem, &a4, sipType_KGuiItem, &a5, sipType_QString,&a6, &a6State, sipType_KMessageBox_Options, &a7, &a7State))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KMessageBox::questionYesNoListWId(a0,*a1,*a2,*a3,*a4,*a5,*a6,*a7);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QStringList *>(a2),sipType_QStringList,a2State);
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);
            sipReleaseType(const_cast< ::QString *>(a6),sipType_QString,a6State);
            sipReleaseType(a7,sipType_KMessageBox_Options,a7State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageBox, sipName_questionYesNoListWId, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageBox_warningYesNo(PyObject *, PyObject *);}
static PyObject *meth_KMessageBox_warningYesNo(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QWidget* a0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString& a2def = QString();
        const  ::QString* a2 = &a2def;
        int a2State = 0;
        const  ::KGuiItem& a3def = KStandardGuiItem::yes();
        const  ::KGuiItem* a3 = &a3def;
        const  ::KGuiItem& a4def = KStandardGuiItem::no();
        const  ::KGuiItem* a4 = &a4def;
        const  ::QString& a5def = QString();
        const  ::QString* a5 = &a5def;
        int a5State = 0;
         ::KMessageBox::Options a6def = KMessageBox::Options(KMessageBox::Notify|KMessageBox::Dangerous);
         ::KMessageBox::Options* a6 = &a6def;
        int a6State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J:J1|J1J9J9J1J1", sipType_QWidget, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_KGuiItem, &a3, sipType_KGuiItem, &a4, sipType_QString,&a5, &a5State, sipType_KMessageBox_Options, &a6, &a6State))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KMessageBox::warningYesNo(a0,*a1,*a2,*a3,*a4,*a5,*a6);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast< ::QString *>(a5),sipType_QString,a5State);
            sipReleaseType(a6,sipType_KMessageBox_Options,a6State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageBox, sipName_warningYesNo, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageBox_warningYesNoWId(PyObject *, PyObject *);}
static PyObject *meth_KMessageBox_warningYesNoWId(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::WId a0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString& a2def = QString();
        const  ::QString* a2 = &a2def;
        int a2State = 0;
        const  ::KGuiItem& a3def = KStandardGuiItem::yes();
        const  ::KGuiItem* a3 = &a3def;
        const  ::KGuiItem& a4def = KStandardGuiItem::no();
        const  ::KGuiItem* a4 = &a4def;
        const  ::QString& a5def = QString();
        const  ::QString* a5 = &a5def;
        int a5State = 0;
         ::KMessageBox::Options a6def = KMessageBox::Options(KMessageBox::Notify|KMessageBox::Dangerous);
         ::KMessageBox::Options* a6 = &a6def;
        int a6State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "mJ1|J1J9J9J1J1", &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_KGuiItem, &a3, sipType_KGuiItem, &a4, sipType_QString,&a5, &a5State, sipType_KMessageBox_Options, &a6, &a6State))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KMessageBox::warningYesNoWId(a0,*a1,*a2,*a3,*a4,*a5,*a6);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast< ::QString *>(a5),sipType_QString,a5State);
            sipReleaseType(a6,sipType_KMessageBox_Options,a6State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageBox, sipName_warningYesNoWId, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageBox_warningYesNoList(PyObject *, PyObject *);}
static PyObject *meth_KMessageBox_warningYesNoList(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QWidget* a0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QStringList* a2;
        int a2State = 0;
        const  ::QString& a3def = QString();
        const  ::QString* a3 = &a3def;
        int a3State = 0;
        const  ::KGuiItem& a4def = KStandardGuiItem::yes();
        const  ::KGuiItem* a4 = &a4def;
        const  ::KGuiItem& a5def = KStandardGuiItem::no();
        const  ::KGuiItem* a5 = &a5def;
        const  ::QString& a6def = QString();
        const  ::QString* a6 = &a6def;
        int a6State = 0;
         ::KMessageBox::Options a7def = KMessageBox::Options(KMessageBox::Notify|KMessageBox::Dangerous);
         ::KMessageBox::Options* a7 = &a7def;
        int a7State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J:J1J1|J1J9J9J1J1", sipType_QWidget, &a0, sipType_QString,&a1, &a1State, sipType_QStringList,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_KGuiItem, &a4, sipType_KGuiItem, &a5, sipType_QString,&a6, &a6State, sipType_KMessageBox_Options, &a7, &a7State))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KMessageBox::warningYesNoList(a0,*a1,*a2,*a3,*a4,*a5,*a6,*a7);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QStringList *>(a2),sipType_QStringList,a2State);
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);
            sipReleaseType(const_cast< ::QString *>(a6),sipType_QString,a6State);
            sipReleaseType(a7,sipType_KMessageBox_Options,a7State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageBox, sipName_warningYesNoList, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageBox_warningYesNoListWId(PyObject *, PyObject *);}
static PyObject *meth_KMessageBox_warningYesNoListWId(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::WId a0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QStringList* a2;
        int a2State = 0;
        const  ::QString& a3def = QString();
        const  ::QString* a3 = &a3def;
        int a3State = 0;
        const  ::KGuiItem& a4def = KStandardGuiItem::yes();
        const  ::KGuiItem* a4 = &a4def;
        const  ::KGuiItem& a5def = KStandardGuiItem::no();
        const  ::KGuiItem* a5 = &a5def;
        const  ::QString& a6def = QString();
        const  ::QString* a6 = &a6def;
        int a6State = 0;
         ::KMessageBox::Options a7def = KMessageBox::Options(KMessageBox::Notify|KMessageBox::Dangerous);
         ::KMessageBox::Options* a7 = &a7def;
        int a7State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "mJ1J1|J1J9J9J1J1", &a0, sipType_QString,&a1, &a1State, sipType_QStringList,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_KGuiItem, &a4, sipType_KGuiItem, &a5, sipType_QString,&a6, &a6State, sipType_KMessageBox_Options, &a7, &a7State))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KMessageBox::warningYesNoListWId(a0,*a1,*a2,*a3,*a4,*a5,*a6,*a7);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QStringList *>(a2),sipType_QStringList,a2State);
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);
            sipReleaseType(const_cast< ::QString *>(a6),sipType_QString,a6State);
            sipReleaseType(a7,sipType_KMessageBox_Options,a7State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageBox, sipName_warningYesNoListWId, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageBox_warningContinueCancel(PyObject *, PyObject *);}
static PyObject *meth_KMessageBox_warningContinueCancel(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QWidget* a0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString& a2def = QString();
        const  ::QString* a2 = &a2def;
        int a2State = 0;
        const  ::KGuiItem& a3def = KStandardGuiItem::cont();
        const  ::KGuiItem* a3 = &a3def;
        const  ::KGuiItem& a4def = KStandardGuiItem::cancel();
        const  ::KGuiItem* a4 = &a4def;
        const  ::QString& a5def = QString();
        const  ::QString* a5 = &a5def;
        int a5State = 0;
         ::KMessageBox::Options a6def = KMessageBox::Notify;
         ::KMessageBox::Options* a6 = &a6def;
        int a6State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J:J1|J1J9J9J1J1", sipType_QWidget, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_KGuiItem, &a3, sipType_KGuiItem, &a4, sipType_QString,&a5, &a5State, sipType_KMessageBox_Options, &a6, &a6State))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KMessageBox::warningContinueCancel(a0,*a1,*a2,*a3,*a4,*a5,*a6);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast< ::QString *>(a5),sipType_QString,a5State);
            sipReleaseType(a6,sipType_KMessageBox_Options,a6State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageBox, sipName_warningContinueCancel, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageBox_warningContinueCancelWId(PyObject *, PyObject *);}
static PyObject *meth_KMessageBox_warningContinueCancelWId(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::WId a0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString& a2def = QString();
        const  ::QString* a2 = &a2def;
        int a2State = 0;
        const  ::KGuiItem& a3def = KStandardGuiItem::cont();
        const  ::KGuiItem* a3 = &a3def;
        const  ::KGuiItem& a4def = KStandardGuiItem::cancel();
        const  ::KGuiItem* a4 = &a4def;
        const  ::QString& a5def = QString();
        const  ::QString* a5 = &a5def;
        int a5State = 0;
         ::KMessageBox::Options a6def = KMessageBox::Notify;
         ::KMessageBox::Options* a6 = &a6def;
        int a6State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "mJ1|J1J9J9J1J1", &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_KGuiItem, &a3, sipType_KGuiItem, &a4, sipType_QString,&a5, &a5State, sipType_KMessageBox_Options, &a6, &a6State))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KMessageBox::warningContinueCancelWId(a0,*a1,*a2,*a3,*a4,*a5,*a6);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast< ::QString *>(a5),sipType_QString,a5State);
            sipReleaseType(a6,sipType_KMessageBox_Options,a6State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageBox, sipName_warningContinueCancelWId, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageBox_warningContinueCancelList(PyObject *, PyObject *);}
static PyObject *meth_KMessageBox_warningContinueCancelList(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QWidget* a0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QStringList* a2;
        int a2State = 0;
        const  ::QString& a3def = QString();
        const  ::QString* a3 = &a3def;
        int a3State = 0;
        const  ::KGuiItem& a4def = KStandardGuiItem::cont();
        const  ::KGuiItem* a4 = &a4def;
        const  ::KGuiItem& a5def = KStandardGuiItem::cancel();
        const  ::KGuiItem* a5 = &a5def;
        const  ::QString& a6def = QString();
        const  ::QString* a6 = &a6def;
        int a6State = 0;
         ::KMessageBox::Options a7def = KMessageBox::Notify;
         ::KMessageBox::Options* a7 = &a7def;
        int a7State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J:J1J1|J1J9J9J1J1", sipType_QWidget, &a0, sipType_QString,&a1, &a1State, sipType_QStringList,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_KGuiItem, &a4, sipType_KGuiItem, &a5, sipType_QString,&a6, &a6State, sipType_KMessageBox_Options, &a7, &a7State))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KMessageBox::warningContinueCancelList(a0,*a1,*a2,*a3,*a4,*a5,*a6,*a7);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QStringList *>(a2),sipType_QStringList,a2State);
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);
            sipReleaseType(const_cast< ::QString *>(a6),sipType_QString,a6State);
            sipReleaseType(a7,sipType_KMessageBox_Options,a7State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageBox, sipName_warningContinueCancelList, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageBox_warningContinueCancelListWId(PyObject *, PyObject *);}
static PyObject *meth_KMessageBox_warningContinueCancelListWId(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::WId a0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QStringList* a2;
        int a2State = 0;
        const  ::QString& a3def = QString();
        const  ::QString* a3 = &a3def;
        int a3State = 0;
        const  ::KGuiItem& a4def = KStandardGuiItem::cont();
        const  ::KGuiItem* a4 = &a4def;
        const  ::KGuiItem& a5def = KStandardGuiItem::cancel();
        const  ::KGuiItem* a5 = &a5def;
        const  ::QString& a6def = QString();
        const  ::QString* a6 = &a6def;
        int a6State = 0;
         ::KMessageBox::Options a7def = KMessageBox::Notify;
         ::KMessageBox::Options* a7 = &a7def;
        int a7State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "mJ1J1|J1J9J9J1J1", &a0, sipType_QString,&a1, &a1State, sipType_QStringList,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_KGuiItem, &a4, sipType_KGuiItem, &a5, sipType_QString,&a6, &a6State, sipType_KMessageBox_Options, &a7, &a7State))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KMessageBox::warningContinueCancelListWId(a0,*a1,*a2,*a3,*a4,*a5,*a6,*a7);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QStringList *>(a2),sipType_QStringList,a2State);
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);
            sipReleaseType(const_cast< ::QString *>(a6),sipType_QString,a6State);
            sipReleaseType(a7,sipType_KMessageBox_Options,a7State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageBox, sipName_warningContinueCancelListWId, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageBox_warningYesNoCancel(PyObject *, PyObject *);}
static PyObject *meth_KMessageBox_warningYesNoCancel(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QWidget* a0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString& a2def = QString();
        const  ::QString* a2 = &a2def;
        int a2State = 0;
        const  ::KGuiItem& a3def = KStandardGuiItem::yes();
        const  ::KGuiItem* a3 = &a3def;
        const  ::KGuiItem& a4def = KStandardGuiItem::no();
        const  ::KGuiItem* a4 = &a4def;
        const  ::KGuiItem& a5def = KStandardGuiItem::cancel();
        const  ::KGuiItem* a5 = &a5def;
        const  ::QString& a6def = QString();
        const  ::QString* a6 = &a6def;
        int a6State = 0;
         ::KMessageBox::Options a7def = KMessageBox::Notify;
         ::KMessageBox::Options* a7 = &a7def;
        int a7State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J:J1|J1J9J9J9J1J1", sipType_QWidget, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_KGuiItem, &a3, sipType_KGuiItem, &a4, sipType_KGuiItem, &a5, sipType_QString,&a6, &a6State, sipType_KMessageBox_Options, &a7, &a7State))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KMessageBox::warningYesNoCancel(a0,*a1,*a2,*a3,*a4,*a5,*a6,*a7);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast< ::QString *>(a6),sipType_QString,a6State);
            sipReleaseType(a7,sipType_KMessageBox_Options,a7State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageBox, sipName_warningYesNoCancel, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageBox_warningYesNoCancelWId(PyObject *, PyObject *);}
static PyObject *meth_KMessageBox_warningYesNoCancelWId(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::WId a0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString& a2def = QString();
        const  ::QString* a2 = &a2def;
        int a2State = 0;
        const  ::KGuiItem& a3def = KStandardGuiItem::yes();
        const  ::KGuiItem* a3 = &a3def;
        const  ::KGuiItem& a4def = KStandardGuiItem::no();
        const  ::KGuiItem* a4 = &a4def;
        const  ::KGuiItem& a5def = KStandardGuiItem::cancel();
        const  ::KGuiItem* a5 = &a5def;
        const  ::QString& a6def = QString();
        const  ::QString* a6 = &a6def;
        int a6State = 0;
         ::KMessageBox::Options a7def = KMessageBox::Notify;
         ::KMessageBox::Options* a7 = &a7def;
        int a7State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "mJ1|J1J9J9J9J1J1", &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_KGuiItem, &a3, sipType_KGuiItem, &a4, sipType_KGuiItem, &a5, sipType_QString,&a6, &a6State, sipType_KMessageBox_Options, &a7, &a7State))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KMessageBox::warningYesNoCancelWId(a0,*a1,*a2,*a3,*a4,*a5,*a6,*a7);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast< ::QString *>(a6),sipType_QString,a6State);
            sipReleaseType(a7,sipType_KMessageBox_Options,a7State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageBox, sipName_warningYesNoCancelWId, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageBox_warningYesNoCancelList(PyObject *, PyObject *);}
static PyObject *meth_KMessageBox_warningYesNoCancelList(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QWidget* a0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QStringList* a2;
        int a2State = 0;
        const  ::QString& a3def = QString();
        const  ::QString* a3 = &a3def;
        int a3State = 0;
        const  ::KGuiItem& a4def = KStandardGuiItem::yes();
        const  ::KGuiItem* a4 = &a4def;
        const  ::KGuiItem& a5def = KStandardGuiItem::no();
        const  ::KGuiItem* a5 = &a5def;
        const  ::KGuiItem& a6def = KStandardGuiItem::cancel();
        const  ::KGuiItem* a6 = &a6def;
        const  ::QString& a7def = QString();
        const  ::QString* a7 = &a7def;
        int a7State = 0;
         ::KMessageBox::Options a8def = KMessageBox::Notify;
         ::KMessageBox::Options* a8 = &a8def;
        int a8State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J:J1J1|J1J9J9J9J1J1", sipType_QWidget, &a0, sipType_QString,&a1, &a1State, sipType_QStringList,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_KGuiItem, &a4, sipType_KGuiItem, &a5, sipType_KGuiItem, &a6, sipType_QString,&a7, &a7State, sipType_KMessageBox_Options, &a8, &a8State))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KMessageBox::warningYesNoCancelList(a0,*a1,*a2,*a3,*a4,*a5,*a6,*a7,*a8);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QStringList *>(a2),sipType_QStringList,a2State);
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);
            sipReleaseType(const_cast< ::QString *>(a7),sipType_QString,a7State);
            sipReleaseType(a8,sipType_KMessageBox_Options,a8State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageBox, sipName_warningYesNoCancelList, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageBox_warningYesNoCancelListWId(PyObject *, PyObject *);}
static PyObject *meth_KMessageBox_warningYesNoCancelListWId(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::WId a0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QStringList* a2;
        int a2State = 0;
        const  ::QString& a3def = QString();
        const  ::QString* a3 = &a3def;
        int a3State = 0;
        const  ::KGuiItem& a4def = KStandardGuiItem::yes();
        const  ::KGuiItem* a4 = &a4def;
        const  ::KGuiItem& a5def = KStandardGuiItem::no();
        const  ::KGuiItem* a5 = &a5def;
        const  ::KGuiItem& a6def = KStandardGuiItem::cancel();
        const  ::KGuiItem* a6 = &a6def;
        const  ::QString& a7def = QString();
        const  ::QString* a7 = &a7def;
        int a7State = 0;
         ::KMessageBox::Options a8def = KMessageBox::Notify;
         ::KMessageBox::Options* a8 = &a8def;
        int a8State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "mJ1J1|J1J9J9J9J1J1", &a0, sipType_QString,&a1, &a1State, sipType_QStringList,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_KGuiItem, &a4, sipType_KGuiItem, &a5, sipType_KGuiItem, &a6, sipType_QString,&a7, &a7State, sipType_KMessageBox_Options, &a8, &a8State))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KMessageBox::warningYesNoCancelListWId(a0,*a1,*a2,*a3,*a4,*a5,*a6,*a7,*a8);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QStringList *>(a2),sipType_QStringList,a2State);
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);
            sipReleaseType(const_cast< ::QString *>(a7),sipType_QString,a7State);
            sipReleaseType(a8,sipType_KMessageBox_Options,a8State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageBox, sipName_warningYesNoCancelListWId, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageBox_error(PyObject *, PyObject *);}
static PyObject *meth_KMessageBox_error(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QWidget* a0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString& a2def = QString();
        const  ::QString* a2 = &a2def;
        int a2State = 0;
         ::KMessageBox::Options a3def = KMessageBox::Notify;
         ::KMessageBox::Options* a3 = &a3def;
        int a3State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J:J1|J1J1", sipType_QWidget, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_KMessageBox_Options, &a3, &a3State))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KMessageBox::error(a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(a3,sipType_KMessageBox_Options,a3State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageBox, sipName_error, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageBox_errorWId(PyObject *, PyObject *);}
static PyObject *meth_KMessageBox_errorWId(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::WId a0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString& a2def = QString();
        const  ::QString* a2 = &a2def;
        int a2State = 0;
         ::KMessageBox::Options a3def = KMessageBox::Notify;
         ::KMessageBox::Options* a3 = &a3def;
        int a3State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "mJ1|J1J1", &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_KMessageBox_Options, &a3, &a3State))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KMessageBox::errorWId(a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(a3,sipType_KMessageBox_Options,a3State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageBox, sipName_errorWId, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageBox_errorList(PyObject *, PyObject *);}
static PyObject *meth_KMessageBox_errorList(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QWidget* a0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QStringList* a2;
        int a2State = 0;
        const  ::QString& a3def = QString();
        const  ::QString* a3 = &a3def;
        int a3State = 0;
         ::KMessageBox::Options a4def = KMessageBox::Notify;
         ::KMessageBox::Options* a4 = &a4def;
        int a4State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J:J1J1|J1J1", sipType_QWidget, &a0, sipType_QString,&a1, &a1State, sipType_QStringList,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_KMessageBox_Options, &a4, &a4State))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KMessageBox::errorList(a0,*a1,*a2,*a3,*a4);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QStringList *>(a2),sipType_QStringList,a2State);
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);
            sipReleaseType(a4,sipType_KMessageBox_Options,a4State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageBox, sipName_errorList, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageBox_errorListWId(PyObject *, PyObject *);}
static PyObject *meth_KMessageBox_errorListWId(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::WId a0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QStringList* a2;
        int a2State = 0;
        const  ::QString& a3def = QString();
        const  ::QString* a3 = &a3def;
        int a3State = 0;
         ::KMessageBox::Options a4def = KMessageBox::Notify;
         ::KMessageBox::Options* a4 = &a4def;
        int a4State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "mJ1J1|J1J1", &a0, sipType_QString,&a1, &a1State, sipType_QStringList,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_KMessageBox_Options, &a4, &a4State))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KMessageBox::errorListWId(a0,*a1,*a2,*a3,*a4);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QStringList *>(a2),sipType_QStringList,a2State);
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);
            sipReleaseType(a4,sipType_KMessageBox_Options,a4State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageBox, sipName_errorListWId, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageBox_detailedError(PyObject *, PyObject *);}
static PyObject *meth_KMessageBox_detailedError(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QWidget* a0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString* a2;
        int a2State = 0;
        const  ::QString& a3def = QString();
        const  ::QString* a3 = &a3def;
        int a3State = 0;
         ::KMessageBox::Options a4def = KMessageBox::Notify;
         ::KMessageBox::Options* a4 = &a4def;
        int a4State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J:J1J1|J1J1", sipType_QWidget, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_KMessageBox_Options, &a4, &a4State))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KMessageBox::detailedError(a0,*a1,*a2,*a3,*a4);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);
            sipReleaseType(a4,sipType_KMessageBox_Options,a4State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageBox, sipName_detailedError, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageBox_detailedErrorWId(PyObject *, PyObject *);}
static PyObject *meth_KMessageBox_detailedErrorWId(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::WId a0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString* a2;
        int a2State = 0;
        const  ::QString& a3def = QString();
        const  ::QString* a3 = &a3def;
        int a3State = 0;
         ::KMessageBox::Options a4def = KMessageBox::Notify;
         ::KMessageBox::Options* a4 = &a4def;
        int a4State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "mJ1J1|J1J1", &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_KMessageBox_Options, &a4, &a4State))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KMessageBox::detailedErrorWId(a0,*a1,*a2,*a3,*a4);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);
            sipReleaseType(a4,sipType_KMessageBox_Options,a4State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageBox, sipName_detailedErrorWId, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageBox_queuedDetailedError(PyObject *, PyObject *);}
static PyObject *meth_KMessageBox_queuedDetailedError(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QWidget* a0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString* a2;
        int a2State = 0;
        const  ::QString& a3def = QString();
        const  ::QString* a3 = &a3def;
        int a3State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J:J1J1|J1", sipType_QWidget, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KMessageBox::queuedDetailedError(a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,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_KMessageBox, sipName_queuedDetailedError, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageBox_queuedDetailedErrorWId(PyObject *, PyObject *);}
static PyObject *meth_KMessageBox_queuedDetailedErrorWId(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::WId a0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString* a2;
        int a2State = 0;
        const  ::QString& a3def = QString();
        const  ::QString* a3 = &a3def;
        int a3State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "mJ1J1|J1", &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KMessageBox::queuedDetailedErrorWId(a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,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_KMessageBox, sipName_queuedDetailedErrorWId, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageBox_sorry(PyObject *, PyObject *);}
static PyObject *meth_KMessageBox_sorry(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QWidget* a0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString& a2def = QString();
        const  ::QString* a2 = &a2def;
        int a2State = 0;
         ::KMessageBox::Options a3def = KMessageBox::Notify;
         ::KMessageBox::Options* a3 = &a3def;
        int a3State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J:J1|J1J1", sipType_QWidget, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_KMessageBox_Options, &a3, &a3State))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KMessageBox::sorry(a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(a3,sipType_KMessageBox_Options,a3State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageBox, sipName_sorry, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageBox_sorryWId(PyObject *, PyObject *);}
static PyObject *meth_KMessageBox_sorryWId(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::WId a0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString& a2def = QString();
        const  ::QString* a2 = &a2def;
        int a2State = 0;
         ::KMessageBox::Options a3def = KMessageBox::Notify;
         ::KMessageBox::Options* a3 = &a3def;
        int a3State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "mJ1|J1J1", &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_KMessageBox_Options, &a3, &a3State))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KMessageBox::sorryWId(a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(a3,sipType_KMessageBox_Options,a3State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageBox, sipName_sorryWId, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageBox_detailedSorry(PyObject *, PyObject *);}
static PyObject *meth_KMessageBox_detailedSorry(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QWidget* a0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString* a2;
        int a2State = 0;
        const  ::QString& a3def = QString();
        const  ::QString* a3 = &a3def;
        int a3State = 0;
         ::KMessageBox::Options a4def = KMessageBox::Notify;
         ::KMessageBox::Options* a4 = &a4def;
        int a4State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J:J1J1|J1J1", sipType_QWidget, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_KMessageBox_Options, &a4, &a4State))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KMessageBox::detailedSorry(a0,*a1,*a2,*a3,*a4);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);
            sipReleaseType(a4,sipType_KMessageBox_Options,a4State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageBox, sipName_detailedSorry, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageBox_detailedSorryWId(PyObject *, PyObject *);}
static PyObject *meth_KMessageBox_detailedSorryWId(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::WId a0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString* a2;
        int a2State = 0;
        const  ::QString& a3def = QString();
        const  ::QString* a3 = &a3def;
        int a3State = 0;
         ::KMessageBox::Options a4def = KMessageBox::Notify;
         ::KMessageBox::Options* a4 = &a4def;
        int a4State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "mJ1J1|J1J1", &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_KMessageBox_Options, &a4, &a4State))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KMessageBox::detailedSorryWId(a0,*a1,*a2,*a3,*a4);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);
            sipReleaseType(a4,sipType_KMessageBox_Options,a4State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageBox, sipName_detailedSorryWId, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageBox_information(PyObject *, PyObject *);}
static PyObject *meth_KMessageBox_information(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QWidget* a0;
        const  ::QString* 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;
         ::KMessageBox::Options a4def = KMessageBox::Notify;
         ::KMessageBox::Options* a4 = &a4def;
        int a4State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J:J1|J1J1J1", sipType_QWidget, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_KMessageBox_Options, &a4, &a4State))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KMessageBox::information(a0,*a1,*a2,*a3,*a4);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);
            sipReleaseType(a4,sipType_KMessageBox_Options,a4State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageBox, sipName_information, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageBox_informationWId(PyObject *, PyObject *);}
static PyObject *meth_KMessageBox_informationWId(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::WId a0;
        const  ::QString* 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;
         ::KMessageBox::Options a4def = KMessageBox::Notify;
         ::KMessageBox::Options* a4 = &a4def;
        int a4State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "mJ1|J1J1J1", &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_KMessageBox_Options, &a4, &a4State))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KMessageBox::informationWId(a0,*a1,*a2,*a3,*a4);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);
            sipReleaseType(a4,sipType_KMessageBox_Options,a4State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageBox, sipName_informationWId, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageBox_informationList(PyObject *, PyObject *);}
static PyObject *meth_KMessageBox_informationList(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QWidget* a0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QStringList* a2;
        int a2State = 0;
        const  ::QString& a3def = QString();
        const  ::QString* a3 = &a3def;
        int a3State = 0;
        const  ::QString& a4def = QString();
        const  ::QString* a4 = &a4def;
        int a4State = 0;
         ::KMessageBox::Options a5def = KMessageBox::Notify;
         ::KMessageBox::Options* a5 = &a5def;
        int a5State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J:J1J1|J1J1J1", sipType_QWidget, &a0, sipType_QString,&a1, &a1State, sipType_QStringList,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_QString,&a4, &a4State, sipType_KMessageBox_Options, &a5, &a5State))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KMessageBox::informationList(a0,*a1,*a2,*a3,*a4,*a5);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QStringList *>(a2),sipType_QStringList,a2State);
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);
            sipReleaseType(const_cast< ::QString *>(a4),sipType_QString,a4State);
            sipReleaseType(a5,sipType_KMessageBox_Options,a5State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageBox, sipName_informationList, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageBox_informationListWId(PyObject *, PyObject *);}
static PyObject *meth_KMessageBox_informationListWId(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::WId a0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QStringList* a2;
        int a2State = 0;
        const  ::QString& a3def = QString();
        const  ::QString* a3 = &a3def;
        int a3State = 0;
        const  ::QString& a4def = QString();
        const  ::QString* a4 = &a4def;
        int a4State = 0;
         ::KMessageBox::Options a5def = KMessageBox::Notify;
         ::KMessageBox::Options* a5 = &a5def;
        int a5State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "mJ1J1|J1J1J1", &a0, sipType_QString,&a1, &a1State, sipType_QStringList,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_QString,&a4, &a4State, sipType_KMessageBox_Options, &a5, &a5State))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KMessageBox::informationListWId(a0,*a1,*a2,*a3,*a4,*a5);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QStringList *>(a2),sipType_QStringList,a2State);
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);
            sipReleaseType(const_cast< ::QString *>(a4),sipType_QString,a4State);
            sipReleaseType(a5,sipType_KMessageBox_Options,a5State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageBox, sipName_informationListWId, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageBox_enableAllMessages(PyObject *, PyObject *);}
static PyObject *meth_KMessageBox_enableAllMessages(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KMessageBox::enableAllMessages();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageBox, sipName_enableAllMessages, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageBox_enableMessage(PyObject *, PyObject *);}
static PyObject *meth_KMessageBox_enableMessage(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KMessageBox::enableMessage(*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_KMessageBox, sipName_enableMessage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageBox_about(PyObject *, PyObject *);}
static PyObject *meth_KMessageBox_about(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QWidget* a0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString& a2def = QString();
        const  ::QString* a2 = &a2def;
        int a2State = 0;
         ::KMessageBox::Options a3def = KMessageBox::Notify;
         ::KMessageBox::Options* a3 = &a3def;
        int a3State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J:J1|J1J1", sipType_QWidget, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_KMessageBox_Options, &a3, &a3State))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KMessageBox::about(a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(a3,sipType_KMessageBox_Options,a3State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageBox, sipName_about, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageBox_messageBox(PyObject *, PyObject *);}
static PyObject *meth_KMessageBox_messageBox(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QWidget* a0;
         ::KMessageBox::DialogType a1;
        const  ::QString* a2;
        int a2State = 0;
        const  ::QString& a3def = QString();
        const  ::QString* a3 = &a3def;
        int a3State = 0;
        const  ::KGuiItem& a4def = KStandardGuiItem::yes();
        const  ::KGuiItem* a4 = &a4def;
        const  ::KGuiItem& a5def = KStandardGuiItem::no();
        const  ::KGuiItem* a5 = &a5def;
        const  ::KGuiItem& a6def = KStandardGuiItem::cancel();
        const  ::KGuiItem* a6 = &a6def;
        const  ::QString& a7def = QString();
        const  ::QString* a7 = &a7def;
        int a7State = 0;
         ::KMessageBox::Options a8def = KMessageBox::Notify;
         ::KMessageBox::Options* a8 = &a8def;
        int a8State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J:EJ1|J1J9J9J9J1J1", sipType_QWidget, &a0, sipType_KMessageBox_DialogType, &a1, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_KGuiItem, &a4, sipType_KGuiItem, &a5, sipType_KGuiItem, &a6, sipType_QString,&a7, &a7State, sipType_KMessageBox_Options, &a8, &a8State))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KMessageBox::messageBox(a0,a1,*a2,*a3,*a4,*a5,*a6,*a7,*a8);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);
            sipReleaseType(const_cast< ::QString *>(a7),sipType_QString,a7State);
            sipReleaseType(a8,sipType_KMessageBox_Options,a8State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageBox, sipName_messageBox, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageBox_messageBoxWId(PyObject *, PyObject *);}
static PyObject *meth_KMessageBox_messageBoxWId(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::WId a0;
         ::KMessageBox::DialogType a1;
        const  ::QString* a2;
        int a2State = 0;
        const  ::QString& a3def = QString();
        const  ::QString* a3 = &a3def;
        int a3State = 0;
        const  ::KGuiItem& a4def = KStandardGuiItem::yes();
        const  ::KGuiItem* a4 = &a4def;
        const  ::KGuiItem& a5def = KStandardGuiItem::no();
        const  ::KGuiItem* a5 = &a5def;
        const  ::KGuiItem& a6def = KStandardGuiItem::cancel();
        const  ::KGuiItem* a6 = &a6def;
        const  ::QString& a7def = QString();
        const  ::QString* a7 = &a7def;
        int a7State = 0;
         ::KMessageBox::Options a8def = KMessageBox::Notify;
         ::KMessageBox::Options* a8 = &a8def;
        int a8State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "mEJ1|J1J9J9J9J1J1", &a0, sipType_KMessageBox_DialogType, &a1, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_KGuiItem, &a4, sipType_KGuiItem, &a5, sipType_KGuiItem, &a6, sipType_QString,&a7, &a7State, sipType_KMessageBox_Options, &a8, &a8State))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KMessageBox::messageBoxWId(a0,a1,*a2,*a3,*a4,*a5,*a6,*a7,*a8);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);
            sipReleaseType(const_cast< ::QString *>(a7),sipType_QString,a7State);
            sipReleaseType(a8,sipType_KMessageBox_Options,a8State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageBox, sipName_messageBoxWId, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageBox_queuedMessageBox(PyObject *, PyObject *);}
static PyObject *meth_KMessageBox_queuedMessageBox(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QWidget* a0;
         ::KMessageBox::DialogType a1;
        const  ::QString* a2;
        int a2State = 0;
        const  ::QString* a3;
        int a3State = 0;
         ::KMessageBox::Options* a4;
        int a4State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J:EJ1J1J1", sipType_QWidget, &a0, sipType_KMessageBox_DialogType, &a1, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_KMessageBox_Options, &a4, &a4State))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KMessageBox::queuedMessageBox(a0,a1,*a2,*a3,*a4);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);
            sipReleaseType(a4,sipType_KMessageBox_Options,a4State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
         ::QWidget* a0;
         ::KMessageBox::DialogType a1;
        const  ::QString* a2;
        int a2State = 0;
        const  ::QString& a3def = QString();
        const  ::QString* a3 = &a3def;
        int a3State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J:EJ1|J1", sipType_QWidget, &a0, sipType_KMessageBox_DialogType, &a1, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KMessageBox::queuedMessageBox(a0,a1,*a2,*a3);
            Py_END_ALLOW_THREADS
            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_KMessageBox, sipName_queuedMessageBox, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageBox_queuedMessageBoxWId(PyObject *, PyObject *);}
static PyObject *meth_KMessageBox_queuedMessageBoxWId(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::WId a0;
         ::KMessageBox::DialogType a1;
        const  ::QString* a2;
        int a2State = 0;
        const  ::QString* a3;
        int a3State = 0;
         ::KMessageBox::Options* a4;
        int a4State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "mEJ1J1J1", &a0, sipType_KMessageBox_DialogType, &a1, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_KMessageBox_Options, &a4, &a4State))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KMessageBox::queuedMessageBoxWId(a0,a1,*a2,*a3,*a4);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);
            sipReleaseType(a4,sipType_KMessageBox_Options,a4State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
         ::WId a0;
         ::KMessageBox::DialogType a1;
        const  ::QString* a2;
        int a2State = 0;
        const  ::QString& a3def = QString();
        const  ::QString* a3 = &a3def;
        int a3State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "mEJ1|J1", &a0, sipType_KMessageBox_DialogType, &a1, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KMessageBox::queuedMessageBoxWId(a0,a1,*a2,*a3);
            Py_END_ALLOW_THREADS
            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_KMessageBox, sipName_queuedMessageBoxWId, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageBox_shouldBeShownYesNo(PyObject *, PyObject *);}
static PyObject *meth_KMessageBox_shouldBeShownYesNo(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::KMessageBox::ButtonCode a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KMessageBox::shouldBeShownYesNo(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipBuildResult(0,"(bF)",sipRes,a1,sipType_KMessageBox_ButtonCode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageBox, sipName_shouldBeShownYesNo, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageBox_shouldBeShownContinue(PyObject *, PyObject *);}
static PyObject *meth_KMessageBox_shouldBeShownContinue(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KMessageBox::shouldBeShownContinue(*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_KMessageBox, sipName_shouldBeShownContinue, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageBox_saveDontShowAgainYesNo(PyObject *, PyObject *);}
static PyObject *meth_KMessageBox_saveDontShowAgainYesNo(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::KMessageBox::ButtonCode a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1E", sipType_QString,&a0, &a0State, sipType_KMessageBox_ButtonCode, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KMessageBox::saveDontShowAgainYesNo(*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_KMessageBox, sipName_saveDontShowAgainYesNo, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageBox_saveDontShowAgainContinue(PyObject *, PyObject *);}
static PyObject *meth_KMessageBox_saveDontShowAgainContinue(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KMessageBox::saveDontShowAgainContinue(*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_KMessageBox, sipName_saveDontShowAgainContinue, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageBox_setDontShowAskAgainConfig(PyObject *, PyObject *);}
static PyObject *meth_KMessageBox_setDontShowAskAgainConfig(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KConfig* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8", sipType_KConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KMessageBox::setDontShowAskAgainConfig(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageBox, sipName_setDontShowAskAgainConfig, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMessageBox_createKMessageBox(PyObject *, PyObject *);}
static PyObject *meth_KMessageBox_createKMessageBox(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KDialog* a0;
         ::QMessageBox::Icon a1;
        const  ::QString* a2;
        int a2State = 0;
        const  ::QStringList* a3;
        int a3State = 0;
        const  ::QString* a4;
        int a4State = 0;
        bool a5;
         ::KMessageBox::Options* a6;
        int a6State = 0;
        const  ::QString& a7def = QString();
        const  ::QString* a7 = &a7def;
        int a7State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8EJ1J1J1bJ1|J1", sipType_KDialog, &a0, sipType_QMessageBox_Icon, &a1, sipType_QString,&a2, &a2State, sipType_QStringList,&a3, &a3State, sipType_QString,&a4, &a4State, &a5, sipType_KMessageBox_Options, &a6, &a6State, sipType_QString,&a7, &a7State))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KMessageBox::createKMessageBox(a0,a1,*a2,*a3,*a4,&a5,*a6,*a7);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast< ::QStringList *>(a3),sipType_QStringList,a3State);
            sipReleaseType(const_cast< ::QString *>(a4),sipType_QString,a4State);
            sipReleaseType(a6,sipType_KMessageBox_Options,a6State);
            sipReleaseType(const_cast< ::QString *>(a7),sipType_QString,a7State);

            return sipBuildResult(0,"(ib)",sipRes,a5);
        }
    }

    {
         ::KDialog* a0;
        const  ::QIcon* a1;
        const  ::QString* a2;
        int a2State = 0;
        const  ::QStringList* a3;
        int a3State = 0;
        const  ::QString* a4;
        int a4State = 0;
        bool a5;
         ::KMessageBox::Options* a6;
        int a6State = 0;
        const  ::QString& a7def = QString();
        const  ::QString* a7 = &a7def;
        int a7State = 0;
         ::QMessageBox::Icon a8 = QMessageBox::Information;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8J9J1J1J1J1|J1E", sipType_KDialog, &a0, sipType_QIcon, &a1, sipType_QString,&a2, &a2State, sipType_QStringList,&a3, &a3State, sipType_QString,&a4, &a4State, sipType_KMessageBox_Options, &a6, &a6State, sipType_QString,&a7, &a7State, sipType_QMessageBox_Icon, &a8))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KMessageBox::createKMessageBox(a0,*a1,*a2,*a3,*a4,&a5,*a6,*a7,a8);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast< ::QStringList *>(a3),sipType_QStringList,a3State);
            sipReleaseType(const_cast< ::QString *>(a4),sipType_QString,a4State);
            sipReleaseType(a6,sipType_KMessageBox_Options,a6State);
            sipReleaseType(const_cast< ::QString *>(a7),sipType_QString,a7State);

            return sipBuildResult(0,"(ib)",sipRes,a5);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMessageBox, sipName_createKMessageBox, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KMessageBox(void *, int);}
static void release_KMessageBox(void *sipCppV, int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast< ::KMessageBox *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KMessageBox(void *, SIP_SSIZE_T, const void *);}
static void assign_KMessageBox(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::KMessageBox *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::KMessageBox *>(sipSrc);
}


extern "C" {static void *array_KMessageBox(SIP_SSIZE_T);}
static void *array_KMessageBox(SIP_SSIZE_T sipNrElem)
{
    return new  ::KMessageBox[sipNrElem];
}


extern "C" {static void *copy_KMessageBox(const void *, SIP_SSIZE_T);}
static void *copy_KMessageBox(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::KMessageBox(reinterpret_cast<const  ::KMessageBox *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KMessageBox(sipSimpleWrapper *);}
static void dealloc_KMessageBox(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_KMessageBox(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_KMessageBox(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KMessageBox(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::KMessageBox *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KMessageBox();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const  ::KMessageBox* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_KMessageBox, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KMessageBox(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KMessageBox[] = {
    {SIP_MLNAME_CAST(sipName_about), meth_KMessageBox_about, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createKMessageBox), meth_KMessageBox_createKMessageBox, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_detailedError), meth_KMessageBox_detailedError, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_detailedErrorWId), meth_KMessageBox_detailedErrorWId, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_detailedSorry), meth_KMessageBox_detailedSorry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_detailedSorryWId), meth_KMessageBox_detailedSorryWId, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enableAllMessages), meth_KMessageBox_enableAllMessages, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enableMessage), meth_KMessageBox_enableMessage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_error), meth_KMessageBox_error, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_errorList), meth_KMessageBox_errorList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_errorListWId), meth_KMessageBox_errorListWId, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_errorWId), meth_KMessageBox_errorWId, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_information), meth_KMessageBox_information, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_informationList), meth_KMessageBox_informationList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_informationListWId), meth_KMessageBox_informationListWId, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_informationWId), meth_KMessageBox_informationWId, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_messageBox), meth_KMessageBox_messageBox, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_messageBoxWId), meth_KMessageBox_messageBoxWId, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_questionYesNo), meth_KMessageBox_questionYesNo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_questionYesNoCancel), meth_KMessageBox_questionYesNoCancel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_questionYesNoCancelWId), meth_KMessageBox_questionYesNoCancelWId, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_questionYesNoList), meth_KMessageBox_questionYesNoList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_questionYesNoListWId), meth_KMessageBox_questionYesNoListWId, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_questionYesNoWId), meth_KMessageBox_questionYesNoWId, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_queuedDetailedError), meth_KMessageBox_queuedDetailedError, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_queuedDetailedErrorWId), meth_KMessageBox_queuedDetailedErrorWId, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_queuedMessageBox), meth_KMessageBox_queuedMessageBox, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_queuedMessageBoxWId), meth_KMessageBox_queuedMessageBoxWId, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_saveDontShowAgainContinue), meth_KMessageBox_saveDontShowAgainContinue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_saveDontShowAgainYesNo), meth_KMessageBox_saveDontShowAgainYesNo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDontShowAskAgainConfig), meth_KMessageBox_setDontShowAskAgainConfig, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_shouldBeShownContinue), meth_KMessageBox_shouldBeShownContinue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_shouldBeShownYesNo), meth_KMessageBox_shouldBeShownYesNo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sorry), meth_KMessageBox_sorry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sorryWId), meth_KMessageBox_sorryWId, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_warningContinueCancel), meth_KMessageBox_warningContinueCancel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_warningContinueCancelList), meth_KMessageBox_warningContinueCancelList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_warningContinueCancelListWId), meth_KMessageBox_warningContinueCancelListWId, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_warningContinueCancelWId), meth_KMessageBox_warningContinueCancelWId, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_warningYesNo), meth_KMessageBox_warningYesNo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_warningYesNoCancel), meth_KMessageBox_warningYesNoCancel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_warningYesNoCancelList), meth_KMessageBox_warningYesNoCancelList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_warningYesNoCancelListWId), meth_KMessageBox_warningYesNoCancelListWId, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_warningYesNoCancelWId), meth_KMessageBox_warningYesNoCancelWId, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_warningYesNoList), meth_KMessageBox_warningYesNoList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_warningYesNoListWId), meth_KMessageBox_warningYesNoListWId, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_warningYesNoWId), meth_KMessageBox_warningYesNoWId, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KMessageBox[] = {
    {sipName_AllowLink, static_cast<int>( ::KMessageBox::AllowLink), 190},
    {sipName_Cancel, static_cast<int>( ::KMessageBox::Cancel), 188},
    {sipName_Continue, static_cast<int>( ::KMessageBox::Continue), 188},
    {sipName_Dangerous, static_cast<int>( ::KMessageBox::Dangerous), 190},
    {sipName_Error, static_cast<int>( ::KMessageBox::Error), 189},
    {sipName_Information, static_cast<int>( ::KMessageBox::Information), 189},
    {sipName_No, static_cast<int>( ::KMessageBox::No), 188},
    {sipName_NoExec, static_cast<int>( ::KMessageBox::NoExec), 190},
    {sipName_Notify, static_cast<int>( ::KMessageBox::Notify), 190},
    {sipName_Ok, static_cast<int>( ::KMessageBox::Ok), 188},
    {sipName_PlainCaption, static_cast<int>( ::KMessageBox::PlainCaption), 190},
    {sipName_QuestionYesNo, static_cast<int>( ::KMessageBox::QuestionYesNo), 189},
    {sipName_QuestionYesNoCancel, static_cast<int>( ::KMessageBox::QuestionYesNoCancel), 189},
    {sipName_Sorry, static_cast<int>( ::KMessageBox::Sorry), 189},
    {sipName_WarningContinueCancel, static_cast<int>( ::KMessageBox::WarningContinueCancel), 189},
    {sipName_WarningYesNo, static_cast<int>( ::KMessageBox::WarningYesNo), 189},
    {sipName_WarningYesNoCancel, static_cast<int>( ::KMessageBox::WarningYesNoCancel), 189},
    {sipName_WindowModal, static_cast<int>( ::KMessageBox::WindowModal), 190},
    {sipName_Yes, static_cast<int>( ::KMessageBox::Yes), 188},
};


static pyqt4ClassPluginDef plugin_KMessageBox = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KMessageBox = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KMessageBox,
        {0},
        &plugin_KMessageBox
    },
    {
        sipNameNr_KMessageBox,
        {0, 0, 1},
        47, methods_KMessageBox,
        19, enummembers_KMessageBox,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KMessageBox,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KMessageBox,
    assign_KMessageBox,
    array_KMessageBox,
    copy_KMessageBox,
    release_KMessageBox,
    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/kmenubar.sip"
#include <kmenubar.h>
#line 16312 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 16316 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 16319 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 16322 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 16325 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 16328 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 16331 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 16334 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 16337 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 16340 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 16343 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 16346 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 16349 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 16352 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 1003 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 16355 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 16358 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 16361 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 16364 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 16367 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 16370 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 16373 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 16376 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 16379 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 16382 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 16385 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 16388 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 16391 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 16394 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 16397 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 16400 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 16403 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 16406 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 16409 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 16412 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 16415 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 16418 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 16421 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 16424 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 16427 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 16430 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 16433 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 16436 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 16439 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 16442 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 16445 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 16448 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 16451 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 16454 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 16457 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 16460 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 16463 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 16466 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 16469 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 16472 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 16475 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 16478 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 16481 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 16484 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 16487 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 16490 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 16493 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 16496 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 16499 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 16502 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 16505 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 16508 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"


class sipKMenuBar : public  ::KMenuBar
{
public:
    sipKMenuBar( ::QWidget*);
    virtual ~sipKMenuBar();

    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 setMargin(int);
    void setLineWidth(int);
    void setFrameStyle(int);
    void resize(int,int);
    void setGeometry(int,int,int,int);
    void setGeometry(const  ::QRect&);
    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:
    sipKMenuBar(const sipKMenuBar &);
    sipKMenuBar &operator = (const sipKMenuBar &);

    char sipPyMethods[53];
};

sipKMenuBar::sipKMenuBar( ::QWidget*a0):  ::KMenuBar(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKMenuBar::~sipKMenuBar()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKMenuBar::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KMenuBar);
}

int sipKMenuBar::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KMenuBar::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KMenuBar,_c,_id,_a);

    return _id;
}

void *sipKMenuBar::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KMenuBar, _clname)) ? this :  ::KMenuBar::qt_metacast(_clname);
}

void sipKMenuBar::setMargin(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_setMargin);

    if (!sipMeth)
    {
         ::KMenuBar::setMargin(a0);
        return;
    }

    extern void sipVH_kdeui_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_kdeui_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenuBar::setLineWidth(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_setLineWidth);

    if (!sipMeth)
    {
         ::KMenuBar::setLineWidth(a0);
        return;
    }

    extern void sipVH_kdeui_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_kdeui_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenuBar::setFrameStyle(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_setFrameStyle);

    if (!sipMeth)
    {
         ::KMenuBar::setFrameStyle(a0);
        return;
    }

    extern void sipVH_kdeui_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_kdeui_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenuBar::resize(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_resize);

    if (!sipMeth)
    {
         ::KMenuBar::resize(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 sipKMenuBar::setGeometry(int a0,int a1,int a2,int a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
         ::KMenuBar::setGeometry(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_kdeui_169(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,int,int);

    sipVH_kdeui_169(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipKMenuBar::setGeometry(const  ::QRect& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
         ::KMenuBar::setGeometry(a0);
        return;
    }

    extern void sipVH_kdeui_168(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRect&);

    sipVH_kdeui_168(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenuBar::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KMenuBar::languageChange();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKMenuBar::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KMenuBar::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenuBar::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KMenuBar::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 sipKMenuBar::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KMenuBar::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 sipKMenuBar::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KMenuBar::enabledChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKMenuBar::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KMenuBar::focusNextPrevChild(a0);

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QVariant sipKMenuBar::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::KMenuBar::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 sipKMenuBar::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KMenuBar::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenuBar::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KMenuBar::changeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenuBar::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KMenuBar::hideEvent(a0);
        return;
    }

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kdeui_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenuBar::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KMenuBar::showEvent(a0);
        return;
    }

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kdeui_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenuBar::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KMenuBar::dropEvent(a0);
        return;
    }

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kdeui_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenuBar::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KMenuBar::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kdeui_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenuBar::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KMenuBar::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kdeui_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenuBar::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KMenuBar::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kdeui_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenuBar::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KMenuBar::actionEvent(a0);
        return;
    }

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kdeui_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenuBar::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KMenuBar::tabletEvent(a0);
        return;
    }

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kdeui_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenuBar::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KMenuBar::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kdeui_22(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenuBar::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KMenuBar::closeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kdeui_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenuBar::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KMenuBar::resizeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kdeui_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenuBar::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KMenuBar::moveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kdeui_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenuBar::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KMenuBar::paintEvent(a0);
        return;
    }

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kdeui_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenuBar::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KMenuBar::leaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenuBar::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KMenuBar::enterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenuBar::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KMenuBar::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenuBar::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KMenuBar::focusInEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenuBar::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KMenuBar::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenuBar::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KMenuBar::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenuBar::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KMenuBar::wheelEvent(a0);
        return;
    }

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kdeui_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenuBar::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KMenuBar::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenuBar::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KMenuBar::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenuBar::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KMenuBar::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenuBar::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KMenuBar::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKMenuBar::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::KMenuBar::heightForWidth(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKMenuBar::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KMenuBar::minimumSizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKMenuBar::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KMenuBar::sizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKMenuBar::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KMenuBar::setVisible(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKMenuBar::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[43]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KMenuBar::devType();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipKMenuBar::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KMenuBar::paintEngine();

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKMenuBar::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::KMenuBar::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 sipKMenuBar::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KMenuBar::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKMenuBar::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KMenuBar::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 sipKMenuBar::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KMenuBar::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenuBar::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KMenuBar::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenuBar::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KMenuBar::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenuBar::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KMenuBar::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 sipKMenuBar::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KMenuBar::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_KMenuBar_setTopLevelMenu(PyObject *, PyObject *);}
static PyObject *meth_KMenuBar_setTopLevelMenu(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
         ::KMenuBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|b", &sipSelf, sipType_KMenuBar, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTopLevelMenu(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMenuBar, sipName_setTopLevelMenu, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMenuBar_isTopLevelMenu(PyObject *, PyObject *);}
static PyObject *meth_KMenuBar_isTopLevelMenu(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KMenuBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KMenuBar, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isTopLevelMenu();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMenuBar, sipName_isTopLevelMenu, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMenuBar_setGeometry(PyObject *, PyObject *);}
static PyObject *meth_KMenuBar_setGeometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QRect* a0;
         ::KMenuBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KMenuBar, &sipCpp, sipType_QRect, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KMenuBar::setGeometry(*a0) : sipCpp->setGeometry(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        int a0;
        int a1;
        int a2;
        int a3;
         ::KMenuBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Biiii", &sipSelf, sipType_KMenuBar, &sipCpp, &a0, &a1, &a2, &a3))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KMenuBar::setGeometry(a0,a1,a2,a3) : sipCpp->setGeometry(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_KMenuBar, sipName_setGeometry, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMenuBar_resize(PyObject *, PyObject *);}
static PyObject *meth_KMenuBar_resize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
         ::KMenuBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_KMenuBar, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KMenuBar::resize(a0,a1) : sipCpp->resize(a0,a1));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::QSize* a0;
         ::KMenuBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KMenuBar, &sipCpp, sipType_QSize, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->resize(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMenuBar, sipName_resize, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMenuBar_setFrameStyle(PyObject *, PyObject *);}
static PyObject *meth_KMenuBar_setFrameStyle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
         ::KMenuBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KMenuBar, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KMenuBar::setFrameStyle(a0) : 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_KMenuBar, sipName_setFrameStyle, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMenuBar_setLineWidth(PyObject *, PyObject *);}
static PyObject *meth_KMenuBar_setLineWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
         ::KMenuBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KMenuBar, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KMenuBar::setLineWidth(a0) : sipCpp->setLineWidth(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMenuBar, sipName_setLineWidth, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMenuBar_setMargin(PyObject *, PyObject *);}
static PyObject *meth_KMenuBar_setMargin(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
         ::KMenuBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KMenuBar, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KMenuBar::setMargin(a0) : sipCpp->setMargin(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMenuBar, sipName_setMargin, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMenuBar_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_KMenuBar_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::KMenuBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KMenuBar, &sipCpp))
        {
             ::QSize*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QSize((sipSelfWasArg ? sipCpp-> ::KMenuBar::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_KMenuBar, sipName_sizeHint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMenuBar_slotReadConfig(PyObject *, PyObject *);}
static PyObject *meth_KMenuBar_slotReadConfig(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KMenuBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KMenuBar, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotReadConfig();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMenuBar, sipName_slotReadConfig, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMenuBar_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_KMenuBar_resizeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QResizeEvent* a0;
         ::KMenuBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KMenuBar, &sipCpp, sipType_QResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KMenuBar::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_KMenuBar, sipName_resizeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMenuBar_eventFilter(PyObject *, PyObject *);}
static PyObject *meth_KMenuBar_eventFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QObject* a0;
         ::QEvent* a1;
         ::KMenuBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8J8", &sipSelf, sipType_KMenuBar, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::KMenuBar::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_KMenuBar, sipName_eventFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMenuBar_closeEvent(PyObject *, PyObject *);}
static PyObject *meth_KMenuBar_closeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QCloseEvent* a0;
         ::KMenuBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KMenuBar, &sipCpp, sipType_QCloseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KMenuBar::closeEvent(a0) : sipCpp->closeEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMenuBar, sipName_closeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMenuBar_paintEvent(PyObject *, PyObject *);}
static PyObject *meth_KMenuBar_paintEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QPaintEvent* a0;
         ::KMenuBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KMenuBar, &sipCpp, sipType_QPaintEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KMenuBar::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_KMenuBar, sipName_paintEvent, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KMenuBar(void *, const sipTypeDef *);}
static void *cast_KMenuBar(void *sipCppV, const sipTypeDef *targetType)
{
     ::KMenuBar *sipCpp = reinterpret_cast< ::KMenuBar *>(sipCppV);

    if (targetType == sipType_QMenuBar)
        return static_cast< ::QMenuBar *>(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_KMenuBar(void *, int);}
static void release_KMenuBar(void *sipCppV, int)
{
     ::KMenuBar *sipCpp = reinterpret_cast< ::KMenuBar *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KMenuBar(sipSimpleWrapper *);}
static void dealloc_KMenuBar(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKMenuBar *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KMenuBar(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KMenuBar(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KMenuBar(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKMenuBar *sipCpp = 0;

    {
         ::QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKMenuBar(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KMenuBar[] = {{64, 2, 1}};


static PyMethodDef methods_KMenuBar[] = {
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_KMenuBar_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_KMenuBar_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isTopLevelMenu), meth_KMenuBar_isTopLevelMenu, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_KMenuBar_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resize), meth_KMenuBar_resize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_KMenuBar_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFrameStyle), meth_KMenuBar_setFrameStyle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setGeometry), meth_KMenuBar_setGeometry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLineWidth), meth_KMenuBar_setLineWidth, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMargin), meth_KMenuBar_setMargin, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTopLevelMenu), meth_KMenuBar_setTopLevelMenu, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_KMenuBar_sizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotReadConfig), meth_KMenuBar_slotReadConfig, METH_VARARGS, NULL}
};


static pyqt4ClassPluginDef plugin_KMenuBar = {
    & ::KMenuBar::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KMenuBar = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KMenuBar,
        {0},
        &plugin_KMenuBar
    },
    {
        sipNameNr_KMenuBar,
        {0, 0, 1},
        13, methods_KMenuBar,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KMenuBar,
    0,
    init_type_KMenuBar,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KMenuBar,
    0,
    0,
    0,
    release_KMenuBar,
    cast_KMenuBar,
    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/kmenu.sip"
#include <kmenu.h>
#line 18096 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 18100 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 18103 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 18106 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 18109 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 18112 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 18115 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 18118 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 18121 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 18124 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 18127 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 18130 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 18133 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 18136 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 18139 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 18142 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 18145 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 18148 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 1003 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 18151 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 18154 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 18157 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 18160 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 18163 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 18166 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 18169 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 18172 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 18175 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 18178 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 18181 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 18184 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 18187 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 18190 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 18193 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 18196 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 18199 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 18202 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 18205 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 18208 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 18211 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 18214 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 18217 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 18220 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 18223 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 18226 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 18229 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 18232 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 18235 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 18238 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 18241 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 18244 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 18247 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 18250 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 18253 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 18256 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 18259 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 18262 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 18265 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 18268 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 18271 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 18274 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 18277 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 18280 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 18283 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 18286 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 18289 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 18292 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 18295 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 18298 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"


class sipKMenu : public  ::KMenu
{
public:
    sipKMenu( ::QWidget*);
    sipKMenu(const  ::QString&, ::QWidget*);
    virtual ~sipKMenu();

    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:
    sipKMenu(const sipKMenu &);
    sipKMenu &operator = (const sipKMenu &);

    char sipPyMethods[47];
};

sipKMenu::sipKMenu( ::QWidget*a0):  ::KMenu(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKMenu::sipKMenu(const  ::QString& a0, ::QWidget*a1):  ::KMenu(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKMenu::~sipKMenu()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKMenu::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KMenu);
}

int sipKMenu::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KMenu::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KMenu,_c,_id,_a);

    return _id;
}

void *sipKMenu::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KMenu, _clname)) ? this :  ::KMenu::qt_metacast(_clname);
}

void sipKMenu::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KMenu::languageChange();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKMenu::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KMenu::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenu::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KMenu::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 sipKMenu::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KMenu::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 sipKMenu::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KMenu::enabledChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKMenu::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KMenu::focusNextPrevChild(a0);

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QVariant sipKMenu::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  ::KMenu::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 sipKMenu::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KMenu::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenu::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KMenu::changeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenu::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KMenu::hideEvent(a0);
        return;
    }

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kdeui_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenu::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KMenu::showEvent(a0);
        return;
    }

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kdeui_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenu::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KMenu::dropEvent(a0);
        return;
    }

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kdeui_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenu::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KMenu::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kdeui_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenu::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KMenu::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kdeui_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenu::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KMenu::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kdeui_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenu::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KMenu::actionEvent(a0);
        return;
    }

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kdeui_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenu::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KMenu::tabletEvent(a0);
        return;
    }

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kdeui_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenu::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KMenu::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kdeui_22(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenu::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KMenu::closeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kdeui_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenu::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KMenu::resizeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kdeui_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenu::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KMenu::moveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kdeui_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenu::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KMenu::paintEvent(a0);
        return;
    }

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kdeui_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenu::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KMenu::leaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenu::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KMenu::enterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenu::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KMenu::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenu::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KMenu::focusInEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenu::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KMenu::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenu::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KMenu::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenu::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KMenu::wheelEvent(a0);
        return;
    }

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kdeui_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenu::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KMenu::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenu::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KMenu::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenu::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KMenu::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenu::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KMenu::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKMenu::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  ::KMenu::heightForWidth(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKMenu::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KMenu::minimumSizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKMenu::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KMenu::sizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKMenu::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KMenu::setVisible(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKMenu::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KMenu::devType();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipKMenu::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KMenu::paintEngine();

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKMenu::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  ::KMenu::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 sipKMenu::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KMenu::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKMenu::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KMenu::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 sipKMenu::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KMenu::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenu::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KMenu::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenu::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KMenu::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMenu::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KMenu::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 sipKMenu::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KMenu::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_KMenu_addTitle(PyObject *, PyObject *);}
static PyObject *meth_KMenu_addTitle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QAction* a1 = 0;
         ::KMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|J8", &sipSelf, sipType_KMenu, &sipCpp, sipType_QString,&a0, &a0State, sipType_QAction, &a1))
        {
             ::QAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addTitle(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_QAction,NULL);
        }
    }

    {
        const  ::QIcon* a0;
        const  ::QString* a1;
        int a1State = 0;
         ::QAction* a2 = 0;
         ::KMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J1|J8", &sipSelf, sipType_KMenu, &sipCpp, sipType_QIcon, &a0, sipType_QString,&a1, &a1State, sipType_QAction, &a2))
        {
             ::QAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addTitle(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            return sipConvertFromType(sipRes,sipType_QAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMenu, sipName_addTitle, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMenu_setKeyboardShortcutsEnabled(PyObject *, PyObject *);}
static PyObject *meth_KMenu_setKeyboardShortcutsEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::KMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KMenu, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setKeyboardShortcutsEnabled(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMenu, sipName_setKeyboardShortcutsEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMenu_setKeyboardShortcutsExecute(PyObject *, PyObject *);}
static PyObject *meth_KMenu_setKeyboardShortcutsExecute(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::KMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KMenu, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setKeyboardShortcutsExecute(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMenu, sipName_setKeyboardShortcutsExecute, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMenu_contextMenu(PyObject *, PyObject *);}
static PyObject *meth_KMenu_contextMenu(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KMenu, &sipCpp))
        {
             ::QMenu*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->contextMenu();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QMenu,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMenu, sipName_contextMenu, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMenu_hideContextMenu(PyObject *, PyObject *);}
static PyObject *meth_KMenu_hideContextMenu(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KMenu, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->hideContextMenu();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMenu, sipName_hideContextMenu, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMenu_contextMenuFocus(PyObject *, PyObject *);}
static PyObject *meth_KMenu_contextMenuFocus(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::KMenu*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KMenu::contextMenuFocus();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KMenu,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMenu, sipName_contextMenuFocus, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMenu_contextMenuFocusAction(PyObject *, PyObject *);}
static PyObject *meth_KMenu_contextMenuFocusAction(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KMenu::contextMenuFocusAction();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMenu, sipName_contextMenuFocusAction, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMenu_mouseButtons(PyObject *, PyObject *);}
static PyObject *meth_KMenu_mouseButtons(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KMenu, &sipCpp))
        {
             ::Qt::MouseButtons*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::Qt::MouseButtons(sipCpp->mouseButtons());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_Qt_MouseButtons,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMenu, sipName_mouseButtons, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMenu_keyboardModifiers(PyObject *, PyObject *);}
static PyObject *meth_KMenu_keyboardModifiers(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KMenu, &sipCpp))
        {
             ::Qt::KeyboardModifiers*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::Qt::KeyboardModifiers(sipCpp->keyboardModifiers());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_Qt_KeyboardModifiers,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMenu, sipName_keyboardModifiers, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMenu_closeEvent(PyObject *, PyObject *);}
static PyObject *meth_KMenu_closeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QCloseEvent* a0;
         ::KMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KMenu, &sipCpp, sipType_QCloseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KMenu::closeEvent(a0) : sipCpp->closeEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMenu, sipName_closeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMenu_keyPressEvent(PyObject *, PyObject *);}
static PyObject *meth_KMenu_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QKeyEvent* a0;
         ::KMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KMenu, &sipCpp, sipType_QKeyEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KMenu::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_KMenu, sipName_keyPressEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMenu_mouseReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_KMenu_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMouseEvent* a0;
         ::KMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KMenu, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KMenu::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_KMenu, sipName_mouseReleaseEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMenu_mousePressEvent(PyObject *, PyObject *);}
static PyObject *meth_KMenu_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMouseEvent* a0;
         ::KMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KMenu, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KMenu::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_KMenu, sipName_mousePressEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMenu_focusNextPrevChild(PyObject *, PyObject *);}
static PyObject *meth_KMenu_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
         ::KMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pb", &sipSelf, sipType_KMenu, &sipCpp, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::KMenu::focusNextPrevChild(a0) : sipCpp->focusNextPrevChild(a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMenu, sipName_focusNextPrevChild, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMenu_contextMenuEvent(PyObject *, PyObject *);}
static PyObject *meth_KMenu_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QContextMenuEvent* a0;
         ::KMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KMenu, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KMenu::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_KMenu, sipName_contextMenuEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMenu_hideEvent(PyObject *, PyObject *);}
static PyObject *meth_KMenu_hideEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QHideEvent* a0;
         ::KMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KMenu, &sipCpp, sipType_QHideEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KMenu::hideEvent(a0) : sipCpp->hideEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMenu, sipName_hideEvent, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KMenu(void *, const sipTypeDef *);}
static void *cast_KMenu(void *sipCppV, const sipTypeDef *targetType)
{
     ::KMenu *sipCpp = reinterpret_cast< ::KMenu *>(sipCppV);

    if (targetType == sipType_QMenu)
        return static_cast< ::QMenu *>(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_KMenu(void *, int);}
static void release_KMenu(void *sipCppV, int)
{
     ::KMenu *sipCpp = reinterpret_cast< ::KMenu *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KMenu(sipSimpleWrapper *);}
static void dealloc_KMenu(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKMenu *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KMenu(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KMenu(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KMenu(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKMenu *sipCpp = 0;

    {
         ::QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKMenu(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 sipKMenu(*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_KMenu[] = {{63, 2, 1}};


static PyMethodDef methods_KMenu[] = {
    {SIP_MLNAME_CAST(sipName_addTitle), meth_KMenu_addTitle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_KMenu_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenu), meth_KMenu_contextMenu, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_KMenu_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuFocus), meth_KMenu_contextMenuFocus, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuFocusAction), meth_KMenu_contextMenuFocusAction, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), meth_KMenu_focusNextPrevChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideContextMenu), meth_KMenu_hideContextMenu, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_KMenu_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_KMenu_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyboardModifiers), meth_KMenu_keyboardModifiers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseButtons), meth_KMenu_mouseButtons, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_KMenu_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_KMenu_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setKeyboardShortcutsEnabled), meth_KMenu_setKeyboardShortcutsEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setKeyboardShortcutsExecute), meth_KMenu_setKeyboardShortcutsExecute, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KMenu[] = {
    {"aboutToShowContextMenu(KMenu*,QAction*,QMenu*)", 0, 0, 0},
    {0, 0, 0, 0}
};


static pyqt4ClassPluginDef plugin_KMenu = {
    & ::KMenu::staticMetaObject,
    0,
    signals_KMenu
};


sipClassTypeDef sipTypeDef_kdeui_KMenu = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KMenu,
        {0},
        &plugin_KMenu
    },
    {
        sipNameNr_KMenu,
        {0, 0, 1},
        16, methods_KMenu,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KMenu,
    0,
    init_type_KMenu,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KMenu,
    0,
    0,
    0,
    release_KMenu,
    cast_KMenu,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 56 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kmanagerselection.sip"
#include <kmanagerselection.h>
#line 19869 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"

#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 19873 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 19876 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 19879 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 19882 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 19885 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 19888 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 19891 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 19894 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 19897 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 19900 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 19903 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 19906 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 19909 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"


class sipKSelectionWatcher : public  ::KSelectionWatcher
{
public:
    sipKSelectionWatcher( ::Atom,int, ::QObject*);
    sipKSelectionWatcher(const char*,int, ::QObject*);
    virtual ~sipKSelectionWatcher();

    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:
    sipKSelectionWatcher(const sipKSelectionWatcher &);
    sipKSelectionWatcher &operator = (const sipKSelectionWatcher &);

    char sipPyMethods[7];
};

sipKSelectionWatcher::sipKSelectionWatcher( ::Atom a0,int a1, ::QObject*a2):  ::KSelectionWatcher(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKSelectionWatcher::sipKSelectionWatcher(const char*a0,int a1, ::QObject*a2):  ::KSelectionWatcher(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKSelectionWatcher::~sipKSelectionWatcher()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKSelectionWatcher::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KSelectionWatcher);
}

int sipKSelectionWatcher::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KSelectionWatcher::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KSelectionWatcher,_c,_id,_a);

    return _id;
}

void *sipKSelectionWatcher::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KSelectionWatcher, _clname)) ? this :  ::KSelectionWatcher::qt_metacast(_clname);
}

bool sipKSelectionWatcher::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KSelectionWatcher::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKSelectionWatcher::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KSelectionWatcher::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 sipKSelectionWatcher::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KSelectionWatcher::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelectionWatcher::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KSelectionWatcher::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelectionWatcher::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KSelectionWatcher::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelectionWatcher::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KSelectionWatcher::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 sipKSelectionWatcher::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KSelectionWatcher::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_KSelectionWatcher_owner(PyObject *, PyObject *);}
static PyObject *meth_KSelectionWatcher_owner(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KSelectionWatcher *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KSelectionWatcher, &sipCpp))
        {
             ::Window sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->owner();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSelectionWatcher, sipName_owner, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KSelectionWatcher(void *, const sipTypeDef *);}
static void *cast_KSelectionWatcher(void *sipCppV, const sipTypeDef *targetType)
{
     ::KSelectionWatcher *sipCpp = reinterpret_cast< ::KSelectionWatcher *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KSelectionWatcher(void *, int);}
static void release_KSelectionWatcher(void *sipCppV, int)
{
     ::KSelectionWatcher *sipCpp = reinterpret_cast< ::KSelectionWatcher *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KSelectionWatcher(sipSimpleWrapper *);}
static void dealloc_KSelectionWatcher(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKSelectionWatcher *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KSelectionWatcher(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KSelectionWatcher(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KSelectionWatcher(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKSelectionWatcher *sipCpp = 0;

    {
         ::Atom a0;
        int a1 = -1;
         ::QObject* a2 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "m|iJH", &a0, &a1, sipType_QObject, &a2, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKSelectionWatcher(a0,a1,a2);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const char* a0;
        int a1 = -1;
         ::QObject* a2 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "s|iJH", &a0, &a1, sipType_QObject, &a2, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKSelectionWatcher(a0,a1,a2);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KSelectionWatcher[] = {{19, 0, 1}};


static PyMethodDef methods_KSelectionWatcher[] = {
    {SIP_MLNAME_CAST(sipName_owner), meth_KSelectionWatcher_owner, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KSelectionWatcher[] = {
    {"lostOwner()", 0, 0, 0},
    {"newOwner(Window)", 0, 0, 0},
    {0, 0, 0, 0}
};


static pyqt4ClassPluginDef plugin_KSelectionWatcher = {
    & ::KSelectionWatcher::staticMetaObject,
    0,
    signals_KSelectionWatcher
};


sipClassTypeDef sipTypeDef_kdeui_KSelectionWatcher = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KSelectionWatcher,
        {0},
        &plugin_KSelectionWatcher
    },
    {
        sipNameNr_KSelectionWatcher,
        {0, 0, 1},
        1, methods_KSelectionWatcher,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KSelectionWatcher,
    0,
    init_type_KSelectionWatcher,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KSelectionWatcher,
    0,
    0,
    0,
    release_KSelectionWatcher,
    cast_KSelectionWatcher,
    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/kmanagerselection.sip"
#include <kmanagerselection.h>
#line 20290 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"

#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 20294 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 20297 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 20300 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 20303 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 20306 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 20309 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 20312 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 20315 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 20318 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 20321 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 20324 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 20327 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 20330 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"


class sipKSelectionOwner : public  ::KSelectionOwner
{
public:
    sipKSelectionOwner( ::Atom,int, ::QObject*);
    sipKSelectionOwner(const char*,int, ::QObject*);
    virtual ~sipKSelectionOwner();

    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 getAtoms();
    void replyTargets( ::Atom, ::Window);
    bool genericReply( ::Atom, ::Atom, ::Window);
    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:
    sipKSelectionOwner(const sipKSelectionOwner &);
    sipKSelectionOwner &operator = (const sipKSelectionOwner &);

    char sipPyMethods[10];
};

sipKSelectionOwner::sipKSelectionOwner( ::Atom a0,int a1, ::QObject*a2):  ::KSelectionOwner(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKSelectionOwner::sipKSelectionOwner(const char*a0,int a1, ::QObject*a2):  ::KSelectionOwner(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKSelectionOwner::~sipKSelectionOwner()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKSelectionOwner::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KSelectionOwner);
}

int sipKSelectionOwner::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KSelectionOwner::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KSelectionOwner,_c,_id,_a);

    return _id;
}

void *sipKSelectionOwner::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KSelectionOwner, _clname)) ? this :  ::KSelectionOwner::qt_metacast(_clname);
}

void sipKSelectionOwner::getAtoms()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_getAtoms);

    if (!sipMeth)
    {
         ::KSelectionOwner::getAtoms();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKSelectionOwner::replyTargets( ::Atom a0, ::Window a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_replyTargets);

    if (!sipMeth)
    {
         ::KSelectionOwner::replyTargets(a0,a1);
        return;
    }

    extern void sipVH_kdeui_167(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Atom, ::Window);

    sipVH_kdeui_167(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKSelectionOwner::genericReply( ::Atom a0, ::Atom a1, ::Window a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_genericReply);

    if (!sipMeth)
        return  ::KSelectionOwner::genericReply(a0,a1,a2);

    extern bool sipVH_kdeui_166(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Atom, ::Atom, ::Window);

    return sipVH_kdeui_166(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKSelectionOwner::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KSelectionOwner::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKSelectionOwner::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KSelectionOwner::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 sipKSelectionOwner::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KSelectionOwner::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelectionOwner::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KSelectionOwner::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelectionOwner::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KSelectionOwner::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelectionOwner::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KSelectionOwner::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 sipKSelectionOwner::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KSelectionOwner::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_KSelectionOwner_claim(PyObject *, PyObject *);}
static PyObject *meth_KSelectionOwner_claim(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        bool a1 = 1;
         ::KSelectionOwner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb|b", &sipSelf, sipType_KSelectionOwner, &sipCpp, &a0, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->claim(a0,a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSelectionOwner, sipName_claim, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSelectionOwner_release(PyObject *, PyObject *);}
static PyObject *meth_KSelectionOwner_release(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KSelectionOwner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KSelectionOwner, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->release();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSelectionOwner, sipName_release, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSelectionOwner_ownerWindow(PyObject *, PyObject *);}
static PyObject *meth_KSelectionOwner_ownerWindow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KSelectionOwner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KSelectionOwner, &sipCpp))
        {
             ::Window sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->ownerWindow();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSelectionOwner, sipName_ownerWindow, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSelectionOwner_genericReply(PyObject *, PyObject *);}
static PyObject *meth_KSelectionOwner_genericReply(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::Atom a0;
         ::Atom a1;
         ::Window a2;
         ::KSelectionOwner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pmmm", &sipSelf, sipType_KSelectionOwner, &sipCpp, &a0, &a1, &a2))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::KSelectionOwner::genericReply(a0,a1,a2) : sipCpp->genericReply(a0,a1,a2));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSelectionOwner, sipName_genericReply, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSelectionOwner_replyTargets(PyObject *, PyObject *);}
static PyObject *meth_KSelectionOwner_replyTargets(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::Atom a0;
         ::Window a1;
         ::KSelectionOwner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pmm", &sipSelf, sipType_KSelectionOwner, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KSelectionOwner::replyTargets(a0,a1) : sipCpp->replyTargets(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_KSelectionOwner, sipName_replyTargets, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSelectionOwner_getAtoms(PyObject *, PyObject *);}
static PyObject *meth_KSelectionOwner_getAtoms(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::KSelectionOwner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KSelectionOwner, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KSelectionOwner::getAtoms() : sipCpp->getAtoms());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSelectionOwner, sipName_getAtoms, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSelectionOwner_setData(PyObject *, PyObject *);}
static PyObject *meth_KSelectionOwner_setData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        long a0;
        long a1;
         ::KSelectionOwner *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pll", &sipSelf, sipType_KSelectionOwner, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setData(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_KSelectionOwner, sipName_setData, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KSelectionOwner(void *, const sipTypeDef *);}
static void *cast_KSelectionOwner(void *sipCppV, const sipTypeDef *targetType)
{
     ::KSelectionOwner *sipCpp = reinterpret_cast< ::KSelectionOwner *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KSelectionOwner(void *, int);}
static void release_KSelectionOwner(void *sipCppV, int)
{
     ::KSelectionOwner *sipCpp = reinterpret_cast< ::KSelectionOwner *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KSelectionOwner(sipSimpleWrapper *);}
static void dealloc_KSelectionOwner(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKSelectionOwner *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KSelectionOwner(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KSelectionOwner(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KSelectionOwner(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKSelectionOwner *sipCpp = 0;

    {
         ::Atom a0;
        int a1 = -1;
         ::QObject* a2 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "m|iJH", &a0, &a1, sipType_QObject, &a2, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKSelectionOwner(a0,a1,a2);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const char* a0;
        int a1 = -1;
         ::QObject* a2 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "s|iJH", &a0, &a1, sipType_QObject, &a2, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKSelectionOwner(a0,a1,a2);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KSelectionOwner[] = {{19, 0, 1}};


static PyMethodDef methods_KSelectionOwner[] = {
    {SIP_MLNAME_CAST(sipName_claim), meth_KSelectionOwner_claim, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_genericReply), meth_KSelectionOwner_genericReply, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getAtoms), meth_KSelectionOwner_getAtoms, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ownerWindow), meth_KSelectionOwner_ownerWindow, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_release), meth_KSelectionOwner_release, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_replyTargets), meth_KSelectionOwner_replyTargets, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setData), meth_KSelectionOwner_setData, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KSelectionOwner[] = {
    {"lostOwnership()", 0, 0, 0},
    {0, 0, 0, 0}
};


static pyqt4ClassPluginDef plugin_KSelectionOwner = {
    & ::KSelectionOwner::staticMetaObject,
    0,
    signals_KSelectionOwner
};


sipClassTypeDef sipTypeDef_kdeui_KSelectionOwner = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KSelectionOwner,
        {0},
        &plugin_KSelectionOwner
    },
    {
        sipNameNr_KSelectionOwner,
        {0, 0, 1},
        7, methods_KSelectionOwner,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KSelectionOwner,
    0,
    init_type_KSelectionOwner,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KSelectionOwner,
    0,
    0,
    0,
    release_KSelectionOwner,
    cast_KSelectionOwner,
    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/kmainwindow.sip"
#include <kmainwindow.h>
#line 20940 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 20944 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 20947 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.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 20950 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.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 20953 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 20956 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 20959 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 20962 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 20965 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/ktoolbar.sip"
#include <ktoolbar.h>
#line 20968 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 20971 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#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 20974 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kmenubar.sip"
#include <kmenubar.h>
#line 20977 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.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 20980 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 20983 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qdockwidget.sip"
#include <qdockwidget.h>
#line 20986 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 20989 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qtabwidget.sip"
#include <qtabwidget.h>
#line 20992 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 20995 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qtoolbar.sip"
#include <qtoolbar.h>
#line 20998 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qmainwindow.sip"
#include <qmainwindow.h>
#line 21001 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 21004 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21007 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 21010 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 21013 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 21016 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstatusbar.sip"
#include <qstatusbar.h>
#line 21019 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qmenubar.sip"
#include <qmenubar.h>
#line 21022 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21025 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 21028 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21031 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 21034 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 21037 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 21040 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 21043 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 21046 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 21049 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 21052 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 21055 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 21058 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 21061 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 21064 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 21067 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 21070 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21073 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21076 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21079 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21082 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21085 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21088 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21091 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21094 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21097 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21100 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21103 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21106 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21109 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21112 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21115 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21118 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 21121 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 21124 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 21127 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 21130 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 21133 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 21136 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 21139 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21142 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 21145 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 21148 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 21151 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 21154 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 21157 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 21160 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 21163 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 21166 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 21169 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 21172 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 21175 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 21178 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 21181 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"


class sipKMainWindow : public  ::KMainWindow
{
public:
    sipKMainWindow( ::QWidget*, ::Qt::WindowFlags);
    virtual ~sipKMainWindow();

    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 showAboutApplication();
    void readGlobalProperties( ::KConfig*);
    void saveGlobalProperties( ::KConfig*);
    void readProperties(const  ::KConfigGroup&);
    void saveProperties( ::KConfigGroup&);
    bool queryClose();
    bool queryExit();
    void setPlainCaption(const  ::QString&);
    void setCaption(const  ::QString&,bool);
    void setCaption(const  ::QString&);
    void applyMainWindowSettings(const  ::KConfigGroup&,bool);
    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*);
     ::QMenu* createPopupMenu();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKMainWindow(const sipKMainWindow &);
    sipKMainWindow &operator = (const sipKMainWindow &);

    char sipPyMethods[59];
};

sipKMainWindow::sipKMainWindow( ::QWidget*a0, ::Qt::WindowFlags a1):  ::KMainWindow(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKMainWindow::~sipKMainWindow()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKMainWindow::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KMainWindow);
}

int sipKMainWindow::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KMainWindow::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KMainWindow,_c,_id,_a);

    return _id;
}

void *sipKMainWindow::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KMainWindow, _clname)) ? this :  ::KMainWindow::qt_metacast(_clname);
}

void sipKMainWindow::showAboutApplication()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_showAboutApplication);

    if (!sipMeth)
    {
         ::KMainWindow::showAboutApplication();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKMainWindow::readGlobalProperties( ::KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_readGlobalProperties);

    if (!sipMeth)
    {
         ::KMainWindow::readGlobalProperties(a0);
        return;
    }

    extern void sipVH_kdeui_130(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KConfig*);

    sipVH_kdeui_130(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMainWindow::saveGlobalProperties( ::KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_saveGlobalProperties);

    if (!sipMeth)
    {
         ::KMainWindow::saveGlobalProperties(a0);
        return;
    }

    extern void sipVH_kdeui_130(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KConfig*);

    sipVH_kdeui_130(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMainWindow::readProperties(const  ::KConfigGroup& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_readProperties);

    if (!sipMeth)
    {
         ::KMainWindow::readProperties(a0);
        return;
    }

    extern void sipVH_kdeui_165(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::KConfigGroup&);

    sipVH_kdeui_165(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMainWindow::saveProperties( ::KConfigGroup& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_saveProperties);

    if (!sipMeth)
    {
         ::KMainWindow::saveProperties(a0);
        return;
    }

    extern void sipVH_kdeui_164(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KConfigGroup&);

    sipVH_kdeui_164(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKMainWindow::queryClose()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_queryClose);

    if (!sipMeth)
        return  ::KMainWindow::queryClose();

    extern bool sipVH_kdeui_54(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_54(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKMainWindow::queryExit()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_queryExit);

    if (!sipMeth)
        return  ::KMainWindow::queryExit();

    extern bool sipVH_kdeui_54(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_54(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKMainWindow::setPlainCaption(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_setPlainCaption);

    if (!sipMeth)
    {
         ::KMainWindow::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 sipKMainWindow::setCaption(const  ::QString& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
         ::KMainWindow::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 sipKMainWindow::setCaption(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
         ::KMainWindow::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 sipKMainWindow::applyMainWindowSettings(const  ::KConfigGroup& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_applyMainWindowSettings);

    if (!sipMeth)
    {
         ::KMainWindow::applyMainWindowSettings(a0,a1);
        return;
    }

    extern void sipVH_kdeui_163(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::KConfigGroup&,bool);

    sipVH_kdeui_163(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKMainWindow::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KMainWindow::languageChange();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKMainWindow::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KMainWindow::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMainWindow::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KMainWindow::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 sipKMainWindow::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KMainWindow::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 sipKMainWindow::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KMainWindow::enabledChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKMainWindow::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KMainWindow::focusNextPrevChild(a0);

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QVariant sipKMainWindow::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::KMainWindow::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 sipKMainWindow::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KMainWindow::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMainWindow::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KMainWindow::changeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMainWindow::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KMainWindow::hideEvent(a0);
        return;
    }

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kdeui_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMainWindow::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KMainWindow::showEvent(a0);
        return;
    }

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kdeui_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMainWindow::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KMainWindow::dropEvent(a0);
        return;
    }

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kdeui_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMainWindow::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KMainWindow::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kdeui_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMainWindow::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KMainWindow::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kdeui_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMainWindow::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KMainWindow::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kdeui_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMainWindow::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KMainWindow::actionEvent(a0);
        return;
    }

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kdeui_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMainWindow::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KMainWindow::tabletEvent(a0);
        return;
    }

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kdeui_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMainWindow::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KMainWindow::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kdeui_22(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMainWindow::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KMainWindow::closeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kdeui_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMainWindow::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KMainWindow::resizeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kdeui_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMainWindow::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KMainWindow::moveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kdeui_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMainWindow::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KMainWindow::paintEvent(a0);
        return;
    }

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kdeui_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMainWindow::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KMainWindow::leaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMainWindow::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KMainWindow::enterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMainWindow::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KMainWindow::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMainWindow::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KMainWindow::focusInEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMainWindow::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KMainWindow::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMainWindow::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KMainWindow::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMainWindow::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KMainWindow::wheelEvent(a0);
        return;
    }

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kdeui_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMainWindow::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KMainWindow::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMainWindow::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KMainWindow::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMainWindow::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KMainWindow::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMainWindow::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KMainWindow::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKMainWindow::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::KMainWindow::heightForWidth(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKMainWindow::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KMainWindow::minimumSizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKMainWindow::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KMainWindow::sizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKMainWindow::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KMainWindow::setVisible(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKMainWindow::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[48]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KMainWindow::devType();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipKMainWindow::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[49]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KMainWindow::paintEngine();

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKMainWindow::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[50]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::KMainWindow::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 sipKMainWindow::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KMainWindow::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKMainWindow::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KMainWindow::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 sipKMainWindow::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KMainWindow::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMainWindow::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KMainWindow::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMainWindow::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KMainWindow::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKMainWindow::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KMainWindow::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 sipKMainWindow::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KMainWindow::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QMenu* sipKMainWindow::createPopupMenu()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_createPopupMenu);

    if (!sipMeth)
        return  ::KMainWindow::createPopupMenu();

    extern  ::QMenu* sipVH_kdeui_162(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_162(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KMainWindow_helpMenu(PyObject *, PyObject *);}
static PyObject *meth_KMainWindow_helpMenu(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString& a0def = QString();
        const  ::QString* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
         ::KMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J1b", &sipSelf, sipType_KMainWindow, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
             ::KMenu*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->helpMenu(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_KMenu,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMainWindow, sipName_helpMenu, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMainWindow_customHelpMenu(PyObject *, PyObject *);}
static PyObject *meth_KMainWindow_customHelpMenu(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
         ::KMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|b", &sipSelf, sipType_KMainWindow, &sipCpp, &a0))
        {
             ::KMenu*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->customHelpMenu(a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KMenu,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMainWindow, sipName_customHelpMenu, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMainWindow_canBeRestored(PyObject *, PyObject *);}
static PyObject *meth_KMainWindow_canBeRestored(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "i", &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KMainWindow::canBeRestored(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMainWindow, sipName_canBeRestored, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMainWindow_classNameOfToplevel(PyObject *, PyObject *);}
static PyObject *meth_KMainWindow_classNameOfToplevel(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "i", &a0))
        {
             ::QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString( ::KMainWindow::classNameOfToplevel(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMainWindow, sipName_classNameOfToplevel, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMainWindow_restore(PyObject *, PyObject *);}
static PyObject *meth_KMainWindow_restore(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        bool a1 = 1;
         ::KMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi|b", &sipSelf, sipType_KMainWindow, &sipCpp, &a0, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->restore(a0,a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMainWindow, sipName_restore, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMainWindow_hasMenuBar(PyObject *, PyObject *);}
static PyObject *meth_KMainWindow_hasMenuBar(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KMainWindow, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasMenuBar();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMainWindow, sipName_hasMenuBar, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMainWindow_menuBar(PyObject *, PyObject *);}
static PyObject *meth_KMainWindow_menuBar(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KMainWindow, &sipCpp))
        {
             ::KMenuBar*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->menuBar();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KMenuBar,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMainWindow, sipName_menuBar, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMainWindow_statusBar(PyObject *, PyObject *);}
static PyObject *meth_KMainWindow_statusBar(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KMainWindow, &sipCpp))
        {
             ::KStatusBar*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->statusBar();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KStatusBar,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMainWindow, sipName_statusBar, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMainWindow_memberList(PyObject *, PyObject *);}
static PyObject *meth_KMainWindow_memberList(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QList< ::KMainWindow*>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList< ::KMainWindow*>( ::KMainWindow::memberList());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0101KMainWindow,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMainWindow, sipName_memberList, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMainWindow_toolBar(PyObject *, PyObject *);}
static PyObject *meth_KMainWindow_toolBar(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString& a0def = QString();
        const  ::QString* a0 = &a0def;
        int a0State = 0;
         ::KMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J1", &sipSelf, sipType_KMainWindow, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::KToolBar*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toolBar(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_KToolBar,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMainWindow, sipName_toolBar, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMainWindow_toolBars(PyObject *, PyObject *);}
static PyObject *meth_KMainWindow_toolBars(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KMainWindow, &sipCpp))
        {
            QList< ::KToolBar*>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList< ::KToolBar*>(sipCpp->toolBars());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0101KToolBar,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMainWindow, sipName_toolBars, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMainWindow_setAutoSaveSettings(PyObject *, PyObject *);}
static PyObject *meth_KMainWindow_setAutoSaveSettings(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString& a0def = QLatin1String("MainWindow");
        const  ::QString* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
         ::KMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J1b", &sipSelf, sipType_KMainWindow, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAutoSaveSettings(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::KConfigGroup* a0;
        bool a1 = 1;
         ::KMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9|b", &sipSelf, sipType_KMainWindow, &sipCpp, sipType_KConfigGroup, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAutoSaveSettings(*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_KMainWindow, sipName_setAutoSaveSettings, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMainWindow_resetAutoSaveSettings(PyObject *, PyObject *);}
static PyObject *meth_KMainWindow_resetAutoSaveSettings(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KMainWindow, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->resetAutoSaveSettings();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMainWindow, sipName_resetAutoSaveSettings, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMainWindow_autoSaveSettings(PyObject *, PyObject *);}
static PyObject *meth_KMainWindow_autoSaveSettings(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KMainWindow, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->autoSaveSettings();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMainWindow, sipName_autoSaveSettings, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMainWindow_autoSaveGroup(PyObject *, PyObject *);}
static PyObject *meth_KMainWindow_autoSaveGroup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KMainWindow, &sipCpp))
        {
             ::QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString(sipCpp->autoSaveGroup());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMainWindow, sipName_autoSaveGroup, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMainWindow_autoSaveConfigGroup(PyObject *, PyObject *);}
static PyObject *meth_KMainWindow_autoSaveConfigGroup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KMainWindow, &sipCpp))
        {
             ::KConfigGroup*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KConfigGroup(sipCpp->autoSaveConfigGroup());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KConfigGroup,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMainWindow, sipName_autoSaveConfigGroup, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMainWindow_applyMainWindowSettings(PyObject *, PyObject *);}
static PyObject *meth_KMainWindow_applyMainWindowSettings(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::KConfigGroup* a0;
        bool a1 = 0;
         ::KMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9|b", &sipSelf, sipType_KMainWindow, &sipCpp, sipType_KConfigGroup, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KMainWindow::applyMainWindowSettings(*a0,a1) : sipCpp->applyMainWindowSettings(*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_KMainWindow, sipName_applyMainWindowSettings, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMainWindow_saveMainWindowSettings(PyObject *, PyObject *);}
static PyObject *meth_KMainWindow_saveMainWindowSettings(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KConfigGroup* a0;
         ::KMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KMainWindow, &sipCpp, sipType_KConfigGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->saveMainWindowSettings(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMainWindow, sipName_saveMainWindowSettings, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMainWindow_initialGeometrySet(PyObject *, PyObject *);}
static PyObject *meth_KMainWindow_initialGeometrySet(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KMainWindow, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->initialGeometrySet();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMainWindow, sipName_initialGeometrySet, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMainWindow_ignoreInitialGeometry(PyObject *, PyObject *);}
static PyObject *meth_KMainWindow_ignoreInitialGeometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KMainWindow, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->ignoreInitialGeometry();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMainWindow, sipName_ignoreInitialGeometry, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMainWindow_dbusName(PyObject *, PyObject *);}
static PyObject *meth_KMainWindow_dbusName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KMainWindow, &sipCpp))
        {
             ::QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString(sipCpp->dbusName());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMainWindow, sipName_dbusName, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMainWindow_setCaption(PyObject *, PyObject *);}
static PyObject *meth_KMainWindow_setCaption(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QString* a0;
        int a0State = 0;
         ::KMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KMainWindow, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KMainWindow::setCaption(*a0) : sipCpp->setCaption(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        bool a1;
         ::KMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1b", &sipSelf, sipType_KMainWindow, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KMainWindow::setCaption(*a0,a1) : sipCpp->setCaption(*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_KMainWindow, sipName_setCaption, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMainWindow_setPlainCaption(PyObject *, PyObject *);}
static PyObject *meth_KMainWindow_setPlainCaption(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QString* a0;
        int a0State = 0;
         ::KMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KMainWindow, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KMainWindow::setPlainCaption(*a0) : sipCpp->setPlainCaption(*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_KMainWindow, sipName_setPlainCaption, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMainWindow_appHelpActivated(PyObject *, PyObject *);}
static PyObject *meth_KMainWindow_appHelpActivated(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KMainWindow, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->appHelpActivated();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMainWindow, sipName_appHelpActivated, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMainWindow_setSettingsDirty(PyObject *, PyObject *);}
static PyObject *meth_KMainWindow_setSettingsDirty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KMainWindow, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSettingsDirty();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMainWindow, sipName_setSettingsDirty, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMainWindow_event(PyObject *, PyObject *);}
static PyObject *meth_KMainWindow_event(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
         ::KMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KMainWindow, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::KMainWindow::event(a0) : sipCpp->event(a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMainWindow, sipName_event, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMainWindow_closeEvent(PyObject *, PyObject *);}
static PyObject *meth_KMainWindow_closeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QCloseEvent* a0;
         ::KMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KMainWindow, &sipCpp, sipType_QCloseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KMainWindow::closeEvent(a0) : sipCpp->closeEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMainWindow, sipName_closeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMainWindow_queryExit(PyObject *, PyObject *);}
static PyObject *meth_KMainWindow_queryExit(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::KMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KMainWindow, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::KMainWindow::queryExit() : sipCpp->queryExit());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMainWindow, sipName_queryExit, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMainWindow_queryClose(PyObject *, PyObject *);}
static PyObject *meth_KMainWindow_queryClose(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::KMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KMainWindow, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::KMainWindow::queryClose() : sipCpp->queryClose());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMainWindow, sipName_queryClose, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMainWindow_saveProperties(PyObject *, PyObject *);}
static PyObject *meth_KMainWindow_saveProperties(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::KConfigGroup* a0;
         ::KMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9", &sipSelf, sipType_KMainWindow, &sipCpp, sipType_KConfigGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KMainWindow::saveProperties(*a0) : sipCpp->saveProperties(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMainWindow, sipName_saveProperties, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMainWindow_readProperties(PyObject *, PyObject *);}
static PyObject *meth_KMainWindow_readProperties(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::KConfigGroup* a0;
         ::KMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9", &sipSelf, sipType_KMainWindow, &sipCpp, sipType_KConfigGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KMainWindow::readProperties(*a0) : sipCpp->readProperties(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMainWindow, sipName_readProperties, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMainWindow_saveGlobalProperties(PyObject *, PyObject *);}
static PyObject *meth_KMainWindow_saveGlobalProperties(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::KConfig* a0;
         ::KMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KMainWindow, &sipCpp, sipType_KConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KMainWindow::saveGlobalProperties(a0) : sipCpp->saveGlobalProperties(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMainWindow, sipName_saveGlobalProperties, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMainWindow_readGlobalProperties(PyObject *, PyObject *);}
static PyObject *meth_KMainWindow_readGlobalProperties(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::KConfig* a0;
         ::KMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KMainWindow, &sipCpp, sipType_KConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KMainWindow::readGlobalProperties(a0) : sipCpp->readGlobalProperties(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMainWindow, sipName_readGlobalProperties, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMainWindow_savePropertiesInternal(PyObject *, PyObject *);}
static PyObject *meth_KMainWindow_savePropertiesInternal(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KConfig* a0;
        int a1;
         ::KMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8i", &sipSelf, sipType_KMainWindow, &sipCpp, sipType_KConfig, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->savePropertiesInternal(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_KMainWindow, sipName_savePropertiesInternal, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMainWindow_readPropertiesInternal(PyObject *, PyObject *);}
static PyObject *meth_KMainWindow_readPropertiesInternal(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KConfig* a0;
        int a1;
         ::KMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8i", &sipSelf, sipType_KMainWindow, &sipCpp, sipType_KConfig, &a0, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->readPropertiesInternal(a0,a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMainWindow, sipName_readPropertiesInternal, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMainWindow_settingsDirty(PyObject *, PyObject *);}
static PyObject *meth_KMainWindow_settingsDirty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KMainWindow, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->settingsDirty();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMainWindow, sipName_settingsDirty, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMainWindow_saveWindowSize(PyObject *, PyObject *);}
static PyObject *meth_KMainWindow_saveWindowSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KConfigGroup* a0;
        const  ::KMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9", &sipSelf, sipType_KMainWindow, &sipCpp, sipType_KConfigGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->saveWindowSize(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMainWindow, sipName_saveWindowSize, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMainWindow_restoreWindowSize(PyObject *, PyObject *);}
static PyObject *meth_KMainWindow_restoreWindowSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KConfigGroup* a0;
         ::KMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9", &sipSelf, sipType_KMainWindow, &sipCpp, sipType_KConfigGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->restoreWindowSize(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMainWindow, sipName_restoreWindowSize, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMainWindow_parseGeometry(PyObject *, PyObject *);}
static PyObject *meth_KMainWindow_parseGeometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::KMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pb", &sipSelf, sipType_KMainWindow, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->parseGeometry(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMainWindow, sipName_parseGeometry, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMainWindow_showAboutApplication(PyObject *, PyObject *);}
static PyObject *meth_KMainWindow_showAboutApplication(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::KMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KMainWindow, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KMainWindow::showAboutApplication() : sipCpp->showAboutApplication());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMainWindow, sipName_showAboutApplication, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KMainWindow_saveAutoSaveSettings(PyObject *, PyObject *);}
static PyObject *meth_KMainWindow_saveAutoSaveSettings(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KMainWindow, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->saveAutoSaveSettings();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KMainWindow, sipName_saveAutoSaveSettings, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KMainWindow(void *, const sipTypeDef *);}
static void *cast_KMainWindow(void *sipCppV, const sipTypeDef *targetType)
{
     ::KMainWindow *sipCpp = reinterpret_cast< ::KMainWindow *>(sipCppV);

    if (targetType == sipType_QMainWindow)
        return static_cast< ::QMainWindow *>(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_KMainWindow(void *, int);}
static void release_KMainWindow(void *sipCppV, int)
{
     ::KMainWindow *sipCpp = reinterpret_cast< ::KMainWindow *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KMainWindow(sipSimpleWrapper *);}
static void dealloc_KMainWindow(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKMainWindow *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KMainWindow(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KMainWindow(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KMainWindow(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKMainWindow *sipCpp = 0;

    {
         ::QWidget* a0 = 0;
         ::Qt::WindowFlags a1def = 0;
         ::Qt::WindowFlags* 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 sipKMainWindow(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_KMainWindow[] = {{62, 2, 1}};


static PyMethodDef methods_KMainWindow[] = {
    {SIP_MLNAME_CAST(sipName_appHelpActivated), meth_KMainWindow_appHelpActivated, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_applyMainWindowSettings), meth_KMainWindow_applyMainWindowSettings, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_autoSaveConfigGroup), meth_KMainWindow_autoSaveConfigGroup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_autoSaveGroup), meth_KMainWindow_autoSaveGroup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_autoSaveSettings), meth_KMainWindow_autoSaveSettings, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_canBeRestored), meth_KMainWindow_canBeRestored, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_classNameOfToplevel), meth_KMainWindow_classNameOfToplevel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_KMainWindow_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customHelpMenu), meth_KMainWindow_customHelpMenu, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dbusName), meth_KMainWindow_dbusName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_KMainWindow_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasMenuBar), meth_KMainWindow_hasMenuBar, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_helpMenu), meth_KMainWindow_helpMenu, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ignoreInitialGeometry), meth_KMainWindow_ignoreInitialGeometry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_initialGeometrySet), meth_KMainWindow_initialGeometrySet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_memberList), meth_KMainWindow_memberList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_menuBar), meth_KMainWindow_menuBar, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_parseGeometry), meth_KMainWindow_parseGeometry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_queryClose), meth_KMainWindow_queryClose, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_queryExit), meth_KMainWindow_queryExit, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readGlobalProperties), meth_KMainWindow_readGlobalProperties, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readProperties), meth_KMainWindow_readProperties, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readPropertiesInternal), meth_KMainWindow_readPropertiesInternal, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resetAutoSaveSettings), meth_KMainWindow_resetAutoSaveSettings, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_restore), meth_KMainWindow_restore, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_restoreWindowSize), meth_KMainWindow_restoreWindowSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_saveAutoSaveSettings), meth_KMainWindow_saveAutoSaveSettings, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_saveGlobalProperties), meth_KMainWindow_saveGlobalProperties, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_saveMainWindowSettings), meth_KMainWindow_saveMainWindowSettings, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_saveProperties), meth_KMainWindow_saveProperties, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_savePropertiesInternal), meth_KMainWindow_savePropertiesInternal, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_saveWindowSize), meth_KMainWindow_saveWindowSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAutoSaveSettings), meth_KMainWindow_setAutoSaveSettings, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCaption), meth_KMainWindow_setCaption, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPlainCaption), meth_KMainWindow_setPlainCaption, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSettingsDirty), meth_KMainWindow_setSettingsDirty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_settingsDirty), meth_KMainWindow_settingsDirty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showAboutApplication), meth_KMainWindow_showAboutApplication, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_statusBar), meth_KMainWindow_statusBar, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toolBar), meth_KMainWindow_toolBar, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toolBars), meth_KMainWindow_toolBars, METH_VARARGS, NULL}
};


static pyqt4ClassPluginDef plugin_KMainWindow = {
    & ::KMainWindow::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KMainWindow = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KMainWindow,
        {0},
        &plugin_KMainWindow
    },
    {
        sipNameNr_KMainWindow,
        {0, 0, 1},
        41, methods_KMainWindow,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KMainWindow,
    0,
    init_type_KMainWindow,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KMainWindow,
    0,
    0,
    0,
    release_KMainWindow,
    cast_KMainWindow,
    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/klistwidgetsearchline.sip"
#include <klistwidgetsearchline.h>
#line 23680 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 23684 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 128 "/usr/share/sip/PyQt4/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 23687 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 23690 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 23693 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 23696 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 23699 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 23702 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 23705 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 23708 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 23711 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 23714 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 23717 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 23720 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 23723 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 23726 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.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 23729 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.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 23732 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 23735 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.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 23738 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.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 23741 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.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 23744 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 23747 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qcompleter.sip"
#include <qcompleter.h>
#line 23750 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 23753 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 23756 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 23759 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 23762 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 23765 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 23768 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 405 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 23771 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 23774 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 23777 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qvalidator.sip"
#include <qvalidator.h>
#line 23780 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlineedit.sip"
#include <qlineedit.h>
#line 23783 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 23786 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 23789 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 23792 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 23795 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 23798 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 23801 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 23804 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 23807 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 23810 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 23813 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 23816 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 23819 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 23822 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 23825 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 23828 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 23831 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 23834 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 23837 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 23840 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 23843 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 23846 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 23849 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 23852 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 23855 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 23858 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 23861 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 23864 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 23867 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 23870 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 23873 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 23876 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 23879 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 23882 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 23885 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 23888 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 23891 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 23894 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 23897 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 23900 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 23903 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 23906 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 23909 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 23912 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.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 23915 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.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 23918 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"


class sipKListWidgetSearchLine : public  ::KListWidgetSearchLine
{
public:
    sipKListWidgetSearchLine( ::QWidget*, ::QListWidget*);
    virtual ~sipKListWidgetSearchLine();

    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 itemMatches(const  ::QListWidgetItem*,const  ::QString&) const;
    void updateSearch(const  ::QString&);
    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 setContextMenuEnabled(bool);
    void copy() const;
    void setReadOnly(bool);
    void clear();
    void setText(const  ::QString&);
    void makeCompletion(const  ::QString&);
    void setCompletedText(const  ::QString&,bool);
    void create( ::WId,bool,bool);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKListWidgetSearchLine(const sipKListWidgetSearchLine &);
    sipKListWidgetSearchLine &operator = (const sipKListWidgetSearchLine &);

    char sipPyMethods[62];
};

sipKListWidgetSearchLine::sipKListWidgetSearchLine( ::QWidget*a0, ::QListWidget*a1):  ::KListWidgetSearchLine(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKListWidgetSearchLine::~sipKListWidgetSearchLine()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKListWidgetSearchLine::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KListWidgetSearchLine);
}

int sipKListWidgetSearchLine::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KListWidgetSearchLine::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KListWidgetSearchLine,_c,_id,_a);

    return _id;
}

void *sipKListWidgetSearchLine::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KListWidgetSearchLine, _clname)) ? this :  ::KListWidgetSearchLine::qt_metacast(_clname);
}

bool sipKListWidgetSearchLine::itemMatches(const  ::QListWidgetItem*a0,const  ::QString& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_itemMatches);

    if (!sipMeth)
        return  ::KListWidgetSearchLine::itemMatches(a0,a1);

    extern bool sipVH_kdeui_161(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QListWidgetItem*,const  ::QString&);

    return sipVH_kdeui_161(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKListWidgetSearchLine::updateSearch(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_updateSearch);

    if (!sipMeth)
    {
         ::KListWidgetSearchLine::updateSearch(a0);
        return;
    }

    extern void sipVH_kdeui_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    sipVH_kdeui_36(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidgetSearchLine::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KListWidgetSearchLine::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 sipKListWidgetSearchLine::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KListWidgetSearchLine::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 sipKListWidgetSearchLine::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KListWidgetSearchLine::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidgetSearchLine::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KListWidgetSearchLine::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidgetSearchLine::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KListWidgetSearchLine::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKListWidgetSearchLine::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KListWidgetSearchLine::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 sipKListWidgetSearchLine::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KListWidgetSearchLine::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKListWidgetSearchLine::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  ::KListWidgetSearchLine::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* sipKListWidgetSearchLine::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KListWidgetSearchLine::paintEngine();

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKListWidgetSearchLine::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KListWidgetSearchLine::devType();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKListWidgetSearchLine::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KListWidgetSearchLine::setVisible(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKListWidgetSearchLine::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KListWidgetSearchLine::sizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKListWidgetSearchLine::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KListWidgetSearchLine::minimumSizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKListWidgetSearchLine::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  ::KListWidgetSearchLine::heightForWidth(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidgetSearchLine::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KListWidgetSearchLine::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidgetSearchLine::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KListWidgetSearchLine::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidgetSearchLine::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KListWidgetSearchLine::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidgetSearchLine::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KListWidgetSearchLine::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidgetSearchLine::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KListWidgetSearchLine::wheelEvent(a0);
        return;
    }

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kdeui_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidgetSearchLine::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KListWidgetSearchLine::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidgetSearchLine::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KListWidgetSearchLine::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidgetSearchLine::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KListWidgetSearchLine::focusInEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidgetSearchLine::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KListWidgetSearchLine::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidgetSearchLine::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KListWidgetSearchLine::enterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidgetSearchLine::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KListWidgetSearchLine::leaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidgetSearchLine::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KListWidgetSearchLine::paintEvent(a0);
        return;
    }

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kdeui_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidgetSearchLine::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KListWidgetSearchLine::moveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kdeui_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidgetSearchLine::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KListWidgetSearchLine::resizeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kdeui_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidgetSearchLine::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KListWidgetSearchLine::closeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kdeui_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidgetSearchLine::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KListWidgetSearchLine::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kdeui_22(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidgetSearchLine::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KListWidgetSearchLine::tabletEvent(a0);
        return;
    }

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kdeui_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidgetSearchLine::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KListWidgetSearchLine::actionEvent(a0);
        return;
    }

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kdeui_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidgetSearchLine::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KListWidgetSearchLine::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kdeui_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidgetSearchLine::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KListWidgetSearchLine::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kdeui_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidgetSearchLine::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KListWidgetSearchLine::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kdeui_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidgetSearchLine::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KListWidgetSearchLine::dropEvent(a0);
        return;
    }

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kdeui_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidgetSearchLine::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KListWidgetSearchLine::showEvent(a0);
        return;
    }

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kdeui_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidgetSearchLine::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KListWidgetSearchLine::hideEvent(a0);
        return;
    }

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kdeui_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidgetSearchLine::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KListWidgetSearchLine::changeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidgetSearchLine::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KListWidgetSearchLine::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QVariant sipKListWidgetSearchLine::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  ::KListWidgetSearchLine::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 sipKListWidgetSearchLine::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KListWidgetSearchLine::focusNextPrevChild(a0);

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidgetSearchLine::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KListWidgetSearchLine::enabledChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidgetSearchLine::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KListWidgetSearchLine::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 sipKListWidgetSearchLine::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KListWidgetSearchLine::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 sipKListWidgetSearchLine::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KListWidgetSearchLine::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidgetSearchLine::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KListWidgetSearchLine::languageChange();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKListWidgetSearchLine::setCompletedItems(const  ::QStringList& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_setCompletedItems);

    if (!sipMeth)
    {
         ::KListWidgetSearchLine::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 sipKListWidgetSearchLine::setCompletedText(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_setCompletedText);

    if (!sipMeth)
    {
         ::KListWidgetSearchLine::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 sipKListWidgetSearchLine::setCompletionMode( ::KGlobalSettings::Completion a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_setCompletionMode);

    if (!sipMeth)
    {
         ::KListWidgetSearchLine::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 sipKListWidgetSearchLine::setHandleSignals(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_setHandleSignals);

    if (!sipMeth)
    {
         ::KListWidgetSearchLine::setHandleSignals(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidgetSearchLine::setCompletionObject( ::KCompletion*a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_setCompletionObject);

    if (!sipMeth)
    {
         ::KListWidgetSearchLine::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 sipKListWidgetSearchLine::setContextMenuEnabled(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_setContextMenuEnabled);

    if (!sipMeth)
    {
         ::KListWidgetSearchLine::setContextMenuEnabled(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidgetSearchLine::copy() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[55]),sipPySelf,NULL,sipName_copy);

    if (!sipMeth)
    {
         ::KListWidgetSearchLine::copy();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKListWidgetSearchLine::setReadOnly(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_setReadOnly);

    if (!sipMeth)
    {
         ::KListWidgetSearchLine::setReadOnly(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidgetSearchLine::clear()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_clear);

    if (!sipMeth)
    {
         ::KListWidgetSearchLine::clear();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKListWidgetSearchLine::setText(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_setText);

    if (!sipMeth)
    {
         ::KListWidgetSearchLine::setText(a0);
        return;
    }

    extern void sipVH_kdeui_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    sipVH_kdeui_36(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidgetSearchLine::makeCompletion(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[59],sipPySelf,NULL,sipName_makeCompletion);

    if (!sipMeth)
    {
         ::KListWidgetSearchLine::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 sipKListWidgetSearchLine::setCompletedText(const  ::QString& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[60],sipPySelf,NULL,sipName_setCompletedText);

    if (!sipMeth)
    {
         ::KListWidgetSearchLine::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 sipKListWidgetSearchLine::create( ::WId a0,bool a1,bool a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[61],sipPySelf,NULL,sipName_create);

    if (!sipMeth)
    {
         ::KListWidgetSearchLine::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_KListWidgetSearchLine_caseSensitive(PyObject *, PyObject *);}
static PyObject *meth_KListWidgetSearchLine_caseSensitive(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KListWidgetSearchLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KListWidgetSearchLine, &sipCpp))
        {
             ::Qt::CaseSensitivity sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->caseSensitive();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Qt_CaseSensitivity);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KListWidgetSearchLine, sipName_caseSensitive, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KListWidgetSearchLine_listWidget(PyObject *, PyObject *);}
static PyObject *meth_KListWidgetSearchLine_listWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KListWidgetSearchLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KListWidgetSearchLine, &sipCpp))
        {
             ::QListWidget*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->listWidget();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QListWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KListWidgetSearchLine, sipName_listWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KListWidgetSearchLine_updateSearch(PyObject *, PyObject *);}
static PyObject *meth_KListWidgetSearchLine_updateSearch(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QString& a0def = QString();
        const  ::QString* a0 = &a0def;
        int a0State = 0;
         ::KListWidgetSearchLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J1", &sipSelf, sipType_KListWidgetSearchLine, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KListWidgetSearchLine::updateSearch(*a0) : sipCpp->updateSearch(*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_KListWidgetSearchLine, sipName_updateSearch, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KListWidgetSearchLine_setCaseSensitivity(PyObject *, PyObject *);}
static PyObject *meth_KListWidgetSearchLine_setCaseSensitivity(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::CaseSensitivity a0;
         ::KListWidgetSearchLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KListWidgetSearchLine, &sipCpp, sipType_Qt_CaseSensitivity, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCaseSensitivity(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KListWidgetSearchLine, sipName_setCaseSensitivity, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KListWidgetSearchLine_setListWidget(PyObject *, PyObject *);}
static PyObject *meth_KListWidgetSearchLine_setListWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QListWidget* a0;
         ::KListWidgetSearchLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KListWidgetSearchLine, &sipCpp, sipType_QListWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setListWidget(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KListWidgetSearchLine, sipName_setListWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KListWidgetSearchLine_clear(PyObject *, PyObject *);}
static PyObject *meth_KListWidgetSearchLine_clear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::KListWidgetSearchLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KListWidgetSearchLine, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KListWidgetSearchLine::clear() : 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_KListWidgetSearchLine, sipName_clear, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KListWidgetSearchLine_itemMatches(PyObject *, PyObject *);}
static PyObject *meth_KListWidgetSearchLine_itemMatches(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QListWidgetItem* a0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::KListWidgetSearchLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8J1", &sipSelf, sipType_KListWidgetSearchLine, &sipCpp, sipType_QListWidgetItem, &a0, sipType_QString,&a1, &a1State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::KListWidgetSearchLine::itemMatches(a0,*a1) : sipCpp->itemMatches(a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KListWidgetSearchLine, sipName_itemMatches, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KListWidgetSearchLine_event(PyObject *, PyObject *);}
static PyObject *meth_KListWidgetSearchLine_event(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
         ::KListWidgetSearchLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KListWidgetSearchLine, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::KListWidgetSearchLine::event(a0) : sipCpp->event(a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KListWidgetSearchLine, sipName_event, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KListWidgetSearchLine(void *, const sipTypeDef *);}
static void *cast_KListWidgetSearchLine(void *sipCppV, const sipTypeDef *targetType)
{
     ::KListWidgetSearchLine *sipCpp = reinterpret_cast< ::KListWidgetSearchLine *>(sipCppV);

    if (targetType == sipType_KLineEdit)
        return static_cast< ::KLineEdit *>(sipCpp);

    if (targetType == sipType_QLineEdit)
        return static_cast< ::QLineEdit *>(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_KListWidgetSearchLine(void *, int);}
static void release_KListWidgetSearchLine(void *sipCppV, int)
{
     ::KListWidgetSearchLine *sipCpp = reinterpret_cast< ::KListWidgetSearchLine *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KListWidgetSearchLine(sipSimpleWrapper *);}
static void dealloc_KListWidgetSearchLine(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKListWidgetSearchLine *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KListWidgetSearchLine(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KListWidgetSearchLine(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KListWidgetSearchLine(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKListWidgetSearchLine *sipCpp = 0;

    {
         ::QWidget* a0 = 0;
         ::QListWidget* a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JHJ8", sipType_QWidget, &a0, sipOwner, sipType_QListWidget, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKListWidgetSearchLine(a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KListWidgetSearchLine[] = {{180, 255, 1}};


static PyMethodDef methods_KListWidgetSearchLine[] = {
    {SIP_MLNAME_CAST(sipName_caseSensitive), meth_KListWidgetSearchLine_caseSensitive, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clear), meth_KListWidgetSearchLine_clear, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_KListWidgetSearchLine_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemMatches), meth_KListWidgetSearchLine_itemMatches, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_listWidget), meth_KListWidgetSearchLine_listWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCaseSensitivity), meth_KListWidgetSearchLine_setCaseSensitivity, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setListWidget), meth_KListWidgetSearchLine_setListWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateSearch), meth_KListWidgetSearchLine_updateSearch, METH_VARARGS, NULL}
};


static pyqt4ClassPluginDef plugin_KListWidgetSearchLine = {
    & ::KListWidgetSearchLine::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KListWidgetSearchLine = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KListWidgetSearchLine,
        {0},
        &plugin_KListWidgetSearchLine
    },
    {
        sipNameNr_KListWidgetSearchLine,
        {0, 0, 1},
        8, methods_KListWidgetSearchLine,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KListWidgetSearchLine,
    0,
    init_type_KListWidgetSearchLine,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KListWidgetSearchLine,
    0,
    0,
    0,
    release_KListWidgetSearchLine,
    cast_KListWidgetSearchLine,
    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/klinkitemselectionmodel.sip"
#include <klinkitemselectionmodel.h>
#line 25507 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"

#line 122 "/usr/share/sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 25511 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 85 "/usr/share/sip/PyQt4/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 25514 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 25517 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 25520 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 85 "/usr/share/sip/PyQt4/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 25523 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 165 "/usr/share/sip/PyQt4/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 25526 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 25529 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 25532 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 25535 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 25538 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 25541 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 25544 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 25547 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 25550 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 25553 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 25556 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 25559 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 25562 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 25565 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"


class sipKLinkItemSelectionModel : public  ::KLinkItemSelectionModel
{
public:
    sipKLinkItemSelectionModel( ::QAbstractItemModel*, ::QItemSelectionModel*, ::QObject*);
    virtual ~sipKLinkItemSelectionModel();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    void clear();
    void reset();
    void select(const  ::QModelIndex&, ::QItemSelectionModel::SelectionFlags);
    void select(const  ::QItemSelection&, ::QItemSelectionModel::SelectionFlags);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKLinkItemSelectionModel(const sipKLinkItemSelectionModel &);
    sipKLinkItemSelectionModel &operator = (const sipKLinkItemSelectionModel &);

    char sipPyMethods[11];
};

sipKLinkItemSelectionModel::sipKLinkItemSelectionModel( ::QAbstractItemModel*a0, ::QItemSelectionModel*a1, ::QObject*a2):  ::KLinkItemSelectionModel(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKLinkItemSelectionModel::~sipKLinkItemSelectionModel()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKLinkItemSelectionModel::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KLinkItemSelectionModel);
}

int sipKLinkItemSelectionModel::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KLinkItemSelectionModel::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KLinkItemSelectionModel,_c,_id,_a);

    return _id;
}

void *sipKLinkItemSelectionModel::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KLinkItemSelectionModel, _clname)) ? this :  ::KLinkItemSelectionModel::qt_metacast(_clname);
}

void sipKLinkItemSelectionModel::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KLinkItemSelectionModel::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 sipKLinkItemSelectionModel::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KLinkItemSelectionModel::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 sipKLinkItemSelectionModel::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KLinkItemSelectionModel::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLinkItemSelectionModel::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KLinkItemSelectionModel::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLinkItemSelectionModel::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KLinkItemSelectionModel::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKLinkItemSelectionModel::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KLinkItemSelectionModel::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 sipKLinkItemSelectionModel::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KLinkItemSelectionModel::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLinkItemSelectionModel::clear()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_clear);

    if (!sipMeth)
    {
         ::KLinkItemSelectionModel::clear();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKLinkItemSelectionModel::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_reset);

    if (!sipMeth)
    {
         ::KLinkItemSelectionModel::reset();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKLinkItemSelectionModel::select(const  ::QModelIndex& a0, ::QItemSelectionModel::SelectionFlags a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_select);

    if (!sipMeth)
    {
         ::KLinkItemSelectionModel::select(a0,a1);
        return;
    }

    extern void sipVH_kdeui_51(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&, ::QItemSelectionModel::SelectionFlags);

    sipVH_kdeui_51(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKLinkItemSelectionModel::select(const  ::QItemSelection& a0, ::QItemSelectionModel::SelectionFlags a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_select);

    if (!sipMeth)
    {
         ::KLinkItemSelectionModel::select(a0,a1);
        return;
    }

    extern void sipVH_kdeui_50(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QItemSelection&, ::QItemSelectionModel::SelectionFlags);

    sipVH_kdeui_50(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}


extern "C" {static PyObject *meth_KLinkItemSelectionModel_select(PyObject *, PyObject *);}
static PyObject *meth_KLinkItemSelectionModel_select(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
         ::QItemSelectionModel::SelectionFlags* a1;
        int a1State = 0;
         ::KLinkItemSelectionModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J1", &sipSelf, sipType_KLinkItemSelectionModel, &sipCpp, sipType_QModelIndex, &a0, sipType_QItemSelectionModel_SelectionFlags, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KLinkItemSelectionModel::select(*a0,*a1) : sipCpp->select(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_QItemSelectionModel_SelectionFlags,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::QItemSelection* a0;
         ::QItemSelectionModel::SelectionFlags* a1;
        int a1State = 0;
         ::KLinkItemSelectionModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J1", &sipSelf, sipType_KLinkItemSelectionModel, &sipCpp, sipType_QItemSelection, &a0, sipType_QItemSelectionModel_SelectionFlags, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KLinkItemSelectionModel::select(*a0,*a1) : sipCpp->select(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_QItemSelectionModel_SelectionFlags,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLinkItemSelectionModel, sipName_select, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KLinkItemSelectionModel(void *, const sipTypeDef *);}
static void *cast_KLinkItemSelectionModel(void *sipCppV, const sipTypeDef *targetType)
{
     ::KLinkItemSelectionModel *sipCpp = reinterpret_cast< ::KLinkItemSelectionModel *>(sipCppV);

    if (targetType == sipType_QItemSelectionModel)
        return static_cast< ::QItemSelectionModel *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KLinkItemSelectionModel(void *, int);}
static void release_KLinkItemSelectionModel(void *sipCppV, int)
{
     ::KLinkItemSelectionModel *sipCpp = reinterpret_cast< ::KLinkItemSelectionModel *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KLinkItemSelectionModel(sipSimpleWrapper *);}
static void dealloc_KLinkItemSelectionModel(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKLinkItemSelectionModel *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KLinkItemSelectionModel(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KLinkItemSelectionModel(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KLinkItemSelectionModel(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKLinkItemSelectionModel *sipCpp = 0;

    {
         ::QAbstractItemModel* a0;
         ::QItemSelectionModel* a1;
         ::QObject* a2 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8J8|JH", sipType_QAbstractItemModel, &a0, sipType_QItemSelectionModel, &a1, sipType_QObject, &a2, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKLinkItemSelectionModel(a0,a1,a2);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KLinkItemSelectionModel[] = {{45, 2, 1}};


static PyMethodDef methods_KLinkItemSelectionModel[] = {
    {SIP_MLNAME_CAST(sipName_select), meth_KLinkItemSelectionModel_select, METH_VARARGS, NULL}
};


static pyqt4ClassPluginDef plugin_KLinkItemSelectionModel = {
    & ::KLinkItemSelectionModel::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KLinkItemSelectionModel = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KLinkItemSelectionModel,
        {0},
        &plugin_KLinkItemSelectionModel
    },
    {
        sipNameNr_KLinkItemSelectionModel,
        {0, 0, 1},
        1, methods_KLinkItemSelectionModel,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KLinkItemSelectionModel,
    0,
    init_type_KLinkItemSelectionModel,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KLinkItemSelectionModel,
    0,
    0,
    0,
    release_KLinkItemSelectionModel,
    cast_KLinkItemSelectionModel,
    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/klineedit.sip"
#include <klineedit.h>
#line 26016 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"

#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 26020 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 26023 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26026 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26029 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26032 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 26035 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26038 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26041 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26044 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26047 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 26050 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 26053 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.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 26056 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.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 26059 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 26062 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.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 26065 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.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 26068 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.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 26071 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 26074 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 26077 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qcompleter.sip"
#include <qcompleter.h>
#line 26080 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 26083 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 26086 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26089 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26092 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26095 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26098 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 405 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 26101 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 26104 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 26107 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qvalidator.sip"
#include <qvalidator.h>
#line 26110 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlineedit.sip"
#include <qlineedit.h>
#line 26113 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 26116 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 26119 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 26122 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 26125 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 26128 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 26131 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 26134 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 26137 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 26140 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 26143 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 26146 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 26149 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 26152 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 26155 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 26158 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26161 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26164 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26167 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26170 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26173 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26176 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26179 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 26182 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 26185 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 26188 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 26191 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 26194 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 26197 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 26200 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 26203 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 26206 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 26209 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 26212 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 26215 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 26218 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 26221 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 26224 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 26227 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 26230 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 26233 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 26236 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 26239 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 26242 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.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 26245 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.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 26248 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"


class sipKLineEdit : public  ::KLineEdit
{
public:
    sipKLineEdit(const  ::QString&, ::QWidget*);
    sipKLineEdit( ::QWidget*);
    virtual ~sipKLineEdit();

    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 create( ::WId,bool,bool);
    void setCompletedText(const  ::QString&,bool);
    void makeCompletion(const  ::QString&);
    void setText(const  ::QString&);
    void clear();
    void setReadOnly(bool);
    void copy() const;
    void setContextMenuEnabled(bool);
    void setCompletionObject( ::KCompletion*,bool);
    void setHandleSignals(bool);
    void setCompletionMode( ::KGlobalSettings::Completion);
    void setCompletedText(const  ::QString&);
    void setCompletedItems(const  ::QStringList&,bool);
    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:
    sipKLineEdit(const sipKLineEdit &);
    sipKLineEdit &operator = (const sipKLineEdit &);

    char sipPyMethods[60];
};

sipKLineEdit::sipKLineEdit(const  ::QString& a0, ::QWidget*a1):  ::KLineEdit(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKLineEdit::sipKLineEdit( ::QWidget*a0):  ::KLineEdit(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKLineEdit::~sipKLineEdit()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKLineEdit::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KLineEdit);
}

int sipKLineEdit::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KLineEdit::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KLineEdit,_c,_id,_a);

    return _id;
}

void *sipKLineEdit::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KLineEdit, _clname)) ? this :  ::KLineEdit::qt_metacast(_clname);
}

void sipKLineEdit::create( ::WId a0,bool a1,bool a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_create);

    if (!sipMeth)
    {
         ::KLineEdit::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);
}

void sipKLineEdit::setCompletedText(const  ::QString& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_setCompletedText);

    if (!sipMeth)
    {
         ::KLineEdit::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 sipKLineEdit::makeCompletion(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_makeCompletion);

    if (!sipMeth)
    {
         ::KLineEdit::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 sipKLineEdit::setText(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_setText);

    if (!sipMeth)
    {
         ::KLineEdit::setText(a0);
        return;
    }

    extern void sipVH_kdeui_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    sipVH_kdeui_36(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLineEdit::clear()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_clear);

    if (!sipMeth)
    {
         ::KLineEdit::clear();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKLineEdit::setReadOnly(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_setReadOnly);

    if (!sipMeth)
    {
         ::KLineEdit::setReadOnly(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLineEdit::copy() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_copy);

    if (!sipMeth)
    {
         ::KLineEdit::copy();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKLineEdit::setContextMenuEnabled(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_setContextMenuEnabled);

    if (!sipMeth)
    {
         ::KLineEdit::setContextMenuEnabled(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLineEdit::setCompletionObject( ::KCompletion*a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_setCompletionObject);

    if (!sipMeth)
    {
         ::KLineEdit::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 sipKLineEdit::setHandleSignals(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_setHandleSignals);

    if (!sipMeth)
    {
         ::KLineEdit::setHandleSignals(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLineEdit::setCompletionMode( ::KGlobalSettings::Completion a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_setCompletionMode);

    if (!sipMeth)
    {
         ::KLineEdit::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 sipKLineEdit::setCompletedText(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_setCompletedText);

    if (!sipMeth)
    {
         ::KLineEdit::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 sipKLineEdit::setCompletedItems(const  ::QStringList& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_setCompletedItems);

    if (!sipMeth)
    {
         ::KLineEdit::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 sipKLineEdit::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KLineEdit::languageChange();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKLineEdit::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KLineEdit::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLineEdit::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KLineEdit::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 sipKLineEdit::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KLineEdit::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 sipKLineEdit::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KLineEdit::enabledChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKLineEdit::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KLineEdit::focusNextPrevChild(a0);

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QVariant sipKLineEdit::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::KLineEdit::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 sipKLineEdit::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KLineEdit::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLineEdit::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KLineEdit::changeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLineEdit::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KLineEdit::hideEvent(a0);
        return;
    }

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kdeui_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLineEdit::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KLineEdit::showEvent(a0);
        return;
    }

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kdeui_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLineEdit::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KLineEdit::dropEvent(a0);
        return;
    }

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kdeui_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLineEdit::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KLineEdit::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kdeui_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLineEdit::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KLineEdit::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kdeui_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLineEdit::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KLineEdit::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kdeui_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLineEdit::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KLineEdit::actionEvent(a0);
        return;
    }

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kdeui_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLineEdit::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KLineEdit::tabletEvent(a0);
        return;
    }

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kdeui_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLineEdit::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KLineEdit::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kdeui_22(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLineEdit::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KLineEdit::closeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kdeui_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLineEdit::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KLineEdit::resizeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kdeui_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLineEdit::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KLineEdit::moveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kdeui_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLineEdit::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KLineEdit::paintEvent(a0);
        return;
    }

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kdeui_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLineEdit::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KLineEdit::leaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLineEdit::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KLineEdit::enterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLineEdit::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KLineEdit::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLineEdit::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KLineEdit::focusInEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLineEdit::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KLineEdit::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLineEdit::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KLineEdit::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLineEdit::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KLineEdit::wheelEvent(a0);
        return;
    }

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kdeui_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLineEdit::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KLineEdit::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLineEdit::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KLineEdit::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLineEdit::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KLineEdit::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLineEdit::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KLineEdit::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKLineEdit::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::KLineEdit::heightForWidth(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKLineEdit::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KLineEdit::minimumSizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKLineEdit::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[48]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KLineEdit::sizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKLineEdit::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KLineEdit::setVisible(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKLineEdit::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[50]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KLineEdit::devType();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipKLineEdit::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[51]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KLineEdit::paintEngine();

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKLineEdit::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[52]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::KLineEdit::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 sipKLineEdit::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KLineEdit::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKLineEdit::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KLineEdit::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 sipKLineEdit::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KLineEdit::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLineEdit::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KLineEdit::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLineEdit::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KLineEdit::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLineEdit::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KLineEdit::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 sipKLineEdit::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[59],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KLineEdit::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_KLineEdit_setUrl(PyObject *, PyObject *);}
static PyObject *meth_KLineEdit_setUrl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KUrl* a0;
         ::KLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KLineEdit, &sipCpp, sipType_KUrl, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setUrl(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLineEdit, sipName_setUrl, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLineEdit_setCompletionMode(PyObject *, PyObject *);}
static PyObject *meth_KLineEdit_setCompletionMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::KGlobalSettings::Completion a0;
         ::KLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KLineEdit, &sipCpp, sipType_KGlobalSettings_Completion, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KLineEdit::setCompletionMode(a0) : sipCpp->setCompletionMode(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLineEdit, sipName_setCompletionMode, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLineEdit_setCompletionModeDisabled(PyObject *, PyObject *);}
static PyObject *meth_KLineEdit_setCompletionModeDisabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KGlobalSettings::Completion a0;
        bool a1 = 1;
         ::KLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE|b", &sipSelf, sipType_KLineEdit, &sipCpp, sipType_KGlobalSettings_Completion, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCompletionModeDisabled(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_KLineEdit, sipName_setCompletionModeDisabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLineEdit_setContextMenuEnabled(PyObject *, PyObject *);}
static PyObject *meth_KLineEdit_setContextMenuEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
         ::KLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KLineEdit, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KLineEdit::setContextMenuEnabled(a0) : sipCpp->setContextMenuEnabled(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLineEdit, sipName_setContextMenuEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLineEdit_isContextMenuEnabled(PyObject *, PyObject *);}
static PyObject *meth_KLineEdit_isContextMenuEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLineEdit, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isContextMenuEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLineEdit, sipName_isContextMenuEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLineEdit_setUrlDropsEnabled(PyObject *, PyObject *);}
static PyObject *meth_KLineEdit_setUrlDropsEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::KLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KLineEdit, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setUrlDropsEnabled(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLineEdit, sipName_setUrlDropsEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLineEdit_urlDropsEnabled(PyObject *, PyObject *);}
static PyObject *meth_KLineEdit_urlDropsEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLineEdit, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->urlDropsEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLineEdit, sipName_urlDropsEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLineEdit_setTrapReturnKey(PyObject *, PyObject *);}
static PyObject *meth_KLineEdit_setTrapReturnKey(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::KLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KLineEdit, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTrapReturnKey(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLineEdit, sipName_setTrapReturnKey, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLineEdit_trapReturnKey(PyObject *, PyObject *);}
static PyObject *meth_KLineEdit_trapReturnKey(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLineEdit, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->trapReturnKey();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLineEdit, sipName_trapReturnKey, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLineEdit_completionBox(PyObject *, PyObject *);}
static PyObject *meth_KLineEdit_completionBox(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
         ::KLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|b", &sipSelf, sipType_KLineEdit, &sipCpp, &a0))
        {
             ::KCompletionBox*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->completionBox(a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KCompletionBox,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLineEdit, sipName_completionBox, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLineEdit_setCompletionObject(PyObject *, PyObject *);}
static PyObject *meth_KLineEdit_setCompletionObject(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::KCompletion* a0;
        bool a1 = 1;
         ::KLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8|b", &sipSelf, sipType_KLineEdit, &sipCpp, sipType_KCompletion, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KLineEdit::setCompletionObject(a0,a1) : sipCpp->setCompletionObject(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_KLineEdit, sipName_setCompletionObject, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLineEdit_copy(PyObject *, PyObject *);}
static PyObject *meth_KLineEdit_copy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::KLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLineEdit, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KLineEdit::copy() : sipCpp->copy());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLineEdit, sipName_copy, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLineEdit_setSqueezedTextEnabled(PyObject *, PyObject *);}
static PyObject *meth_KLineEdit_setSqueezedTextEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::KLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KLineEdit, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSqueezedTextEnabled(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLineEdit, sipName_setSqueezedTextEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLineEdit_isSqueezedTextEnabled(PyObject *, PyObject *);}
static PyObject *meth_KLineEdit_isSqueezedTextEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLineEdit, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isSqueezedTextEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLineEdit, sipName_isSqueezedTextEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLineEdit_originalText(PyObject *, PyObject *);}
static PyObject *meth_KLineEdit_originalText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLineEdit, &sipCpp))
        {
             ::QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString(sipCpp->originalText());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLineEdit, sipName_originalText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLineEdit_userText(PyObject *, PyObject *);}
static PyObject *meth_KLineEdit_userText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLineEdit, &sipCpp))
        {
             ::QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString(sipCpp->userText());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLineEdit, sipName_userText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLineEdit_setCompletionBox(PyObject *, PyObject *);}
static PyObject *meth_KLineEdit_setCompletionBox(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KCompletionBox* a0;
         ::KLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KLineEdit, &sipCpp, sipType_KCompletionBox, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCompletionBox(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLineEdit, sipName_setCompletionBox, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLineEdit_setClickMessage(PyObject *, PyObject *);}
static PyObject *meth_KLineEdit_setClickMessage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::KLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KLineEdit, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setClickMessage(*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_KLineEdit, sipName_setClickMessage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLineEdit_clickMessage(PyObject *, PyObject *);}
static PyObject *meth_KLineEdit_clickMessage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLineEdit, &sipCpp))
        {
             ::QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString(sipCpp->clickMessage());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLineEdit, sipName_clickMessage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLineEdit_setClearButtonShown(PyObject *, PyObject *);}
static PyObject *meth_KLineEdit_setClearButtonShown(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::KLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KLineEdit, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setClearButtonShown(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLineEdit, sipName_setClearButtonShown, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLineEdit_isClearButtonShown(PyObject *, PyObject *);}
static PyObject *meth_KLineEdit_isClearButtonShown(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLineEdit, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isClearButtonShown();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLineEdit, sipName_isClearButtonShown, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLineEdit_clearButtonUsedSize(PyObject *, PyObject *);}
static PyObject *meth_KLineEdit_clearButtonUsedSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLineEdit, &sipCpp))
        {
             ::QSize*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QSize(sipCpp->clearButtonUsedSize());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLineEdit, sipName_clearButtonUsedSize, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLineEdit_doCompletion(PyObject *, PyObject *);}
static PyObject *meth_KLineEdit_doCompletion(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::KLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KLineEdit, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->doCompletion(*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_KLineEdit, sipName_doCompletion, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLineEdit_setReadOnly(PyObject *, PyObject *);}
static PyObject *meth_KLineEdit_setReadOnly(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
         ::KLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KLineEdit, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KLineEdit::setReadOnly(a0) : sipCpp->setReadOnly(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLineEdit, sipName_setReadOnly, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLineEdit_rotateText(PyObject *, PyObject *);}
static PyObject *meth_KLineEdit_rotateText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KCompletionBase::KeyBindingType a0;
         ::KLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KLineEdit, &sipCpp, sipType_KCompletionBase_KeyBindingType, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->rotateText(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLineEdit, sipName_rotateText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLineEdit_setCompletedText(PyObject *, PyObject *);}
static PyObject *meth_KLineEdit_setCompletedText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QString* a0;
        int a0State = 0;
         ::KLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KLineEdit, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KLineEdit::setCompletedText(*a0) : sipCpp->setCompletedText(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        bool a1;
         ::KLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1b", &sipSelf, sipType_KLineEdit, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KLineEdit::setCompletedText(*a0,a1) : sipCpp->setCompletedText(*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_KLineEdit, sipName_setCompletedText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLineEdit_setCompletedItems(PyObject *, PyObject *);}
static PyObject *meth_KLineEdit_setCompletedItems(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QStringList* a0;
        int a0State = 0;
        bool a1 = 1;
         ::KLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|b", &sipSelf, sipType_KLineEdit, &sipCpp, sipType_QStringList,&a0, &a0State, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KLineEdit::setCompletedItems(*a0,a1) : sipCpp->setCompletedItems(*a0,a1));
            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_KLineEdit, sipName_setCompletedItems, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLineEdit_clear(PyObject *, PyObject *);}
static PyObject *meth_KLineEdit_clear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::KLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLineEdit, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KLineEdit::clear() : 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_KLineEdit, sipName_clear, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLineEdit_setSqueezedText(PyObject *, PyObject *);}
static PyObject *meth_KLineEdit_setSqueezedText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::KLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KLineEdit, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSqueezedText(*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_KLineEdit, sipName_setSqueezedText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLineEdit_setText(PyObject *, PyObject *);}
static PyObject *meth_KLineEdit_setText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QString* a0;
        int a0State = 0;
         ::KLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KLineEdit, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KLineEdit::setText(*a0) : 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_KLineEdit, sipName_setText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLineEdit_setPasswordMode(PyObject *, PyObject *);}
static PyObject *meth_KLineEdit_setPasswordMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
         ::KLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|b", &sipSelf, sipType_KLineEdit, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPasswordMode(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLineEdit, sipName_setPasswordMode, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLineEdit_passwordMode(PyObject *, PyObject *);}
static PyObject *meth_KLineEdit_passwordMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLineEdit, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->passwordMode();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLineEdit, sipName_passwordMode, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLineEdit_makeCompletion(PyObject *, PyObject *);}
static PyObject *meth_KLineEdit_makeCompletion(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QString* a0;
        int a0State = 0;
         ::KLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_KLineEdit, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KLineEdit::makeCompletion(*a0) : sipCpp->makeCompletion(*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_KLineEdit, sipName_makeCompletion, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLineEdit_userCancelled(PyObject *, PyObject *);}
static PyObject *meth_KLineEdit_userCancelled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::KLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_KLineEdit, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->userCancelled(*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_KLineEdit, sipName_userCancelled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLineEdit_event(PyObject *, PyObject *);}
static PyObject *meth_KLineEdit_event(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
         ::KLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KLineEdit, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::KLineEdit::event(a0) : sipCpp->event(a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLineEdit, sipName_event, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLineEdit_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_KLineEdit_resizeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QResizeEvent* a0;
         ::KLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KLineEdit, &sipCpp, sipType_QResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KLineEdit::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_KLineEdit, sipName_resizeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLineEdit_keyPressEvent(PyObject *, PyObject *);}
static PyObject *meth_KLineEdit_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QKeyEvent* a0;
         ::KLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KLineEdit, &sipCpp, sipType_QKeyEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KLineEdit::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_KLineEdit, sipName_keyPressEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLineEdit_mousePressEvent(PyObject *, PyObject *);}
static PyObject *meth_KLineEdit_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMouseEvent* a0;
         ::KLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KLineEdit, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KLineEdit::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_KLineEdit, sipName_mousePressEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLineEdit_mouseReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_KLineEdit_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMouseEvent* a0;
         ::KLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KLineEdit, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KLineEdit::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_KLineEdit, sipName_mouseReleaseEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLineEdit_mouseDoubleClickEvent(PyObject *, PyObject *);}
static PyObject *meth_KLineEdit_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMouseEvent* a0;
         ::KLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KLineEdit, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KLineEdit::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_KLineEdit, sipName_mouseDoubleClickEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLineEdit_contextMenuEvent(PyObject *, PyObject *);}
static PyObject *meth_KLineEdit_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QContextMenuEvent* a0;
         ::KLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KLineEdit, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KLineEdit::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_KLineEdit, sipName_contextMenuEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLineEdit_createStandardContextMenu(PyObject *, PyObject *);}
static PyObject *meth_KLineEdit_createStandardContextMenu(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KLineEdit, &sipCpp))
        {
             ::QMenu*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->createStandardContextMenu();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QMenu,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLineEdit, sipName_createStandardContextMenu, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLineEdit_dropEvent(PyObject *, PyObject *);}
static PyObject *meth_KLineEdit_dropEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QDropEvent* a0;
         ::KLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KLineEdit, &sipCpp, sipType_QDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KLineEdit::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_KLineEdit, sipName_dropEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLineEdit_setUserSelection(PyObject *, PyObject *);}
static PyObject *meth_KLineEdit_setUserSelection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::KLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pb", &sipSelf, sipType_KLineEdit, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setUserSelection(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLineEdit, sipName_setUserSelection, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLineEdit_create(PyObject *, PyObject *);}
static PyObject *meth_KLineEdit_create(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::WId a0 = 0;
        bool a1 = 1;
        bool a2 = 1;
         ::KLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p|mbb", &sipSelf, sipType_KLineEdit, &sipCpp, &a0, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KLineEdit::create(a0,a1,a2) : sipCpp->create(a0,a1,a2));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLineEdit, sipName_create, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLineEdit_autoSuggest(PyObject *, PyObject *);}
static PyObject *meth_KLineEdit_autoSuggest(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KLineEdit, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->autoSuggest();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLineEdit, sipName_autoSuggest, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLineEdit_paintEvent(PyObject *, PyObject *);}
static PyObject *meth_KLineEdit_paintEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QPaintEvent* a0;
         ::KLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KLineEdit, &sipCpp, sipType_QPaintEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KLineEdit::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_KLineEdit, sipName_paintEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLineEdit_focusInEvent(PyObject *, PyObject *);}
static PyObject *meth_KLineEdit_focusInEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QFocusEvent* a0;
         ::KLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KLineEdit, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KLineEdit::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_KLineEdit, sipName_focusInEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLineEdit_focusOutEvent(PyObject *, PyObject *);}
static PyObject *meth_KLineEdit_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QFocusEvent* a0;
         ::KLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KLineEdit, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KLineEdit::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_KLineEdit, sipName_focusOutEvent, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KLineEdit(void *, const sipTypeDef *);}
static void *cast_KLineEdit(void *sipCppV, const sipTypeDef *targetType)
{
     ::KLineEdit *sipCpp = reinterpret_cast< ::KLineEdit *>(sipCppV);

    if (targetType == sipType_QLineEdit)
        return static_cast< ::QLineEdit *>(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_KLineEdit(void *, int);}
static void release_KLineEdit(void *sipCppV, int)
{
     ::KLineEdit *sipCpp = reinterpret_cast< ::KLineEdit *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KLineEdit(sipSimpleWrapper *);}
static void dealloc_KLineEdit(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKLineEdit *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KLineEdit(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KLineEdit(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KLineEdit(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKLineEdit *sipCpp = 0;

    {
        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 sipKLineEdit(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
         ::QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKLineEdit(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KLineEdit[] = {{52, 2, 0}, {61, 255, 1}};


static PyMethodDef methods_KLineEdit[] = {
    {SIP_MLNAME_CAST(sipName_autoSuggest), meth_KLineEdit_autoSuggest, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clear), meth_KLineEdit_clear, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clearButtonUsedSize), meth_KLineEdit_clearButtonUsedSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clickMessage), meth_KLineEdit_clickMessage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_completionBox), meth_KLineEdit_completionBox, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_KLineEdit_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_copy), meth_KLineEdit_copy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_create), meth_KLineEdit_create, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createStandardContextMenu), meth_KLineEdit_createStandardContextMenu, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doCompletion), meth_KLineEdit_doCompletion, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_KLineEdit_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_KLineEdit_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_KLineEdit_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_KLineEdit_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isClearButtonShown), meth_KLineEdit_isClearButtonShown, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isContextMenuEnabled), meth_KLineEdit_isContextMenuEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isSqueezedTextEnabled), meth_KLineEdit_isSqueezedTextEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_KLineEdit_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_makeCompletion), meth_KLineEdit_makeCompletion, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_KLineEdit_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_KLineEdit_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_KLineEdit_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_originalText), meth_KLineEdit_originalText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_KLineEdit_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_passwordMode), meth_KLineEdit_passwordMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_KLineEdit_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rotateText), meth_KLineEdit_rotateText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setClearButtonShown), meth_KLineEdit_setClearButtonShown, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setClickMessage), meth_KLineEdit_setClickMessage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCompletedItems), meth_KLineEdit_setCompletedItems, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCompletedText), meth_KLineEdit_setCompletedText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCompletionBox), meth_KLineEdit_setCompletionBox, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCompletionMode), meth_KLineEdit_setCompletionMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCompletionModeDisabled), meth_KLineEdit_setCompletionModeDisabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCompletionObject), meth_KLineEdit_setCompletionObject, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setContextMenuEnabled), meth_KLineEdit_setContextMenuEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPasswordMode), meth_KLineEdit_setPasswordMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setReadOnly), meth_KLineEdit_setReadOnly, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSqueezedText), meth_KLineEdit_setSqueezedText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSqueezedTextEnabled), meth_KLineEdit_setSqueezedTextEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setText), meth_KLineEdit_setText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTrapReturnKey), meth_KLineEdit_setTrapReturnKey, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUrl), meth_KLineEdit_setUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUrlDropsEnabled), meth_KLineEdit_setUrlDropsEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUserSelection), meth_KLineEdit_setUserSelection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_trapReturnKey), meth_KLineEdit_trapReturnKey, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_urlDropsEnabled), meth_KLineEdit_urlDropsEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_userCancelled), meth_KLineEdit_userCancelled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_userText), meth_KLineEdit_userText, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KLineEdit[] = {
    {"clearButtonClicked()", 0, 0, 0},
    {"aboutToShowContextMenu(QMenu*)", 0, 0, 0},
    {"completionModeChanged(KGlobalSettings::Completion)", 0, 0, 0},
    {"textRotation(KCompletionBase::KeyBindingType)", 0, 0, 0},
    {"userTextChanged(QString)", 0, 0, 0},
    {"substringCompletion(QString)", 0, 0, 0},
    {"completion(QString)", 0, 0, 0},
    {"returnPressed(QString)", 0, 0, 0},
    {"completionBoxActivated(QString)", 0, 0, 0},
    {0, 0, 0, 0}
};


static pyqt4ClassPluginDef plugin_KLineEdit = {
    & ::KLineEdit::staticMetaObject,
    0,
    signals_KLineEdit
};


sipClassTypeDef sipTypeDef_kdeui_KLineEdit = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KLineEdit,
        {0},
        &plugin_KLineEdit
    },
    {
        sipNameNr_KLineEdit,
        {0, 0, 1},
        49, methods_KLineEdit,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KLineEdit,
    0,
    init_type_KLineEdit,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KLineEdit,
    0,
    0,
    0,
    release_KLineEdit,
    cast_KLineEdit,
    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/kled.sip"
#include <kled.h>
#line 29035 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 29039 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcolor.sip"
#include <qcolor.h>
#line 29042 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 29045 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 29048 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 29051 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 29054 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 29057 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 29060 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 29063 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 29066 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 29069 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 29072 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 29075 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 29078 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 29081 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 29084 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 29087 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 29090 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 29093 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 29096 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 29099 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 29102 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 29105 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 29108 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 29111 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 29114 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 29117 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 29120 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 29123 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 29126 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 29129 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 29132 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 29135 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 29138 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 29141 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 29144 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 29147 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 29150 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 29153 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 29156 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 29159 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 29162 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 29165 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 29168 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 29171 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 29174 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 29177 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 29180 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 29183 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 29186 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 29189 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 29192 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 29195 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 29198 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 29201 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 29204 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 29207 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 29210 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 29213 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 29216 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 29219 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 29222 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 29225 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 29228 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"


class sipKLed : public  ::KLed
{
public:
    sipKLed( ::QWidget*);
    sipKLed(const  ::QColor&, ::QWidget*);
    sipKLed(const  ::QColor&, ::KLed::State, ::KLed::Look, ::KLed::Shape, ::QWidget*);
    virtual ~sipKLed();

    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 paintRectFrame(bool);
    void paintRect();
    void paintSunken();
    void paintRaised();
    void paintFlat();
    int ledWidth() 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*);
    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:
    sipKLed(const sipKLed &);
    sipKLed &operator = (const sipKLed &);

    char sipPyMethods[53];
};

sipKLed::sipKLed( ::QWidget*a0):  ::KLed(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKLed::sipKLed(const  ::QColor& a0, ::QWidget*a1):  ::KLed(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKLed::sipKLed(const  ::QColor& a0, ::KLed::State a1, ::KLed::Look a2, ::KLed::Shape a3, ::QWidget*a4):  ::KLed(a0,a1,a2,a3,a4), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKLed::~sipKLed()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKLed::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KLed);
}

int sipKLed::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KLed::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KLed,_c,_id,_a);

    return _id;
}

void *sipKLed::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KLed, _clname)) ? this :  ::KLed::qt_metacast(_clname);
}

void sipKLed::paintRectFrame(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_paintRectFrame);

    if (!sipMeth)
    {
         ::KLed::paintRectFrame(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLed::paintRect()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_paintRect);

    if (!sipMeth)
    {
         ::KLed::paintRect();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKLed::paintSunken()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_paintSunken);

    if (!sipMeth)
    {
         ::KLed::paintSunken();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKLed::paintRaised()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_paintRaised);

    if (!sipMeth)
    {
         ::KLed::paintRaised();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKLed::paintFlat()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_paintFlat);

    if (!sipMeth)
    {
         ::KLed::paintFlat();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKLed::ledWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_ledWidth);

    if (!sipMeth)
        return  ::KLed::ledWidth();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKLed::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KLed::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 sipKLed::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KLed::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 sipKLed::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KLed::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLed::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KLed::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLed::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KLed::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKLed::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KLed::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 sipKLed::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KLed::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKLed::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::KLed::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* sipKLed::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KLed::paintEngine();

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKLed::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KLed::devType();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKLed::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KLed::setVisible(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKLed::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KLed::sizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKLed::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KLed::minimumSizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKLed::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::KLed::heightForWidth(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLed::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KLed::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLed::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KLed::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLed::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KLed::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLed::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KLed::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLed::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KLed::wheelEvent(a0);
        return;
    }

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kdeui_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLed::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KLed::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLed::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KLed::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLed::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KLed::focusInEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLed::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KLed::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLed::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KLed::enterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLed::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KLed::leaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLed::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KLed::paintEvent(a0);
        return;
    }

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kdeui_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLed::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KLed::moveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kdeui_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLed::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KLed::resizeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kdeui_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLed::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KLed::closeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kdeui_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLed::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KLed::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kdeui_22(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLed::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KLed::tabletEvent(a0);
        return;
    }

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kdeui_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLed::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KLed::actionEvent(a0);
        return;
    }

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kdeui_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLed::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KLed::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kdeui_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLed::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KLed::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kdeui_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLed::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KLed::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kdeui_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLed::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KLed::dropEvent(a0);
        return;
    }

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kdeui_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLed::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KLed::showEvent(a0);
        return;
    }

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kdeui_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLed::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KLed::hideEvent(a0);
        return;
    }

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kdeui_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLed::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KLed::changeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLed::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KLed::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QVariant sipKLed::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::KLed::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 sipKLed::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KLed::focusNextPrevChild(a0);

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLed::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KLed::enabledChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLed::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KLed::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 sipKLed::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KLed::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 sipKLed::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KLed::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLed::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KLed::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_KLed_color(PyObject *, PyObject *);}
static PyObject *meth_KLed_color(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KLed *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLed, &sipCpp))
        {
             ::QColor*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QColor(sipCpp->color());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QColor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLed, sipName_color, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLed_state(PyObject *, PyObject *);}
static PyObject *meth_KLed_state(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KLed *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLed, &sipCpp))
        {
             ::KLed::State sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->state();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KLed_State);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLed, sipName_state, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLed_look(PyObject *, PyObject *);}
static PyObject *meth_KLed_look(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KLed *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLed, &sipCpp))
        {
             ::KLed::Look sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->look();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KLed_Look);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLed, sipName_look, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLed_shape(PyObject *, PyObject *);}
static PyObject *meth_KLed_shape(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KLed *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLed, &sipCpp))
        {
             ::KLed::Shape sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->shape();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KLed_Shape);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLed, sipName_shape, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLed_darkFactor(PyObject *, PyObject *);}
static PyObject *meth_KLed_darkFactor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KLed *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLed, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->darkFactor();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLed, sipName_darkFactor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLed_setColor(PyObject *, PyObject *);}
static PyObject *meth_KLed_setColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QColor* a0;
        int a0State = 0;
         ::KLed *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KLed, &sipCpp, sipType_QColor, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setColor(*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_KLed, sipName_setColor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLed_setState(PyObject *, PyObject *);}
static PyObject *meth_KLed_setState(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KLed::State a0;
         ::KLed *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KLed, &sipCpp, sipType_KLed_State, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setState(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLed, sipName_setState, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLed_setLook(PyObject *, PyObject *);}
static PyObject *meth_KLed_setLook(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KLed::Look a0;
         ::KLed *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KLed, &sipCpp, sipType_KLed_Look, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLook(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLed, sipName_setLook, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLed_setShape(PyObject *, PyObject *);}
static PyObject *meth_KLed_setShape(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KLed::Shape a0;
         ::KLed *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KLed, &sipCpp, sipType_KLed_Shape, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setShape(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLed, sipName_setShape, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLed_setDarkFactor(PyObject *, PyObject *);}
static PyObject *meth_KLed_setDarkFactor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::KLed *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KLed, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDarkFactor(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLed, sipName_setDarkFactor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLed_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_KLed_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::KLed *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLed, &sipCpp))
        {
             ::QSize*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QSize((sipSelfWasArg ? sipCpp-> ::KLed::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_KLed, sipName_sizeHint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLed_minimumSizeHint(PyObject *, PyObject *);}
static PyObject *meth_KLed_minimumSizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::KLed *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLed, &sipCpp))
        {
             ::QSize*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QSize((sipSelfWasArg ? sipCpp-> ::KLed::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_KLed, sipName_minimumSizeHint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLed_toggle(PyObject *, PyObject *);}
static PyObject *meth_KLed_toggle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KLed *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLed, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->toggle();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLed, sipName_toggle, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLed_on(PyObject *, PyObject *);}
static PyObject *meth_KLed_on(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KLed *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLed, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->on();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLed, sipName_on, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLed_off(PyObject *, PyObject *);}
static PyObject *meth_KLed_off(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KLed *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLed, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->off();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLed, sipName_off, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLed_ledWidth(PyObject *, PyObject *);}
static PyObject *meth_KLed_ledWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::KLed *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KLed, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::KLed::ledWidth() : sipCpp->ledWidth());
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLed, sipName_ledWidth, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLed_paintFlat(PyObject *, PyObject *);}
static PyObject *meth_KLed_paintFlat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::KLed *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KLed, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KLed::paintFlat() : sipCpp->paintFlat());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLed, sipName_paintFlat, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLed_paintRaised(PyObject *, PyObject *);}
static PyObject *meth_KLed_paintRaised(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::KLed *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KLed, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KLed::paintRaised() : sipCpp->paintRaised());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLed, sipName_paintRaised, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLed_paintSunken(PyObject *, PyObject *);}
static PyObject *meth_KLed_paintSunken(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::KLed *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KLed, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KLed::paintSunken() : sipCpp->paintSunken());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLed, sipName_paintSunken, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLed_paintRect(PyObject *, PyObject *);}
static PyObject *meth_KLed_paintRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::KLed *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KLed, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KLed::paintRect() : sipCpp->paintRect());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLed, sipName_paintRect, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLed_paintRectFrame(PyObject *, PyObject *);}
static PyObject *meth_KLed_paintRectFrame(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
         ::KLed *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pb", &sipSelf, sipType_KLed, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KLed::paintRectFrame(a0) : sipCpp->paintRectFrame(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLed, sipName_paintRectFrame, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLed_paintEvent(PyObject *, PyObject *);}
static PyObject *meth_KLed_paintEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QPaintEvent* a0;
         ::KLed *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KLed, &sipCpp, sipType_QPaintEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KLed::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_KLed, sipName_paintEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLed_paintCachedPixmap(PyObject *, PyObject *);}
static PyObject *meth_KLed_paintCachedPixmap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KLed *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KLed, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->paintCachedPixmap();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLed, sipName_paintCachedPixmap, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLed_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_KLed_resizeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QResizeEvent* a0;
         ::KLed *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KLed, &sipCpp, sipType_QResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KLed::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_KLed, sipName_resizeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLed_updateCachedPixmap(PyObject *, PyObject *);}
static PyObject *meth_KLed_updateCachedPixmap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KLed *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KLed, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->updateCachedPixmap();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLed, sipName_updateCachedPixmap, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLed_paintLed(PyObject *, PyObject *);}
static PyObject *meth_KLed_paintLed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KLed::Shape a0;
         ::KLed::Look a1;
         ::KLed *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pEE", &sipSelf, sipType_KLed, &sipCpp, sipType_KLed_Shape, &a0, sipType_KLed_Look, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->paintLed(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_KLed, sipName_paintLed, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KLed(void *, const sipTypeDef *);}
static void *cast_KLed(void *sipCppV, const sipTypeDef *targetType)
{
     ::KLed *sipCpp = reinterpret_cast< ::KLed *>(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_KLed(void *, int);}
static void release_KLed(void *sipCppV, int)
{
     ::KLed *sipCpp = reinterpret_cast< ::KLed *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KLed(sipSimpleWrapper *);}
static void dealloc_KLed(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKLed *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KLed(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KLed(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KLed(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKLed *sipCpp = 0;

    {
         ::QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKLed(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::QColor* a0;
        int a0State = 0;
         ::QWidget* a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1|JH", sipType_QColor, &a0, &a0State, sipType_QWidget, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKLed(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QColor *>(a0),sipType_QColor,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::QColor* a0;
        int a0State = 0;
         ::KLed::State a1;
         ::KLed::Look a2;
         ::KLed::Shape a3;
         ::QWidget* a4 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1EEE|JH", sipType_QColor, &a0, &a0State, sipType_KLed_State, &a1, sipType_KLed_Look, &a2, sipType_KLed_Shape, &a3, sipType_QWidget, &a4, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKLed(*a0,a1,a2,a3,a4);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QColor *>(a0),sipType_QColor,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KLed[] = {{131, 2, 1}};


static PyMethodDef methods_KLed[] = {
    {SIP_MLNAME_CAST(sipName_color), meth_KLed_color, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_darkFactor), meth_KLed_darkFactor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ledWidth), meth_KLed_ledWidth, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_look), meth_KLed_look, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_minimumSizeHint), meth_KLed_minimumSizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_off), meth_KLed_off, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_on), meth_KLed_on, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintCachedPixmap), meth_KLed_paintCachedPixmap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_KLed_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintFlat), meth_KLed_paintFlat, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintLed), meth_KLed_paintLed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintRaised), meth_KLed_paintRaised, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintRect), meth_KLed_paintRect, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintRectFrame), meth_KLed_paintRectFrame, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintSunken), meth_KLed_paintSunken, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_KLed_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setColor), meth_KLed_setColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDarkFactor), meth_KLed_setDarkFactor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLook), meth_KLed_setLook, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setShape), meth_KLed_setShape, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setState), meth_KLed_setState, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_shape), meth_KLed_shape, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_KLed_sizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_state), meth_KLed_state, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toggle), meth_KLed_toggle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateCachedPixmap), meth_KLed_updateCachedPixmap, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KLed[] = {
    {sipName_Circular, static_cast<int>( ::KLed::Circular), 178},
    {sipName_Flat, static_cast<int>( ::KLed::Flat), 177},
    {sipName_Off, static_cast<int>( ::KLed::Off), 179},
    {sipName_On, static_cast<int>( ::KLed::On), 179},
    {sipName_Raised, static_cast<int>( ::KLed::Raised), 177},
    {sipName_Rectangular, static_cast<int>( ::KLed::Rectangular), 178},
    {sipName_Sunken, static_cast<int>( ::KLed::Sunken), 177},
};


static pyqt4ClassPluginDef plugin_KLed = {
    & ::KLed::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KLed = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KLed,
        {0},
        &plugin_KLed
    },
    {
        sipNameNr_KLed,
        {0, 0, 1},
        26, methods_KLed,
        7, enummembers_KLed,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KLed,
    0,
    init_type_KLed,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KLed,
    0,
    0,
    0,
    release_KLed,
    cast_KLed,
    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/klanguagebutton.sip"
#include <klanguagebutton.h>
#line 31195 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 31199 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 31202 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.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 31205 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 31208 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 31211 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 31214 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 31217 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 31220 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 31223 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 31226 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 31229 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 31232 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 31235 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 31238 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 31241 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 31244 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 31247 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 31250 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 31253 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 31256 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 31259 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 31262 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 31265 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 31268 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31271 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 31274 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31277 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31280 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31283 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31286 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31289 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31292 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31295 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31298 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31301 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31304 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31307 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31310 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31313 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31316 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31319 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31322 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31325 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 31328 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 31331 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 31334 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 31337 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 31340 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 31343 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 31346 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 31349 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 31352 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 31355 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 31358 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 31361 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 31364 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 31367 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 31370 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 31373 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 31376 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 31379 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 31382 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 31385 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 31388 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"


class sipKLanguageButton : public  ::KLanguageButton
{
public:
    sipKLanguageButton( ::QWidget*);
    sipKLanguageButton(const  ::QString&, ::QWidget*);
    virtual ~sipKLanguageButton();

    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:
    sipKLanguageButton(const sipKLanguageButton &);
    sipKLanguageButton &operator = (const sipKLanguageButton &);

    char sipPyMethods[47];
};

sipKLanguageButton::sipKLanguageButton( ::QWidget*a0):  ::KLanguageButton(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKLanguageButton::sipKLanguageButton(const  ::QString& a0, ::QWidget*a1):  ::KLanguageButton(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKLanguageButton::~sipKLanguageButton()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKLanguageButton::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KLanguageButton);
}

int sipKLanguageButton::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KLanguageButton::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KLanguageButton,_c,_id,_a);

    return _id;
}

void *sipKLanguageButton::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KLanguageButton, _clname)) ? this :  ::KLanguageButton::qt_metacast(_clname);
}

void sipKLanguageButton::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KLanguageButton::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 sipKLanguageButton::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KLanguageButton::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 sipKLanguageButton::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KLanguageButton::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLanguageButton::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KLanguageButton::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLanguageButton::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KLanguageButton::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKLanguageButton::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KLanguageButton::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 sipKLanguageButton::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KLanguageButton::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKLanguageButton::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  ::KLanguageButton::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* sipKLanguageButton::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KLanguageButton::paintEngine();

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKLanguageButton::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KLanguageButton::devType();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKLanguageButton::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KLanguageButton::setVisible(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKLanguageButton::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KLanguageButton::sizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKLanguageButton::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KLanguageButton::minimumSizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKLanguageButton::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  ::KLanguageButton::heightForWidth(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLanguageButton::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KLanguageButton::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLanguageButton::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KLanguageButton::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLanguageButton::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KLanguageButton::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLanguageButton::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KLanguageButton::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLanguageButton::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KLanguageButton::wheelEvent(a0);
        return;
    }

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kdeui_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLanguageButton::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KLanguageButton::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLanguageButton::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KLanguageButton::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLanguageButton::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KLanguageButton::focusInEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLanguageButton::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KLanguageButton::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLanguageButton::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KLanguageButton::enterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLanguageButton::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KLanguageButton::leaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLanguageButton::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KLanguageButton::paintEvent(a0);
        return;
    }

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kdeui_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLanguageButton::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KLanguageButton::moveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kdeui_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLanguageButton::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KLanguageButton::resizeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kdeui_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLanguageButton::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KLanguageButton::closeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kdeui_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLanguageButton::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KLanguageButton::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kdeui_22(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLanguageButton::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KLanguageButton::tabletEvent(a0);
        return;
    }

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kdeui_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLanguageButton::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KLanguageButton::actionEvent(a0);
        return;
    }

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kdeui_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLanguageButton::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KLanguageButton::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kdeui_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLanguageButton::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KLanguageButton::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kdeui_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLanguageButton::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KLanguageButton::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kdeui_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLanguageButton::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KLanguageButton::dropEvent(a0);
        return;
    }

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kdeui_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLanguageButton::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KLanguageButton::showEvent(a0);
        return;
    }

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kdeui_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLanguageButton::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KLanguageButton::hideEvent(a0);
        return;
    }

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kdeui_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLanguageButton::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KLanguageButton::changeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLanguageButton::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KLanguageButton::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QVariant sipKLanguageButton::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  ::KLanguageButton::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 sipKLanguageButton::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KLanguageButton::focusNextPrevChild(a0);

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLanguageButton::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KLanguageButton::enabledChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLanguageButton::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KLanguageButton::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 sipKLanguageButton::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KLanguageButton::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 sipKLanguageButton::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KLanguageButton::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKLanguageButton::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KLanguageButton::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_KLanguageButton_setLocale(PyObject *, PyObject *);}
static PyObject *meth_KLanguageButton_setLocale(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KLocale* a0;
         ::KLanguageButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KLanguageButton, &sipCpp, sipType_KLocale, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLocale(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLanguageButton, sipName_setLocale, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLanguageButton_setText(PyObject *, PyObject *);}
static PyObject *meth_KLanguageButton_setText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::KLanguageButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KLanguageButton, &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_KLanguageButton, sipName_setText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLanguageButton_showLanguageCodes(PyObject *, PyObject *);}
static PyObject *meth_KLanguageButton_showLanguageCodes(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::KLanguageButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KLanguageButton, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->showLanguageCodes(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLanguageButton, sipName_showLanguageCodes, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLanguageButton_loadAllLanguages(PyObject *, PyObject *);}
static PyObject *meth_KLanguageButton_loadAllLanguages(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KLanguageButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLanguageButton, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->loadAllLanguages();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLanguageButton, sipName_loadAllLanguages, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLanguageButton_insertLanguage(PyObject *, PyObject *);}
static PyObject *meth_KLanguageButton_insertLanguage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString& a1def = QString();
        const  ::QString* a1 = &a1def;
        int a1State = 0;
        int a2 = -1;
         ::KLanguageButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|J1i", &sipSelf, sipType_KLanguageButton, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->insertLanguage(*a0,*a1,a2);
            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_KLanguageButton, sipName_insertLanguage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLanguageButton_insertSeparator(PyObject *, PyObject *);}
static PyObject *meth_KLanguageButton_insertSeparator(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0 = -1;
         ::KLanguageButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|i", &sipSelf, sipType_KLanguageButton, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->insertSeparator(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLanguageButton, sipName_insertSeparator, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLanguageButton_count(PyObject *, PyObject *);}
static PyObject *meth_KLanguageButton_count(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KLanguageButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLanguageButton, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->count();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLanguageButton, sipName_count, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLanguageButton_clear(PyObject *, PyObject *);}
static PyObject *meth_KLanguageButton_clear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KLanguageButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLanguageButton, &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_KLanguageButton, sipName_clear, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLanguageButton_current(PyObject *, PyObject *);}
static PyObject *meth_KLanguageButton_current(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KLanguageButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLanguageButton, &sipCpp))
        {
             ::QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString(sipCpp->current());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KLanguageButton, sipName_current, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLanguageButton_contains(PyObject *, PyObject *);}
static PyObject *meth_KLanguageButton_contains(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::KLanguageButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KLanguageButton, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->contains(*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_KLanguageButton, sipName_contains, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KLanguageButton_setCurrentItem(PyObject *, PyObject *);}
static PyObject *meth_KLanguageButton_setCurrentItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::KLanguageButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KLanguageButton, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCurrentItem(*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_KLanguageButton, sipName_setCurrentItem, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KLanguageButton(void *, const sipTypeDef *);}
static void *cast_KLanguageButton(void *sipCppV, const sipTypeDef *targetType)
{
     ::KLanguageButton *sipCpp = reinterpret_cast< ::KLanguageButton *>(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_KLanguageButton(void *, int);}
static void release_KLanguageButton(void *sipCppV, int)
{
     ::KLanguageButton *sipCpp = reinterpret_cast< ::KLanguageButton *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KLanguageButton(sipSimpleWrapper *);}
static void dealloc_KLanguageButton(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKLanguageButton *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KLanguageButton(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KLanguageButton(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KLanguageButton(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKLanguageButton *sipCpp = 0;

    {
         ::QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKLanguageButton(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 sipKLanguageButton(*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_KLanguageButton[] = {{131, 2, 1}};


static PyMethodDef methods_KLanguageButton[] = {
    {SIP_MLNAME_CAST(sipName_clear), meth_KLanguageButton_clear, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contains), meth_KLanguageButton_contains, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_count), meth_KLanguageButton_count, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_current), meth_KLanguageButton_current, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_insertLanguage), meth_KLanguageButton_insertLanguage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_insertSeparator), meth_KLanguageButton_insertSeparator, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_loadAllLanguages), meth_KLanguageButton_loadAllLanguages, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCurrentItem), meth_KLanguageButton_setCurrentItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLocale), meth_KLanguageButton_setLocale, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setText), meth_KLanguageButton_setText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showLanguageCodes), meth_KLanguageButton_showLanguageCodes, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KLanguageButton[] = {
    {"highlighted(QString)", 0, 0, 0},
    {"activated(QString)", 0, 0, 0},
    {0, 0, 0, 0}
};


static pyqt4ClassPluginDef plugin_KLanguageButton = {
    & ::KLanguageButton::staticMetaObject,
    0,
    signals_KLanguageButton
};


sipClassTypeDef sipTypeDef_kdeui_KLanguageButton = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KLanguageButton,
        {0},
        &plugin_KLanguageButton
    },
    {
        sipNameNr_KLanguageButton,
        {0, 0, 1},
        11, methods_KLanguageButton,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KLanguageButton,
    0,
    init_type_KLanguageButton,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KLanguageButton,
    0,
    0,
    0,
    release_KLanguageButton,
    cast_KLanguageButton,
    0,
    0,
    0,
    0,
    0,
    0
};


#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 32803 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"


extern "C" {static PyObject *meth_KKeyServer_modXToQt(PyObject *, PyObject *);}
static PyObject *meth_KKeyServer_modXToQt(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::uint a0;
        int a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "u", &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KKeyServer::modXToQt(a0,&a1);
            Py_END_ALLOW_THREADS

            return sipBuildResult(0,"(bi)",sipRes,a1);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_modXToQt, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KKeyServer_symXToKeyQt(PyObject *, PyObject *);}
static PyObject *meth_KKeyServer_symXToKeyQt(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::uint a0;
        int a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "u", &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KKeyServer::symXToKeyQt(a0,&a1);
            Py_END_ALLOW_THREADS

            return sipBuildResult(0,"(bi)",sipRes,a1);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_symXToKeyQt, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KKeyServer_keyQtToModX(PyObject *, PyObject *);}
static PyObject *meth_KKeyServer_keyQtToModX(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::uint a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "i", &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KKeyServer::keyQtToModX(a0,&a1);
            Py_END_ALLOW_THREADS

            return sipBuildResult(0,"(bu)",sipRes,a1);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_keyQtToModX, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KKeyServer_keyQtToCodeX(PyObject *, PyObject *);}
static PyObject *meth_KKeyServer_keyQtToCodeX(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "i", &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KKeyServer::keyQtToCodeX(a0,&a1);
            Py_END_ALLOW_THREADS

            return sipBuildResult(0,"(bi)",sipRes,a1);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_keyQtToCodeX, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KKeyServer_keyQtToSymX(PyObject *, PyObject *);}
static PyObject *meth_KKeyServer_keyQtToSymX(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "i", &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KKeyServer::keyQtToSymX(a0,&a1);
            Py_END_ALLOW_THREADS

            return sipBuildResult(0,"(bi)",sipRes,a1);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_keyQtToSymX, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KKeyServer_accelModMaskX(PyObject *, PyObject *);}
static PyObject *meth_KKeyServer_accelModMaskX(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::uint sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KKeyServer::accelModMaskX();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_accelModMaskX, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KKeyServer_modXModeSwitch(PyObject *, PyObject *);}
static PyObject *meth_KKeyServer_modXModeSwitch(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::uint sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KKeyServer::modXModeSwitch();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_modXModeSwitch, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KKeyServer_modXScrollLock(PyObject *, PyObject *);}
static PyObject *meth_KKeyServer_modXScrollLock(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::uint sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KKeyServer::modXScrollLock();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_modXScrollLock, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KKeyServer_modXNumLock(PyObject *, PyObject *);}
static PyObject *meth_KKeyServer_modXNumLock(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::uint sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KKeyServer::modXNumLock();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_modXNumLock, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KKeyServer_modXMeta(PyObject *, PyObject *);}
static PyObject *meth_KKeyServer_modXMeta(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::uint sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KKeyServer::modXMeta();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_modXMeta, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KKeyServer_modXAlt(PyObject *, PyObject *);}
static PyObject *meth_KKeyServer_modXAlt(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::uint sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KKeyServer::modXAlt();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_modXAlt, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KKeyServer_modXCtrl(PyObject *, PyObject *);}
static PyObject *meth_KKeyServer_modXCtrl(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::uint sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KKeyServer::modXCtrl();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_modXCtrl, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KKeyServer_modXLock(PyObject *, PyObject *);}
static PyObject *meth_KKeyServer_modXLock(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::uint sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KKeyServer::modXLock();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_modXLock, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KKeyServer_modXShift(PyObject *, PyObject *);}
static PyObject *meth_KKeyServer_modXShift(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::uint sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KKeyServer::modXShift();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_modXShift, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KKeyServer_keyboardHasMetaKey(PyObject *, PyObject *);}
static PyObject *meth_KKeyServer_keyboardHasMetaKey(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KKeyServer::keyboardHasMetaKey();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_keyboardHasMetaKey, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KKeyServer_initializeMods(PyObject *, PyObject *);}
static PyObject *meth_KKeyServer_initializeMods(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KKeyServer::initializeMods();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_initializeMods, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KKeyServer_isShiftAsModifierAllowed(PyObject *, PyObject *);}
static PyObject *meth_KKeyServer_isShiftAsModifierAllowed(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "i", &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KKeyServer::isShiftAsModifierAllowed(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_isShiftAsModifierAllowed, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KKeyServer_stringUserToMod(PyObject *, PyObject *);}
static PyObject *meth_KKeyServer_stringUserToMod(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
             ::uint sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KKeyServer::stringUserToMod(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_stringUserToMod, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KKeyServer_modToStringUser(PyObject *, PyObject *);}
static PyObject *meth_KKeyServer_modToStringUser(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::uint a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "u", &a0))
        {
             ::QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString( ::KKeyServer::modToStringUser(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_modToStringUser, NULL);

    return NULL;
}


static PyMethodDef methods_KKeyServer[] = {
    {SIP_MLNAME_CAST(sipName_accelModMaskX), meth_KKeyServer_accelModMaskX, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_initializeMods), meth_KKeyServer_initializeMods, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isShiftAsModifierAllowed), meth_KKeyServer_isShiftAsModifierAllowed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyQtToCodeX), meth_KKeyServer_keyQtToCodeX, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyQtToModX), meth_KKeyServer_keyQtToModX, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyQtToSymX), meth_KKeyServer_keyQtToSymX, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyboardHasMetaKey), meth_KKeyServer_keyboardHasMetaKey, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_modToStringUser), meth_KKeyServer_modToStringUser, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_modXAlt), meth_KKeyServer_modXAlt, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_modXCtrl), meth_KKeyServer_modXCtrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_modXLock), meth_KKeyServer_modXLock, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_modXMeta), meth_KKeyServer_modXMeta, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_modXModeSwitch), meth_KKeyServer_modXModeSwitch, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_modXNumLock), meth_KKeyServer_modXNumLock, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_modXScrollLock), meth_KKeyServer_modXScrollLock, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_modXShift), meth_KKeyServer_modXShift, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_modXToQt), meth_KKeyServer_modXToQt, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_stringUserToMod), meth_KKeyServer_stringUserToMod, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_symXToKeyQt), meth_KKeyServer_symXToKeyQt, METH_VARARGS, NULL}
};


static pyqt4ClassPluginDef plugin_KKeyServer = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KKeyServer = {
    {
        -1,
        0,
        0,
        SIP_TYPE_NAMESPACE,
        sipNameNr_KKeyServer,
        {0},
        &plugin_KKeyServer
    },
    {
        sipNameNr_KKeyServer,
        {0, 0, 1},
        19, methods_KKeyServer,
        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 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kkeysequencewidget.sip"
#include <kkeysequencewidget.h>
#line 33385 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kkeysequencewidget.sip"
#include <kkeysequencewidget.h>
#line 33389 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"


extern "C" {static int slot_KKeySequenceWidget_ShortcutTypes___bool__(PyObject *);}
static int slot_KKeySequenceWidget_ShortcutTypes___bool__(PyObject *sipSelf)
{
     ::KKeySequenceWidget::ShortcutTypes *sipCpp = reinterpret_cast< ::KKeySequenceWidget::ShortcutTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KKeySequenceWidget_ShortcutTypes));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 381 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KKeySequenceWidget::ShortcutTypes::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 33411 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KKeySequenceWidget_ShortcutTypes___ne__(PyObject *,PyObject *);}
static PyObject *slot_KKeySequenceWidget_ShortcutTypes___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::KKeySequenceWidget::ShortcutTypes *sipCpp = reinterpret_cast< ::KKeySequenceWidget::ShortcutTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KKeySequenceWidget_ShortcutTypes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::KKeySequenceWidget::ShortcutTypes* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KKeySequenceWidget_ShortcutTypes, &a0, &a0State))
        {
            bool sipRes = 0;

#line 372 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KKeySequenceWidget::ShortcutTypes::Int() != a0->operator KKeySequenceWidget::ShortcutTypes::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 33445 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
            sipReleaseType(const_cast< ::KKeySequenceWidget::ShortcutTypes *>(a0),sipType_KKeySequenceWidget_ShortcutTypes,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui, ne_slot, sipType_KKeySequenceWidget_ShortcutTypes, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_KKeySequenceWidget_ShortcutTypes___eq__(PyObject *,PyObject *);}
static PyObject *slot_KKeySequenceWidget_ShortcutTypes___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::KKeySequenceWidget::ShortcutTypes *sipCpp = reinterpret_cast< ::KKeySequenceWidget::ShortcutTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KKeySequenceWidget_ShortcutTypes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::KKeySequenceWidget::ShortcutTypes* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KKeySequenceWidget_ShortcutTypes, &a0, &a0State))
        {
            bool sipRes = 0;

#line 363 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KKeySequenceWidget::ShortcutTypes::Int() == a0->operator KKeySequenceWidget::ShortcutTypes::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 33485 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
            sipReleaseType(const_cast< ::KKeySequenceWidget::ShortcutTypes *>(a0),sipType_KKeySequenceWidget_ShortcutTypes,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui, eq_slot, sipType_KKeySequenceWidget_ShortcutTypes, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_KKeySequenceWidget_ShortcutTypes___ixor__(PyObject *,PyObject *);}
static PyObject *slot_KKeySequenceWidget_ShortcutTypes___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KKeySequenceWidget_ShortcutTypes)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::KKeySequenceWidget::ShortcutTypes *sipCpp = reinterpret_cast< ::KKeySequenceWidget::ShortcutTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KKeySequenceWidget_ShortcutTypes));

    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 = KKeySequenceWidget::ShortcutTypes(*sipCpp ^ a0);
#line 33524 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.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_KKeySequenceWidget_ShortcutTypes___xor__(PyObject *,PyObject *);}
static PyObject *slot_KKeySequenceWidget_ShortcutTypes___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::KKeySequenceWidget::ShortcutTypes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KKeySequenceWidget_ShortcutTypes, &a0, &a0State, &a1))
        {
             ::KKeySequenceWidget::ShortcutTypes*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KKeySequenceWidget::ShortcutTypes((*a0 ^ a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KKeySequenceWidget_ShortcutTypes,a0State);

            return sipConvertFromNewType(sipRes,sipType_KKeySequenceWidget_ShortcutTypes,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_KKeySequenceWidget_ShortcutTypes___ior__(PyObject *,PyObject *);}
static PyObject *slot_KKeySequenceWidget_ShortcutTypes___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KKeySequenceWidget_ShortcutTypes)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::KKeySequenceWidget::ShortcutTypes *sipCpp = reinterpret_cast< ::KKeySequenceWidget::ShortcutTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KKeySequenceWidget_ShortcutTypes));

    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 = KKeySequenceWidget::ShortcutTypes(*sipCpp | a0);
#line 33598 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.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_KKeySequenceWidget_ShortcutTypes___or__(PyObject *,PyObject *);}
static PyObject *slot_KKeySequenceWidget_ShortcutTypes___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::KKeySequenceWidget::ShortcutTypes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KKeySequenceWidget_ShortcutTypes, &a0, &a0State, &a1))
        {
             ::KKeySequenceWidget::ShortcutTypes*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KKeySequenceWidget::ShortcutTypes((*a0 | a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KKeySequenceWidget_ShortcutTypes,a0State);

            return sipConvertFromNewType(sipRes,sipType_KKeySequenceWidget_ShortcutTypes,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_KKeySequenceWidget_ShortcutTypes___iand__(PyObject *,PyObject *);}
static PyObject *slot_KKeySequenceWidget_ShortcutTypes___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KKeySequenceWidget_ShortcutTypes)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::KKeySequenceWidget::ShortcutTypes *sipCpp = reinterpret_cast< ::KKeySequenceWidget::ShortcutTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KKeySequenceWidget_ShortcutTypes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp-> ::KKeySequenceWidget::ShortcutTypes::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_KKeySequenceWidget_ShortcutTypes___and__(PyObject *,PyObject *);}
static PyObject *slot_KKeySequenceWidget_ShortcutTypes___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::KKeySequenceWidget::ShortcutTypes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KKeySequenceWidget_ShortcutTypes, &a0, &a0State, &a1))
        {
             ::KKeySequenceWidget::ShortcutTypes*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KKeySequenceWidget::ShortcutTypes((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KKeySequenceWidget_ShortcutTypes,a0State);

            return sipConvertFromNewType(sipRes,sipType_KKeySequenceWidget_ShortcutTypes,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_KKeySequenceWidget_ShortcutTypes___invert__(PyObject *);}
static PyObject *slot_KKeySequenceWidget_ShortcutTypes___invert__(PyObject *sipSelf)
{
     ::KKeySequenceWidget::ShortcutTypes *sipCpp = reinterpret_cast< ::KKeySequenceWidget::ShortcutTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KKeySequenceWidget_ShortcutTypes));

    if (!sipCpp)
        return 0;


    {
        {
             ::KKeySequenceWidget::ShortcutTypes*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KKeySequenceWidget::ShortcutTypes(~(*sipCpp));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KKeySequenceWidget_ShortcutTypes,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KKeySequenceWidget_ShortcutTypes___int__(PyObject *);}
static PyObject *slot_KKeySequenceWidget_ShortcutTypes___int__(PyObject *sipSelf)
{
     ::KKeySequenceWidget::ShortcutTypes *sipCpp = reinterpret_cast< ::KKeySequenceWidget::ShortcutTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KKeySequenceWidget_ShortcutTypes));

    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_KKeySequenceWidget_ShortcutTypes(void *, int);}
static void release_KKeySequenceWidget_ShortcutTypes(void *sipCppV, int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast< ::KKeySequenceWidget::ShortcutTypes *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KKeySequenceWidget_ShortcutTypes(void *, SIP_SSIZE_T, const void *);}
static void assign_KKeySequenceWidget_ShortcutTypes(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::KKeySequenceWidget::ShortcutTypes *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::KKeySequenceWidget::ShortcutTypes *>(sipSrc);
}


extern "C" {static void *array_KKeySequenceWidget_ShortcutTypes(SIP_SSIZE_T);}
static void *array_KKeySequenceWidget_ShortcutTypes(SIP_SSIZE_T sipNrElem)
{
    return new  ::KKeySequenceWidget::ShortcutTypes[sipNrElem];
}


extern "C" {static void *copy_KKeySequenceWidget_ShortcutTypes(const void *, SIP_SSIZE_T);}
static void *copy_KKeySequenceWidget_ShortcutTypes(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::KKeySequenceWidget::ShortcutTypes(reinterpret_cast<const  ::KKeySequenceWidget::ShortcutTypes *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KKeySequenceWidget_ShortcutTypes(sipSimpleWrapper *);}
static void dealloc_KKeySequenceWidget_ShortcutTypes(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_KKeySequenceWidget_ShortcutTypes(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_KKeySequenceWidget_ShortcutTypes(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KKeySequenceWidget_ShortcutTypes(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::KKeySequenceWidget::ShortcutTypes *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KKeySequenceWidget::ShortcutTypes();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KKeySequenceWidget::ShortcutTypes(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const  ::KKeySequenceWidget::ShortcutTypes* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_KKeySequenceWidget_ShortcutTypes, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KKeySequenceWidget::ShortcutTypes(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::KKeySequenceWidget::ShortcutTypes *>(a0),sipType_KKeySequenceWidget_ShortcutTypes,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_KKeySequenceWidget_ShortcutTypes(PyObject *, void **, int *, PyObject *);}
static int convertTo_KKeySequenceWidget_ShortcutTypes(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::KKeySequenceWidget::ShortcutTypes **sipCppPtr = reinterpret_cast< ::KKeySequenceWidget::ShortcutTypes **>(sipCppPtrV);

#line 390 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KKeySequenceWidget::ShortcutTypes is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KKeySequenceWidget_ShortcutType)) ||
            sipCanConvertToType(sipPy, sipType_KKeySequenceWidget_ShortcutTypes, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KKeySequenceWidget_ShortcutType)))
{
    *sipCppPtr = new KKeySequenceWidget::ShortcutTypes(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KKeySequenceWidget::ShortcutTypes *>(sipConvertToType(sipPy, sipType_KKeySequenceWidget_ShortcutTypes, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 33886 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KKeySequenceWidget_ShortcutTypes[] = {
    {(void *)slot_KKeySequenceWidget_ShortcutTypes___bool__, bool_slot},
    {(void *)slot_KKeySequenceWidget_ShortcutTypes___ne__, ne_slot},
    {(void *)slot_KKeySequenceWidget_ShortcutTypes___eq__, eq_slot},
    {(void *)slot_KKeySequenceWidget_ShortcutTypes___ixor__, ixor_slot},
    {(void *)slot_KKeySequenceWidget_ShortcutTypes___xor__, xor_slot},
    {(void *)slot_KKeySequenceWidget_ShortcutTypes___ior__, ior_slot},
    {(void *)slot_KKeySequenceWidget_ShortcutTypes___or__, or_slot},
    {(void *)slot_KKeySequenceWidget_ShortcutTypes___iand__, iand_slot},
    {(void *)slot_KKeySequenceWidget_ShortcutTypes___and__, and_slot},
    {(void *)slot_KKeySequenceWidget_ShortcutTypes___invert__, invert_slot},
    {(void *)slot_KKeySequenceWidget_ShortcutTypes___int__, int_slot},
    {0, (sipPySlotType)0}
};


static pyqt4ClassPluginDef plugin_KKeySequenceWidget_ShortcutTypes = {
    0,
    1,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KKeySequenceWidget_ShortcutTypes = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KKeySequenceWidget__ShortcutTypes,
        {0},
        &plugin_KKeySequenceWidget_ShortcutTypes
    },
    {
        sipNameNr_ShortcutTypes,
        {170, 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_KKeySequenceWidget_ShortcutTypes,
    init_type_KKeySequenceWidget_ShortcutTypes,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KKeySequenceWidget_ShortcutTypes,
    assign_KKeySequenceWidget_ShortcutTypes,
    array_KKeySequenceWidget_ShortcutTypes,
    copy_KKeySequenceWidget_ShortcutTypes,
    release_KKeySequenceWidget_ShortcutTypes,
    0,
    convertTo_KKeySequenceWidget_ShortcutTypes,
    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/kkeysequencewidget.sip"
#include <kkeysequencewidget.h>
#line 33965 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 33969 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 33972 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#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 33975 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 33978 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 33981 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 33984 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 33987 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.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 33990 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kkeysequencewidget.sip"
#include <kkeysequencewidget.h>
#line 33993 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 33996 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 33999 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34002 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34005 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 34008 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 34011 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 34014 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 34017 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 34020 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 34023 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 34026 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 34029 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 34032 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 34035 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 34038 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 34041 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 34044 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 34047 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34050 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 34053 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 34056 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34059 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 34062 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34065 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34068 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34071 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34074 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34077 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34080 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34083 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34086 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34089 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34092 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34095 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34098 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34101 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34104 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34107 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34110 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34113 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 34116 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 34119 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 34122 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 34125 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 34128 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34131 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 34134 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 34137 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 34140 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 34143 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 34146 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 34149 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 34152 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 34155 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 34158 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 34161 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 34164 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 34167 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"


class sipKKeySequenceWidget : public  ::KKeySequenceWidget
{
public:
    sipKKeySequenceWidget( ::QWidget*);
    virtual ~sipKKeySequenceWidget();

    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:
    sipKKeySequenceWidget(const sipKKeySequenceWidget &);
    sipKKeySequenceWidget &operator = (const sipKKeySequenceWidget &);

    char sipPyMethods[47];
};

sipKKeySequenceWidget::sipKKeySequenceWidget( ::QWidget*a0):  ::KKeySequenceWidget(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKKeySequenceWidget::~sipKKeySequenceWidget()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKKeySequenceWidget::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KKeySequenceWidget);
}

int sipKKeySequenceWidget::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KKeySequenceWidget::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KKeySequenceWidget,_c,_id,_a);

    return _id;
}

void *sipKKeySequenceWidget::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KKeySequenceWidget, _clname)) ? this :  ::KKeySequenceWidget::qt_metacast(_clname);
}

void sipKKeySequenceWidget::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KKeySequenceWidget::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 sipKKeySequenceWidget::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KKeySequenceWidget::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 sipKKeySequenceWidget::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KKeySequenceWidget::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKKeySequenceWidget::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KKeySequenceWidget::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKKeySequenceWidget::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KKeySequenceWidget::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKKeySequenceWidget::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KKeySequenceWidget::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 sipKKeySequenceWidget::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KKeySequenceWidget::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKKeySequenceWidget::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  ::KKeySequenceWidget::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* sipKKeySequenceWidget::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KKeySequenceWidget::paintEngine();

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKKeySequenceWidget::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KKeySequenceWidget::devType();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKKeySequenceWidget::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KKeySequenceWidget::setVisible(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKKeySequenceWidget::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KKeySequenceWidget::sizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKKeySequenceWidget::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KKeySequenceWidget::minimumSizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKKeySequenceWidget::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  ::KKeySequenceWidget::heightForWidth(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKKeySequenceWidget::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KKeySequenceWidget::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKKeySequenceWidget::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KKeySequenceWidget::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKKeySequenceWidget::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KKeySequenceWidget::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKKeySequenceWidget::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KKeySequenceWidget::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKKeySequenceWidget::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KKeySequenceWidget::wheelEvent(a0);
        return;
    }

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kdeui_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKKeySequenceWidget::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KKeySequenceWidget::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKKeySequenceWidget::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KKeySequenceWidget::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKKeySequenceWidget::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KKeySequenceWidget::focusInEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKKeySequenceWidget::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KKeySequenceWidget::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKKeySequenceWidget::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KKeySequenceWidget::enterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKKeySequenceWidget::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KKeySequenceWidget::leaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKKeySequenceWidget::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KKeySequenceWidget::paintEvent(a0);
        return;
    }

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kdeui_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKKeySequenceWidget::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KKeySequenceWidget::moveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kdeui_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKKeySequenceWidget::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KKeySequenceWidget::resizeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kdeui_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKKeySequenceWidget::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KKeySequenceWidget::closeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kdeui_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKKeySequenceWidget::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KKeySequenceWidget::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kdeui_22(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKKeySequenceWidget::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KKeySequenceWidget::tabletEvent(a0);
        return;
    }

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kdeui_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKKeySequenceWidget::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KKeySequenceWidget::actionEvent(a0);
        return;
    }

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kdeui_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKKeySequenceWidget::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KKeySequenceWidget::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kdeui_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKKeySequenceWidget::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KKeySequenceWidget::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kdeui_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKKeySequenceWidget::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KKeySequenceWidget::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kdeui_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKKeySequenceWidget::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KKeySequenceWidget::dropEvent(a0);
        return;
    }

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kdeui_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKKeySequenceWidget::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KKeySequenceWidget::showEvent(a0);
        return;
    }

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kdeui_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKKeySequenceWidget::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KKeySequenceWidget::hideEvent(a0);
        return;
    }

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kdeui_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKKeySequenceWidget::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KKeySequenceWidget::changeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKKeySequenceWidget::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KKeySequenceWidget::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QVariant sipKKeySequenceWidget::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  ::KKeySequenceWidget::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 sipKKeySequenceWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KKeySequenceWidget::focusNextPrevChild(a0);

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKKeySequenceWidget::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KKeySequenceWidget::enabledChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKKeySequenceWidget::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KKeySequenceWidget::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 sipKKeySequenceWidget::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KKeySequenceWidget::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 sipKKeySequenceWidget::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KKeySequenceWidget::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKKeySequenceWidget::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KKeySequenceWidget::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_KKeySequenceWidget_setCheckForConflictsAgainst(PyObject *, PyObject *);}
static PyObject *meth_KKeySequenceWidget_setCheckForConflictsAgainst(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KKeySequenceWidget::ShortcutTypes* a0;
        int a0State = 0;
         ::KKeySequenceWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KKeySequenceWidget, &sipCpp, sipType_KKeySequenceWidget_ShortcutTypes, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCheckForConflictsAgainst(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KKeySequenceWidget_ShortcutTypes,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KKeySequenceWidget, sipName_setCheckForConflictsAgainst, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KKeySequenceWidget_checkForConflictsAgainst(PyObject *, PyObject *);}
static PyObject *meth_KKeySequenceWidget_checkForConflictsAgainst(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KKeySequenceWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KKeySequenceWidget, &sipCpp))
        {
             ::KKeySequenceWidget::ShortcutTypes*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KKeySequenceWidget::ShortcutTypes(sipCpp->checkForConflictsAgainst());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KKeySequenceWidget_ShortcutTypes,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KKeySequenceWidget, sipName_checkForConflictsAgainst, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KKeySequenceWidget_setMultiKeyShortcutsAllowed(PyObject *, PyObject *);}
static PyObject *meth_KKeySequenceWidget_setMultiKeyShortcutsAllowed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::KKeySequenceWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KKeySequenceWidget, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMultiKeyShortcutsAllowed(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KKeySequenceWidget, sipName_setMultiKeyShortcutsAllowed, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KKeySequenceWidget_multiKeyShortcutsAllowed(PyObject *, PyObject *);}
static PyObject *meth_KKeySequenceWidget_multiKeyShortcutsAllowed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KKeySequenceWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KKeySequenceWidget, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->multiKeyShortcutsAllowed();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KKeySequenceWidget, sipName_multiKeyShortcutsAllowed, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KKeySequenceWidget_setModifierlessAllowed(PyObject *, PyObject *);}
static PyObject *meth_KKeySequenceWidget_setModifierlessAllowed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::KKeySequenceWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KKeySequenceWidget, &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_KKeySequenceWidget, sipName_setModifierlessAllowed, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KKeySequenceWidget_isModifierlessAllowed(PyObject *, PyObject *);}
static PyObject *meth_KKeySequenceWidget_isModifierlessAllowed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KKeySequenceWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KKeySequenceWidget, &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_KKeySequenceWidget, sipName_isModifierlessAllowed, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KKeySequenceWidget_setClearButtonShown(PyObject *, PyObject *);}
static PyObject *meth_KKeySequenceWidget_setClearButtonShown(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::KKeySequenceWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KKeySequenceWidget, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setClearButtonShown(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KKeySequenceWidget, sipName_setClearButtonShown, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KKeySequenceWidget_isKeySequenceAvailable(PyObject *, PyObject *);}
static PyObject *meth_KKeySequenceWidget_isKeySequenceAvailable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QKeySequence* a0;
        int a0State = 0;
        const  ::KKeySequenceWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KKeySequenceWidget, &sipCpp, sipType_QKeySequence, &a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isKeySequenceAvailable(*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_KKeySequenceWidget, sipName_isKeySequenceAvailable, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KKeySequenceWidget_keySequence(PyObject *, PyObject *);}
static PyObject *meth_KKeySequenceWidget_keySequence(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KKeySequenceWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KKeySequenceWidget, &sipCpp))
        {
             ::QKeySequence*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QKeySequence(sipCpp->keySequence());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QKeySequence,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KKeySequenceWidget, sipName_keySequence, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KKeySequenceWidget_setCheckActionCollections(PyObject *, PyObject *);}
static PyObject *meth_KKeySequenceWidget_setCheckActionCollections(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QList< ::KActionCollection*>* a0;
        int a0State = 0;
         ::KKeySequenceWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KKeySequenceWidget, &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_KKeySequenceWidget, sipName_setCheckActionCollections, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KKeySequenceWidget_setCheckActionList(PyObject *, PyObject *);}
static PyObject *meth_KKeySequenceWidget_setCheckActionList(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QList< ::QAction*>* a0;
        int a0State = 0;
         ::KKeySequenceWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KKeySequenceWidget, &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_KKeySequenceWidget, sipName_setCheckActionList, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KKeySequenceWidget_setComponentName(PyObject *, PyObject *);}
static PyObject *meth_KKeySequenceWidget_setComponentName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::KKeySequenceWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KKeySequenceWidget, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setComponentName(*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_KKeySequenceWidget, sipName_setComponentName, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KKeySequenceWidget_captureKeySequence(PyObject *, PyObject *);}
static PyObject *meth_KKeySequenceWidget_captureKeySequence(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KKeySequenceWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KKeySequenceWidget, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->captureKeySequence();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KKeySequenceWidget, sipName_captureKeySequence, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KKeySequenceWidget_setKeySequence(PyObject *, PyObject *);}
static PyObject *meth_KKeySequenceWidget_setKeySequence(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QKeySequence* a0;
        int a0State = 0;
         ::KKeySequenceWidget::Validation a1 = KKeySequenceWidget::NoValidate;
         ::KKeySequenceWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|E", &sipSelf, sipType_KKeySequenceWidget, &sipCpp, sipType_QKeySequence, &a0, &a0State, sipType_KKeySequenceWidget_Validation, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setKeySequence(*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_KKeySequenceWidget, sipName_setKeySequence, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KKeySequenceWidget_clearKeySequence(PyObject *, PyObject *);}
static PyObject *meth_KKeySequenceWidget_clearKeySequence(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KKeySequenceWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KKeySequenceWidget, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->clearKeySequence();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KKeySequenceWidget, sipName_clearKeySequence, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KKeySequenceWidget_applyStealShortcut(PyObject *, PyObject *);}
static PyObject *meth_KKeySequenceWidget_applyStealShortcut(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KKeySequenceWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KKeySequenceWidget, &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_KKeySequenceWidget, sipName_applyStealShortcut, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KKeySequenceWidget(void *, const sipTypeDef *);}
static void *cast_KKeySequenceWidget(void *sipCppV, const sipTypeDef *targetType)
{
     ::KKeySequenceWidget *sipCpp = reinterpret_cast< ::KKeySequenceWidget *>(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_KKeySequenceWidget(void *, int);}
static void release_KKeySequenceWidget(void *sipCppV, int)
{
     ::KKeySequenceWidget *sipCpp = reinterpret_cast< ::KKeySequenceWidget *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KKeySequenceWidget(sipSimpleWrapper *);}
static void dealloc_KKeySequenceWidget(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKKeySequenceWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KKeySequenceWidget(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KKeySequenceWidget(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KKeySequenceWidget(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKKeySequenceWidget *sipCpp = 0;

    {
         ::QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKKeySequenceWidget(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KKeySequenceWidget[] = {{131, 2, 1}};


static PyMethodDef methods_KKeySequenceWidget[] = {
    {SIP_MLNAME_CAST(sipName_applyStealShortcut), meth_KKeySequenceWidget_applyStealShortcut, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_captureKeySequence), meth_KKeySequenceWidget_captureKeySequence, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_checkForConflictsAgainst), meth_KKeySequenceWidget_checkForConflictsAgainst, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clearKeySequence), meth_KKeySequenceWidget_clearKeySequence, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isKeySequenceAvailable), meth_KKeySequenceWidget_isKeySequenceAvailable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isModifierlessAllowed), meth_KKeySequenceWidget_isModifierlessAllowed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keySequence), meth_KKeySequenceWidget_keySequence, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_multiKeyShortcutsAllowed), meth_KKeySequenceWidget_multiKeyShortcutsAllowed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCheckActionCollections), meth_KKeySequenceWidget_setCheckActionCollections, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCheckActionList), meth_KKeySequenceWidget_setCheckActionList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCheckForConflictsAgainst), meth_KKeySequenceWidget_setCheckForConflictsAgainst, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setClearButtonShown), meth_KKeySequenceWidget_setClearButtonShown, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setComponentName), meth_KKeySequenceWidget_setComponentName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setKeySequence), meth_KKeySequenceWidget_setKeySequence, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setModifierlessAllowed), meth_KKeySequenceWidget_setModifierlessAllowed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMultiKeyShortcutsAllowed), meth_KKeySequenceWidget_setMultiKeyShortcutsAllowed, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KKeySequenceWidget[] = {
    {sipName_GlobalShortcuts, static_cast<int>( ::KKeySequenceWidget::GlobalShortcuts), 171},
    {sipName_LocalShortcuts, static_cast<int>( ::KKeySequenceWidget::LocalShortcuts), 171},
    {sipName_NoValidate, static_cast<int>( ::KKeySequenceWidget::NoValidate), 173},
    {sipName_None, static_cast<int>( ::KKeySequenceWidget::None), 171},
    {sipName_StandardShortcuts, static_cast<int>( ::KKeySequenceWidget::StandardShortcuts), 171},
    {sipName_Validate, static_cast<int>( ::KKeySequenceWidget::Validate), 173},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KKeySequenceWidget[] = {
    {"stealShortcut(QKeySequence,KAction*)", 0, 0, 0},
    {"keySequenceChanged(QKeySequence)", 0, 0, 0},
    {0, 0, 0, 0}
};


static pyqt4ClassPluginDef plugin_KKeySequenceWidget = {
    & ::KKeySequenceWidget::staticMetaObject,
    0,
    signals_KKeySequenceWidget
};


sipClassTypeDef sipTypeDef_kdeui_KKeySequenceWidget = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KKeySequenceWidget,
        {0},
        &plugin_KKeySequenceWidget
    },
    {
        sipNameNr_KKeySequenceWidget,
        {0, 0, 1},
        16, methods_KKeySequenceWidget,
        6, enummembers_KKeySequenceWidget,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KKeySequenceWidget,
    0,
    init_type_KKeySequenceWidget,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KKeySequenceWidget,
    0,
    0,
    0,
    release_KKeySequenceWidget,
    cast_KKeySequenceWidget,
    0,
    0,
    0,
    0,
    0,
    0
};


#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 35706 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 35709 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qvalidator.sip"
#include <qvalidator.h>
#line 35712 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 35715 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"


extern "C" {static PyObject *meth_KInputDialog_getDouble(PyObject *, PyObject *);}
static PyObject *meth_KInputDialog_getDouble(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
        double a2 = 0;
        double a3 = -DBL_MAX;
        double a4 = DBL_MAX;
        double a5 = 0.1;
        int a6 = 1;
        bool a7;
         ::QWidget* a8 = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1|ddddiJ:", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, &a2, &a3, &a4, &a5, &a6, sipType_QWidget, &a8))
        {
            double sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KInputDialog::getDouble(*a0,*a1,a2,a3,a4,a5,a6,&a7,a8);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            return sipBuildResult(0,"(db)",sipRes,a7);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_getDouble, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KInputDialog_getItemList(PyObject *, PyObject *);}
static PyObject *meth_KInputDialog_getItemList(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QStringList& a2def = QStringList();
        const  ::QStringList* a2 = &a2def;
        int a2State = 0;
        const  ::QStringList& a3def = QStringList();
        const  ::QStringList* a3 = &a3def;
        int a3State = 0;
        bool a4 = 0;
        bool a5;
         ::QWidget* a6 = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1|J1J1bJ:", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QStringList,&a2, &a2State, sipType_QStringList,&a3, &a3State, &a4, sipType_QWidget, &a6))
        {
             ::QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QStringList( ::KInputDialog::getItemList(*a0,*a1,*a2,*a3,a4,&a5,a6));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QStringList *>(a2),sipType_QStringList,a2State);
            sipReleaseType(const_cast< ::QStringList *>(a3),sipType_QStringList,a3State);

            PyObject *sipResObj = sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
            return sipBuildResult(0,"(Rb)",sipResObj,a5);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_getItemList, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KInputDialog_getItem(PyObject *, PyObject *);}
static PyObject *meth_KInputDialog_getItem(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QStringList* a2;
        int a2State = 0;
        int a3 = 0;
        bool a4 = 0;
        bool a5;
         ::QWidget* a6 = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1J1|ibJ:", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QStringList,&a2, &a2State, &a3, &a4, sipType_QWidget, &a6))
        {
             ::QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString( ::KInputDialog::getItem(*a0,*a1,*a2,a3,a4,&a5,a6));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QStringList *>(a2),sipType_QStringList,a2State);

            PyObject *sipResObj = sipConvertFromNewType(sipRes,sipType_QString,NULL);
            return sipBuildResult(0,"(Rb)",sipResObj,a5);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_getItem, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KInputDialog_getInteger(PyObject *, PyObject *);}
static PyObject *meth_KInputDialog_getInteger(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
        int a2 = 0;
        int a3 = INT_MIN;
        int a4 = INT_MAX;
        int a5 = 1;
        int a6 = 10;
        bool a7;
         ::QWidget* a8 = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1|iiiiiJ:", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, &a2, &a3, &a4, &a5, &a6, sipType_QWidget, &a8))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KInputDialog::getInteger(*a0,*a1,a2,a3,a4,a5,a6,&a7,a8);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            return sipBuildResult(0,"(ib)",sipRes,a7);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_getInteger, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KInputDialog_getMultiLineText(PyObject *, PyObject *);}
static PyObject *meth_KInputDialog_getMultiLineText(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString& a2def = QString();
        const  ::QString* a2 = &a2def;
        int a2State = 0;
        bool a3;
         ::QWidget* a4 = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1|J1J:", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QWidget, &a4))
        {
             ::QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString( ::KInputDialog::getMultiLineText(*a0,*a1,*a2,&a3,a4));
            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);

            PyObject *sipResObj = sipConvertFromNewType(sipRes,sipType_QString,NULL);
            return sipBuildResult(0,"(Rb)",sipResObj,a3);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_getMultiLineText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KInputDialog_getText(PyObject *, PyObject *);}
static PyObject *meth_KInputDialog_getText(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString& a2def = QString();
        const  ::QString* a2 = &a2def;
        int a2State = 0;
        bool a3;
         ::QWidget* a4 = 0;
         ::QValidator* a5 = 0;
        const  ::QString& a6def = QString();
        const  ::QString* a6 = &a6def;
        int a6State = 0;
        const  ::QString& a7def = QString();
        const  ::QString* a7 = &a7def;
        int a7State = 0;
        const  ::QStringList& a8def = QStringList();
        const  ::QStringList* a8 = &a8def;
        int a8State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1|J1J:J8J1J1J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QWidget, &a4, sipType_QValidator, &a5, sipType_QString,&a6, &a6State, sipType_QString,&a7, &a7State, sipType_QStringList,&a8, &a8State))
        {
             ::QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString( ::KInputDialog::getText(*a0,*a1,*a2,&a3,a4,a5,*a6,*a7,*a8));
            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);
            sipReleaseType(const_cast< ::QString *>(a6),sipType_QString,a6State);
            sipReleaseType(const_cast< ::QString *>(a7),sipType_QString,a7State);
            sipReleaseType(const_cast< ::QStringList *>(a8),sipType_QStringList,a8State);

            PyObject *sipResObj = sipConvertFromNewType(sipRes,sipType_QString,NULL);
            return sipBuildResult(0,"(Rb)",sipResObj,a3);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_getText, NULL);

    return NULL;
}


static PyMethodDef methods_KInputDialog[] = {
    {SIP_MLNAME_CAST(sipName_getDouble), meth_KInputDialog_getDouble, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getInteger), meth_KInputDialog_getInteger, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getItem), meth_KInputDialog_getItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getItemList), meth_KInputDialog_getItemList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getMultiLineText), meth_KInputDialog_getMultiLineText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getText), meth_KInputDialog_getText, METH_VARARGS, NULL}
};


static pyqt4ClassPluginDef plugin_KInputDialog = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KInputDialog = {
    {
        -1,
        0,
        0,
        SIP_TYPE_NAMESPACE,
        sipNameNr_KInputDialog,
        {0},
        &plugin_KInputDialog
    },
    {
        sipNameNr_KInputDialog,
        {0, 0, 1},
        6, methods_KInputDialog,
        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/kicontheme.sip"
#include <kicontheme.h>
#line 36039 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"

#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 36043 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 36046 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 36049 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 36052 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"


extern "C" {static PyObject *meth_KIconTheme_name(PyObject *, PyObject *);}
static PyObject *meth_KIconTheme_name(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KIconTheme *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIconTheme, &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_KIconTheme, sipName_name, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconTheme_internalName(PyObject *, PyObject *);}
static PyObject *meth_KIconTheme_internalName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KIconTheme *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIconTheme, &sipCpp))
        {
             ::QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString(sipCpp->internalName());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconTheme, sipName_internalName, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconTheme_description(PyObject *, PyObject *);}
static PyObject *meth_KIconTheme_description(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KIconTheme *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIconTheme, &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_KIconTheme, sipName_description, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconTheme_example(PyObject *, PyObject *);}
static PyObject *meth_KIconTheme_example(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KIconTheme *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIconTheme, &sipCpp))
        {
             ::QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString(sipCpp->example());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconTheme, sipName_example, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconTheme_screenshot(PyObject *, PyObject *);}
static PyObject *meth_KIconTheme_screenshot(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KIconTheme *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIconTheme, &sipCpp))
        {
             ::QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString(sipCpp->screenshot());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconTheme, sipName_screenshot, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconTheme_dir(PyObject *, PyObject *);}
static PyObject *meth_KIconTheme_dir(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KIconTheme *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIconTheme, &sipCpp))
        {
             ::QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString(sipCpp->dir());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconTheme, sipName_dir, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconTheme_inherits(PyObject *, PyObject *);}
static PyObject *meth_KIconTheme_inherits(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KIconTheme *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIconTheme, &sipCpp))
        {
             ::QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QStringList(sipCpp->inherits());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconTheme, sipName_inherits, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconTheme_isValid(PyObject *, PyObject *);}
static PyObject *meth_KIconTheme_isValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KIconTheme *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIconTheme, &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_KIconTheme, sipName_isValid, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconTheme_isHidden(PyObject *, PyObject *);}
static PyObject *meth_KIconTheme_isHidden(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KIconTheme *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIconTheme, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isHidden();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconTheme, sipName_isHidden, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconTheme_depth(PyObject *, PyObject *);}
static PyObject *meth_KIconTheme_depth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KIconTheme *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIconTheme, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->depth();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconTheme, sipName_depth, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconTheme_list(PyObject *, PyObject *);}
static PyObject *meth_KIconTheme_list(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QStringList( ::KIconTheme::list());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconTheme, sipName_list, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconTheme_current(PyObject *, PyObject *);}
static PyObject *meth_KIconTheme_current(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString( ::KIconTheme::current());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconTheme, sipName_current, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconTheme_reconfigure(PyObject *, PyObject *);}
static PyObject *meth_KIconTheme_reconfigure(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KIconTheme::reconfigure();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconTheme, sipName_reconfigure, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconTheme_defaultThemeName(PyObject *, PyObject *);}
static PyObject *meth_KIconTheme_defaultThemeName(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString( ::KIconTheme::defaultThemeName());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconTheme, sipName_defaultThemeName, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconTheme_assignIconsToContextMenu(PyObject *, PyObject *);}
static PyObject *meth_KIconTheme_assignIconsToContextMenu(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KIconTheme::ContextMenus a0;
        QList< ::QAction*>* a1;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "EJ1", sipType_KIconTheme_ContextMenus, &a0, sipType_QList_0101QAction,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KIconTheme::assignIconsToContextMenu(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_QList_0101QAction,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconTheme, sipName_assignIconsToContextMenu, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KIconTheme(void *, int);}
static void release_KIconTheme(void *sipCppV, int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast< ::KIconTheme *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KIconTheme(sipSimpleWrapper *);}
static void dealloc_KIconTheme(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_KIconTheme(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_KIconTheme(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KIconTheme(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::KIconTheme *sipCpp = 0;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString& a1def = QString();
        const  ::QString* a1 = &a1def;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1|J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KIconTheme(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KIconTheme[] = {
    {SIP_MLNAME_CAST(sipName_assignIconsToContextMenu), meth_KIconTheme_assignIconsToContextMenu, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_current), meth_KIconTheme_current, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_defaultThemeName), meth_KIconTheme_defaultThemeName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_depth), meth_KIconTheme_depth, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_description), meth_KIconTheme_description, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dir), meth_KIconTheme_dir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_example), meth_KIconTheme_example, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inherits), meth_KIconTheme_inherits, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_internalName), meth_KIconTheme_internalName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isHidden), meth_KIconTheme_isHidden, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isValid), meth_KIconTheme_isValid, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_list), meth_KIconTheme_list, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_name), meth_KIconTheme_name, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_reconfigure), meth_KIconTheme_reconfigure, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_screenshot), meth_KIconTheme_screenshot, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KIconTheme[] = {
    {sipName_ReadOnlyText, static_cast<int>( ::KIconTheme::ReadOnlyText), 164},
    {sipName_TextEditor, static_cast<int>( ::KIconTheme::TextEditor), 164},
};


static pyqt4ClassPluginDef plugin_KIconTheme = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KIconTheme = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KIconTheme,
        {0},
        &plugin_KIconTheme
    },
    {
        sipNameNr_KIconTheme,
        {0, 0, 1},
        15, methods_KIconTheme,
        2, enummembers_KIconTheme,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KIconTheme,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIconTheme,
    0,
    0,
    0,
    release_KIconTheme,
    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/kiconloader.sip"
#include <kiconloader.h>
#line 36585 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"

#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 36589 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kstandarddirs.sip"
#include <kstandarddirs.h>
#line 36592 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 36595 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.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 36598 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 36601 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 36604 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kiconeffect.sip"
#include <kiconeffect.h>
#line 36607 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kicontheme.sip"
#include <kicontheme.h>
#line 36610 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 36613 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 36616 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 36619 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 36622 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 36625 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 36628 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 36631 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 36634 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 36637 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 36640 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 36643 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"


class sipKIconLoader : public  ::KIconLoader
{
public:
    sipKIconLoader(const  ::QString&, ::KStandardDirs*, ::QObject*);
    sipKIconLoader(const  ::KComponentData&, ::QObject*);
    virtual ~sipKIconLoader();

    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:
    sipKIconLoader(const sipKIconLoader &);
    sipKIconLoader &operator = (const sipKIconLoader &);

    char sipPyMethods[7];
};

sipKIconLoader::sipKIconLoader(const  ::QString& a0, ::KStandardDirs*a1, ::QObject*a2):  ::KIconLoader(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKIconLoader::sipKIconLoader(const  ::KComponentData& a0, ::QObject*a1):  ::KIconLoader(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKIconLoader::~sipKIconLoader()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKIconLoader::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KIconLoader);
}

int sipKIconLoader::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KIconLoader::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KIconLoader,_c,_id,_a);

    return _id;
}

void *sipKIconLoader::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KIconLoader, _clname)) ? this :  ::KIconLoader::qt_metacast(_clname);
}

bool sipKIconLoader::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KIconLoader::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKIconLoader::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KIconLoader::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 sipKIconLoader::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KIconLoader::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconLoader::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KIconLoader::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconLoader::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KIconLoader::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconLoader::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KIconLoader::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 sipKIconLoader::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KIconLoader::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_KIconLoader_global_(PyObject *, PyObject *);}
static PyObject *meth_KIconLoader_global_(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::KIconLoader*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KIconLoader::global();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KIconLoader,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconLoader, sipName_global_, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconLoader_addAppDir(PyObject *, PyObject *);}
static PyObject *meth_KIconLoader_addAppDir(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::KIconLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KIconLoader, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addAppDir(*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_KIconLoader, sipName_addAppDir, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconLoader_loadIcon(PyObject *, PyObject *);}
static PyObject *meth_KIconLoader_loadIcon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::KIconLoader::Group a1;
        int a2 = 0;
        int a3 = KIconLoader::DefaultState;
        const  ::QStringList& a4def = QStringList();
        const  ::QStringList* a4 = &a4def;
        int a4State = 0;
         ::QString* a5 = 0;
        int a5State = 0;
        bool a6 = 0;
        const  ::KIconLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1E|iiJ1J0b", &sipSelf, sipType_KIconLoader, &sipCpp, sipType_QString,&a0, &a0State, sipType_KIconLoader_Group, &a1, &a2, &a3, sipType_QStringList,&a4, &a4State, sipType_QString,&a5, &a5State, &a6))
        {
             ::QPixmap*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QPixmap(sipCpp->loadIcon(*a0,a1,a2,a3,*a4,a5,a6));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QStringList *>(a4),sipType_QStringList,a4State);
            sipReleaseType(a5,sipType_QString,a5State);

            return sipConvertFromNewType(sipRes,sipType_QPixmap,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconLoader, sipName_loadIcon, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconLoader_loadMimeTypeIcon(PyObject *, PyObject *);}
static PyObject *meth_KIconLoader_loadMimeTypeIcon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::KIconLoader::Group a1;
        int a2 = 0;
        int a3 = KIconLoader::DefaultState;
        const  ::QStringList& a4def = QStringList();
        const  ::QStringList* a4 = &a4def;
        int a4State = 0;
         ::QString* a5 = 0;
        int a5State = 0;
        const  ::KIconLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1E|iiJ1J0", &sipSelf, sipType_KIconLoader, &sipCpp, sipType_QString,&a0, &a0State, sipType_KIconLoader_Group, &a1, &a2, &a3, sipType_QStringList,&a4, &a4State, sipType_QString,&a5, &a5State))
        {
             ::QPixmap*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QPixmap(sipCpp->loadMimeTypeIcon(*a0,a1,a2,a3,*a4,a5));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QStringList *>(a4),sipType_QStringList,a4State);
            sipReleaseType(a5,sipType_QString,a5State);

            return sipConvertFromNewType(sipRes,sipType_QPixmap,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconLoader, sipName_loadMimeTypeIcon, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconLoader_iconPath(PyObject *, PyObject *);}
static PyObject *meth_KIconLoader_iconPath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        int a1;
        bool a2 = 0;
        const  ::KIconLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1i|b", &sipSelf, sipType_KIconLoader, &sipCpp, sipType_QString,&a0, &a0State, &a1, &a2))
        {
             ::QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString(sipCpp->iconPath(*a0,a1,a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconLoader, sipName_iconPath, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconLoader_queryIconsByDir(PyObject *, PyObject *);}
static PyObject *meth_KIconLoader_queryIconsByDir(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::KIconLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KIconLoader, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QStringList(sipCpp->queryIconsByDir(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconLoader, sipName_queryIconsByDir, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconLoader_theme(PyObject *, PyObject *);}
static PyObject *meth_KIconLoader_theme(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KIconLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIconLoader, &sipCpp))
        {
             ::KIconTheme*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->theme();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KIconTheme,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconLoader, sipName_theme, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconLoader_iconEffect(PyObject *, PyObject *);}
static PyObject *meth_KIconLoader_iconEffect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KIconLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIconLoader, &sipCpp))
        {
             ::KIconEffect*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->iconEffect();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KIconEffect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconLoader, sipName_iconEffect, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconLoader_reconfigure(PyObject *, PyObject *);}
static PyObject *meth_KIconLoader_reconfigure(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::KStandardDirs* a1;
         ::KIconLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J8", &sipSelf, sipType_KIconLoader, &sipCpp, sipType_QString,&a0, &a0State, sipType_KStandardDirs, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->reconfigure(*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_KIconLoader, sipName_reconfigure, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconLoader_unknown(PyObject *, PyObject *);}
static PyObject *meth_KIconLoader_unknown(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QPixmap*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QPixmap( ::KIconLoader::unknown());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QPixmap,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconLoader, sipName_unknown, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconLoader_addExtraDesktopThemes(PyObject *, PyObject *);}
static PyObject *meth_KIconLoader_addExtraDesktopThemes(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KIconLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIconLoader, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addExtraDesktopThemes();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconLoader, sipName_addExtraDesktopThemes, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconLoader_extraDesktopThemesAdded(PyObject *, PyObject *);}
static PyObject *meth_KIconLoader_extraDesktopThemesAdded(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KIconLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIconLoader, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->extraDesktopThemesAdded();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconLoader, sipName_extraDesktopThemesAdded, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconLoader_newIconLoader(PyObject *, PyObject *);}
static PyObject *meth_KIconLoader_newIconLoader(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KIconLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIconLoader, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->newIconLoader();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconLoader, sipName_newIconLoader, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconLoader_drawOverlays(PyObject *, PyObject *);}
static PyObject *meth_KIconLoader_drawOverlays(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QStringList* a0;
        int a0State = 0;
         ::QPixmap* a1;
         ::KIconLoader::Group a2;
        int a3 = KIconLoader::DefaultState;
        const  ::KIconLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J9E|i", &sipSelf, sipType_KIconLoader, &sipCpp, sipType_QStringList,&a0, &a0State, sipType_QPixmap, &a1, sipType_KIconLoader_Group, &a2, &a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->drawOverlays(*a0,*a1,a2,a3);
            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_KIconLoader, sipName_drawOverlays, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KIconLoader(void *, const sipTypeDef *);}
static void *cast_KIconLoader(void *sipCppV, const sipTypeDef *targetType)
{
     ::KIconLoader *sipCpp = reinterpret_cast< ::KIconLoader *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KIconLoader(void *, int);}
static void release_KIconLoader(void *sipCppV, int)
{
     ::KIconLoader *sipCpp = reinterpret_cast< ::KIconLoader *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KIconLoader(sipSimpleWrapper *);}
static void dealloc_KIconLoader(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKIconLoader *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KIconLoader(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KIconLoader(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KIconLoader(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKIconLoader *sipCpp = 0;

    {
        const  ::QString& a0def = QString();
        const  ::QString* a0 = &a0def;
        int a0State = 0;
         ::KStandardDirs* a1 = 0;
         ::QObject* a2 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|J1J8JH", sipType_QString,&a0, &a0State, sipType_KStandardDirs, &a1, sipType_QObject, &a2, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKIconLoader(*a0,a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::KComponentData* a0;
         ::QObject* a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9|JH", sipType_KComponentData, &a0, sipType_QObject, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKIconLoader(*a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KIconLoader[] = {{19, 0, 1}};


static PyMethodDef methods_KIconLoader[] = {
    {SIP_MLNAME_CAST(sipName_addAppDir), meth_KIconLoader_addAppDir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addExtraDesktopThemes), meth_KIconLoader_addExtraDesktopThemes, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_drawOverlays), meth_KIconLoader_drawOverlays, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_extraDesktopThemesAdded), meth_KIconLoader_extraDesktopThemesAdded, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_global_), meth_KIconLoader_global_, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_iconEffect), meth_KIconLoader_iconEffect, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_iconPath), meth_KIconLoader_iconPath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_loadIcon), meth_KIconLoader_loadIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_loadMimeTypeIcon), meth_KIconLoader_loadMimeTypeIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_newIconLoader), meth_KIconLoader_newIconLoader, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_queryIconsByDir), meth_KIconLoader_queryIconsByDir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_reconfigure), meth_KIconLoader_reconfigure, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_theme), meth_KIconLoader_theme, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_unknown), meth_KIconLoader_unknown, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KIconLoader[] = {
    {sipName_Action, static_cast<int>( ::KIconLoader::Action), 157},
    {sipName_ActiveState, static_cast<int>( ::KIconLoader::ActiveState), 160},
    {sipName_Animation, static_cast<int>( ::KIconLoader::Animation), 157},
    {sipName_Any, static_cast<int>( ::KIconLoader::Any), 157},
    {sipName_Application, static_cast<int>( ::KIconLoader::Application), 157},
    {sipName_Category, static_cast<int>( ::KIconLoader::Category), 157},
    {sipName_DefaultState, static_cast<int>( ::KIconLoader::DefaultState), 160},
    {sipName_Desktop, static_cast<int>( ::KIconLoader::Desktop), 158},
    {sipName_Device, static_cast<int>( ::KIconLoader::Device), 157},
    {sipName_Dialog, static_cast<int>( ::KIconLoader::Dialog), 158},
    {sipName_DisabledState, static_cast<int>( ::KIconLoader::DisabledState), 160},
    {sipName_Emblem, static_cast<int>( ::KIconLoader::Emblem), 157},
    {sipName_Emote, static_cast<int>( ::KIconLoader::Emote), 157},
    {sipName_FileSystem, static_cast<int>( ::KIconLoader::FileSystem), 157},
    {sipName_FirstGroup, static_cast<int>( ::KIconLoader::FirstGroup), 158},
    {sipName_Fixed, static_cast<int>( ::KIconLoader::Fixed), 162},
    {sipName_International, static_cast<int>( ::KIconLoader::International), 157},
    {sipName_LastGroup, static_cast<int>( ::KIconLoader::LastGroup), 158},
    {sipName_LastState, static_cast<int>( ::KIconLoader::LastState), 160},
    {sipName_MainToolbar, static_cast<int>( ::KIconLoader::MainToolbar), 158},
    {sipName_MatchBest, static_cast<int>( ::KIconLoader::MatchBest), 159},
    {sipName_MatchExact, static_cast<int>( ::KIconLoader::MatchExact), 159},
    {sipName_MimeType, static_cast<int>( ::KIconLoader::MimeType), 157},
    {sipName_NoGroup, static_cast<int>( ::KIconLoader::NoGroup), 158},
    {sipName_Panel, static_cast<int>( ::KIconLoader::Panel), 158},
    {sipName_Place, static_cast<int>( ::KIconLoader::Place), 157},
    {sipName_Scalable, static_cast<int>( ::KIconLoader::Scalable), 162},
    {sipName_SizeEnormous, static_cast<int>( ::KIconLoader::SizeEnormous), 161},
    {sipName_SizeHuge, static_cast<int>( ::KIconLoader::SizeHuge), 161},
    {sipName_SizeLarge, static_cast<int>( ::KIconLoader::SizeLarge), 161},
    {sipName_SizeMedium, static_cast<int>( ::KIconLoader::SizeMedium), 161},
    {sipName_SizeSmall, static_cast<int>( ::KIconLoader::SizeSmall), 161},
    {sipName_SizeSmallMedium, static_cast<int>( ::KIconLoader::SizeSmallMedium), 161},
    {sipName_Small, static_cast<int>( ::KIconLoader::Small), 158},
    {sipName_StatusIcon, static_cast<int>( ::KIconLoader::StatusIcon), 157},
    {sipName_Threshold, static_cast<int>( ::KIconLoader::Threshold), 162},
    {sipName_Toolbar, static_cast<int>( ::KIconLoader::Toolbar), 158},
    {sipName_User, static_cast<int>( ::KIconLoader::User), 158},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KIconLoader[] = {
    {"iconLoaderSettingsChanged()", 0, 0, 0},
    {0, 0, 0, 0}
};


static pyqt4ClassPluginDef plugin_KIconLoader = {
    & ::KIconLoader::staticMetaObject,
    0,
    signals_KIconLoader
};


sipClassTypeDef sipTypeDef_kdeui_KIconLoader = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIconLoader,
        {0},
        &plugin_KIconLoader
    },
    {
        sipNameNr_KIconLoader,
        {0, 0, 1},
        14, methods_KIconLoader,
        38, enummembers_KIconLoader,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KIconLoader,
    0,
    init_type_KIconLoader,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIconLoader,
    0,
    0,
    0,
    release_KIconLoader,
    cast_KIconLoader,
    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/kiconeffect.sip"
#include <kiconeffect.h>
#line 37469 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"

#line 26 "/usr/share/sip/PyQt4/QtGui/qimage.sip"
#include <qimage.h>
#line 37473 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 37476 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcolor.sip"
#include <qcolor.h>
#line 37479 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 37482 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"


extern "C" {static PyObject *meth_KIconEffect_init(PyObject *, PyObject *);}
static PyObject *meth_KIconEffect_init(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KIconEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIconEffect, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->init();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconEffect, sipName_init, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconEffect_hasEffect(PyObject *, PyObject *);}
static PyObject *meth_KIconEffect_hasEffect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        const  ::KIconEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_KIconEffect, &sipCpp, &a0, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasEffect(a0,a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconEffect, sipName_hasEffect, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconEffect_fingerprint(PyObject *, PyObject *);}
static PyObject *meth_KIconEffect_fingerprint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        const  ::KIconEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_KIconEffect, &sipCpp, &a0, &a1))
        {
             ::QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString(sipCpp->fingerprint(a0,a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconEffect, sipName_fingerprint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconEffect_apply(PyObject *, PyObject *);}
static PyObject *meth_KIconEffect_apply(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QImage* a0;
        int a1;
        int a2;
        const  ::KIconEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9ii", &sipSelf, sipType_KIconEffect, &sipCpp, sipType_QImage, &a0, &a1, &a2))
        {
             ::QImage*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QImage(sipCpp->apply(*a0,a1,a2));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QImage,NULL);
        }
    }

    {
        const  ::QImage* a0;
        int a1;
        float a2;
        const  ::QColor* a3;
        int a3State = 0;
        bool a4;
        const  ::KIconEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9ifJ1b", &sipSelf, sipType_KIconEffect, &sipCpp, sipType_QImage, &a0, &a1, &a2, sipType_QColor, &a3, &a3State, &a4))
        {
             ::QImage*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QImage(sipCpp->apply(*a0,a1,a2,*a3,a4));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QColor *>(a3),sipType_QColor,a3State);

            return sipConvertFromNewType(sipRes,sipType_QImage,NULL);
        }
    }

    {
        const  ::QImage* a0;
        int a1;
        float a2;
        const  ::QColor* a3;
        int a3State = 0;
        const  ::QColor* a4;
        int a4State = 0;
        bool a5;
        const  ::KIconEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9ifJ1J1b", &sipSelf, sipType_KIconEffect, &sipCpp, sipType_QImage, &a0, &a1, &a2, sipType_QColor, &a3, &a3State, sipType_QColor, &a4, &a4State, &a5))
        {
             ::QImage*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QImage(sipCpp->apply(*a0,a1,a2,*a3,*a4,a5));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QColor *>(a3),sipType_QColor,a3State);
            sipReleaseType(const_cast< ::QColor *>(a4),sipType_QColor,a4State);

            return sipConvertFromNewType(sipRes,sipType_QImage,NULL);
        }
    }

    {
        const  ::QPixmap* a0;
        int a1;
        int a2;
        const  ::KIconEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9ii", &sipSelf, sipType_KIconEffect, &sipCpp, sipType_QPixmap, &a0, &a1, &a2))
        {
             ::QPixmap*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QPixmap(sipCpp->apply(*a0,a1,a2));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QPixmap,NULL);
        }
    }

    {
        const  ::QPixmap* a0;
        int a1;
        float a2;
        const  ::QColor* a3;
        int a3State = 0;
        bool a4;
        const  ::KIconEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9ifJ1b", &sipSelf, sipType_KIconEffect, &sipCpp, sipType_QPixmap, &a0, &a1, &a2, sipType_QColor, &a3, &a3State, &a4))
        {
             ::QPixmap*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QPixmap(sipCpp->apply(*a0,a1,a2,*a3,a4));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QColor *>(a3),sipType_QColor,a3State);

            return sipConvertFromNewType(sipRes,sipType_QPixmap,NULL);
        }
    }

    {
        const  ::QPixmap* a0;
        int a1;
        float a2;
        const  ::QColor* a3;
        int a3State = 0;
        const  ::QColor* a4;
        int a4State = 0;
        bool a5;
        const  ::KIconEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9ifJ1J1b", &sipSelf, sipType_KIconEffect, &sipCpp, sipType_QPixmap, &a0, &a1, &a2, sipType_QColor, &a3, &a3State, sipType_QColor, &a4, &a4State, &a5))
        {
             ::QPixmap*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QPixmap(sipCpp->apply(*a0,a1,a2,*a3,*a4,a5));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QColor *>(a3),sipType_QColor,a3State);
            sipReleaseType(const_cast< ::QColor *>(a4),sipType_QColor,a4State);

            return sipConvertFromNewType(sipRes,sipType_QPixmap,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconEffect, sipName_apply, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconEffect_doublePixels(PyObject *, PyObject *);}
static PyObject *meth_KIconEffect_doublePixels(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QImage* a0;
        const  ::KIconEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KIconEffect, &sipCpp, sipType_QImage, &a0))
        {
             ::QImage*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QImage(sipCpp->doublePixels(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QImage,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconEffect, sipName_doublePixels, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconEffect_toGray(PyObject *, PyObject *);}
static PyObject *meth_KIconEffect_toGray(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QImage* a0;
        float a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9f", sipType_QImage, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KIconEffect::toGray(*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_KIconEffect, sipName_toGray, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconEffect_colorize(PyObject *, PyObject *);}
static PyObject *meth_KIconEffect_colorize(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QImage* a0;
        const  ::QColor* a1;
        int a1State = 0;
        float a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J1f", sipType_QImage, &a0, sipType_QColor, &a1, &a1State, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KIconEffect::colorize(*a0,*a1,a2);
            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_KIconEffect, sipName_colorize, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconEffect_toMonochrome(PyObject *, PyObject *);}
static PyObject *meth_KIconEffect_toMonochrome(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QImage* a0;
        const  ::QColor* a1;
        int a1State = 0;
        const  ::QColor* a2;
        int a2State = 0;
        float a3;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J1J1f", sipType_QImage, &a0, sipType_QColor, &a1, &a1State, sipType_QColor, &a2, &a2State, &a3))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KIconEffect::toMonochrome(*a0,*a1,*a2,a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QColor *>(a1),sipType_QColor,a1State);
            sipReleaseType(const_cast< ::QColor *>(a2),sipType_QColor,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconEffect, sipName_toMonochrome, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconEffect_deSaturate(PyObject *, PyObject *);}
static PyObject *meth_KIconEffect_deSaturate(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QImage* a0;
        float a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9f", sipType_QImage, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KIconEffect::deSaturate(*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_KIconEffect, sipName_deSaturate, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconEffect_toGamma(PyObject *, PyObject *);}
static PyObject *meth_KIconEffect_toGamma(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QImage* a0;
        float a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9f", sipType_QImage, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KIconEffect::toGamma(*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_KIconEffect, sipName_toGamma, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconEffect_semiTransparent(PyObject *, PyObject *);}
static PyObject *meth_KIconEffect_semiTransparent(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QImage* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9", sipType_QImage, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KIconEffect::semiTransparent(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
         ::QPixmap* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9", sipType_QPixmap, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KIconEffect::semiTransparent(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconEffect, sipName_semiTransparent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconEffect_overlay(PyObject *, PyObject *);}
static PyObject *meth_KIconEffect_overlay(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QImage* a0;
         ::QImage* a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J9", sipType_QImage, &a0, sipType_QImage, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KIconEffect::overlay(*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_KIconEffect, sipName_overlay, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KIconEffect(void *, int);}
static void release_KIconEffect(void *sipCppV, int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast< ::KIconEffect *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KIconEffect(sipSimpleWrapper *);}
static void dealloc_KIconEffect(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_KIconEffect(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_KIconEffect(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KIconEffect(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::KIconEffect *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KIconEffect();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KIconEffect[] = {
    {SIP_MLNAME_CAST(sipName_apply), meth_KIconEffect_apply, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_colorize), meth_KIconEffect_colorize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deSaturate), meth_KIconEffect_deSaturate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doublePixels), meth_KIconEffect_doublePixels, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fingerprint), meth_KIconEffect_fingerprint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasEffect), meth_KIconEffect_hasEffect, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_init), meth_KIconEffect_init, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_overlay), meth_KIconEffect_overlay, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_semiTransparent), meth_KIconEffect_semiTransparent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toGamma), meth_KIconEffect_toGamma, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toGray), meth_KIconEffect_toGray, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toMonochrome), meth_KIconEffect_toMonochrome, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KIconEffect[] = {
    {sipName_Colorize, static_cast<int>( ::KIconEffect::Colorize), 155},
    {sipName_DeSaturate, static_cast<int>( ::KIconEffect::DeSaturate), 155},
    {sipName_LastEffect, static_cast<int>( ::KIconEffect::LastEffect), 155},
    {sipName_NoEffect, static_cast<int>( ::KIconEffect::NoEffect), 155},
    {sipName_ToGamma, static_cast<int>( ::KIconEffect::ToGamma), 155},
    {sipName_ToGray, static_cast<int>( ::KIconEffect::ToGray), 155},
    {sipName_ToMonochrome, static_cast<int>( ::KIconEffect::ToMonochrome), 155},
};


static pyqt4ClassPluginDef plugin_KIconEffect = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KIconEffect = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KIconEffect,
        {0},
        &plugin_KIconEffect
    },
    {
        sipNameNr_KIconEffect,
        {0, 0, 1},
        12, methods_KIconEffect,
        7, enummembers_KIconEffect,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KIconEffect,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIconEffect,
    0,
    0,
    0,
    release_KIconEffect,
    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/kiconcache.sip"
#include <kiconcache.h>
#line 38076 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"

#line 612 "/usr/share/sip/PyQt4/QtCore/qset.sip"
#include <qset.h>
#line 38080 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 68 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 38083 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 38086 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 38089 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 38092 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 38095 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kicontheme.sip"
#include <kicontheme.h>
#line 38098 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kiconloader.sip"
#include <kiconloader.h>
#line 38101 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 38104 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kpixmapcache.sip"
#include <kpixmapcache.h>
#line 38107 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 38110 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"


class sipKIconCache : public  ::KIconCache
{
public:
    sipKIconCache();
    virtual ~sipKIconCache();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool find(const  ::QString&, ::QPixmap&);
    void insert(const  ::QString&,const  ::QPixmap&);
    bool loadCustomData( ::QDataStream&);
    bool writeCustomData( ::QDataStream&);
    bool loadCustomIndexHeader( ::QDataStream&);
    void writeCustomIndexHeader( ::QDataStream&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKIconCache(const sipKIconCache &);
    sipKIconCache &operator = (const sipKIconCache &);

    char sipPyMethods[6];
};

sipKIconCache::sipKIconCache():  ::KIconCache(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKIconCache::~sipKIconCache()
{
    sipInstanceDestroyed(sipPySelf);
}

bool sipKIconCache::find(const  ::QString& a0, ::QPixmap& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_find);

    if (!sipMeth)
        return  ::KIconCache::find(a0,a1);

    extern bool sipVH_kdeui_157(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&, ::QPixmap&);

    return sipVH_kdeui_157(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKIconCache::insert(const  ::QString& a0,const  ::QPixmap& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_insert);

    if (!sipMeth)
    {
         ::KIconCache::insert(a0,a1);
        return;
    }

    extern void sipVH_kdeui_158(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&,const  ::QPixmap&);

    sipVH_kdeui_158(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKIconCache::loadCustomData( ::QDataStream& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_loadCustomData);

    if (!sipMeth)
        return  ::KIconCache::loadCustomData(a0);

    extern bool sipVH_kdeui_159(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDataStream&);

    return sipVH_kdeui_159(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKIconCache::writeCustomData( ::QDataStream& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_writeCustomData);

    if (!sipMeth)
        return  ::KIconCache::writeCustomData(a0);

    extern bool sipVH_kdeui_159(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDataStream&);

    return sipVH_kdeui_159(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKIconCache::loadCustomIndexHeader( ::QDataStream& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_loadCustomIndexHeader);

    if (!sipMeth)
        return  ::KIconCache::loadCustomIndexHeader(a0);

    extern bool sipVH_kdeui_159(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDataStream&);

    return sipVH_kdeui_159(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIconCache::writeCustomIndexHeader( ::QDataStream& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_writeCustomIndexHeader);

    if (!sipMeth)
    {
         ::KIconCache::writeCustomIndexHeader(a0);
        return;
    }

    extern void sipVH_kdeui_160(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDataStream&);

    sipVH_kdeui_160(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KIconCache_find(PyObject *, PyObject *);}
static PyObject *meth_KIconCache_find(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QPixmap* a1;
         ::QString* a2;
        int a2State = 0;
         ::KIconCache *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J9J0", &sipSelf, sipType_KIconCache, &sipCpp, sipType_QString,&a0, &a0State, sipType_QPixmap, &a1, sipType_QString,&a2, &a2State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->find(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a2,sipType_QString,a2State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QPixmap* a1;
         ::KIconCache *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J9", &sipSelf, sipType_KIconCache, &sipCpp, sipType_QString,&a0, &a0State, sipType_QPixmap, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::KIconCache::find(*a0,*a1) : sipCpp->find(*a0,*a1));
            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_KIconCache, sipName_find, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconCache_insert(PyObject *, PyObject *);}
static PyObject *meth_KIconCache_insert(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QPixmap* a1;
        const  ::QString* a2;
        int a2State = 0;
         ::KIconCache *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J9J1", &sipSelf, sipType_KIconCache, &sipCpp, sipType_QString,&a0, &a0State, sipType_QPixmap, &a1, sipType_QString,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->insert(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QPixmap* a1;
         ::KIconCache *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J9", &sipSelf, sipType_KIconCache, &sipCpp, sipType_QString,&a0, &a0State, sipType_QPixmap, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KIconCache::insert(*a0,*a1) : sipCpp->insert(*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_KIconCache, sipName_insert, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconCache_deleteCache(PyObject *, PyObject *);}
static PyObject *meth_KIconCache_deleteCache(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KIconCache::deleteCache();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconCache, sipName_deleteCache, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconCache_defaultIconSize(PyObject *, PyObject *);}
static PyObject *meth_KIconCache_defaultIconSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KIconLoader::Group a0;
        const  ::KIconCache *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KIconCache, &sipCpp, sipType_KIconLoader_Group, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->defaultIconSize(a0);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconCache, sipName_defaultIconSize, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconCache_setThemeInfo(PyObject *, PyObject *);}
static PyObject *meth_KIconCache_setThemeInfo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QList< ::KIconTheme*>* a0;
        int a0State = 0;
         ::KIconCache *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KIconCache, &sipCpp, sipType_QList_0101KIconTheme,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setThemeInfo(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QList< ::KIconTheme*> *>(a0),sipType_QList_0101KIconTheme,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconCache, sipName_setThemeInfo, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconCache_loadCustomIndexHeader(PyObject *, PyObject *);}
static PyObject *meth_KIconCache_loadCustomIndexHeader(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QDataStream* a0;
         ::KIconCache *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9", &sipSelf, sipType_KIconCache, &sipCpp, sipType_QDataStream, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::KIconCache::loadCustomIndexHeader(*a0) : sipCpp->loadCustomIndexHeader(*a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconCache, sipName_loadCustomIndexHeader, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconCache_writeCustomIndexHeader(PyObject *, PyObject *);}
static PyObject *meth_KIconCache_writeCustomIndexHeader(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QDataStream* a0;
         ::KIconCache *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9", &sipSelf, sipType_KIconCache, &sipCpp, sipType_QDataStream, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KIconCache::writeCustomIndexHeader(*a0) : sipCpp->writeCustomIndexHeader(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconCache, sipName_writeCustomIndexHeader, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconCache_loadCustomData(PyObject *, PyObject *);}
static PyObject *meth_KIconCache_loadCustomData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QDataStream* a0;
         ::KIconCache *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9", &sipSelf, sipType_KIconCache, &sipCpp, sipType_QDataStream, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::KIconCache::loadCustomData(*a0) : sipCpp->loadCustomData(*a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconCache, sipName_loadCustomData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconCache_writeCustomData(PyObject *, PyObject *);}
static PyObject *meth_KIconCache_writeCustomData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QDataStream* a0;
         ::KIconCache *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9", &sipSelf, sipType_KIconCache, &sipCpp, sipType_QDataStream, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::KIconCache::writeCustomData(*a0) : sipCpp->writeCustomData(*a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconCache, sipName_writeCustomData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconCache_existingIconThemeDirs(PyObject *, PyObject *);}
static PyObject *meth_KIconCache_existingIconThemeDirs(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QStringList* a0;
        int a0State = 0;
        const  ::KIconCache *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_KIconCache, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            QSet< ::QString>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSet< ::QString>(sipCpp->existingIconThemeDirs(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QStringList *>(a0),sipType_QStringList,a0State);

            return sipConvertFromNewType(sipRes,sipType_QSet_0100QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconCache, sipName_existingIconThemeDirs, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIconCache_mostRecentMTime(PyObject *, PyObject *);}
static PyObject *meth_KIconCache_mostRecentMTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSet< ::QString>* a0;
        int a0State = 0;
        const  ::KIconCache *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_KIconCache, &sipCpp, sipType_QSet_0100QString,&a0, &a0State))
        {
            uint sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->mostRecentMTime(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QSet< ::QString> *>(a0),sipType_QSet_0100QString,a0State);

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIconCache, sipName_mostRecentMTime, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KIconCache(void *, const sipTypeDef *);}
static void *cast_KIconCache(void *sipCppV, const sipTypeDef *targetType)
{
     ::KIconCache *sipCpp = reinterpret_cast< ::KIconCache *>(sipCppV);

    if (targetType == sipType_KPixmapCache)
        return static_cast< ::KPixmapCache *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KIconCache(void *, int);}
static void release_KIconCache(void *sipCppV, int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKIconCache *>(sipCppV);
    else
        delete reinterpret_cast< ::KIconCache *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KIconCache(sipSimpleWrapper *);}
static void dealloc_KIconCache(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKIconCache *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KIconCache(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KIconCache(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KIconCache(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipKIconCache *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKIconCache();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KIconCache[] = {{229, 255, 1}};


static PyMethodDef methods_KIconCache[] = {
    {SIP_MLNAME_CAST(sipName_defaultIconSize), meth_KIconCache_defaultIconSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deleteCache), meth_KIconCache_deleteCache, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_existingIconThemeDirs), meth_KIconCache_existingIconThemeDirs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_find), meth_KIconCache_find, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_insert), meth_KIconCache_insert, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_loadCustomData), meth_KIconCache_loadCustomData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_loadCustomIndexHeader), meth_KIconCache_loadCustomIndexHeader, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mostRecentMTime), meth_KIconCache_mostRecentMTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setThemeInfo), meth_KIconCache_setThemeInfo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeCustomData), meth_KIconCache_writeCustomData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeCustomIndexHeader), meth_KIconCache_writeCustomIndexHeader, METH_VARARGS, NULL}
};


static pyqt4ClassPluginDef plugin_KIconCache = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KIconCache = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIconCache,
        {0},
        &plugin_KIconCache
    },
    {
        sipNameNr_KIconCache,
        {0, 0, 1},
        11, methods_KIconCache,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KIconCache,
    0,
    init_type_KIconCache,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIconCache,
    0,
    0,
    0,
    release_KIconCache,
    cast_KIconCache,
    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/kpixmapcache.sip"
#include <kpixmapcache.h>
#line 38750 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"

#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 38754 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 38757 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 38760 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 38763 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"


class sipKPixmapCache : public  ::KPixmapCache
{
public:
    sipKPixmapCache(const  ::QString&);
    virtual ~sipKPixmapCache();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void writeCustomIndexHeader( ::QDataStream&);
    bool loadCustomIndexHeader( ::QDataStream&);
    bool writeCustomData( ::QDataStream&);
    bool loadCustomData( ::QDataStream&);
    void insert(const  ::QString&,const  ::QPixmap&);
    bool find(const  ::QString&, ::QPixmap&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKPixmapCache(const sipKPixmapCache &);
    sipKPixmapCache &operator = (const sipKPixmapCache &);

    char sipPyMethods[6];
};

sipKPixmapCache::sipKPixmapCache(const  ::QString& a0):  ::KPixmapCache(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKPixmapCache::~sipKPixmapCache()
{
    sipInstanceDestroyed(sipPySelf);
}

void sipKPixmapCache::writeCustomIndexHeader( ::QDataStream& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_writeCustomIndexHeader);

    if (!sipMeth)
    {
         ::KPixmapCache::writeCustomIndexHeader(a0);
        return;
    }

    extern void sipVH_kdeui_160(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDataStream&);

    sipVH_kdeui_160(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKPixmapCache::loadCustomIndexHeader( ::QDataStream& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_loadCustomIndexHeader);

    if (!sipMeth)
        return  ::KPixmapCache::loadCustomIndexHeader(a0);

    extern bool sipVH_kdeui_159(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDataStream&);

    return sipVH_kdeui_159(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKPixmapCache::writeCustomData( ::QDataStream& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_writeCustomData);

    if (!sipMeth)
        return  ::KPixmapCache::writeCustomData(a0);

    extern bool sipVH_kdeui_159(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDataStream&);

    return sipVH_kdeui_159(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKPixmapCache::loadCustomData( ::QDataStream& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_loadCustomData);

    if (!sipMeth)
        return  ::KPixmapCache::loadCustomData(a0);

    extern bool sipVH_kdeui_159(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDataStream&);

    return sipVH_kdeui_159(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapCache::insert(const  ::QString& a0,const  ::QPixmap& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_insert);

    if (!sipMeth)
    {
         ::KPixmapCache::insert(a0,a1);
        return;
    }

    extern void sipVH_kdeui_158(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&,const  ::QPixmap&);

    sipVH_kdeui_158(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKPixmapCache::find(const  ::QString& a0, ::QPixmap& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_find);

    if (!sipMeth)
        return  ::KPixmapCache::find(a0,a1);

    extern bool sipVH_kdeui_157(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&, ::QPixmap&);

    return sipVH_kdeui_157(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}


extern "C" {static PyObject *meth_KPixmapCache_find(PyObject *, PyObject *);}
static PyObject *meth_KPixmapCache_find(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QPixmap* a1;
         ::KPixmapCache *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J9", &sipSelf, sipType_KPixmapCache, &sipCpp, sipType_QString,&a0, &a0State, sipType_QPixmap, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::KPixmapCache::find(*a0,*a1) : sipCpp->find(*a0,*a1));
            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_KPixmapCache, sipName_find, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapCache_insert(PyObject *, PyObject *);}
static PyObject *meth_KPixmapCache_insert(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QPixmap* a1;
         ::KPixmapCache *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J9", &sipSelf, sipType_KPixmapCache, &sipCpp, sipType_QString,&a0, &a0State, sipType_QPixmap, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KPixmapCache::insert(*a0,*a1) : sipCpp->insert(*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_KPixmapCache, sipName_insert, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapCache_loadFromFile(PyObject *, PyObject *);}
static PyObject *meth_KPixmapCache_loadFromFile(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::KPixmapCache *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KPixmapCache, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QPixmap*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QPixmap(sipCpp->loadFromFile(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QPixmap,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapCache, sipName_loadFromFile, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapCache_loadFromSvg(PyObject *, PyObject *);}
static PyObject *meth_KPixmapCache_loadFromSvg(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QSize& a1def = QSize();
        const  ::QSize* a1 = &a1def;
         ::KPixmapCache *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|J9", &sipSelf, sipType_KPixmapCache, &sipCpp, sipType_QString,&a0, &a0State, sipType_QSize, &a1))
        {
             ::QPixmap*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QPixmap(sipCpp->loadFromSvg(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QPixmap,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapCache, sipName_loadFromSvg, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapCache_timestamp(PyObject *, PyObject *);}
static PyObject *meth_KPixmapCache_timestamp(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KPixmapCache *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPixmapCache, &sipCpp))
        {
            uint 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_KPixmapCache, sipName_timestamp, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapCache_setTimestamp(PyObject *, PyObject *);}
static PyObject *meth_KPixmapCache_setTimestamp(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        uint a0;
         ::KPixmapCache *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bu", &sipSelf, sipType_KPixmapCache, &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_KPixmapCache, sipName_setTimestamp, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapCache_setUseQPixmapCache(PyObject *, PyObject *);}
static PyObject *meth_KPixmapCache_setUseQPixmapCache(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::KPixmapCache *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KPixmapCache, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setUseQPixmapCache(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapCache, sipName_setUseQPixmapCache, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapCache_useQPixmapCache(PyObject *, PyObject *);}
static PyObject *meth_KPixmapCache_useQPixmapCache(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KPixmapCache *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPixmapCache, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->useQPixmapCache();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapCache, sipName_useQPixmapCache, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapCache_size(PyObject *, PyObject *);}
static PyObject *meth_KPixmapCache_size(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KPixmapCache *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPixmapCache, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->size();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapCache, sipName_size, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapCache_cacheLimit(PyObject *, PyObject *);}
static PyObject *meth_KPixmapCache_cacheLimit(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KPixmapCache *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPixmapCache, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->cacheLimit();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapCache, sipName_cacheLimit, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapCache_setCacheLimit(PyObject *, PyObject *);}
static PyObject *meth_KPixmapCache_setCacheLimit(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::KPixmapCache *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KPixmapCache, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCacheLimit(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapCache, sipName_setCacheLimit, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapCache_removeEntryStrategy(PyObject *, PyObject *);}
static PyObject *meth_KPixmapCache_removeEntryStrategy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KPixmapCache *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPixmapCache, &sipCpp))
        {
             ::KPixmapCache::RemoveStrategy sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->removeEntryStrategy();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KPixmapCache_RemoveStrategy);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapCache, sipName_removeEntryStrategy, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapCache_setRemoveEntryStrategy(PyObject *, PyObject *);}
static PyObject *meth_KPixmapCache_setRemoveEntryStrategy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KPixmapCache::RemoveStrategy a0;
         ::KPixmapCache *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KPixmapCache, &sipCpp, sipType_KPixmapCache_RemoveStrategy, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setRemoveEntryStrategy(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapCache, sipName_setRemoveEntryStrategy, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapCache_isEnabled(PyObject *, PyObject *);}
static PyObject *meth_KPixmapCache_isEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KPixmapCache *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPixmapCache, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapCache, sipName_isEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapCache_isValid(PyObject *, PyObject *);}
static PyObject *meth_KPixmapCache_isValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KPixmapCache *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPixmapCache, &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_KPixmapCache, sipName_isValid, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapCache_deleteCache(PyObject *, PyObject *);}
static PyObject *meth_KPixmapCache_deleteCache(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KPixmapCache::deleteCache(*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_KPixmapCache, sipName_deleteCache, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapCache_discard(PyObject *, PyObject *);}
static PyObject *meth_KPixmapCache_discard(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KPixmapCache *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPixmapCache, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->discard();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapCache, sipName_discard, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapCache_removeEntries(PyObject *, PyObject *);}
static PyObject *meth_KPixmapCache_removeEntries(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0 = 0;
         ::KPixmapCache *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|i", &sipSelf, sipType_KPixmapCache, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeEntries(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapCache, sipName_removeEntries, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapCache_ensureInited(PyObject *, PyObject *);}
static PyObject *meth_KPixmapCache_ensureInited(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KPixmapCache *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KPixmapCache, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->ensureInited();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapCache, sipName_ensureInited, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapCache_loadCustomData(PyObject *, PyObject *);}
static PyObject *meth_KPixmapCache_loadCustomData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QDataStream* a0;
         ::KPixmapCache *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9", &sipSelf, sipType_KPixmapCache, &sipCpp, sipType_QDataStream, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::KPixmapCache::loadCustomData(*a0) : sipCpp->loadCustomData(*a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapCache, sipName_loadCustomData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapCache_writeCustomData(PyObject *, PyObject *);}
static PyObject *meth_KPixmapCache_writeCustomData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QDataStream* a0;
         ::KPixmapCache *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9", &sipSelf, sipType_KPixmapCache, &sipCpp, sipType_QDataStream, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::KPixmapCache::writeCustomData(*a0) : sipCpp->writeCustomData(*a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapCache, sipName_writeCustomData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapCache_loadCustomIndexHeader(PyObject *, PyObject *);}
static PyObject *meth_KPixmapCache_loadCustomIndexHeader(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QDataStream* a0;
         ::KPixmapCache *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9", &sipSelf, sipType_KPixmapCache, &sipCpp, sipType_QDataStream, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::KPixmapCache::loadCustomIndexHeader(*a0) : sipCpp->loadCustomIndexHeader(*a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapCache, sipName_loadCustomIndexHeader, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapCache_writeCustomIndexHeader(PyObject *, PyObject *);}
static PyObject *meth_KPixmapCache_writeCustomIndexHeader(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QDataStream* a0;
         ::KPixmapCache *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9", &sipSelf, sipType_KPixmapCache, &sipCpp, sipType_QDataStream, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KPixmapCache::writeCustomIndexHeader(*a0) : sipCpp->writeCustomIndexHeader(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapCache, sipName_writeCustomIndexHeader, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapCache_setValid(PyObject *, PyObject *);}
static PyObject *meth_KPixmapCache_setValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::KPixmapCache *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pb", &sipSelf, sipType_KPixmapCache, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setValid(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapCache, sipName_setValid, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapCache_recreateCacheFiles(PyObject *, PyObject *);}
static PyObject *meth_KPixmapCache_recreateCacheFiles(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KPixmapCache *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KPixmapCache, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->recreateCacheFiles();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapCache, sipName_recreateCacheFiles, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KPixmapCache(void *, int);}
static void release_KPixmapCache(void *sipCppV, int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKPixmapCache *>(sipCppV);
    else
        delete reinterpret_cast< ::KPixmapCache *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KPixmapCache(sipSimpleWrapper *);}
static void dealloc_KPixmapCache(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKPixmapCache *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KPixmapCache(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KPixmapCache(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KPixmapCache(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipKPixmapCache *sipCpp = 0;

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKPixmapCache(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KPixmapCache[] = {
    {SIP_MLNAME_CAST(sipName_cacheLimit), meth_KPixmapCache_cacheLimit, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deleteCache), meth_KPixmapCache_deleteCache, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_discard), meth_KPixmapCache_discard, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ensureInited), meth_KPixmapCache_ensureInited, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_find), meth_KPixmapCache_find, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_insert), meth_KPixmapCache_insert, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isEnabled), meth_KPixmapCache_isEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isValid), meth_KPixmapCache_isValid, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_loadCustomData), meth_KPixmapCache_loadCustomData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_loadCustomIndexHeader), meth_KPixmapCache_loadCustomIndexHeader, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_loadFromFile), meth_KPixmapCache_loadFromFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_loadFromSvg), meth_KPixmapCache_loadFromSvg, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_recreateCacheFiles), meth_KPixmapCache_recreateCacheFiles, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeEntries), meth_KPixmapCache_removeEntries, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeEntryStrategy), meth_KPixmapCache_removeEntryStrategy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCacheLimit), meth_KPixmapCache_setCacheLimit, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRemoveEntryStrategy), meth_KPixmapCache_setRemoveEntryStrategy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTimestamp), meth_KPixmapCache_setTimestamp, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUseQPixmapCache), meth_KPixmapCache_setUseQPixmapCache, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setValid), meth_KPixmapCache_setValid, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_size), meth_KPixmapCache_size, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timestamp), meth_KPixmapCache_timestamp, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_useQPixmapCache), meth_KPixmapCache_useQPixmapCache, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeCustomData), meth_KPixmapCache_writeCustomData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeCustomIndexHeader), meth_KPixmapCache_writeCustomIndexHeader, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KPixmapCache[] = {
    {sipName_RemoveLeastRecentlyUsed, static_cast<int>( ::KPixmapCache::RemoveLeastRecentlyUsed), 230},
    {sipName_RemoveOldest, static_cast<int>( ::KPixmapCache::RemoveOldest), 230},
    {sipName_RemoveSeldomUsed, static_cast<int>( ::KPixmapCache::RemoveSeldomUsed), 230},
};


static pyqt4ClassPluginDef plugin_KPixmapCache = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KPixmapCache = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KPixmapCache,
        {0},
        &plugin_KPixmapCache
    },
    {
        sipNameNr_KPixmapCache,
        {0, 0, 1},
        25, methods_KPixmapCache,
        3, enummembers_KPixmapCache,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KPixmapCache,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KPixmapCache,
    0,
    0,
    0,
    release_KPixmapCache,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#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 39746 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"

#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 39750 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kiconloader.sip"
#include <kiconloader.h>
#line 39753 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 39756 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 39759 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 39762 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 39765 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 39768 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 39771 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 39774 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 39777 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KIcon(void *, const sipTypeDef *);}
static void *cast_KIcon(void *sipCppV, const sipTypeDef *targetType)
{
     ::KIcon *sipCpp = reinterpret_cast< ::KIcon *>(sipCppV);

    if (targetType == sipType_QIcon)
        return static_cast< ::QIcon *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KIcon(void *, int);}
static void release_KIcon(void *sipCppV, int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast< ::KIcon *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KIcon(void *, SIP_SSIZE_T, const void *);}
static void assign_KIcon(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::KIcon *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::KIcon *>(sipSrc);
}


extern "C" {static void *array_KIcon(SIP_SSIZE_T);}
static void *array_KIcon(SIP_SSIZE_T sipNrElem)
{
    return new  ::KIcon[sipNrElem];
}


extern "C" {static void *copy_KIcon(const void *, SIP_SSIZE_T);}
static void *copy_KIcon(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::KIcon(reinterpret_cast<const  ::KIcon *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KIcon(sipSimpleWrapper *);}
static void dealloc_KIcon(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_KIcon(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_KIcon(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KIcon(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::KIcon *sipCpp = 0;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::KIconLoader* a1;
        const  ::QStringList* a2;
        int a2State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J8J1", sipType_QString,&a0, &a0State, sipType_KIconLoader, &a1, sipType_QStringList,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KIcon(*a0,a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QStringList *>(a2),sipType_QStringList,a2State);

            return sipCpp;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
         ::KIconLoader* a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J8", sipType_QString,&a0, &a0State, sipType_KIconLoader, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KIcon(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            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  ::KIcon(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipCpp;
        }
    }

    {
        const  ::QIcon* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QIcon, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KIcon(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KIcon();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const  ::KIcon* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_KIcon, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KIcon(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KIcon[] = {{40, 2, 1}};


static pyqt4ClassPluginDef plugin_KIcon = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KIcon = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIcon,
        {0},
        &plugin_KIcon
    },
    {
        sipNameNr_KIcon,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KIcon,
    0,
    init_type_KIcon,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIcon,
    assign_KIcon,
    array_KIcon,
    copy_KIcon,
    release_KIcon,
    cast_KIcon,
    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/khuesaturationselect.sip"
#include <khuesaturationselect.h>
#line 39994 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 39998 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 40001 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40004 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 40007 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40010 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40013 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40016 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 40019 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 40022 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcolor.sip"
#include <qcolor.h>
#line 40025 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 40028 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 40031 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 40034 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 40037 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 40040 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 40043 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 40046 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 40049 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 40052 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 40055 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 40058 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 40061 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 40064 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 40067 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 40070 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 40073 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 40076 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 40079 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 40082 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40085 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 40088 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40091 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40094 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40097 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40100 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40103 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40106 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40109 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40112 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40115 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40118 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40121 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40124 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40127 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 40130 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 40133 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 40136 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 40139 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 40142 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 40145 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 40148 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 40151 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 40154 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 40157 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 40160 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 40163 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 40166 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 40169 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 40172 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 40175 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 40178 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 40181 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 40184 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 40187 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 40190 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"


class sipKHueSaturationSelector : public  ::KHueSaturationSelector
{
public:
    sipKHueSaturationSelector( ::QWidget*);
    virtual ~sipKHueSaturationSelector();

    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 drawPalette( ::QPixmap*);
    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*);
    void drawMarker( ::QPainter*,int,int);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKHueSaturationSelector(const sipKHueSaturationSelector &);
    sipKHueSaturationSelector &operator = (const sipKHueSaturationSelector &);

    char sipPyMethods[50];
};

sipKHueSaturationSelector::sipKHueSaturationSelector( ::QWidget*a0):  ::KHueSaturationSelector(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKHueSaturationSelector::~sipKHueSaturationSelector()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKHueSaturationSelector::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KHueSaturationSelector);
}

int sipKHueSaturationSelector::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KHueSaturationSelector::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KHueSaturationSelector,_c,_id,_a);

    return _id;
}

void *sipKHueSaturationSelector::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KHueSaturationSelector, _clname)) ? this :  ::KHueSaturationSelector::qt_metacast(_clname);
}

void sipKHueSaturationSelector::drawPalette( ::QPixmap*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_drawPalette);

    if (!sipMeth)
    {
         ::KHueSaturationSelector::drawPalette(a0);
        return;
    }

    extern void sipVH_kdeui_111(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPixmap*);

    sipVH_kdeui_111(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHueSaturationSelector::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KHueSaturationSelector::languageChange();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKHueSaturationSelector::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KHueSaturationSelector::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHueSaturationSelector::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KHueSaturationSelector::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 sipKHueSaturationSelector::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KHueSaturationSelector::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 sipKHueSaturationSelector::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KHueSaturationSelector::enabledChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKHueSaturationSelector::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KHueSaturationSelector::focusNextPrevChild(a0);

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QVariant sipKHueSaturationSelector::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  ::KHueSaturationSelector::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 sipKHueSaturationSelector::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KHueSaturationSelector::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHueSaturationSelector::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KHueSaturationSelector::changeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHueSaturationSelector::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KHueSaturationSelector::hideEvent(a0);
        return;
    }

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kdeui_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHueSaturationSelector::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KHueSaturationSelector::showEvent(a0);
        return;
    }

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kdeui_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHueSaturationSelector::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KHueSaturationSelector::dropEvent(a0);
        return;
    }

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kdeui_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHueSaturationSelector::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KHueSaturationSelector::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kdeui_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHueSaturationSelector::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KHueSaturationSelector::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kdeui_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHueSaturationSelector::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KHueSaturationSelector::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kdeui_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHueSaturationSelector::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KHueSaturationSelector::actionEvent(a0);
        return;
    }

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kdeui_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHueSaturationSelector::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KHueSaturationSelector::tabletEvent(a0);
        return;
    }

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kdeui_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHueSaturationSelector::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KHueSaturationSelector::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kdeui_22(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHueSaturationSelector::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KHueSaturationSelector::closeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kdeui_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHueSaturationSelector::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KHueSaturationSelector::resizeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kdeui_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHueSaturationSelector::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KHueSaturationSelector::moveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kdeui_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHueSaturationSelector::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KHueSaturationSelector::paintEvent(a0);
        return;
    }

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kdeui_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHueSaturationSelector::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KHueSaturationSelector::leaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHueSaturationSelector::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KHueSaturationSelector::enterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHueSaturationSelector::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KHueSaturationSelector::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHueSaturationSelector::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KHueSaturationSelector::focusInEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHueSaturationSelector::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KHueSaturationSelector::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHueSaturationSelector::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KHueSaturationSelector::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHueSaturationSelector::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KHueSaturationSelector::wheelEvent(a0);
        return;
    }

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kdeui_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHueSaturationSelector::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KHueSaturationSelector::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHueSaturationSelector::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KHueSaturationSelector::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHueSaturationSelector::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KHueSaturationSelector::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHueSaturationSelector::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KHueSaturationSelector::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKHueSaturationSelector::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  ::KHueSaturationSelector::heightForWidth(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKHueSaturationSelector::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KHueSaturationSelector::minimumSizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKHueSaturationSelector::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KHueSaturationSelector::sizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKHueSaturationSelector::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KHueSaturationSelector::setVisible(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKHueSaturationSelector::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KHueSaturationSelector::devType();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipKHueSaturationSelector::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KHueSaturationSelector::paintEngine();

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKHueSaturationSelector::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  ::KHueSaturationSelector::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 sipKHueSaturationSelector::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KHueSaturationSelector::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKHueSaturationSelector::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KHueSaturationSelector::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 sipKHueSaturationSelector::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KHueSaturationSelector::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHueSaturationSelector::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KHueSaturationSelector::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHueSaturationSelector::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KHueSaturationSelector::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHueSaturationSelector::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KHueSaturationSelector::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 sipKHueSaturationSelector::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KHueSaturationSelector::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 sipKHueSaturationSelector::drawContents( ::QPainter*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_drawContents);

    if (!sipMeth)
    {
         ::KHueSaturationSelector::drawContents(a0);
        return;
    }

    extern void sipVH_kdeui_109(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_kdeui_109(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHueSaturationSelector::drawMarker( ::QPainter*a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_drawMarker);

    if (!sipMeth)
    {
         ::KHueSaturationSelector::drawMarker(a0,a1,a2);
        return;
    }

    extern void sipVH_kdeui_156(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,int,int);

    sipVH_kdeui_156(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}


extern "C" {static PyObject *meth_KHueSaturationSelector_setChooserMode(PyObject *, PyObject *);}
static PyObject *meth_KHueSaturationSelector_setChooserMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KColorChooserMode a0;
         ::KHueSaturationSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KHueSaturationSelector, &sipCpp, sipType_KColorChooserMode, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setChooserMode(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KHueSaturationSelector, sipName_setChooserMode, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KHueSaturationSelector_chooserMode(PyObject *, PyObject *);}
static PyObject *meth_KHueSaturationSelector_chooserMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KHueSaturationSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KHueSaturationSelector, &sipCpp))
        {
             ::KColorChooserMode sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->chooserMode();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KColorChooserMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KHueSaturationSelector, sipName_chooserMode, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KHueSaturationSelector_hue(PyObject *, PyObject *);}
static PyObject *meth_KHueSaturationSelector_hue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KHueSaturationSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KHueSaturationSelector, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hue();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KHueSaturationSelector, sipName_hue, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KHueSaturationSelector_setHue(PyObject *, PyObject *);}
static PyObject *meth_KHueSaturationSelector_setHue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::KHueSaturationSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KHueSaturationSelector, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setHue(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KHueSaturationSelector, sipName_setHue, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KHueSaturationSelector_saturation(PyObject *, PyObject *);}
static PyObject *meth_KHueSaturationSelector_saturation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KHueSaturationSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KHueSaturationSelector, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->saturation();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KHueSaturationSelector, sipName_saturation, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KHueSaturationSelector_setSaturation(PyObject *, PyObject *);}
static PyObject *meth_KHueSaturationSelector_setSaturation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::KHueSaturationSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KHueSaturationSelector, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSaturation(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KHueSaturationSelector, sipName_setSaturation, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KHueSaturationSelector_colorValue(PyObject *, PyObject *);}
static PyObject *meth_KHueSaturationSelector_colorValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KHueSaturationSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KHueSaturationSelector, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->colorValue();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KHueSaturationSelector, sipName_colorValue, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KHueSaturationSelector_setColorValue(PyObject *, PyObject *);}
static PyObject *meth_KHueSaturationSelector_setColorValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::KHueSaturationSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KHueSaturationSelector, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setColorValue(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KHueSaturationSelector, sipName_setColorValue, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KHueSaturationSelector_updateContents(PyObject *, PyObject *);}
static PyObject *meth_KHueSaturationSelector_updateContents(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KHueSaturationSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KHueSaturationSelector, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->updateContents();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KHueSaturationSelector, sipName_updateContents, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KHueSaturationSelector_drawPalette(PyObject *, PyObject *);}
static PyObject *meth_KHueSaturationSelector_drawPalette(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QPixmap* a0;
         ::KHueSaturationSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KHueSaturationSelector, &sipCpp, sipType_QPixmap, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KHueSaturationSelector::drawPalette(a0) : sipCpp->drawPalette(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KHueSaturationSelector, sipName_drawPalette, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KHueSaturationSelector_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_KHueSaturationSelector_resizeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QResizeEvent* a0;
         ::KHueSaturationSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KHueSaturationSelector, &sipCpp, sipType_QResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KHueSaturationSelector::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_KHueSaturationSelector, sipName_resizeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KHueSaturationSelector_drawContents(PyObject *, PyObject *);}
static PyObject *meth_KHueSaturationSelector_drawContents(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QPainter* a0;
         ::KHueSaturationSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KHueSaturationSelector, &sipCpp, sipType_QPainter, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KHueSaturationSelector::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_KHueSaturationSelector, sipName_drawContents, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KHueSaturationSelector(void *, const sipTypeDef *);}
static void *cast_KHueSaturationSelector(void *sipCppV, const sipTypeDef *targetType)
{
     ::KHueSaturationSelector *sipCpp = reinterpret_cast< ::KHueSaturationSelector *>(sipCppV);

    if (targetType == sipType_KXYSelector)
        return static_cast< ::KXYSelector *>(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_KHueSaturationSelector(void *, int);}
static void release_KHueSaturationSelector(void *sipCppV, int)
{
     ::KHueSaturationSelector *sipCpp = reinterpret_cast< ::KHueSaturationSelector *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KHueSaturationSelector(sipSimpleWrapper *);}
static void dealloc_KHueSaturationSelector(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKHueSaturationSelector *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KHueSaturationSelector(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KHueSaturationSelector(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KHueSaturationSelector(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKHueSaturationSelector *sipCpp = 0;

    {
         ::QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKHueSaturationSelector(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KHueSaturationSelector[] = {{361, 255, 1}};


static PyMethodDef methods_KHueSaturationSelector[] = {
    {SIP_MLNAME_CAST(sipName_chooserMode), meth_KHueSaturationSelector_chooserMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_colorValue), meth_KHueSaturationSelector_colorValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_drawContents), meth_KHueSaturationSelector_drawContents, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_drawPalette), meth_KHueSaturationSelector_drawPalette, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hue), meth_KHueSaturationSelector_hue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_KHueSaturationSelector_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_saturation), meth_KHueSaturationSelector_saturation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setChooserMode), meth_KHueSaturationSelector_setChooserMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setColorValue), meth_KHueSaturationSelector_setColorValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHue), meth_KHueSaturationSelector_setHue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSaturation), meth_KHueSaturationSelector_setSaturation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateContents), meth_KHueSaturationSelector_updateContents, METH_VARARGS, NULL}
};


static pyqt4ClassPluginDef plugin_KHueSaturationSelector = {
    & ::KHueSaturationSelector::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KHueSaturationSelector = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KHueSaturationSelector,
        {0},
        &plugin_KHueSaturationSelector
    },
    {
        sipNameNr_KHueSaturationSelector,
        {0, 0, 1},
        12, methods_KHueSaturationSelector,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KHueSaturationSelector,
    0,
    init_type_KHueSaturationSelector,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KHueSaturationSelector,
    0,
    0,
    0,
    release_KHueSaturationSelector,
    cast_KHueSaturationSelector,
    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/kxyselector.sip"
#include <kxyselector.h>
#line 41650 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 41654 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 41657 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 41660 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 41663 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 41666 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 41669 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 41672 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcolor.sip"
#include <qcolor.h>
#line 41675 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 41678 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 41681 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 41684 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 41687 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 41690 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 41693 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 41696 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 41699 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 41702 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 41705 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 41708 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 41711 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 41714 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 41717 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 41720 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 41723 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 41726 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 41729 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 41732 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 41735 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 41738 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 41741 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 41744 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 41747 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 41750 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 41753 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 41756 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 41759 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 41762 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 41765 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 41768 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 41771 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 41774 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 41777 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 41780 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 41783 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 41786 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 41789 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 41792 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 41795 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 41798 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 41801 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 41804 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 41807 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 41810 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 41813 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 41816 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 41819 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 41822 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 41825 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 41828 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 41831 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 41834 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 41837 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 41840 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 41843 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"


class sipKXYSelector : public  ::KXYSelector
{
public:
    sipKXYSelector( ::QWidget*);
    virtual ~sipKXYSelector();

    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 drawMarker( ::QPainter*,int,int);
    void drawContents( ::QPainter*);
    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:
    sipKXYSelector(const sipKXYSelector &);
    sipKXYSelector &operator = (const sipKXYSelector &);

    char sipPyMethods[49];
};

sipKXYSelector::sipKXYSelector( ::QWidget*a0):  ::KXYSelector(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKXYSelector::~sipKXYSelector()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKXYSelector::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KXYSelector);
}

int sipKXYSelector::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KXYSelector::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KXYSelector,_c,_id,_a);

    return _id;
}

void *sipKXYSelector::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KXYSelector, _clname)) ? this :  ::KXYSelector::qt_metacast(_clname);
}

void sipKXYSelector::drawMarker( ::QPainter*a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_drawMarker);

    if (!sipMeth)
    {
         ::KXYSelector::drawMarker(a0,a1,a2);
        return;
    }

    extern void sipVH_kdeui_156(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,int,int);

    sipVH_kdeui_156(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKXYSelector::drawContents( ::QPainter*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_drawContents);

    if (!sipMeth)
    {
         ::KXYSelector::drawContents(a0);
        return;
    }

    extern void sipVH_kdeui_109(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_kdeui_109(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKXYSelector::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KXYSelector::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 sipKXYSelector::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KXYSelector::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 sipKXYSelector::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KXYSelector::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKXYSelector::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KXYSelector::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKXYSelector::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KXYSelector::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKXYSelector::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KXYSelector::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 sipKXYSelector::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KXYSelector::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKXYSelector::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  ::KXYSelector::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* sipKXYSelector::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KXYSelector::paintEngine();

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKXYSelector::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KXYSelector::devType();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKXYSelector::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KXYSelector::setVisible(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKXYSelector::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KXYSelector::sizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKXYSelector::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KXYSelector::minimumSizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKXYSelector::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  ::KXYSelector::heightForWidth(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKXYSelector::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KXYSelector::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKXYSelector::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KXYSelector::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKXYSelector::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KXYSelector::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKXYSelector::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KXYSelector::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKXYSelector::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KXYSelector::wheelEvent(a0);
        return;
    }

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kdeui_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKXYSelector::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KXYSelector::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKXYSelector::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KXYSelector::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKXYSelector::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KXYSelector::focusInEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKXYSelector::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KXYSelector::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKXYSelector::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KXYSelector::enterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKXYSelector::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KXYSelector::leaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKXYSelector::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KXYSelector::paintEvent(a0);
        return;
    }

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kdeui_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKXYSelector::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KXYSelector::moveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kdeui_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKXYSelector::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KXYSelector::resizeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kdeui_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKXYSelector::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KXYSelector::closeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kdeui_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKXYSelector::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KXYSelector::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kdeui_22(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKXYSelector::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KXYSelector::tabletEvent(a0);
        return;
    }

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kdeui_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKXYSelector::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KXYSelector::actionEvent(a0);
        return;
    }

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kdeui_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKXYSelector::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KXYSelector::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kdeui_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKXYSelector::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KXYSelector::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kdeui_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKXYSelector::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KXYSelector::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kdeui_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKXYSelector::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KXYSelector::dropEvent(a0);
        return;
    }

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kdeui_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKXYSelector::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KXYSelector::showEvent(a0);
        return;
    }

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kdeui_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKXYSelector::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KXYSelector::hideEvent(a0);
        return;
    }

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kdeui_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKXYSelector::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KXYSelector::changeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKXYSelector::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KXYSelector::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QVariant sipKXYSelector::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  ::KXYSelector::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 sipKXYSelector::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KXYSelector::focusNextPrevChild(a0);

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKXYSelector::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KXYSelector::enabledChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKXYSelector::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KXYSelector::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 sipKXYSelector::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KXYSelector::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 sipKXYSelector::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KXYSelector::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKXYSelector::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KXYSelector::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_KXYSelector_setValues(PyObject *, PyObject *);}
static PyObject *meth_KXYSelector_setValues(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
         ::KXYSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_KXYSelector, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setValues(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_KXYSelector, sipName_setValues, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KXYSelector_setXValue(PyObject *, PyObject *);}
static PyObject *meth_KXYSelector_setXValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::KXYSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KXYSelector, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setXValue(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KXYSelector, sipName_setXValue, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KXYSelector_setYValue(PyObject *, PyObject *);}
static PyObject *meth_KXYSelector_setYValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::KXYSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KXYSelector, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setYValue(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KXYSelector, sipName_setYValue, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KXYSelector_setRange(PyObject *, PyObject *);}
static PyObject *meth_KXYSelector_setRange(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;
        int a3;
         ::KXYSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Biiii", &sipSelf, sipType_KXYSelector, &sipCpp, &a0, &a1, &a2, &a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setRange(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_KXYSelector, sipName_setRange, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KXYSelector_setMarkerColor(PyObject *, PyObject *);}
static PyObject *meth_KXYSelector_setMarkerColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QColor* a0;
        int a0State = 0;
         ::KXYSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KXYSelector, &sipCpp, sipType_QColor, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMarkerColor(*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_KXYSelector, sipName_setMarkerColor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KXYSelector_xValue(PyObject *, PyObject *);}
static PyObject *meth_KXYSelector_xValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KXYSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KXYSelector, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->xValue();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KXYSelector, sipName_xValue, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KXYSelector_yValue(PyObject *, PyObject *);}
static PyObject *meth_KXYSelector_yValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KXYSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KXYSelector, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->yValue();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KXYSelector, sipName_yValue, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KXYSelector_contentsRect(PyObject *, PyObject *);}
static PyObject *meth_KXYSelector_contentsRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KXYSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KXYSelector, &sipCpp))
        {
             ::QRect*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QRect(sipCpp->contentsRect());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KXYSelector, sipName_contentsRect, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KXYSelector_minimumSizeHint(PyObject *, PyObject *);}
static PyObject *meth_KXYSelector_minimumSizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::KXYSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KXYSelector, &sipCpp))
        {
             ::QSize*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QSize((sipSelfWasArg ? sipCpp-> ::KXYSelector::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_KXYSelector, sipName_minimumSizeHint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KXYSelector_drawContents(PyObject *, PyObject *);}
static PyObject *meth_KXYSelector_drawContents(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QPainter* a0;
         ::KXYSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KXYSelector, &sipCpp, sipType_QPainter, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KXYSelector::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_KXYSelector, sipName_drawContents, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KXYSelector_drawMarker(PyObject *, PyObject *);}
static PyObject *meth_KXYSelector_drawMarker(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QPainter* a0;
        int a1;
        int a2;
         ::KXYSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8ii", &sipSelf, sipType_KXYSelector, &sipCpp, sipType_QPainter, &a0, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KXYSelector::drawMarker(a0,a1,a2) : sipCpp->drawMarker(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_KXYSelector, sipName_drawMarker, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KXYSelector_paintEvent(PyObject *, PyObject *);}
static PyObject *meth_KXYSelector_paintEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QPaintEvent* a0;
         ::KXYSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KXYSelector, &sipCpp, sipType_QPaintEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KXYSelector::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_KXYSelector, sipName_paintEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KXYSelector_mousePressEvent(PyObject *, PyObject *);}
static PyObject *meth_KXYSelector_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMouseEvent* a0;
         ::KXYSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KXYSelector, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KXYSelector::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_KXYSelector, sipName_mousePressEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KXYSelector_mouseMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_KXYSelector_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMouseEvent* a0;
         ::KXYSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KXYSelector, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KXYSelector::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_KXYSelector, sipName_mouseMoveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KXYSelector_wheelEvent(PyObject *, PyObject *);}
static PyObject *meth_KXYSelector_wheelEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QWheelEvent* a0;
         ::KXYSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KXYSelector, &sipCpp, sipType_QWheelEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KXYSelector::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_KXYSelector, sipName_wheelEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KXYSelector_valuesFromPosition(PyObject *, PyObject *);}
static PyObject *meth_KXYSelector_valuesFromPosition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;
        int a3;
        const  ::KXYSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pii", &sipSelf, sipType_KXYSelector, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->valuesFromPosition(a0,a1,a2,a3);
            Py_END_ALLOW_THREADS

            return sipBuildResult(0,"(ii)",a2,a3);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KXYSelector, sipName_valuesFromPosition, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KXYSelector(void *, const sipTypeDef *);}
static void *cast_KXYSelector(void *sipCppV, const sipTypeDef *targetType)
{
     ::KXYSelector *sipCpp = reinterpret_cast< ::KXYSelector *>(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_KXYSelector(void *, int);}
static void release_KXYSelector(void *sipCppV, int)
{
     ::KXYSelector *sipCpp = reinterpret_cast< ::KXYSelector *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KXYSelector(sipSimpleWrapper *);}
static void dealloc_KXYSelector(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKXYSelector *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KXYSelector(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KXYSelector(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KXYSelector(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKXYSelector *sipCpp = 0;

    {
         ::QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKXYSelector(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KXYSelector[] = {{131, 2, 1}};


static PyMethodDef methods_KXYSelector[] = {
    {SIP_MLNAME_CAST(sipName_contentsRect), meth_KXYSelector_contentsRect, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_drawContents), meth_KXYSelector_drawContents, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_drawMarker), meth_KXYSelector_drawMarker, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_minimumSizeHint), meth_KXYSelector_minimumSizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_KXYSelector_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_KXYSelector_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_KXYSelector_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMarkerColor), meth_KXYSelector_setMarkerColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRange), meth_KXYSelector_setRange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setValues), meth_KXYSelector_setValues, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setXValue), meth_KXYSelector_setXValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setYValue), meth_KXYSelector_setYValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_valuesFromPosition), meth_KXYSelector_valuesFromPosition, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_KXYSelector_wheelEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_xValue), meth_KXYSelector_xValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_yValue), meth_KXYSelector_yValue, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KXYSelector[] = {
    {"valueChanged(int,int)", 0, 0, 0},
    {0, 0, 0, 0}
};


static pyqt4ClassPluginDef plugin_KXYSelector = {
    & ::KXYSelector::staticMetaObject,
    0,
    signals_KXYSelector
};


sipClassTypeDef sipTypeDef_kdeui_KXYSelector = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KXYSelector,
        {0},
        &plugin_KXYSelector
    },
    {
        sipNameNr_KXYSelector,
        {0, 0, 1},
        16, methods_KXYSelector,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KXYSelector,
    0,
    init_type_KXYSelector,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KXYSelector,
    0,
    0,
    0,
    release_KXYSelector,
    cast_KXYSelector,
    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/khistorycombobox.sip"
#include <khistorycombobox.h>
#line 43415 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 43419 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 43422 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 43425 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 43428 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 43431 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kpixmapprovider.sip"
#include <kpixmapprovider.h>
#line 43434 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 43437 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.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 43440 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 43443 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.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 43446 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlineedit.sip"
#include <qlineedit.h>
#line 43449 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.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 43452 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 43455 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 43458 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.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 43461 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 43464 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 43467 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 43470 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 43473 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 43476 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 43479 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 43482 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 43485 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 43488 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 43491 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 43494 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 43497 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 1576 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 43500 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qcompleter.sip"
#include <qcompleter.h>
#line 43503 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 43506 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 43509 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 122 "/usr/share/sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 43512 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 43515 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qvalidator.sip"
#include <qvalidator.h>
#line 43518 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcombobox.sip"
#include <qcombobox.h>
#line 43521 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 43524 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 43527 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 43530 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 43533 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 43536 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 43539 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43542 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 43545 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 43548 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 43551 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 43554 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 43557 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 43560 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 43563 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 43566 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 43569 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 43572 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 43575 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 43578 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 43581 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 43584 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 43587 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 43590 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 43593 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 43596 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 43599 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 43602 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 43605 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 43608 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 43611 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 43614 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 43617 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 43620 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 43623 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 43626 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 43629 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 43632 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 43635 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 43638 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 43641 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 43644 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 43647 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 43650 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 43653 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 43656 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 43659 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.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 43662 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.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 43665 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.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 43668 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart4.cpp"


class sipKHistoryComboBox : public  ::KHistoryComboBox
{
public:
    sipKHistoryComboBox( ::QWidget*);
    sipKHistoryComboBox(bool, ::QWidget*);
    virtual ~sipKHistoryComboBox();

    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 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:
    sipKHistoryComboBox(const sipKHistoryComboBox &);
    sipKHistoryComboBox &operator = (const sipKHistoryComboBox &);

    char sipPyMethods[60];
};

sipKHistoryComboBox::sipKHistoryComboBox( ::QWidget*a0):  ::KHistoryComboBox(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKHistoryComboBox::sipKHistoryComboBox(bool a0, ::QWidget*a1):  ::KHistoryComboBox(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKHistoryComboBox::~sipKHistoryComboBox()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKHistoryComboBox::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KHistoryComboBox);
}

int sipKHistoryComboBox::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KHistoryComboBox::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KHistoryComboBox,_c,_id,_a);

    return _id;
}

void *sipKHistoryComboBox::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KHistoryComboBox, _clname)) ? this :  ::KHistoryComboBox::qt_metacast(_clname);
}

void sipKHistoryComboBox::hidePopup()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_hidePopup);

    if (!sipMeth)
    {
         ::KHistoryComboBox::hidePopup();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKHistoryComboBox::showPopup()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_showPopup);

    if (!sipMeth)
    {
         ::KHistoryComboBox::showPopup();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKHistoryComboBox::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KHistoryComboBox::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 sipKHistoryComboBox::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KHistoryComboBox::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 sipKHistoryComboBox::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KHistoryComboBox::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHistoryComboBox::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KHistoryComboBox::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHistoryComboBox::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KHistoryComboBox::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKHistoryComboBox::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KHistoryComboBox::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 sipKHistoryComboBox::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KHistoryComboBox::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKHistoryComboBox::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  ::KHistoryComboBox::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* sipKHistoryComboBox::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KHistoryComboBox::paintEngine();

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKHistoryComboBox::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KHistoryComboBox::devType();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKHistoryComboBox::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KHistoryComboBox::setVisible(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKHistoryComboBox::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KHistoryComboBox::sizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKHistoryComboBox::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KHistoryComboBox::minimumSizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKHistoryComboBox::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  ::KHistoryComboBox::heightForWidth(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHistoryComboBox::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KHistoryComboBox::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHistoryComboBox::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KHistoryComboBox::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHistoryComboBox::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KHistoryComboBox::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHistoryComboBox::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KHistoryComboBox::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHistoryComboBox::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KHistoryComboBox::wheelEvent(a0);
        return;
    }

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kdeui_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHistoryComboBox::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KHistoryComboBox::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHistoryComboBox::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KHistoryComboBox::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHistoryComboBox::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KHistoryComboBox::focusInEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHistoryComboBox::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KHistoryComboBox::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHistoryComboBox::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KHistoryComboBox::enterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHistoryComboBox::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KHistoryComboBox::leaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHistoryComboBox::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KHistoryComboBox::paintEvent(a0);
        return;
    }

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kdeui_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHistoryComboBox::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KHistoryComboBox::moveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kdeui_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHistoryComboBox::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KHistoryComboBox::resizeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kdeui_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHistoryComboBox::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KHistoryComboBox::closeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kdeui_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHistoryComboBox::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KHistoryComboBox::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kdeui_22(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHistoryComboBox::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KHistoryComboBox::tabletEvent(a0);
        return;
    }

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kdeui_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHistoryComboBox::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KHistoryComboBox::actionEvent(a0);
        return;
    }

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kdeui_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHistoryComboBox::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KHistoryComboBox::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kdeui_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHistoryComboBox::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KHistoryComboBox::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kdeui_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHistoryComboBox::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KHistoryComboBox::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kdeui_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHistoryComboBox::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KHistoryComboBox::dropEvent(a0);
        return;
    }

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kdeui_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHistoryComboBox::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KHistoryComboBox::showEvent(a0);
        return;
    }

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kdeui_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHistoryComboBox::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KHistoryComboBox::hideEvent(a0);
        return;
    }

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kdeui_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHistoryComboBox::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KHistoryComboBox::changeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHistoryComboBox::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KHistoryComboBox::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QVariant sipKHistoryComboBox::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  ::KHistoryComboBox::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 sipKHistoryComboBox::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KHistoryComboBox::focusNextPrevChild(a0);

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHistoryComboBox::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KHistoryComboBox::enabledChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHistoryComboBox::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KHistoryComboBox::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 sipKHistoryComboBox::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KHistoryComboBox::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 sipKHistoryComboBox::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KHistoryComboBox::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHistoryComboBox::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KHistoryComboBox::languageChange();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKHistoryComboBox::setCompletedItems(const  ::QStringList& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_setCompletedItems);

    if (!sipMeth)
    {
         ::KHistoryComboBox::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 sipKHistoryComboBox::setCompletedText(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_setCompletedText);

    if (!sipMeth)
    {
         ::KHistoryComboBox::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 sipKHistoryComboBox::setCompletionMode( ::KGlobalSettings::Completion a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_setCompletionMode);

    if (!sipMeth)
    {
         ::KHistoryComboBox::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 sipKHistoryComboBox::setHandleSignals(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_setHandleSignals);

    if (!sipMeth)
    {
         ::KHistoryComboBox::setHandleSignals(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHistoryComboBox::setCompletionObject( ::KCompletion*a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_setCompletionObject);

    if (!sipMeth)
    {
         ::KHistoryComboBox::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 sipKHistoryComboBox::setAutoCompletion(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_setAutoCompletion);

    if (!sipMeth)
    {
         ::KHistoryComboBox::setAutoCompletion(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHistoryComboBox::setContextMenuEnabled(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_setContextMenuEnabled);

    if (!sipMeth)
    {
         ::KHistoryComboBox::setContextMenuEnabled(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHistoryComboBox::setLineEdit( ::QLineEdit*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_setLineEdit);

    if (!sipMeth)
    {
         ::KHistoryComboBox::setLineEdit(a0);
        return;
    }

    extern void sipVH_kdeui_115(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QLineEdit*);

    sipVH_kdeui_115(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKHistoryComboBox::makeCompletion(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_makeCompletion);

    if (!sipMeth)
    {
         ::KHistoryComboBox::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 sipKHistoryComboBox::setCompletedText(const  ::QString& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_setCompletedText);

    if (!sipMeth)
    {
         ::KHistoryComboBox::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 sipKHistoryComboBox::create( ::WId a0,bool a1,bool a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[59],sipPySelf,NULL,sipName_create);

    if (!sipMeth)
    {
         ::KHistoryComboBox::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_KHistoryComboBox_setHistoryItems(PyObject *, PyObject *);}
static PyObject *meth_KHistoryComboBox_setHistoryItems(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QStringList* a0;
        int a0State = 0;
         ::KHistoryComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KHistoryComboBox, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setHistoryItems(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QStringList *>(a0),sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::QStringList* a0;
        int a0State = 0;
        bool a1;
         ::KHistoryComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1b", &sipSelf, sipType_KHistoryComboBox, &sipCpp, sipType_QStringList,&a0, &a0State, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setHistoryItems(*a0,a1);
            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_KHistoryComboBox, sipName_setHistoryItems, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KHistoryComboBox_historyItems(PyObject *, PyObject *);}
static PyObject *meth_KHistoryComboBox_historyItems(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KHistoryComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KHistoryComboBox, &sipCpp))
        {
             ::QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QStringList(sipCpp->historyItems());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KHistoryComboBox, sipName_historyItems, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KHistoryComboBox_removeFromHistory(PyObject *, PyObject *);}
static PyObject *meth_KHistoryComboBox_removeFromHistory(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::KHistoryComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KHistoryComboBox, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->removeFromHistory(*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_KHistoryComboBox, sipName_removeFromHistory, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KHistoryComboBox_setPixmapProvider(PyObject *, PyObject *);}
static PyObject *meth_KHistoryComboBox_setPixmapProvider(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KPixmapProvider* a0;
         ::KHistoryComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KHistoryComboBox, &sipCpp, sipType_KPixmapProvider, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPixmapProvider(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KHistoryComboBox, sipName_setPixmapProvider, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KHistoryComboBox_pixmapProvider(PyObject *, PyObject *);}
static PyObject *meth_KHistoryComboBox_pixmapProvider(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KHistoryComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KHistoryComboBox, &sipCpp))
        {
             ::KPixmapProvider*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->pixmapProvider();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KPixmapProvider,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KHistoryComboBox, sipName_pixmapProvider, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KHistoryComboBox_reset(PyObject *, PyObject *);}
static PyObject *meth_KHistoryComboBox_reset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KHistoryComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KHistoryComboBox, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->reset();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KHistoryComboBox, sipName_reset, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KHistoryComboBox_addToHistory(PyObject *, PyObject *);}
static PyObject *meth_KHistoryComboBox_addToHistory(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::KHistoryComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KHistoryComboBox, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addToHistory(*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_KHistoryComboBox, sipName_addToHistory, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KHistoryComboBox_clearHistory(PyObject *, PyObject *);}
static PyObject *meth_KHistoryComboBox_clearHistory(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KHistoryComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KHistoryComboBox, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->clearHistory();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KHistoryComboBox, sipName_clearHistory, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KHistoryComboBox_keyPressEvent(PyObject *, PyObject *);}
static PyObject *meth_KHistoryComboBox_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QKeyEvent* a0;
         ::KHistoryComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KHistoryComboBox, &sipCpp, sipType_QKeyEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KHistoryComboBox::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_KHistoryComboBox, sipName_keyPressEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KHistoryComboBox_wheelEvent(PyObject *, PyObject *);}
static PyObject *meth_KHistoryComboBox_wheelEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QWheelEvent* a0;
         ::KHistoryComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KHistoryComboBox, &sipCpp, sipType_QWheelEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KHistoryComboBox::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_KHistoryComboBox, sipName_wheelEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KHistoryComboBox_insertItems(PyObject *, PyObject *);}
static PyObject *meth_KHistoryComboBox_insertItems(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QStringList* a0;
        int a0State = 0;
         ::KHistoryComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_KHistoryComboBox, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->insertItems(*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_KHistoryComboBox, sipName_insertItems, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KHistoryComboBox_useCompletion(PyObject *, PyObject *);}
static PyObject *meth_KHistoryComboBox_useCompletion(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KHistoryComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KHistoryComboBox, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->useCompletion();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KHistoryComboBox, sipName_useCompletion, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KHistoryComboBox(void *, const sipTypeDef *);}
static void *cast_KHistoryComboBox(void *sipCppV, const sipTypeDef *targetType)
{
     ::KHistoryComboBox *sipCpp = reinterpret_cast< ::KHistoryComboBox *>(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_KHistoryComboBox(void *, int);}
static void release_KHistoryComboBox(void *sipCppV, int)
{
     ::KHistoryComboBox *sipCpp = reinterpret_cast< ::KHistoryComboBox *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KHistoryComboBox(sipSimpleWrapper *);}
static void dealloc_KHistoryComboBox(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKHistoryComboBox *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KHistoryComboBox(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KHistoryComboBox(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KHistoryComboBox(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKHistoryComboBox *sipCpp = 0;

    {
         ::QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKHistoryComboBox(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        bool a0;
         ::QWidget* a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "b|JH", &a0, sipType_QWidget, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKHistoryComboBox(a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KHistoryComboBox[] = {{58, 255, 1}};


static PyMethodDef methods_KHistoryComboBox[] = {
    {SIP_MLNAME_CAST(sipName_addToHistory), meth_KHistoryComboBox_addToHistory, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clearHistory), meth_KHistoryComboBox_clearHistory, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_historyItems), meth_KHistoryComboBox_historyItems, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_insertItems), meth_KHistoryComboBox_insertItems, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_KHistoryComboBox_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pixmapProvider), meth_KHistoryComboBox_pixmapProvider, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeFromHistory), meth_KHistoryComboBox_removeFromHistory, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_reset), meth_KHistoryComboBox_reset, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHistoryItems), meth_KHistoryComboBox_setHistoryItems, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPixmapProvider), meth_KHistoryComboBox_setPixmapProvider, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_useCompletion), meth_KHistoryComboBox_useCompletion, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_KHistoryComboBox_wheelEvent, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KHistoryComboBox[] = {
    {"cleared()", 0, 0, 0},
    {0, 0, 0, 0}
};


static pyqt4ClassPluginDef plugin_KHistoryComboBox = {
    & ::KHistoryComboBox::staticMetaObject,
    0,
    signals_KHistoryComboBox
};


sipClassTypeDef sipTypeDef_kdeui_KHistoryComboBox = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KHistoryComboBox,
        {0},
        &plugin_KHistoryComboBox
    },
    {
        sipNameNr_KHistoryComboBox,
        {0, 0, 1},
        12, methods_KHistoryComboBox,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KHistoryComboBox,
    0,
    init_type_KHistoryComboBox,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KHistoryComboBox,
    0,
    0,
    0,
    release_KHistoryComboBox,
    cast_KHistoryComboBox,
    0,
    0,
    0,
    0,
    0,
    0
};
