/*
 * Module code.
 *
 * Generated by SIP 4.8.2 on Sun Oct 11 19:58:54 2009
 */

#include "sipAPIkdeui.h"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kpixmapprovider.sip"
#include <kpixmapprovider.h>
#line 12 "sipkdeuipart3.cpp"

#line 46 "/usr/local/share/py-sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 16 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 19 "sipkdeuipart3.cpp"


class sipKPixmapProvider : public KPixmapProvider
{
public:
    sipKPixmapProvider();
    sipKPixmapProvider(const KPixmapProvider&);
    virtual ~sipKPixmapProvider();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QPixmap pixmapFor(const QString&,int);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[1];
};

sipKPixmapProvider::sipKPixmapProvider(): KPixmapProvider(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKPixmapProvider::sipKPixmapProvider(const KPixmapProvider& a0): KPixmapProvider(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

QPixmap sipKPixmapProvider::pixmapFor(const QString& a0,int a1)
{
    extern QPixmap sipVH_kdeui_53(sip_gilstate_t,PyObject *,const QString&,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_KPixmapProvider,sipName_pixmapFor);

    if (!meth)
        return QPixmap();

    return sipVH_kdeui_53(sipGILState,meth,a0,a1);
}


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

    {
        const QString * a0;
        int a0State = 0;
        int a1 = 0;
        KPixmapProvider *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1|i",&sipSelf,sipType_KPixmapProvider,&sipCpp,sipType_QString,&a0,&a0State,&a1))
        {
            QPixmap *sipRes;

            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KPixmapProvider, sipName_pixmapFor);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPixmap(sipCpp->pixmapFor(*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(sipArgsParsed,sipName_KPixmapProvider,sipName_pixmapFor);

    return NULL;
}


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

    return NULL;
}


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

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKPixmapProvider *>(sipCppV);
    else
        delete reinterpret_cast<KPixmapProvider *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

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

    if (!sipCpp)
    {
        const KPixmapProvider * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_KPixmapProvider,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKPixmapProvider(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


static PyMethodDef methods_KPixmapProvider[] = {
    {SIP_MLNAME_CAST(sipName_pixmapFor), meth_KPixmapProvider_pixmapFor, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kdeui_KPixmapProvider = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_KPixmapProvider,
        {0}
    },
    sipNameNr_KPixmapProvider,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {0, 0, 1},
    0,
    0,
    1, methods_KPixmapProvider,
    0, 0,
    0, 0,
    init_KPixmapProvider,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KPixmapProvider,
    release_KPixmapProvider,
    cast_KPixmapProvider,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kpassivepopupmessagehandler.sip"
#include <kpassivepopupmessagehandler.h>
#line 241 "sipkdeuipart3.cpp"

#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 245 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 248 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 251 "sipkdeuipart3.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 254 "sipkdeuipart3.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 257 "sipkdeuipart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 260 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 263 "sipkdeuipart3.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 294 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 297 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 300 "sipkdeuipart3.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 303 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 306 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 309 "sipkdeuipart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 312 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 315 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 318 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 321 "sipkdeuipart3.cpp"


class sipKPassivePopupMessageHandler : public KPassivePopupMessageHandler
{
public:
    sipKPassivePopupMessageHandler(QWidget *);
    virtual ~sipKPassivePopupMessageHandler();

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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);

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

    char sipPyMethods[8];
};

sipKPassivePopupMessageHandler::sipKPassivePopupMessageHandler(QWidget *a0): KPassivePopupMessageHandler(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKPassivePopupMessageHandler::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KPassivePopupMessageHandler);
}

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

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

    return _id;
}

void *sipKPassivePopupMessageHandler::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast && sip_kdeui_qt_metacast(sipPySelf,sipType_KPassivePopupMessageHandler,_clname)) ? this : KPassivePopupMessageHandler::qt_metacast(_clname);
}

void sipKPassivePopupMessageHandler::message(KMessage::MessageType a0,const QString& a1,const QString& a2)
{
    typedef void (*sipVH_kdecore_20)(sip_gilstate_t,PyObject *,KMessage::MessageType,const QString&,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KPassivePopupMessageHandler::message(a0,a1,a2);
        return;
    }

    ((sipVH_kdecore_20)(sipModuleAPI_kdeui_kdecore->em_virthandlers[20]))(sipGILState,meth,a0,a1,a2);
}

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

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

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

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

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

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


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

    {
        char * a0;
        sipKPassivePopupMessageHandler *sipCpp;

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

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

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipKPassivePopupMessageHandler *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipKPassivePopupMessageHandler *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKPassivePopupMessageHandler *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKPassivePopupMessageHandler *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKPassivePopupMessageHandler *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KMessage::MessageType a0;
        const QString * a1;
        int a1State = 0;
        const QString * a2;
        int a2State = 0;
        KPassivePopupMessageHandler *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BEJ1J1",&sipSelf,sipType_KPassivePopupMessageHandler,&sipCpp,sipType_KMessage_MessageType,&a0,sipType_QString,&a1,&a1State,sipType_QString,&a2,&a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KPassivePopupMessageHandler::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(sipArgsParsed,sipName_KPassivePopupMessageHandler,sipName_message);

    return NULL;
}


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

    if (targetType == sipType_KPassivePopupMessageHandler)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(KPassivePopupMessageHandler *)ptr,targetType)) != NULL)
        return res;

    if ((res = ((const sipClassTypeDef *)sipType_KMessageHandler)->ctd_cast((KMessageHandler *)(KPassivePopupMessageHandler *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKPassivePopupMessageHandler *>(sipCppV);
    else
        delete reinterpret_cast<KPassivePopupMessageHandler *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

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

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

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KPassivePopupMessageHandler[] = {{111, 0, 0}, {108, 3, 1}};


static PyMethodDef methods_KPassivePopupMessageHandler[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KPassivePopupMessageHandler_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KPassivePopupMessageHandler_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KPassivePopupMessageHandler_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KPassivePopupMessageHandler_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_message), meth_KPassivePopupMessageHandler_message, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KPassivePopupMessageHandler_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KPassivePopupMessageHandler_timerEvent, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kdeui_KPassivePopupMessageHandler = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KPassivePopupMessageHandler,
        {0}
    },
    sipNameNr_KPassivePopupMessageHandler,
    -1,
    -1,
    {0, 0, 1},
    supers_KPassivePopupMessageHandler,
    0,
    7, methods_KPassivePopupMessageHandler,
    0, 0,
    0, 0,
    init_KPassivePopupMessageHandler,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KPassivePopupMessageHandler,
    release_KPassivePopupMessageHandler,
    cast_KPassivePopupMessageHandler,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KPassivePopupMessageHandler::staticMetaObject,
    0,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kpassivepopup.sip"
#include <kpassivepopup.h>
#line 914 "sipkdeuipart3.cpp"

#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 918 "sipkdeuipart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 921 "sipkdeuipart3.cpp"
#line 345 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 924 "sipkdeuipart3.cpp"
#line 184 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 927 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 930 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 933 "sipkdeuipart3.cpp"
#line 424 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 936 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 939 "sipkdeuipart3.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qsystemtrayicon.sip"
#include <qsystemtrayicon.h>
#line 942 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 945 "sipkdeuipart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kvbox.sip"
#include <kvbox.h>
#line 948 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 951 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 954 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qframe.sip"
#include <qframe.h>
#line 957 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 960 "sipkdeuipart3.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 963 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 966 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 969 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 972 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 975 "sipkdeuipart3.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 978 "sipkdeuipart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 981 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 984 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 987 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 990 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 993 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 996 "sipkdeuipart3.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1001 "sipkdeuipart3.cpp"
#line 412 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1004 "sipkdeuipart3.cpp"
#line 508 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1007 "sipkdeuipart3.cpp"
#line 562 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1010 "sipkdeuipart3.cpp"
#line 533 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1013 "sipkdeuipart3.cpp"
#line 550 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1016 "sipkdeuipart3.cpp"
#line 618 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1019 "sipkdeuipart3.cpp"
#line 247 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1022 "sipkdeuipart3.cpp"
#line 436 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1025 "sipkdeuipart3.cpp"
#line 388 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1028 "sipkdeuipart3.cpp"
#line 374 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1031 "sipkdeuipart3.cpp"
#line 360 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1034 "sipkdeuipart3.cpp"
#line 325 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1037 "sipkdeuipart3.cpp"
#line 296 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1040 "sipkdeuipart3.cpp"
#line 225 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1043 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 1046 "sipkdeuipart3.cpp"
#line 74 "/usr/local/share/py-sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 1049 "sipkdeuipart3.cpp"
#line 47 "/usr/local/share/py-sip/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 1052 "sipkdeuipart3.cpp"
#line 136 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#include <qlist.h>
#line 66 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qlist.h>
#line 229 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 520 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 1113 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 1116 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 1119 "sipkdeuipart3.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 1122 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 1125 "sipkdeuipart3.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1130 "sipkdeuipart3.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 1133 "sipkdeuipart3.cpp"
#line 99 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 1136 "sipkdeuipart3.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 1139 "sipkdeuipart3.cpp"
#line 165 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 1142 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 1145 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qdockwidget.sip"
#include <qdockwidget.h>
#line 1148 "sipkdeuipart3.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 1151 "sipkdeuipart3.cpp"
#line 334 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 1154 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 56 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 1159 "sipkdeuipart3.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qprinterinfo.h>
#line 1162 "sipkdeuipart3.cpp"
#line 202 "/usr/local/share/py-sip/QtGui/qstandarditemmodel.sip"
#include <qstandarditemmodel.h>
#line 1165 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 1168 "sipkdeuipart3.cpp"
#line 66 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 1171 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 114 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 1176 "sipkdeuipart3.cpp"
#line 65 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 88 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 1181 "sipkdeuipart3.cpp"
#line 149 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 175 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 1186 "sipkdeuipart3.cpp"
#line 83 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 101 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 1191 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 1194 "sipkdeuipart3.cpp"
#line 75 "/usr/local/share/py-sip/QtGui/qundostack.sip"
#include <qundostack.h>
#line 1197 "sipkdeuipart3.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 1200 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qprinter.sip"
#include <qprinter.h>
#line 1203 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#line 1206 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qlayout.sip"
#include <qlayout.h>
#line 1209 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 1212 "sipkdeuipart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1215 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 1218 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 1221 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 1224 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 1227 "sipkdeuipart3.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1230 "sipkdeuipart3.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1233 "sipkdeuipart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 1236 "sipkdeuipart3.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 1267 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 1270 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 1273 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 1276 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 1279 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 1282 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 1285 "sipkdeuipart3.cpp"


class sipKPassivePopup : public KPassivePopup
{
public:
    sipKPassivePopup(QWidget *,Qt::WFlags);
    sipKPassivePopup(WId);
    virtual ~sipKPassivePopup();

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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent *);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent *);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent *);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent *);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent *);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent *);
    void sipProtectVirt_enterEvent(bool,QEvent *);
    void sipProtectVirt_leaveEvent(bool,QEvent *);
    void sipProtectVirt_moveEvent(bool,QMoveEvent *);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent *);
    void sipProtectVirt_closeEvent(bool,QCloseEvent *);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent *);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent *);
    void sipProtectVirt_actionEvent(bool,QActionEvent *);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent *);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent *);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent *);
    void sipProtectVirt_dropEvent(bool,QDropEvent *);
    void sipProtectVirt_showEvent(bool,QShowEvent *);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent *);
    void sipProtect_resetInputContext();
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    void sipProtectVirt_enabledChange(bool,bool);
    void sipProtectVirt_paletteChange(bool,const QPalette&);
    void sipProtectVirt_fontChange(bool,const QFont&);
    void sipProtectVirt_windowActivationChange(bool,bool);
    void sipProtectVirt_languageChange(bool);
    bool sipProtectVirt_event(bool,QEvent *);
    void sipProtectVirt_changeEvent(bool,QEvent *);
    void sipProtect_drawFrame(QPainter *);
    void sipProtectVirt_positionSelf(bool);
    void sipProtectVirt_hideEvent(bool,QHideEvent *);
    void sipProtect_moveNear(const QRect&);
    QPoint sipProtect_calculateNearbyPoint(const QRect&);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent *);
    void sipProtect_updateMask();
    void sipProtectVirt_paintEvent(bool,QPaintEvent *);

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[50];
};

sipKPassivePopup::sipKPassivePopup(QWidget *a0,Qt::WFlags a1): KPassivePopup(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKPassivePopup::sipKPassivePopup(WId a0): KPassivePopup(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKPassivePopup::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KPassivePopup);
}

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

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

    return _id;
}

void *sipKPassivePopup::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast && sip_kdeui_qt_metacast(sipPySelf,sipType_KPassivePopup,_clname)) ? this : KPassivePopup::qt_metacast(_clname);
}

void sipKPassivePopup::setView(const QString& a0,const QString& a1,const QPixmap& a2)
{
    extern void sipVH_kdeui_56(sip_gilstate_t,PyObject *,const QString&,const QString&,const QPixmap&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KPassivePopup::setView(a0,a1,a2);
        return;
    }

    sipVH_kdeui_56(sipGILState,meth,a0,a1,a2);
}

void sipKPassivePopup::setAutoDelete(bool a0)
{
    typedef void (*sipVH_QtNetwork_2)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KPassivePopup::setAutoDelete(a0);
        return;
    }

    ((sipVH_QtNetwork_2)(sipModuleAPI_kdeui_QtNetwork->em_virthandlers[2]))(sipGILState,meth,a0);
}

void sipKPassivePopup::setVisible(bool a0)
{
    typedef void (*sipVH_QtNetwork_2)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtNetwork_2)(sipModuleAPI_kdeui_QtNetwork->em_virthandlers[2]))(sipGILState,meth,a0);
}

void sipKPassivePopup::positionSelf()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KPassivePopup::positionSelf();
        return;
    }

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

void sipKPassivePopup::sipProtectVirt_positionSelf(bool sipSelfWasArg)
{
    (sipSelfWasArg ? KPassivePopup::positionSelf() : positionSelf());
}

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

void sipKPassivePopup::sipProtect_moveNear(const QRect& a0)
{
    KPassivePopup::moveNear(a0);
}

QPoint sipKPassivePopup::sipProtect_calculateNearbyPoint(const QRect& a0)
{
    return KPassivePopup::calculateNearbyPoint(a0);
}

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

void sipKPassivePopup::sipProtect_updateMask()
{
    KPassivePopup::updateMask();
}

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


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

    {
        char * a0;
        sipKPassivePopup *sipCpp;

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

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

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipKPassivePopup *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipKPassivePopup *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKPassivePopup *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKPassivePopup *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKPassivePopup *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipKPassivePopup *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipKPassivePopup *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipKPassivePopup *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QWheelEvent * a0;
        sipKPassivePopup *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QKeyEvent * a0;
        sipKPassivePopup *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QKeyEvent * a0;
        sipKPassivePopup *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QFocusEvent * a0;
        sipKPassivePopup *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QFocusEvent * a0;
        sipKPassivePopup *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKPassivePopup *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKPassivePopup *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QMoveEvent * a0;
        sipKPassivePopup *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QResizeEvent * a0;
        sipKPassivePopup *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QCloseEvent * a0;
        sipKPassivePopup *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QContextMenuEvent * a0;
        sipKPassivePopup *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QTabletEvent * a0;
        sipKPassivePopup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KPassivePopup,&sipCpp,sipType_QTabletEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QActionEvent * a0;
        sipKPassivePopup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KPassivePopup,&sipCpp,sipType_QActionEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QDragEnterEvent * a0;
        sipKPassivePopup *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QDragMoveEvent * a0;
        sipKPassivePopup *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QDragLeaveEvent * a0;
        sipKPassivePopup *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QDropEvent * a0;
        sipKPassivePopup *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QShowEvent * a0;
        sipKPassivePopup *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QPaintDevice::PaintDeviceMetric a0;
        sipKPassivePopup *sipCpp;

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

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

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QInputMethodEvent * a0;
        sipKPassivePopup *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipKPassivePopup *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipKPassivePopup *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p|mbb",&sipSelf,sipType_KPassivePopup,&sipCpp,&a0,&a1,&a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_create(a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p|bb",&sipSelf,sipType_KPassivePopup,&sipCpp,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_destroy(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        sipKPassivePopup *sipCpp;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipKPassivePopup *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_focusNextChild();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipKPassivePopup *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_focusPreviousChild();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        sipKPassivePopup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KPassivePopup,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_enabledChange(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QPalette * a0;
        sipKPassivePopup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KPassivePopup,&sipCpp,sipType_QPalette,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paletteChange(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QFont * a0;
        sipKPassivePopup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KPassivePopup,&sipCpp,sipType_QFont,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_fontChange(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        sipKPassivePopup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KPassivePopup,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_windowActivationChange(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipKPassivePopup *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKPassivePopup *sipCpp;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKPassivePopup *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QPainter * a0;
        sipKPassivePopup *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QWidget * a0;
        KPassivePopup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KPassivePopup,&sipCpp,sipType_QWidget,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setView(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString * a0;
        int a0State = 0;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;
        KPassivePopup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1|J1",&sipSelf,sipType_KPassivePopup,&sipCpp,sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setView(*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;
        }
    }

    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        const QPixmap * a2;
        KPassivePopup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1J1J9",&sipSelf,sipType_KPassivePopup,&sipCpp,sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,sipType_QPixmap,&a2))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KPassivePopup::setView(*a0,*a1,*a2) : sipCpp->setView(*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(sipArgsParsed,sipName_KPassivePopup,sipName_setView);

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        const QPixmap * a2;
        QWidget * a3 = 0;
        KPassivePopup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1J1J9|J:",&sipSelf,sipType_KPassivePopup,&sipCpp,sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,sipType_QPixmap,&a2,sipType_QWidget,&a3))
        {
            KVBox *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->standardView(*a0,*a1,*a2,a3);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

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

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

    return NULL;
}


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

    {
        KPassivePopup *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->view();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KPassivePopup *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->timeout();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        KPassivePopup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_KPassivePopup,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KPassivePopup::setAutoDelete(a0) : sipCpp->setAutoDelete(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KPassivePopup *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->autoDelete();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KPassivePopup *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRect(sipCpp->defaultArea());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KPassivePopup *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPoint(sipCpp->anchor());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QPoint * a0;
        KPassivePopup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KPassivePopup,&sipCpp,sipType_QPoint,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAnchor(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        QWidget * a1;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1J:",sipType_QString,&a0,&a0State,sipType_QWidget,&a1))
        {
            KPassivePopup *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KPassivePopup::message(*a0,a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

    {
        const QString * a0;
        int a0State = 0;
        QSystemTrayIcon * a1;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1J:",sipType_QString,&a0,&a0State,sipType_QSystemTrayIcon,&a1))
        {
            KPassivePopup *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KPassivePopup::message(*a0,a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        QWidget * a2;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1J1J:",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,sipType_QWidget,&a2))
        {
            KPassivePopup *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KPassivePopup::message(*a0,*a1,a2);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

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

    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        QSystemTrayIcon * a2;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1J1J:",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,sipType_QSystemTrayIcon,&a2))
        {
            KPassivePopup *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KPassivePopup::message(*a0,*a1,a2);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

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

    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        const QPixmap * a2;
        QWidget * a3;
        int a4 = -1;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1J1J9J:|i",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,sipType_QPixmap,&a2,sipType_QWidget,&a3,&a4))
        {
            KPassivePopup *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KPassivePopup::message(*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);

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

    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        const QPixmap * a2;
        QSystemTrayIcon * a3;
        int a4 = -1;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1J1J9J:|i",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,sipType_QPixmap,&a2,sipType_QSystemTrayIcon,&a3,&a4))
        {
            KPassivePopup *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KPassivePopup::message(*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);

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

    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        const QPixmap * a2;
        WId a3;
        int a4 = -1;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1J1J9m|i",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,sipType_QPixmap,&a2,&a3,&a4))
        {
            KPassivePopup *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KPassivePopup::message(*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);

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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"iJ1J:",&a0,sipType_QString,&a1,&a1State,sipType_QWidget,&a2))
        {
            KPassivePopup *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KPassivePopup::message(a0,*a1,a2);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

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

    {
        int a0;
        const QString * a1;
        int a1State = 0;
        QSystemTrayIcon * a2;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"iJ1J:",&a0,sipType_QString,&a1,&a1State,sipType_QSystemTrayIcon,&a2))
        {
            KPassivePopup *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KPassivePopup::message(a0,*a1,a2);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

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

    {
        int a0;
        const QString * a1;
        int a1State = 0;
        const QString * a2;
        int a2State = 0;
        QSystemTrayIcon * a3;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"iJ1J1J:",&a0,sipType_QString,&a1,&a1State,sipType_QString,&a2,&a2State,sipType_QSystemTrayIcon,&a3))
        {
            KPassivePopup *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KPassivePopup::message(a0,*a1,*a2,a3);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

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

    {
        int a0;
        const QString * a1;
        int a1State = 0;
        const QString * a2;
        int a2State = 0;
        QWidget * a3;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"iJ1J1J:",&a0,sipType_QString,&a1,&a1State,sipType_QString,&a2,&a2State,sipType_QWidget,&a3))
        {
            KPassivePopup *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KPassivePopup::message(a0,*a1,*a2,a3);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

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

    {
        int a0;
        const QString * a1;
        int a1State = 0;
        const QString * a2;
        int a2State = 0;
        const QPixmap * a3;
        QWidget * a4;
        int a5 = -1;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"iJ1J1J9J:|i",&a0,sipType_QString,&a1,&a1State,sipType_QString,&a2,&a2State,sipType_QPixmap,&a3,sipType_QWidget,&a4,&a5))
        {
            KPassivePopup *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KPassivePopup::message(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);

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

    {
        int a0;
        const QString * a1;
        int a1State = 0;
        const QString * a2;
        int a2State = 0;
        const QPixmap * a3;
        QSystemTrayIcon * a4;
        int a5 = -1;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"iJ1J1J9J:|i",&a0,sipType_QString,&a1,&a1State,sipType_QString,&a2,&a2State,sipType_QPixmap,&a3,sipType_QSystemTrayIcon,&a4,&a5))
        {
            KPassivePopup *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KPassivePopup::message(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);

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

    {
        int a0;
        const QString * a1;
        int a1State = 0;
        const QString * a2;
        int a2State = 0;
        const QPixmap * a3;
        WId a4;
        int a5 = -1;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"iJ1J1J9m|i",&a0,sipType_QString,&a1,&a1State,sipType_QString,&a2,&a2State,sipType_QPixmap,&a3,&a4,&a5))
        {
            KPassivePopup *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KPassivePopup::message(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);

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

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

    return NULL;
}


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

    {
        int a0;
        KPassivePopup *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        KPassivePopup *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KPassivePopup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KPassivePopup,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->show();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QPoint * a0;
        KPassivePopup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KPassivePopup,&sipCpp,sipType_QPoint,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->show(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        KPassivePopup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_KPassivePopup,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KPassivePopup::setVisible(a0) : sipCpp->setVisible(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipKPassivePopup *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QHideEvent * a0;
        sipKPassivePopup *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QRect * a0;
        sipKPassivePopup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KPassivePopup,&sipCpp,sipType_QRect,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_moveNear(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QRect * a0;
        sipKPassivePopup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KPassivePopup,&sipCpp,sipType_QRect,&a0))
        {
            QPoint *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPoint(sipCpp->sipProtect_calculateNearbyPoint(*a0));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipKPassivePopup *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipKPassivePopup *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QPaintEvent * a0;
        sipKPassivePopup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KPassivePopup,&sipCpp,sipType_QPaintEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KPassivePopup)
        return ptr;

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

    return NULL;
}


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

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKPassivePopup *>(sipCppV);
    else
        delete reinterpret_cast<KPassivePopup *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

    if (!sipCpp)
    {
        QWidget * a0 = 0;
        Qt::WFlags a1def = 0;
        Qt::WFlags * a1 = &a1def;
        int a1State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"|JHJ1",sipType_QWidget,&a0,sipOwner,sipType_Qt_WindowFlags,&a1,&a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKPassivePopup(a0,*a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(a1,sipType_Qt_WindowFlags,a1State);
        }
    }

    if (!sipCpp)
    {
        WId a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"m",&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKPassivePopup(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


static PyMethodDef methods_KPassivePopup[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), meth_KPassivePopup_actionEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_anchor), meth_KPassivePopup_anchor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_autoDelete), meth_KPassivePopup_autoDelete, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_calculateNearbyPoint), meth_KPassivePopup_calculateNearbyPoint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_KPassivePopup_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KPassivePopup_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_KPassivePopup_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KPassivePopup_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_KPassivePopup_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_create), meth_KPassivePopup_create, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KPassivePopup_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_defaultArea), meth_KPassivePopup_defaultArea, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), meth_KPassivePopup_destroy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KPassivePopup_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_KPassivePopup_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_KPassivePopup_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_KPassivePopup_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_drawFrame), meth_KPassivePopup_drawFrame, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_KPassivePopup_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enabledChange), meth_KPassivePopup_enabledChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), meth_KPassivePopup_enterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_KPassivePopup_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_KPassivePopup_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), meth_KPassivePopup_focusNextChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), meth_KPassivePopup_focusNextPrevChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_KPassivePopup_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), meth_KPassivePopup_focusPreviousChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fontChange), meth_KPassivePopup_fontChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_KPassivePopup_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), meth_KPassivePopup_inputMethodEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_KPassivePopup_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), meth_KPassivePopup_keyReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_languageChange), meth_KPassivePopup_languageChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), meth_KPassivePopup_leaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_message), meth_KPassivePopup_message, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), meth_KPassivePopup_metric, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_KPassivePopup_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_KPassivePopup_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_KPassivePopup_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_KPassivePopup_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), meth_KPassivePopup_moveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveNear), meth_KPassivePopup_moveNear, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_KPassivePopup_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paletteChange), meth_KPassivePopup_paletteChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_positionSelf), meth_KPassivePopup_positionSelf, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KPassivePopup_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resetInputContext), meth_KPassivePopup_resetInputContext, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_KPassivePopup_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAnchor), meth_KPassivePopup_setAnchor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAutoDelete), meth_KPassivePopup_setAutoDelete, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPopupStyle), meth_KPassivePopup_setPopupStyle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTimeout), meth_KPassivePopup_setTimeout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setView), meth_KPassivePopup_setView, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setVisible), meth_KPassivePopup_setVisible, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_show), meth_KPassivePopup_show, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_KPassivePopup_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_standardView), meth_KPassivePopup_standardView, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tabletEvent), meth_KPassivePopup_tabletEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timeout), meth_KPassivePopup_timeout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KPassivePopup_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMask), meth_KPassivePopup_updateMask, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), meth_KPassivePopup_updateMicroFocus, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_view), meth_KPassivePopup_view, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_KPassivePopup_wheelEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowActivationChange), meth_KPassivePopup_windowActivationChange, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KPassivePopup[] = {
    {sipName_Balloon, KPassivePopup::Balloon, 192},
    {sipName_Boxed, KPassivePopup::Boxed, 192},
    {sipName_CustomStyle, KPassivePopup::CustomStyle, 192},
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KPassivePopup[] = {
    {"clicked()", 0},
    {"clicked(const QPoint&)", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_kdeui_KPassivePopup = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KPassivePopup,
        {0}
    },
    sipNameNr_KPassivePopup,
    -1,
    -1,
    {0, 0, 1},
    supers_KPassivePopup,
    0,
    65, methods_KPassivePopup,
    3, enummembers_KPassivePopup,
    0, 0,
    init_KPassivePopup,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KPassivePopup,
    release_KPassivePopup,
    cast_KPassivePopup,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KPassivePopup::staticMetaObject,
    0,
    pyqt4_signals_KPassivePopup
};

#line 67 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/knumvalidator.sip"
#include <knumvalidator.h>
#line 4979 "sipkdeuipart3.cpp"

#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 4983 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qvalidator.sip"
#include <qvalidator.h>
#line 4986 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 4989 "sipkdeuipart3.cpp"
#line 95 "/usr/local/share/py-sip/QtGui/qvalidator.sip"
#include <qvalidator.h>
#line 4992 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 4995 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4998 "sipkdeuipart3.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5001 "sipkdeuipart3.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5004 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 5007 "sipkdeuipart3.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 5038 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 5041 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 5044 "sipkdeuipart3.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 5047 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 5050 "sipkdeuipart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5053 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 5056 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 5059 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 5062 "sipkdeuipart3.cpp"


class sipKDoubleValidator : public KDoubleValidator
{
public:
    sipKDoubleValidator(QObject *);
    sipKDoubleValidator(double,double,int,QObject *);
    virtual ~sipKDoubleValidator();

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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QValidator::State validate(QString&,int&) const;
    void setRange(double,double,int);
    void fixup(QString&) 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:
    sipKDoubleValidator(const sipKDoubleValidator &);
    sipKDoubleValidator &operator = (const sipKDoubleValidator &);

    char sipPyMethods[10];
};

sipKDoubleValidator::sipKDoubleValidator(QObject *a0): KDoubleValidator(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKDoubleValidator::sipKDoubleValidator(double a0,double a1,int a2,QObject *a3): KDoubleValidator(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKDoubleValidator::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KDoubleValidator);
}

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

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

    return _id;
}

void *sipKDoubleValidator::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast && sip_kdeui_qt_metacast(sipPySelf,sipType_KDoubleValidator,_clname)) ? this : KDoubleValidator::qt_metacast(_clname);
}

QValidator::State sipKDoubleValidator::validate(QString& a0,int& a1) const
{
    typedef QValidator::State (*sipVH_QtGui_30)(sip_gilstate_t,PyObject *,QString&,int&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KDoubleValidator::validate(a0,a1);

    return ((sipVH_QtGui_30)(sipModuleAPI_kdeui_QtGui->em_virthandlers[30]))(sipGILState,meth,a0,a1);
}

void sipKDoubleValidator::setRange(double a0,double a1,int a2)
{
    typedef void (*sipVH_QtGui_31)(sip_gilstate_t,PyObject *,double,double,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QDoubleValidator::setRange(a0,a1,a2);
        return;
    }

    ((sipVH_QtGui_31)(sipModuleAPI_kdeui_QtGui->em_virthandlers[31]))(sipGILState,meth,a0,a1,a2);
}

void sipKDoubleValidator::fixup(QString& a0) const
{
    typedef void (*sipVH_QtGui_33)(sip_gilstate_t,PyObject *,QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QValidator::fixup(a0);
        return;
    }

    ((sipVH_QtGui_33)(sipModuleAPI_kdeui_QtGui->em_virthandlers[33]))(sipGILState,meth,a0);
}

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

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

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

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

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

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


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

    {
        char * a0;
        sipKDoubleValidator *sipCpp;

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

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

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipKDoubleValidator *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipKDoubleValidator *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKDoubleValidator *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKDoubleValidator *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKDoubleValidator *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QString * a0;
        int a0State = 0;
        int a1;
        KDoubleValidator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1i",&sipSelf,sipType_KDoubleValidator,&sipCpp,sipType_QString,&a0,&a0State,&a1))
        {
            QValidator::State sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KDoubleValidator::validate(*a0,a1) : sipCpp->validate(*a0,a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_QString,a0State);

            return sipConvertFromEnum(sipRes,sipType_QValidator_State);
        }
    }

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

    return NULL;
}


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

    {
        KDoubleValidator *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->acceptLocalizedNumbers();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        KDoubleValidator *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KDoubleValidator)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QDoubleValidator)->ctd_cast((QDoubleValidator *)(KDoubleValidator *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKDoubleValidator *>(sipCppV);
    else
        delete reinterpret_cast<KDoubleValidator *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

    if (!sipCpp)
    {
        QObject * a0;

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

    if (!sipCpp)
    {
        double a0;
        double a1;
        int a2;
        QObject * a3;

        if (sipParseArgs(sipArgsParsed,sipArgs,"ddiJH",&a0,&a1,&a2,sipType_QObject,&a3,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKDoubleValidator(a0,a1,a2,a3);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


static PyMethodDef methods_KDoubleValidator[] = {
    {SIP_MLNAME_CAST(sipName_acceptLocalizedNumbers), meth_KDoubleValidator_acceptLocalizedNumbers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KDoubleValidator_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KDoubleValidator_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KDoubleValidator_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KDoubleValidator_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KDoubleValidator_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAcceptLocalizedNumbers), meth_KDoubleValidator_setAcceptLocalizedNumbers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KDoubleValidator_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_validate), meth_KDoubleValidator_validate, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kdeui_KDoubleValidator = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KDoubleValidator,
        {0}
    },
    sipNameNr_KDoubleValidator,
    -1,
    -1,
    {0, 0, 1},
    supers_KDoubleValidator,
    0,
    9, methods_KDoubleValidator,
    0, 0,
    0, 0,
    init_KDoubleValidator,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDoubleValidator,
    release_KDoubleValidator,
    cast_KDoubleValidator,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KDoubleValidator::staticMetaObject,
    0,
    0
};

#line 46 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/knumvalidator.sip"
#include <knumvalidator.h>
#line 5762 "sipkdeuipart3.cpp"

#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 5766 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 5769 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qvalidator.sip"
#include <qvalidator.h>
#line 5772 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 5775 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5778 "sipkdeuipart3.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5781 "sipkdeuipart3.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5784 "sipkdeuipart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 5787 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 5790 "sipkdeuipart3.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 5821 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 5824 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 5827 "sipkdeuipart3.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 5830 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 5833 "sipkdeuipart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5836 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 5839 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 5842 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 5845 "sipkdeuipart3.cpp"


class sipKFloatValidator : public KFloatValidator
{
public:
    sipKFloatValidator(QWidget *);
    sipKFloatValidator(double,double,QWidget *);
    sipKFloatValidator(double,double,bool,QWidget *);
    virtual ~sipKFloatValidator();

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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QValidator::State validate(QString&,int&) const;
    void fixup(QString&) const;
    void setRange(double,double);
    double bottom() const;
    double top() 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:
    sipKFloatValidator(const sipKFloatValidator &);
    sipKFloatValidator &operator = (const sipKFloatValidator &);

    char sipPyMethods[12];
};

sipKFloatValidator::sipKFloatValidator(QWidget *a0): KFloatValidator(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKFloatValidator::sipKFloatValidator(double a0,double a1,QWidget *a2): KFloatValidator(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKFloatValidator::sipKFloatValidator(double a0,double a1,bool a2,QWidget *a3): KFloatValidator(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKFloatValidator::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KFloatValidator);
}

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

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

    return _id;
}

void *sipKFloatValidator::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast && sip_kdeui_qt_metacast(sipPySelf,sipType_KFloatValidator,_clname)) ? this : KFloatValidator::qt_metacast(_clname);
}

QValidator::State sipKFloatValidator::validate(QString& a0,int& a1) const
{
    typedef QValidator::State (*sipVH_QtGui_30)(sip_gilstate_t,PyObject *,QString&,int&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KFloatValidator::validate(a0,a1);

    return ((sipVH_QtGui_30)(sipModuleAPI_kdeui_QtGui->em_virthandlers[30]))(sipGILState,meth,a0,a1);
}

void sipKFloatValidator::fixup(QString& a0) const
{
    typedef void (*sipVH_QtGui_33)(sip_gilstate_t,PyObject *,QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KFloatValidator::fixup(a0);
        return;
    }

    ((sipVH_QtGui_33)(sipModuleAPI_kdeui_QtGui->em_virthandlers[33]))(sipGILState,meth,a0);
}

void sipKFloatValidator::setRange(double a0,double a1)
{
    extern void sipVH_kdeui_58(sip_gilstate_t,PyObject *,double,double);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KFloatValidator::setRange(a0,a1);
        return;
    }

    sipVH_kdeui_58(sipGILState,meth,a0,a1);
}

double sipKFloatValidator::bottom() const
{
    extern double sipVH_kdeui_57(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KFloatValidator::bottom();

    return sipVH_kdeui_57(sipGILState,meth);
}

double sipKFloatValidator::top() const
{
    extern double sipVH_kdeui_57(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KFloatValidator::top();

    return sipVH_kdeui_57(sipGILState,meth);
}

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

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

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

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

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

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


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

    {
        char * a0;
        sipKFloatValidator *sipCpp;

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

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

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipKFloatValidator *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipKFloatValidator *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKFloatValidator *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKFloatValidator *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKFloatValidator *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QString * a0;
        int a0State = 0;
        int a1;
        KFloatValidator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1i",&sipSelf,sipType_KFloatValidator,&sipCpp,sipType_QString,&a0,&a0State,&a1))
        {
            QValidator::State sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KFloatValidator::validate(*a0,a1) : sipCpp->validate(*a0,a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_QString,a0State);

            return sipConvertFromEnum(sipRes,sipType_QValidator_State);
        }
    }

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

    return NULL;
}


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

    {
        QString * a0;
        int a0State = 0;
        KFloatValidator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KFloatValidator,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFloatValidator::fixup(*a0) : sipCpp->fixup(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        double a0;
        double a1;
        KFloatValidator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bdd",&sipSelf,sipType_KFloatValidator,&sipCpp,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFloatValidator::setRange(a0,a1) : sipCpp->setRange(a0,a1));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KFloatValidator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KFloatValidator,&sipCpp))
        {
            double sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KFloatValidator::bottom() : sipCpp->bottom());
            Py_END_ALLOW_THREADS

            return PyFloat_FromDouble(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KFloatValidator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KFloatValidator,&sipCpp))
        {
            double sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KFloatValidator::top() : sipCpp->top());
            Py_END_ALLOW_THREADS

            return PyFloat_FromDouble(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        KFloatValidator *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KFloatValidator *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->acceptLocalizedNumbers();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KFloatValidator)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QValidator)->ctd_cast((QValidator *)(KFloatValidator *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKFloatValidator *>(sipCppV);
    else
        delete reinterpret_cast<KFloatValidator *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

    if (!sipCpp)
    {
        QWidget * a0;

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

    if (!sipCpp)
    {
        double a0;
        double a1;
        QWidget * a2;

        if (sipParseArgs(sipArgsParsed,sipArgs,"ddJH",&a0,&a1,sipType_QWidget,&a2,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKFloatValidator(a0,a1,a2);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        double a0;
        double a1;
        bool a2;
        QWidget * a3;

        if (sipParseArgs(sipArgsParsed,sipArgs,"ddbJH",&a0,&a1,&a2,sipType_QWidget,&a3,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKFloatValidator(a0,a1,a2,a3);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


static PyMethodDef methods_KFloatValidator[] = {
    {SIP_MLNAME_CAST(sipName_acceptLocalizedNumbers), meth_KFloatValidator_acceptLocalizedNumbers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_bottom), meth_KFloatValidator_bottom, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KFloatValidator_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KFloatValidator_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KFloatValidator_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KFloatValidator_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fixup), meth_KFloatValidator_fixup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KFloatValidator_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAcceptLocalizedNumbers), meth_KFloatValidator_setAcceptLocalizedNumbers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRange), meth_KFloatValidator_setRange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KFloatValidator_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_top), meth_KFloatValidator_top, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_validate), meth_KFloatValidator_validate, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kdeui_KFloatValidator = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFloatValidator,
        {0}
    },
    sipNameNr_KFloatValidator,
    -1,
    -1,
    {0, 0, 1},
    supers_KFloatValidator,
    0,
    13, methods_KFloatValidator,
    0, 0,
    0, 0,
    init_KFloatValidator,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFloatValidator,
    release_KFloatValidator,
    cast_KFloatValidator,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KFloatValidator::staticMetaObject,
    0,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/knumvalidator.sip"
#include <knumvalidator.h>
#line 6717 "sipkdeuipart3.cpp"

#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 6721 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 6724 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qvalidator.sip"
#include <qvalidator.h>
#line 6727 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 6730 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6733 "sipkdeuipart3.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6736 "sipkdeuipart3.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6739 "sipkdeuipart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 6742 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 6745 "sipkdeuipart3.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 6776 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 6779 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 6782 "sipkdeuipart3.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 6785 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 6788 "sipkdeuipart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6791 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 6794 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 6797 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 6800 "sipkdeuipart3.cpp"


class sipKIntValidator : public KIntValidator
{
public:
    sipKIntValidator(QWidget *,int);
    sipKIntValidator(int,int,QWidget *,int);
    virtual ~sipKIntValidator();

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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QValidator::State validate(QString&,int&) const;
    void fixup(QString&) const;
    void setRange(int,int);
    void setBase(int);
    int bottom() const;
    int top() const;
    int base() 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:
    sipKIntValidator(const sipKIntValidator &);
    sipKIntValidator &operator = (const sipKIntValidator &);

    char sipPyMethods[14];
};

sipKIntValidator::sipKIntValidator(QWidget *a0,int a1): KIntValidator(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKIntValidator::sipKIntValidator(int a0,int a1,QWidget *a2,int a3): KIntValidator(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKIntValidator::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KIntValidator);
}

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

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

    return _id;
}

void *sipKIntValidator::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast && sip_kdeui_qt_metacast(sipPySelf,sipType_KIntValidator,_clname)) ? this : KIntValidator::qt_metacast(_clname);
}

QValidator::State sipKIntValidator::validate(QString& a0,int& a1) const
{
    typedef QValidator::State (*sipVH_QtGui_30)(sip_gilstate_t,PyObject *,QString&,int&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KIntValidator::validate(a0,a1);

    return ((sipVH_QtGui_30)(sipModuleAPI_kdeui_QtGui->em_virthandlers[30]))(sipGILState,meth,a0,a1);
}

void sipKIntValidator::fixup(QString& a0) const
{
    typedef void (*sipVH_QtGui_33)(sip_gilstate_t,PyObject *,QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KIntValidator::fixup(a0);
        return;
    }

    ((sipVH_QtGui_33)(sipModuleAPI_kdeui_QtGui->em_virthandlers[33]))(sipGILState,meth,a0);
}

void sipKIntValidator::setRange(int a0,int a1)
{
    typedef void (*sipVH_QtGui_32)(sip_gilstate_t,PyObject *,int,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KIntValidator::setRange(a0,a1);
        return;
    }

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

void sipKIntValidator::setBase(int a0)
{
    typedef void (*sipVH_QtNetwork_1)(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KIntValidator::setBase(a0);
        return;
    }

    ((sipVH_QtNetwork_1)(sipModuleAPI_kdeui_QtNetwork->em_virthandlers[1]))(sipGILState,meth,a0);
}

int sipKIntValidator::bottom() const
{
    typedef int (*sipVH_QtCore_8)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KIntValidator::bottom();

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

int sipKIntValidator::top() const
{
    typedef int (*sipVH_QtCore_8)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KIntValidator::top();

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

int sipKIntValidator::base() const
{
    typedef int (*sipVH_QtCore_8)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KIntValidator::base();

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

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

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

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

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

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


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

    {
        char * a0;
        sipKIntValidator *sipCpp;

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

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

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipKIntValidator *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipKIntValidator *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKIntValidator *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKIntValidator *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKIntValidator *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QString * a0;
        int a0State = 0;
        int a1;
        KIntValidator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1i",&sipSelf,sipType_KIntValidator,&sipCpp,sipType_QString,&a0,&a0State,&a1))
        {
            QValidator::State sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KIntValidator::validate(*a0,a1) : sipCpp->validate(*a0,a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_QString,a0State);

            return sipConvertFromEnum(sipRes,sipType_QValidator_State);
        }
    }

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

    return NULL;
}


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

    {
        QString * a0;
        int a0State = 0;
        KIntValidator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KIntValidator,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIntValidator::fixup(*a0) : sipCpp->fixup(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        int a1;
        KIntValidator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bii",&sipSelf,sipType_KIntValidator,&sipCpp,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIntValidator::setRange(a0,a1) : sipCpp->setRange(a0,a1));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        KIntValidator *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bi",&sipSelf,sipType_KIntValidator,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIntValidator::setBase(a0) : sipCpp->setBase(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIntValidator *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KIntValidator::bottom() : sipCpp->bottom());
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KIntValidator *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KIntValidator::top() : sipCpp->top());
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KIntValidator *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KIntValidator::base() : sipCpp->base());
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KIntValidator)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QValidator)->ctd_cast((QValidator *)(KIntValidator *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKIntValidator *>(sipCppV);
    else
        delete reinterpret_cast<KIntValidator *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

    if (!sipCpp)
    {
        QWidget * a0;
        int a1 = 10;

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

    if (!sipCpp)
    {
        int a0;
        int a1;
        QWidget * a2;
        int a3 = 10;

        if (sipParseArgs(sipArgsParsed,sipArgs,"iiJH|i",&a0,&a1,sipType_QWidget,&a2,sipOwner,&a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKIntValidator(a0,a1,a2,a3);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


static PyMethodDef methods_KIntValidator[] = {
    {SIP_MLNAME_CAST(sipName_base), meth_KIntValidator_base, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_bottom), meth_KIntValidator_bottom, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KIntValidator_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KIntValidator_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KIntValidator_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KIntValidator_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fixup), meth_KIntValidator_fixup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KIntValidator_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setBase), meth_KIntValidator_setBase, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRange), meth_KIntValidator_setRange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KIntValidator_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_top), meth_KIntValidator_top, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_validate), meth_KIntValidator_validate, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kdeui_KIntValidator = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIntValidator,
        {0}
    },
    sipNameNr_KIntValidator,
    -1,
    -1,
    {0, 0, 1},
    supers_KIntValidator,
    0,
    13, methods_KIntValidator,
    0, 0,
    0, 0,
    init_KIntValidator,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIntValidator,
    release_KIntValidator,
    cast_KIntValidator,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KIntValidator::staticMetaObject,
    0,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/knotificationrestrictions.sip"
#include <knotificationrestrictions.h>
#line 7690 "sipkdeuipart3.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/knotificationrestrictions.sip"
#include <knotificationrestrictions.h>
#line 7694 "sipkdeuipart3.cpp"


extern "C" {static int slot_KNotificationRestrictions_Services___bool__(PyObject *sipSelf);}
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 271 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != 0);
#line 7712 "sipkdeuipart3.cpp"

            return sipRes;
        }
    }
}


extern "C" {static PyObject *slot_KNotificationRestrictions_Services___ne__(PyObject *sipSelf,PyObject *sipArg);}
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;

    int sipArgsParsed = 0;

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

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

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

            sipReleaseType(const_cast<KNotificationRestrictions::Services *>(a0),sipType_KNotificationRestrictions_Services,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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


extern "C" {static PyObject *slot_KNotificationRestrictions_Services___eq__(PyObject *sipSelf,PyObject *sipArg);}
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;

    int sipArgsParsed = 0;

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

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

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

            sipReleaseType(const_cast<KNotificationRestrictions::Services *>(a0),sipType_KNotificationRestrictions_Services,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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


extern "C" {static PyObject *slot_KNotificationRestrictions_Services___invert__(PyObject *sipSelf);}
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);
        }
    }
}


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

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

        if (sipParsePair(&sipArgsParsed,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);
        }
    }

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


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

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KNotificationRestrictions::Services((*a0 ^ *a1));
            Py_END_ALLOW_THREADS

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

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

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


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

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KNotificationRestrictions::Services((*a0 | *a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KNotificationRestrictions_Services,a0State);
            sipReleaseType(a1,sipType_KNotificationRestrictions_Services,a1State);

            return sipConvertFromNewType(sipRes,sipType_KNotificationRestrictions_Services,NULL);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kdeui,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KNotificationRestrictions_Services___int__(PyObject *sipSelf);}
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);
        }
    }
}


extern "C" {static PyObject *slot_KNotificationRestrictions_Services___ixor__(PyObject *sipSelf,PyObject *sipArg);}
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;

    int sipArgsParsed = 0;

    {
        KNotificationRestrictions::Services * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_KNotificationRestrictions_Services,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KNotificationRestrictions::Services::operator^=(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KNotificationRestrictions_Services,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KNotificationRestrictions_Services___ior__(PyObject *sipSelf,PyObject *sipArg);}
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;

    int sipArgsParsed = 0;

    {
        KNotificationRestrictions::Services * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_KNotificationRestrictions_Services,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KNotificationRestrictions::Services::operator|=(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KNotificationRestrictions_Services,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KNotificationRestrictions_Services___iand__(PyObject *sipSelf,PyObject *sipArg);}
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;

    int sipArgsParsed = 0;

    {
        int a0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1i",&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KNotificationRestrictions::Services::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KNotificationRestrictions_Services(void *, const sipTypeDef *);}
static void *cast_KNotificationRestrictions_Services(void *ptr,const sipTypeDef *targetType)
{
    if (targetType == sipType_KNotificationRestrictions_Services)
        return ptr;

    return NULL;
}


/* 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 *, const void*);}
static void assign_KNotificationRestrictions_Services(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<KNotificationRestrictions::Services *>(sipDst) = *reinterpret_cast<const KNotificationRestrictions::Services *>(sipSrc);
}


extern "C" {static void dealloc_KNotificationRestrictions_Services(sipSimpleWrapper *);}
static void dealloc_KNotificationRestrictions_Services(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KNotificationRestrictions_Services(sipSelf->u.cppPtr,0);
    }
}


extern "C" {static void *init_KNotificationRestrictions_Services(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KNotificationRestrictions_Services(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    KNotificationRestrictions::Services *sipCpp = 0;

    if (!sipCpp)
    {
        const KNotificationRestrictions::Services * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"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);
        }
    }

    if (!sipCpp)
    {
        int a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"i",&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KNotificationRestrictions::Services(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KNotificationRestrictions::Services();
            Py_END_ALLOW_THREADS
        }
    }

    return sipCpp;
}


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 276 "/usr/local/share/py-sip/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(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 8143 "sipkdeuipart3.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___invert__, invert_slot},
    {(void *)slot_KNotificationRestrictions_Services___and__, and_slot},
    {(void *)slot_KNotificationRestrictions_Services___xor__, xor_slot},
    {(void *)slot_KNotificationRestrictions_Services___or__, or_slot},
    {(void *)slot_KNotificationRestrictions_Services___int__, int_slot},
    {(void *)slot_KNotificationRestrictions_Services___ixor__, ixor_slot},
    {(void *)slot_KNotificationRestrictions_Services___ior__, ior_slot},
    {(void *)slot_KNotificationRestrictions_Services___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef pyqt4Type_kdeui_KNotificationRestrictions_Services = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KNotificationRestrictions__Services,
        {0}
    },
    sipNameNr_Services,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {178, 255, 0},
    0,
    slots_KNotificationRestrictions_Services,
    0, 0,
    0, 0,
    0, 0,
    init_KNotificationRestrictions_Services,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KNotificationRestrictions_Services,
    release_KNotificationRestrictions_Services,
    cast_KNotificationRestrictions_Services,
    convertTo_KNotificationRestrictions_Services,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_KNotificationRestrictions_Services,
    0,
    1,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/knotificationrestrictions.sip"
#include <knotificationrestrictions.h>
#line 8211 "sipkdeuipart3.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/knotificationrestrictions.sip"
#include <knotificationrestrictions.h>
#line 8215 "sipkdeuipart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 8218 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8221 "sipkdeuipart3.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8224 "sipkdeuipart3.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8227 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 8230 "sipkdeuipart3.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 8261 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 8264 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 8267 "sipkdeuipart3.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 8270 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 8273 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 8276 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 8279 "sipkdeuipart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8282 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 8285 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 8288 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 8291 "sipkdeuipart3.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 public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);

    /*
     * 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()
{
    sipCommonDtor(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 && sip_kdeui_qt_metacast(sipPySelf,sipType_KNotificationRestrictions,_clname)) ? this : KNotificationRestrictions::qt_metacast(_clname);
}

bool sipKNotificationRestrictions::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QObject::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_kdeui_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipKNotificationRestrictions::eventFilter(QObject *a0,QEvent *a1)
{
    typedef bool (*sipVH_QtCore_21)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_eventFilter);

    if (!meth)
        return QObject::eventFilter(a0,a1);

    return ((sipVH_QtCore_21)(sipModuleAPI_kdeui_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

void sipKNotificationRestrictions::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    ((sipVH_QtCore_3)(sipModuleAPI_kdeui_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKNotificationRestrictions::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    ((sipVH_QtCore_20)(sipModuleAPI_kdeui_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKNotificationRestrictions::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kdeui_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKNotificationRestrictions::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKNotificationRestrictions::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

int sipKNotificationRestrictions::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKNotificationRestrictions::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKNotificationRestrictions::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKNotificationRestrictions::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKNotificationRestrictions::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKNotificationRestrictions::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}


extern "C" {static PyObject *meth_KNotificationRestrictions_receivers(PyObject *, PyObject *);}
static PyObject *meth_KNotificationRestrictions_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipKNotificationRestrictions *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KNotificationRestrictions,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 8544 "sipkdeuipart3.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KNotificationRestrictions,sipName_receivers);

    return NULL;
}


extern "C" {static PyObject *meth_KNotificationRestrictions_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KNotificationRestrictions_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKNotificationRestrictions *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KNotificationRestrictions,&sipCpp,sipType_QTimerEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KNotificationRestrictions,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KNotificationRestrictions_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KNotificationRestrictions_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKNotificationRestrictions *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KNotificationRestrictions,&sipCpp,sipType_QChildEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KNotificationRestrictions,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KNotificationRestrictions_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KNotificationRestrictions_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKNotificationRestrictions *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KNotificationRestrictions,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KNotificationRestrictions,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KNotificationRestrictions_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KNotificationRestrictions_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKNotificationRestrictions *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KNotificationRestrictions,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KNotificationRestrictions,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KNotificationRestrictions_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KNotificationRestrictions_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKNotificationRestrictions *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KNotificationRestrictions,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KNotificationRestrictions,sipName_disconnectNotify);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KNotificationRestrictions(void *, const sipTypeDef *);}
static void *cast_KNotificationRestrictions(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KNotificationRestrictions)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(KNotificationRestrictions *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KNotificationRestrictions(void *, int);}
static void release_KNotificationRestrictions(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKNotificationRestrictions *>(sipCppV);
    else
        delete reinterpret_cast<KNotificationRestrictions *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KNotificationRestrictions(sipSimpleWrapper *);}
static void dealloc_KNotificationRestrictions(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKNotificationRestrictions *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KNotificationRestrictions(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KNotificationRestrictions(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KNotificationRestrictions(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **sipOwner, int *sipArgsParsed)
{
    sipKNotificationRestrictions *sipCpp = 0;

    if (!sipCpp)
    {
        KNotificationRestrictions::Services a0def = KNotificationRestrictions::NonCriticalServices;
        KNotificationRestrictions::Services * a0 = &a0def;
        int a0State = 0;
        QObject * a1 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"|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);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KNotificationRestrictions[] = {{111, 0, 1}};


static PyMethodDef methods_KNotificationRestrictions[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KNotificationRestrictions_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KNotificationRestrictions_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KNotificationRestrictions_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KNotificationRestrictions_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KNotificationRestrictions_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KNotificationRestrictions_timerEvent, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KNotificationRestrictions[] = {
    {sipName_AllServices, KNotificationRestrictions::AllServices, 179},
    {sipName_CriticalNotifications, KNotificationRestrictions::CriticalNotifications, 179},
    {sipName_MessagingPopups, KNotificationRestrictions::MessagingPopups, 179},
    {sipName_NoServices, KNotificationRestrictions::NoServices, 179},
    {sipName_NonCriticalServices, KNotificationRestrictions::NonCriticalServices, 179},
    {sipName_Notifications, KNotificationRestrictions::Notifications, 179},
    {sipName_ScreenSaver, KNotificationRestrictions::ScreenSaver, 179},
};


pyqt4ClassTypeDef pyqt4Type_kdeui_KNotificationRestrictions = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KNotificationRestrictions,
        {0}
    },
    sipNameNr_KNotificationRestrictions,
    -1,
    -1,
    {0, 0, 1},
    supers_KNotificationRestrictions,
    0,
    6, methods_KNotificationRestrictions,
    7, enummembers_KNotificationRestrictions,
    0, 0,
    init_KNotificationRestrictions,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KNotificationRestrictions,
    release_KNotificationRestrictions,
    cast_KNotificationRestrictions,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KNotificationRestrictions::staticMetaObject,
    0,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/knotification.sip"
#include <knotification.h>
#line 8841 "sipkdeuipart3.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/knotification.sip"
#include <knotification.h>
#line 8845 "sipkdeuipart3.cpp"


extern "C" {static int slot_KNotification_NotificationFlags___bool__(PyObject *sipSelf);}
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 271 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != 0);
#line 8863 "sipkdeuipart3.cpp"

            return sipRes;
        }
    }
}


extern "C" {static PyObject *slot_KNotification_NotificationFlags___ne__(PyObject *sipSelf,PyObject *sipArg);}
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;

    int sipArgsParsed = 0;

    {
        const KNotification::NotificationFlags * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_KNotification_NotificationFlags,&a0,&a0State))
        {
            bool sipRes = 0;

#line 266 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != a0->operator int());
#line 8891 "sipkdeuipart3.cpp"

            sipReleaseType(const_cast<KNotification::NotificationFlags *>(a0),sipType_KNotification_NotificationFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kdeui,ne_slot,sipType_KNotification_NotificationFlags,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KNotification_NotificationFlags___eq__(PyObject *sipSelf,PyObject *sipArg);}
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;

    int sipArgsParsed = 0;

    {
        const KNotification::NotificationFlags * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_KNotification_NotificationFlags,&a0,&a0State))
        {
            bool sipRes = 0;

#line 261 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() == a0->operator int());
#line 8923 "sipkdeuipart3.cpp"

            sipReleaseType(const_cast<KNotification::NotificationFlags *>(a0),sipType_KNotification_NotificationFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kdeui,eq_slot,sipType_KNotification_NotificationFlags,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KNotification_NotificationFlags___invert__(PyObject *sipSelf);}
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);
        }
    }
}


extern "C" {static PyObject *slot_KNotification_NotificationFlags___and__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_KNotification_NotificationFlags___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    int sipArgsParsed = 0;

    {
        KNotification::NotificationFlags * a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipArgsParsed,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);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kdeui,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KNotification_NotificationFlags___xor__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_KNotification_NotificationFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    int sipArgsParsed = 0;

    {
        KNotification::NotificationFlags * a0;
        int a0State = 0;
        KNotification::NotificationFlags * a1;
        int a1State = 0;

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1J1",sipType_KNotification_NotificationFlags,&a0,&a0State,sipType_KNotification_NotificationFlags,&a1,&a1State))
        {
            KNotification::NotificationFlags *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KNotification::NotificationFlags((*a0 ^ *a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KNotification_NotificationFlags,a0State);
            sipReleaseType(a1,sipType_KNotification_NotificationFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_KNotification_NotificationFlags,NULL);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kdeui,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KNotification_NotificationFlags___or__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_KNotification_NotificationFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    int sipArgsParsed = 0;

    {
        KNotification::NotificationFlags * a0;
        int a0State = 0;
        KNotification::NotificationFlags * a1;
        int a1State = 0;

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1J1",sipType_KNotification_NotificationFlags,&a0,&a0State,sipType_KNotification_NotificationFlags,&a1,&a1State))
        {
            KNotification::NotificationFlags *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KNotification::NotificationFlags((*a0 | *a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KNotification_NotificationFlags,a0State);
            sipReleaseType(a1,sipType_KNotification_NotificationFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_KNotification_NotificationFlags,NULL);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kdeui,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KNotification_NotificationFlags___int__(PyObject *sipSelf);}
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);
        }
    }
}


extern "C" {static PyObject *slot_KNotification_NotificationFlags___ixor__(PyObject *sipSelf,PyObject *sipArg);}
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;

    int sipArgsParsed = 0;

    {
        KNotification::NotificationFlags * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_KNotification_NotificationFlags,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KNotification::NotificationFlags::operator^=(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KNotification_NotificationFlags,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KNotification_NotificationFlags___ior__(PyObject *sipSelf,PyObject *sipArg);}
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;

    int sipArgsParsed = 0;

    {
        KNotification::NotificationFlags * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_KNotification_NotificationFlags,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KNotification::NotificationFlags::operator|=(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KNotification_NotificationFlags,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KNotification_NotificationFlags___iand__(PyObject *sipSelf,PyObject *sipArg);}
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;

    int sipArgsParsed = 0;

    {
        int a0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1i",&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KNotification::NotificationFlags::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KNotification_NotificationFlags(void *, const sipTypeDef *);}
static void *cast_KNotification_NotificationFlags(void *ptr,const sipTypeDef *targetType)
{
    if (targetType == sipType_KNotification_NotificationFlags)
        return ptr;

    return NULL;
}


/* 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 *, const void*);}
static void assign_KNotification_NotificationFlags(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<KNotification::NotificationFlags *>(sipDst) = *reinterpret_cast<const KNotification::NotificationFlags *>(sipSrc);
}


extern "C" {static void dealloc_KNotification_NotificationFlags(sipSimpleWrapper *);}
static void dealloc_KNotification_NotificationFlags(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KNotification_NotificationFlags(sipSelf->u.cppPtr,0);
    }
}


extern "C" {static void *init_KNotification_NotificationFlags(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KNotification_NotificationFlags(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    KNotification::NotificationFlags *sipCpp = 0;

    if (!sipCpp)
    {
        const KNotification::NotificationFlags * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"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);
        }
    }

    if (!sipCpp)
    {
        int a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"i",&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KNotification::NotificationFlags(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KNotification::NotificationFlags();
            Py_END_ALLOW_THREADS
        }
    }

    return sipCpp;
}


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 276 "/usr/local/share/py-sip/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(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 9294 "sipkdeuipart3.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___invert__, invert_slot},
    {(void *)slot_KNotification_NotificationFlags___and__, and_slot},
    {(void *)slot_KNotification_NotificationFlags___xor__, xor_slot},
    {(void *)slot_KNotification_NotificationFlags___or__, or_slot},
    {(void *)slot_KNotification_NotificationFlags___int__, int_slot},
    {(void *)slot_KNotification_NotificationFlags___ixor__, ixor_slot},
    {(void *)slot_KNotification_NotificationFlags___ior__, ior_slot},
    {(void *)slot_KNotification_NotificationFlags___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef pyqt4Type_kdeui_KNotification_NotificationFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KNotification__NotificationFlags,
        {0}
    },
    sipNameNr_NotificationFlags,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {174, 255, 0},
    0,
    slots_KNotification_NotificationFlags,
    0, 0,
    0, 0,
    0, 0,
    init_KNotification_NotificationFlags,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KNotification_NotificationFlags,
    release_KNotification_NotificationFlags,
    cast_KNotification_NotificationFlags,
    convertTo_KNotification_NotificationFlags,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_KNotification_NotificationFlags,
    0,
    1,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/knotification.sip"
#include <knotification.h>
#line 9362 "sipkdeuipart3.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 9366 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 9369 "sipkdeuipart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/knotification.sip"
#include <knotification.h>
#line 9372 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 9375 "sipkdeuipart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcomponentdata.sip"
#include <kcomponentdata.h>
#line 9378 "sipkdeuipart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 9381 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9384 "sipkdeuipart3.cpp"
#line 642 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <qpair.h>
#line 9387 "sipkdeuipart3.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 9418 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 9421 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 9424 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 9427 "sipkdeuipart3.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 9430 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 9433 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 9436 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 9439 "sipkdeuipart3.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9442 "sipkdeuipart3.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9445 "sipkdeuipart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9448 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 9451 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 9454 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 9457 "sipkdeuipart3.cpp"


class sipKNotification : public KNotification
{
public:
    sipKNotification(const QString&,QWidget *,const KNotification::NotificationFlags&);
    virtual ~sipKNotification();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    bool sipProtectVirt_eventFilter(bool,QObject *,QEvent *);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool eventFilter(QObject *,QEvent *);
    bool event(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[7];
};

sipKNotification::sipKNotification(const QString& a0,QWidget *a1,const KNotification::NotificationFlags& a2): KNotification(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKNotification::~sipKNotification()
{
    sipCommonDtor(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 && sip_kdeui_qt_metacast(sipPySelf,sipType_KNotification,_clname)) ? this : KNotification::qt_metacast(_clname);
}

bool sipKNotification::eventFilter(QObject *a0,QEvent *a1)
{
    typedef bool (*sipVH_QtCore_21)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_eventFilter);

    if (!meth)
        return KNotification::eventFilter(a0,a1);

    return ((sipVH_QtCore_21)(sipModuleAPI_kdeui_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

bool sipKNotification::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QObject::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_kdeui_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

void sipKNotification::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    ((sipVH_QtCore_3)(sipModuleAPI_kdeui_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKNotification::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    ((sipVH_QtCore_20)(sipModuleAPI_kdeui_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKNotification::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kdeui_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKNotification::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKNotification::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

int sipKNotification::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKNotification::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKNotification::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKNotification::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKNotification::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKNotification::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

bool sipKNotification::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject *a0,QEvent *a1)
{
    return (sipSelfWasArg ? KNotification::eventFilter(a0,a1) : eventFilter(a0,a1));
}


extern "C" {static PyObject *meth_KNotification_receivers(PyObject *, PyObject *);}
static PyObject *meth_KNotification_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipKNotification *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KNotification,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 9716 "sipkdeuipart3.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KNotification,sipName_receivers);

    return NULL;
}


extern "C" {static PyObject *meth_KNotification_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KNotification_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKNotification *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KNotification,&sipCpp,sipType_QTimerEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KNotification,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KNotification_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KNotification_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKNotification *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KNotification,&sipCpp,sipType_QChildEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KNotification,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KNotification_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KNotification_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKNotification *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KNotification,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KNotification,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KNotification_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KNotification_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKNotification *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KNotification,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KNotification,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KNotification_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KNotification_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKNotification *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KNotification,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KNotification,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KNotification_widget(PyObject *, PyObject *);}
static PyObject *meth_KNotification_widget(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KNotification *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KNotification,sipName_widget);

    return NULL;
}


extern "C" {static PyObject *meth_KNotification_setWidget(PyObject *, PyObject *);}
static PyObject *meth_KNotification_setWidget(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        QWidget * a0;
        KNotification *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KNotification,sipName_setWidget);

    return NULL;
}


extern "C" {static PyObject *meth_KNotification_eventId(PyObject *, PyObject *);}
static PyObject *meth_KNotification_eventId(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KNotification *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KNotification,sipName_eventId);

    return NULL;
}


extern "C" {static PyObject *meth_KNotification_title(PyObject *, PyObject *);}
static PyObject *meth_KNotification_title(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KNotification *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KNotification,sipName_title);

    return NULL;
}


extern "C" {static PyObject *meth_KNotification_setTitle(PyObject *, PyObject *);}
static PyObject *meth_KNotification_setTitle(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KNotification *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KNotification,sipName_setTitle);

    return NULL;
}


extern "C" {static PyObject *meth_KNotification_text(PyObject *, PyObject *);}
static PyObject *meth_KNotification_text(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KNotification *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KNotification,sipName_text);

    return NULL;
}


extern "C" {static PyObject *meth_KNotification_setText(PyObject *, PyObject *);}
static PyObject *meth_KNotification_setText(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KNotification *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KNotification,sipName_setText);

    return NULL;
}


extern "C" {static PyObject *meth_KNotification_pixmap(PyObject *, PyObject *);}
static PyObject *meth_KNotification_pixmap(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KNotification *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KNotification,sipName_pixmap);

    return NULL;
}


extern "C" {static PyObject *meth_KNotification_setPixmap(PyObject *, PyObject *);}
static PyObject *meth_KNotification_setPixmap(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QPixmap * a0;
        KNotification *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KNotification,sipName_setPixmap);

    return NULL;
}


extern "C" {static PyObject *meth_KNotification_actions(PyObject *, PyObject *);}
static PyObject *meth_KNotification_actions(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KNotification *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KNotification,sipName_actions);

    return NULL;
}


extern "C" {static PyObject *meth_KNotification_setActions(PyObject *, PyObject *);}
static PyObject *meth_KNotification_setActions(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QStringList * a0;
        int a0State = 0;
        KNotification *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KNotification,sipName_setActions);

    return NULL;
}


extern "C" {static PyObject *meth_KNotification_contexts(PyObject *, PyObject *);}
static PyObject *meth_KNotification_contexts(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KNotification *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KNotification,&sipCpp))
        {
            KNotification::ContextList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KNotification::ContextList(sipCpp->contexts());
            Py_END_ALLOW_THREADS

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_QList_0600QPair_0100QString_0100QString,NULL);
            delete sipRes;

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KNotification,sipName_contexts);

    return NULL;
}


extern "C" {static PyObject *meth_KNotification_setContexts(PyObject *, PyObject *);}
static PyObject *meth_KNotification_setContexts(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KNotification::ContextList * a0;
        int a0State = 0;
        KNotification *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KNotification,sipName_setContexts);

    return NULL;
}


extern "C" {static PyObject *meth_KNotification_addContext(PyObject *, PyObject *);}
static PyObject *meth_KNotification_addContext(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KNotification::Context * a0;
        int a0State = 0;
        KNotification *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KNotification,&sipCpp,sipType_QPair_0200QString_0200QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addContext(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<KNotification::Context *>(a0),sipType_QPair_0200QString_0200QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        KNotification *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KNotification,sipName_addContext);

    return NULL;
}


extern "C" {static PyObject *meth_KNotification_flags(PyObject *, PyObject *);}
static PyObject *meth_KNotification_flags(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KNotification *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KNotification,sipName_flags);

    return NULL;
}


extern "C" {static PyObject *meth_KNotification_setFlags(PyObject *, PyObject *);}
static PyObject *meth_KNotification_setFlags(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KNotification::NotificationFlags * a0;
        int a0State = 0;
        KNotification *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KNotification,sipName_setFlags);

    return NULL;
}


extern "C" {static PyObject *meth_KNotification_setComponentData(PyObject *, PyObject *);}
static PyObject *meth_KNotification_setComponentData(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KComponentData * a0;
        KNotification *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KNotification,sipName_setComponentData);

    return NULL;
}


extern "C" {static PyObject *meth_KNotification_activate(PyObject *, PyObject *);}
static PyObject *meth_KNotification_activate(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        unsigned a0 = 0;
        KNotification *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KNotification,sipName_activate);

    return NULL;
}


extern "C" {static PyObject *meth_KNotification_close(PyObject *, PyObject *);}
static PyObject *meth_KNotification_close(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KNotification *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KNotification,sipName_close);

    return NULL;
}


extern "C" {static PyObject *meth_KNotification_raiseWidget(PyObject *, PyObject *);}
static PyObject *meth_KNotification_raiseWidget(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KNotification *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KNotification,sipName_raiseWidget);

    return NULL;
}


extern "C" {static PyObject *meth_KNotification_ref(PyObject *, PyObject *);}
static PyObject *meth_KNotification_ref(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KNotification *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KNotification,sipName_ref);

    return NULL;
}


extern "C" {static PyObject *meth_KNotification_deref(PyObject *, PyObject *);}
static PyObject *meth_KNotification_deref(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KNotification *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KNotification,sipName_deref);

    return NULL;
}


extern "C" {static PyObject *meth_KNotification_sendEvent(PyObject *, PyObject *);}
static PyObject *meth_KNotification_sendEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KNotification *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KNotification,sipName_sendEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KNotification_update(PyObject *, PyObject *);}
static PyObject *meth_KNotification_update(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KNotification *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KNotification,sipName_update);

    return NULL;
}


extern "C" {static PyObject *meth_KNotification_eventFilter(PyObject *, PyObject *);}
static PyObject *meth_KNotification_eventFilter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject * a0;
        QEvent * a1;
        sipKNotification *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8J8",&sipSelf,sipType_KNotification,&sipCpp,sipType_QObject,&a0,sipType_QEvent,&a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KNotification,sipName_eventFilter);

    return NULL;
}


extern "C" {static PyObject *meth_KNotification_event(PyObject *, PyObject *);}
static PyObject *meth_KNotification_event(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        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(&sipArgsParsed,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(&sipArgsParsed,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);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KNotification,sipName_event);

    return NULL;
}


extern "C" {static PyObject *meth_KNotification_beep(PyObject *, PyObject *);}
static PyObject *meth_KNotification_beep(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString& a0def = QString();
        const QString * a0 = &a0def;
        int a0State = 0;
        QWidget * a1 = 0;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KNotification,sipName_beep);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KNotification(void *, const sipTypeDef *);}
static void *cast_KNotification(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KNotification)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(KNotification *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KNotification(void *, int);}
static void release_KNotification(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKNotification *>(sipCppV);
    else
        delete reinterpret_cast<KNotification *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KNotification(sipSimpleWrapper *);}
static void dealloc_KNotification(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKNotification *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KNotification(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KNotification(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KNotification(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipKNotification *sipCpp = 0;

    if (!sipCpp)
    {
        const QString * a0;
        int a0State = 0;
        QWidget * a1 = 0;
        const KNotification::NotificationFlags& a2def = KNotification::CloseOnTimeout;
        const KNotification::NotificationFlags * a2 = &a2def;
        int a2State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"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);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KNotification[] = {{111, 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_childEvent), meth_KNotification_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_close), meth_KNotification_close, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KNotification_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contexts), meth_KNotification_contexts, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KNotification_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deref), meth_KNotification_deref, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KNotification_disconnectNotify, 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_receivers), meth_KNotification_receivers, 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_timerEvent), meth_KNotification_timerEvent, 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, KNotification::Catastrophe, 177},
    {sipName_CloseOnTimeout, KNotification::CloseOnTimeout, 175},
    {sipName_CloseWhenWidgetActivated, KNotification::CloseWhenWidgetActivated, 175},
    {sipName_DefaultEvent, KNotification::DefaultEvent, 175},
    {sipName_Error, KNotification::Error, 177},
    {sipName_Notification, KNotification::Notification, 177},
    {sipName_Persistant, KNotification::Persistant, 175},
    {sipName_Persistent, KNotification::Persistent, 175},
    {sipName_RaiseWidgetOnActivation, KNotification::RaiseWidgetOnActivation, 175},
    {sipName_Warning, KNotification::Warning, 177},
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KNotification[] = {
    {"ignored()", 0},
    {"closed()", 0},
    {"action3Activated()", 0},
    {"action2Activated()", 0},
    {"action1Activated()", 0},
    {"activated()", 0},
    {"activated(unsigned)", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_kdeui_KNotification = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KNotification,
        {0}
    },
    sipNameNr_KNotification,
    -1,
    -1,
    {0, 0, 1},
    supers_KNotification,
    0,
    33, methods_KNotification,
    10, enummembers_KNotification,
    0, 0,
    init_KNotification,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KNotification,
    release_KNotification,
    cast_KNotification,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KNotification::staticMetaObject,
    0,
    pyqt4_signals_KNotification
};

#line 25 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kmodifierkeyinfo.sip"
#include <kmodifierkeyinfo.h>
#line 10874 "sipkdeuipart3.cpp"

#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 10878 "sipkdeuipart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10881 "sipkdeuipart3.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kstandardaction.sip"
#include <qlist.h>
#line 44 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kwidgetitemdelegate.sip"
#include <qlist.h>
#line 114 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kwindowsystem.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 10918 "sipkdeuipart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kactioncollection.sip"
#include <kactioncollection.h>
#line 10921 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qactiongroup.sip"
#include <qactiongroup.h>
#line 10924 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qcolor.sip"
#include <qcolor.h>
#line 10927 "sipkdeuipart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kicontheme.sip"
#include <kicontheme.h>
#line 10930 "sipkdeuipart3.cpp"
#line 212 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 10933 "sipkdeuipart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/ksessionmanager.sip"
#include <ksessionmanager.h>
#line 10936 "sipkdeuipart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kplotpoint.sip"
#include <kplotpoint.h>
#line 10939 "sipkdeuipart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kplotobject.sip"
#include <kplotobject.h>
#line 10942 "sipkdeuipart3.cpp"
#line 24 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kglobalshortcutinfo.sip"
#include <kglobalshortcutinfo.h>
#line 10945 "sipkdeuipart3.cpp"
#line 83 "/usr/local/share/py-sip/QtCore/qchar.sip"
#include <qchar.h>
#line 10948 "sipkdeuipart3.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kconfigdialogmanager.sip"
#include <kconfigdialogmanager.h>
#line 10951 "sipkdeuipart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kmainwindow.sip"
#include <kmainwindow.h>
#line 10954 "sipkdeuipart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/ktoolbar.sip"
#include <ktoolbar.h>
#line 10957 "sipkdeuipart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kxmlguiclient.sip"
#include <kxmlguiclient.h>
#line 10960 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10963 "sipkdeuipart3.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10966 "sipkdeuipart3.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10969 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 10972 "sipkdeuipart3.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 11003 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 11006 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 11009 "sipkdeuipart3.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 11012 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 11015 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 11018 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 11021 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 11024 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 11027 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 11030 "sipkdeuipart3.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 public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);

    /*
     * 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()
{
    sipCommonDtor(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 && sip_kdeui_qt_metacast(sipPySelf,sipType_KModifierKeyInfo,_clname)) ? this : KModifierKeyInfo::qt_metacast(_clname);
}

bool sipKModifierKeyInfo::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QObject::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_kdeui_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipKModifierKeyInfo::eventFilter(QObject *a0,QEvent *a1)
{
    typedef bool (*sipVH_QtCore_21)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_eventFilter);

    if (!meth)
        return QObject::eventFilter(a0,a1);

    return ((sipVH_QtCore_21)(sipModuleAPI_kdeui_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

void sipKModifierKeyInfo::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    ((sipVH_QtCore_3)(sipModuleAPI_kdeui_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKModifierKeyInfo::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    ((sipVH_QtCore_20)(sipModuleAPI_kdeui_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKModifierKeyInfo::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kdeui_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKModifierKeyInfo::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKModifierKeyInfo::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

int sipKModifierKeyInfo::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKModifierKeyInfo::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKModifierKeyInfo::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKModifierKeyInfo::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKModifierKeyInfo::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKModifierKeyInfo::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}


extern "C" {static PyObject *meth_KModifierKeyInfo_receivers(PyObject *, PyObject *);}
static PyObject *meth_KModifierKeyInfo_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipKModifierKeyInfo *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KModifierKeyInfo,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 11283 "sipkdeuipart3.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KModifierKeyInfo,sipName_receivers);

    return NULL;
}


extern "C" {static PyObject *meth_KModifierKeyInfo_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KModifierKeyInfo_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKModifierKeyInfo *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KModifierKeyInfo,&sipCpp,sipType_QTimerEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KModifierKeyInfo,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KModifierKeyInfo_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KModifierKeyInfo_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKModifierKeyInfo *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KModifierKeyInfo,&sipCpp,sipType_QChildEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KModifierKeyInfo,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KModifierKeyInfo_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KModifierKeyInfo_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKModifierKeyInfo *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KModifierKeyInfo,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KModifierKeyInfo,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KModifierKeyInfo_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KModifierKeyInfo_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKModifierKeyInfo *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KModifierKeyInfo,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KModifierKeyInfo,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KModifierKeyInfo_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KModifierKeyInfo_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKModifierKeyInfo *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KModifierKeyInfo,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KModifierKeyInfo,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KModifierKeyInfo_knowsKey(PyObject *, PyObject *);}
static PyObject *meth_KModifierKeyInfo_knowsKey(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Qt::Key a0;
        KModifierKeyInfo *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KModifierKeyInfo,sipName_knowsKey);

    return NULL;
}


extern "C" {static PyObject *meth_KModifierKeyInfo_knownKeys(PyObject *, PyObject *);}
static PyObject *meth_KModifierKeyInfo_knownKeys(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KModifierKeyInfo *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_QList_0500Qt_Key,NULL);
            delete sipRes;

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KModifierKeyInfo,sipName_knownKeys);

    return NULL;
}


extern "C" {static PyObject *meth_KModifierKeyInfo_isKeyPressed(PyObject *, PyObject *);}
static PyObject *meth_KModifierKeyInfo_isKeyPressed(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Qt::Key a0;
        KModifierKeyInfo *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KModifierKeyInfo,sipName_isKeyPressed);

    return NULL;
}


extern "C" {static PyObject *meth_KModifierKeyInfo_isKeyLatched(PyObject *, PyObject *);}
static PyObject *meth_KModifierKeyInfo_isKeyLatched(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Qt::Key a0;
        KModifierKeyInfo *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KModifierKeyInfo,sipName_isKeyLatched);

    return NULL;
}


extern "C" {static PyObject *meth_KModifierKeyInfo_setKeyLatched(PyObject *, PyObject *);}
static PyObject *meth_KModifierKeyInfo_setKeyLatched(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Qt::Key a0;
        bool a1;
        KModifierKeyInfo *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KModifierKeyInfo,sipName_setKeyLatched);

    return NULL;
}


extern "C" {static PyObject *meth_KModifierKeyInfo_isKeyLocked(PyObject *, PyObject *);}
static PyObject *meth_KModifierKeyInfo_isKeyLocked(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Qt::Key a0;
        KModifierKeyInfo *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KModifierKeyInfo,sipName_isKeyLocked);

    return NULL;
}


extern "C" {static PyObject *meth_KModifierKeyInfo_setKeyLocked(PyObject *, PyObject *);}
static PyObject *meth_KModifierKeyInfo_setKeyLocked(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Qt::Key a0;
        bool a1;
        KModifierKeyInfo *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KModifierKeyInfo,sipName_setKeyLocked);

    return NULL;
}


extern "C" {static PyObject *meth_KModifierKeyInfo_isButtonPressed(PyObject *, PyObject *);}
static PyObject *meth_KModifierKeyInfo_isButtonPressed(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Qt::MouseButton a0;
        KModifierKeyInfo *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KModifierKeyInfo,sipName_isButtonPressed);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KModifierKeyInfo(void *, const sipTypeDef *);}
static void *cast_KModifierKeyInfo(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KModifierKeyInfo)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(KModifierKeyInfo *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KModifierKeyInfo(void *, int);}
static void release_KModifierKeyInfo(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKModifierKeyInfo *>(sipCppV);
    else
        delete reinterpret_cast<KModifierKeyInfo *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KModifierKeyInfo(sipSimpleWrapper *);}
static void dealloc_KModifierKeyInfo(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKModifierKeyInfo *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KModifierKeyInfo(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KModifierKeyInfo(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KModifierKeyInfo(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **sipOwner, int *sipArgsParsed)
{
    sipKModifierKeyInfo *sipCpp = 0;

    if (!sipCpp)
    {
        QObject * a0 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"|JH",sipType_QObject,&a0,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKModifierKeyInfo(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KModifierKeyInfo[] = {{111, 0, 1}};


static PyMethodDef methods_KModifierKeyInfo[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KModifierKeyInfo_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KModifierKeyInfo_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KModifierKeyInfo_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KModifierKeyInfo_disconnectNotify, METH_VARARGS, NULL},
    {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_receivers), meth_KModifierKeyInfo_receivers, 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},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KModifierKeyInfo_timerEvent, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KModifierKeyInfo[] = {
    {"keyRemoved(Qt::Key)", 0},
    {"keyAdded(Qt::Key)", 0},
    {"buttonPressed(Qt::MouseButton,bool)", 0},
    {"keyLocked(Qt::Key,bool)", 0},
    {"keyLatched(Qt::Key,bool)", 0},
    {"keyPressed(Qt::Key,bool)", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_kdeui_KModifierKeyInfo = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KModifierKeyInfo,
        {0}
    },
    sipNameNr_KModifierKeyInfo,
    -1,
    -1,
    {0, 0, 1},
    supers_KModifierKeyInfo,
    0,
    14, methods_KModifierKeyInfo,
    0, 0,
    0, 0,
    init_KModifierKeyInfo,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KModifierKeyInfo,
    release_KModifierKeyInfo,
    cast_KModifierKeyInfo,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KModifierKeyInfo::staticMetaObject,
    0,
    pyqt4_signals_KModifierKeyInfo
};

#line 53 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kmanagerselection.sip"
#include <kmanagerselection.h>
#line 11813 "sipkdeuipart3.cpp"

#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 11817 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11820 "sipkdeuipart3.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11823 "sipkdeuipart3.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11826 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 11829 "sipkdeuipart3.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 11860 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 11863 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 11866 "sipkdeuipart3.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 11869 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 11872 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 11875 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 11878 "sipkdeuipart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11881 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 11884 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 11887 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 11890 "sipkdeuipart3.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 public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);

    /*
     * 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()
{
    sipCommonDtor(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 && sip_kdeui_qt_metacast(sipPySelf,sipType_KSelectionWatcher,_clname)) ? this : KSelectionWatcher::qt_metacast(_clname);
}

bool sipKSelectionWatcher::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QObject::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_kdeui_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipKSelectionWatcher::eventFilter(QObject *a0,QEvent *a1)
{
    typedef bool (*sipVH_QtCore_21)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_eventFilter);

    if (!meth)
        return QObject::eventFilter(a0,a1);

    return ((sipVH_QtCore_21)(sipModuleAPI_kdeui_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

void sipKSelectionWatcher::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    ((sipVH_QtCore_3)(sipModuleAPI_kdeui_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKSelectionWatcher::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    ((sipVH_QtCore_20)(sipModuleAPI_kdeui_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKSelectionWatcher::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kdeui_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKSelectionWatcher::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKSelectionWatcher::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

int sipKSelectionWatcher::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKSelectionWatcher::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKSelectionWatcher::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKSelectionWatcher::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKSelectionWatcher::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKSelectionWatcher::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}


extern "C" {static PyObject *meth_KSelectionWatcher_receivers(PyObject *, PyObject *);}
static PyObject *meth_KSelectionWatcher_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipKSelectionWatcher *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KSelectionWatcher,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 12149 "sipkdeuipart3.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KSelectionWatcher,sipName_receivers);

    return NULL;
}


extern "C" {static PyObject *meth_KSelectionWatcher_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KSelectionWatcher_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKSelectionWatcher *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KSelectionWatcher,&sipCpp,sipType_QTimerEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KSelectionWatcher,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KSelectionWatcher_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KSelectionWatcher_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKSelectionWatcher *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KSelectionWatcher,&sipCpp,sipType_QChildEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KSelectionWatcher,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KSelectionWatcher_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KSelectionWatcher_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKSelectionWatcher *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KSelectionWatcher,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KSelectionWatcher,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KSelectionWatcher_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KSelectionWatcher_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKSelectionWatcher *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KSelectionWatcher,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KSelectionWatcher,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KSelectionWatcher_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KSelectionWatcher_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKSelectionWatcher *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KSelectionWatcher,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KSelectionWatcher,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KSelectionWatcher_owner(PyObject *, PyObject *);}
static PyObject *meth_KSelectionWatcher_owner(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KSelectionWatcher *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KSelectionWatcher,sipName_owner);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KSelectionWatcher(void *, const sipTypeDef *);}
static void *cast_KSelectionWatcher(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KSelectionWatcher)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(KSelectionWatcher *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KSelectionWatcher(void *, int);}
static void release_KSelectionWatcher(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKSelectionWatcher *>(sipCppV);
    else
        delete reinterpret_cast<KSelectionWatcher *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KSelectionWatcher(sipSimpleWrapper *);}
static void dealloc_KSelectionWatcher(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKSelectionWatcher *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KSelectionWatcher(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KSelectionWatcher(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KSelectionWatcher(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **sipOwner, int *sipArgsParsed)
{
    sipKSelectionWatcher *sipCpp = 0;

    if (!sipCpp)
    {
        Atom a0;
        int a1 = -1;
        QObject * a2 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"m|iJH",&a0,&a1,sipType_QObject,&a2,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKSelectionWatcher(a0,a1,a2);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const char * a0;
        PyObject *a0Keep;
        int a1 = -1;
        QObject * a2 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"AA|iJH",&a0Keep,&a0,&a1,sipType_QObject,&a2,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKSelectionWatcher(a0,a1,a2);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KSelectionWatcher[] = {{111, 0, 1}};


static PyMethodDef methods_KSelectionWatcher[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KSelectionWatcher_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KSelectionWatcher_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KSelectionWatcher_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KSelectionWatcher_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_owner), meth_KSelectionWatcher_owner, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KSelectionWatcher_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KSelectionWatcher_timerEvent, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KSelectionWatcher[] = {
    {"lostOwner()", 0},
    {"newOwner(Window)", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_kdeui_KSelectionWatcher = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KSelectionWatcher,
        {0}
    },
    sipNameNr_KSelectionWatcher,
    -1,
    -1,
    {0, 0, 1},
    supers_KSelectionWatcher,
    0,
    7, methods_KSelectionWatcher,
    0, 0,
    0, 0,
    init_KSelectionWatcher,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KSelectionWatcher,
    release_KSelectionWatcher,
    cast_KSelectionWatcher,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KSelectionWatcher::staticMetaObject,
    0,
    pyqt4_signals_KSelectionWatcher
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kmanagerselection.sip"
#include <kmanagerselection.h>
#line 12485 "sipkdeuipart3.cpp"

#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 12489 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12492 "sipkdeuipart3.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12495 "sipkdeuipart3.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12498 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 12501 "sipkdeuipart3.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 12532 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 12535 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 12538 "sipkdeuipart3.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 12541 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 12544 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 12547 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 12550 "sipkdeuipart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12553 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 12556 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 12559 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 12562 "sipkdeuipart3.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 public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    bool sipProtectVirt_genericReply(bool,Atom,Atom,Window);
    void sipProtectVirt_replyTargets(bool,Atom,Window);
    void sipProtectVirt_getAtoms(bool);
    void sipProtect_setData(long,long);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool genericReply(Atom,Atom,Window);
    void replyTargets(Atom,Window);
    void getAtoms();
    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()
{
    sipCommonDtor(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 && sip_kdeui_qt_metacast(sipPySelf,sipType_KSelectionOwner,_clname)) ? this : KSelectionOwner::qt_metacast(_clname);
}

bool sipKSelectionOwner::genericReply(Atom a0,Atom a1,Window a2)
{
    extern bool sipVH_kdeui_59(sip_gilstate_t,PyObject *,unsigned long,unsigned long,unsigned long);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_genericReply);

    if (!meth)
        return KSelectionOwner::genericReply(a0,a1,a2);

    return sipVH_kdeui_59(sipGILState,meth,a0,a1,a2);
}

void sipKSelectionOwner::replyTargets(Atom a0,Window a1)
{
    extern void sipVH_kdeui_15(sip_gilstate_t,PyObject *,unsigned long,unsigned long);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_replyTargets);

    if (!meth)
    {
        KSelectionOwner::replyTargets(a0,a1);
        return;
    }

    sipVH_kdeui_15(sipGILState,meth,a0,a1);
}

void sipKSelectionOwner::getAtoms()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_getAtoms);

    if (!meth)
    {
        KSelectionOwner::getAtoms();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

bool sipKSelectionOwner::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QObject::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_kdeui_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipKSelectionOwner::eventFilter(QObject *a0,QEvent *a1)
{
    typedef bool (*sipVH_QtCore_21)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_eventFilter);

    if (!meth)
        return QObject::eventFilter(a0,a1);

    return ((sipVH_QtCore_21)(sipModuleAPI_kdeui_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

void sipKSelectionOwner::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    ((sipVH_QtCore_3)(sipModuleAPI_kdeui_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKSelectionOwner::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    ((sipVH_QtCore_20)(sipModuleAPI_kdeui_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKSelectionOwner::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kdeui_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKSelectionOwner::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKSelectionOwner::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

int sipKSelectionOwner::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKSelectionOwner::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKSelectionOwner::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKSelectionOwner::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKSelectionOwner::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKSelectionOwner::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

bool sipKSelectionOwner::sipProtectVirt_genericReply(bool sipSelfWasArg,Atom a0,Atom a1,Window a2)
{
    return (sipSelfWasArg ? KSelectionOwner::genericReply(a0,a1,a2) : genericReply(a0,a1,a2));
}

void sipKSelectionOwner::sipProtectVirt_replyTargets(bool sipSelfWasArg,Atom a0,Window a1)
{
    (sipSelfWasArg ? KSelectionOwner::replyTargets(a0,a1) : replyTargets(a0,a1));
}

void sipKSelectionOwner::sipProtectVirt_getAtoms(bool sipSelfWasArg)
{
    (sipSelfWasArg ? KSelectionOwner::getAtoms() : getAtoms());
}

void sipKSelectionOwner::sipProtect_setData(long a0,long a1)
{
    KSelectionOwner::setData(a0,a1);
}


extern "C" {static PyObject *meth_KSelectionOwner_receivers(PyObject *, PyObject *);}
static PyObject *meth_KSelectionOwner_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipKSelectionOwner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KSelectionOwner,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 12899 "sipkdeuipart3.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KSelectionOwner,sipName_receivers);

    return NULL;
}


extern "C" {static PyObject *meth_KSelectionOwner_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KSelectionOwner_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKSelectionOwner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KSelectionOwner,&sipCpp,sipType_QTimerEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KSelectionOwner,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KSelectionOwner_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KSelectionOwner_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKSelectionOwner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KSelectionOwner,&sipCpp,sipType_QChildEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KSelectionOwner,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KSelectionOwner_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KSelectionOwner_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKSelectionOwner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KSelectionOwner,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KSelectionOwner,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KSelectionOwner_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KSelectionOwner_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKSelectionOwner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KSelectionOwner,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KSelectionOwner,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KSelectionOwner_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KSelectionOwner_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKSelectionOwner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KSelectionOwner,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KSelectionOwner,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KSelectionOwner_claim(PyObject *, PyObject *);}
static PyObject *meth_KSelectionOwner_claim(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        bool a1 = 1;
        KSelectionOwner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KSelectionOwner,sipName_claim);

    return NULL;
}


extern "C" {static PyObject *meth_KSelectionOwner_release(PyObject *, PyObject *);}
static PyObject *meth_KSelectionOwner_release(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KSelectionOwner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KSelectionOwner,sipName_release);

    return NULL;
}


extern "C" {static PyObject *meth_KSelectionOwner_ownerWindow(PyObject *, PyObject *);}
static PyObject *meth_KSelectionOwner_ownerWindow(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KSelectionOwner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KSelectionOwner,sipName_ownerWindow);

    return NULL;
}


extern "C" {static PyObject *meth_KSelectionOwner_genericReply(PyObject *, PyObject *);}
static PyObject *meth_KSelectionOwner_genericReply(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Atom a0;
        Atom a1;
        Window a2;
        sipKSelectionOwner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pmmm",&sipSelf,sipType_KSelectionOwner,&sipCpp,&a0,&a1,&a2))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_genericReply(sipSelfWasArg,a0,a1,a2);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KSelectionOwner,sipName_genericReply);

    return NULL;
}


extern "C" {static PyObject *meth_KSelectionOwner_replyTargets(PyObject *, PyObject *);}
static PyObject *meth_KSelectionOwner_replyTargets(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Atom a0;
        Window a1;
        sipKSelectionOwner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pmm",&sipSelf,sipType_KSelectionOwner,&sipCpp,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_replyTargets(sipSelfWasArg,a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KSelectionOwner,sipName_replyTargets);

    return NULL;
}


extern "C" {static PyObject *meth_KSelectionOwner_getAtoms(PyObject *, PyObject *);}
static PyObject *meth_KSelectionOwner_getAtoms(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipKSelectionOwner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KSelectionOwner,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_getAtoms(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KSelectionOwner,sipName_getAtoms);

    return NULL;
}


extern "C" {static PyObject *meth_KSelectionOwner_setData(PyObject *, PyObject *);}
static PyObject *meth_KSelectionOwner_setData(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        long a0;
        long a1;
        sipKSelectionOwner *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pll",&sipSelf,sipType_KSelectionOwner,&sipCpp,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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(sipArgsParsed,sipName_KSelectionOwner,sipName_setData);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KSelectionOwner(void *, const sipTypeDef *);}
static void *cast_KSelectionOwner(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KSelectionOwner)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(KSelectionOwner *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KSelectionOwner(void *, int);}
static void release_KSelectionOwner(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKSelectionOwner *>(sipCppV);
    else
        delete reinterpret_cast<KSelectionOwner *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KSelectionOwner(sipSimpleWrapper *);}
static void dealloc_KSelectionOwner(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKSelectionOwner *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KSelectionOwner(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KSelectionOwner(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KSelectionOwner(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **sipOwner, int *sipArgsParsed)
{
    sipKSelectionOwner *sipCpp = 0;

    if (!sipCpp)
    {
        Atom a0;
        int a1 = -1;
        QObject * a2 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"m|iJH",&a0,&a1,sipType_QObject,&a2,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKSelectionOwner(a0,a1,a2);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const char * a0;
        PyObject *a0Keep;
        int a1 = -1;
        QObject * a2 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"AA|iJH",&a0Keep,&a0,&a1,sipType_QObject,&a2,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKSelectionOwner(a0,a1,a2);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KSelectionOwner[] = {{111, 0, 1}};


static PyMethodDef methods_KSelectionOwner[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KSelectionOwner_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_claim), meth_KSelectionOwner_claim, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KSelectionOwner_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KSelectionOwner_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KSelectionOwner_disconnectNotify, 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_receivers), meth_KSelectionOwner_receivers, 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},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KSelectionOwner_timerEvent, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KSelectionOwner[] = {
    {"lostOwnership()", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_kdeui_KSelectionOwner = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KSelectionOwner,
        {0}
    },
    sipNameNr_KSelectionOwner,
    -1,
    -1,
    {0, 0, 1},
    supers_KSelectionOwner,
    0,
    13, methods_KSelectionOwner,
    0, 0,
    0, 0,
    init_KSelectionOwner,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KSelectionOwner,
    release_KSelectionOwner,
    cast_KSelectionOwner,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KSelectionOwner::staticMetaObject,
    0,
    pyqt4_signals_KSelectionOwner
};


#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 13411 "sipkdeuipart3.cpp"


extern "C" {static PyObject *meth_KKeyServer_modXToQt(PyObject *,PyObject *);}
static PyObject *meth_KKeyServer_modXToQt(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        uint a0;
        int a1;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_modXToQt);

    return NULL;
}


extern "C" {static PyObject *meth_KKeyServer_symXToKeyQt(PyObject *,PyObject *);}
static PyObject *meth_KKeyServer_symXToKeyQt(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        uint a0;
        int a1;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_symXToKeyQt);

    return NULL;
}


extern "C" {static PyObject *meth_KKeyServer_keyQtToModX(PyObject *,PyObject *);}
static PyObject *meth_KKeyServer_keyQtToModX(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        int a0;
        uint a1;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_keyQtToModX);

    return NULL;
}


extern "C" {static PyObject *meth_KKeyServer_keyQtToCodeX(PyObject *,PyObject *);}
static PyObject *meth_KKeyServer_keyQtToCodeX(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        int a0;
        int a1;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_keyQtToCodeX);

    return NULL;
}


extern "C" {static PyObject *meth_KKeyServer_keyQtToSymX(PyObject *,PyObject *);}
static PyObject *meth_KKeyServer_keyQtToSymX(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        int a0;
        int a1;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_keyQtToSymX);

    return NULL;
}


extern "C" {static PyObject *meth_KKeyServer_accelModMaskX(PyObject *,PyObject *);}
static PyObject *meth_KKeyServer_accelModMaskX(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_accelModMaskX);

    return NULL;
}


extern "C" {static PyObject *meth_KKeyServer_modXModeSwitch(PyObject *,PyObject *);}
static PyObject *meth_KKeyServer_modXModeSwitch(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_modXModeSwitch);

    return NULL;
}


extern "C" {static PyObject *meth_KKeyServer_modXScrollLock(PyObject *,PyObject *);}
static PyObject *meth_KKeyServer_modXScrollLock(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_modXScrollLock);

    return NULL;
}


extern "C" {static PyObject *meth_KKeyServer_modXNumLock(PyObject *,PyObject *);}
static PyObject *meth_KKeyServer_modXNumLock(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_modXNumLock);

    return NULL;
}


extern "C" {static PyObject *meth_KKeyServer_modXMeta(PyObject *,PyObject *);}
static PyObject *meth_KKeyServer_modXMeta(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_modXMeta);

    return NULL;
}


extern "C" {static PyObject *meth_KKeyServer_modXAlt(PyObject *,PyObject *);}
static PyObject *meth_KKeyServer_modXAlt(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_modXAlt);

    return NULL;
}


extern "C" {static PyObject *meth_KKeyServer_modXCtrl(PyObject *,PyObject *);}
static PyObject *meth_KKeyServer_modXCtrl(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_modXCtrl);

    return NULL;
}


extern "C" {static PyObject *meth_KKeyServer_modXLock(PyObject *,PyObject *);}
static PyObject *meth_KKeyServer_modXLock(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_modXLock);

    return NULL;
}


extern "C" {static PyObject *meth_KKeyServer_modXShift(PyObject *,PyObject *);}
static PyObject *meth_KKeyServer_modXShift(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_modXShift);

    return NULL;
}


extern "C" {static PyObject *meth_KKeyServer_keyboardHasMetaKey(PyObject *,PyObject *);}
static PyObject *meth_KKeyServer_keyboardHasMetaKey(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_keyboardHasMetaKey);

    return NULL;
}


extern "C" {static PyObject *meth_KKeyServer_initializeMods(PyObject *,PyObject *);}
static PyObject *meth_KKeyServer_initializeMods(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_initializeMods);

    return NULL;
}


extern "C" {static PyObject *meth_KKeyServer_stringUserToMod(PyObject *,PyObject *);}
static PyObject *meth_KKeyServer_stringUserToMod(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_stringUserToMod);

    return NULL;
}


extern "C" {static PyObject *meth_KKeyServer_modToStringUser(PyObject *,PyObject *);}
static PyObject *meth_KKeyServer_modToStringUser(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        uint a0;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_modToStringUser);

    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_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}
};


pyqt4ClassTypeDef pyqt4Type_kdeui_KKeyServer = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_NAMESPACE,
        sipNameNr_KKeyServer,
        {0}
    },
    sipNameNr_KKeyServer,
    -1,
    -1,
    {0, 0, 1},
    0,
    0,
    18, methods_KKeyServer,
    0, 0,
    0, 0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kguiitem.sip"
#include <kguiitem.h>
#line 13955 "sipkdeuipart3.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 13959 "sipkdeuipart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 13962 "sipkdeuipart3.cpp"


extern "C" {static PyObject *meth_KGuiItem_text(PyObject *, PyObject *);}
static PyObject *meth_KGuiItem_text(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KGuiItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KGuiItem,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->text());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KGuiItem,sipName_text);

    return NULL;
}


extern "C" {static PyObject *meth_KGuiItem_plainText(PyObject *, PyObject *);}
static PyObject *meth_KGuiItem_plainText(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KGuiItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KGuiItem,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->plainText());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KGuiItem,sipName_plainText);

    return NULL;
}


extern "C" {static PyObject *meth_KGuiItem_icon(PyObject *, PyObject *);}
static PyObject *meth_KGuiItem_icon(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KGuiItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KGuiItem,&sipCpp))
        {
            KIcon *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KIcon(sipCpp->icon());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KIcon,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KGuiItem,sipName_icon);

    return NULL;
}


extern "C" {static PyObject *meth_KGuiItem_iconName(PyObject *, PyObject *);}
static PyObject *meth_KGuiItem_iconName(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KGuiItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KGuiItem,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->iconName());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KGuiItem,sipName_iconName);

    return NULL;
}


extern "C" {static PyObject *meth_KGuiItem_toolTip(PyObject *, PyObject *);}
static PyObject *meth_KGuiItem_toolTip(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KGuiItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KGuiItem,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->toolTip());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KGuiItem,sipName_toolTip);

    return NULL;
}


extern "C" {static PyObject *meth_KGuiItem_whatsThis(PyObject *, PyObject *);}
static PyObject *meth_KGuiItem_whatsThis(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KGuiItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KGuiItem,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->whatsThis());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KGuiItem,sipName_whatsThis);

    return NULL;
}


extern "C" {static PyObject *meth_KGuiItem_isEnabled(PyObject *, PyObject *);}
static PyObject *meth_KGuiItem_isEnabled(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KGuiItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KGuiItem,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KGuiItem,sipName_isEnabled);

    return NULL;
}


extern "C" {static PyObject *meth_KGuiItem_hasIcon(PyObject *, PyObject *);}
static PyObject *meth_KGuiItem_hasIcon(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KGuiItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KGuiItem,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasIcon();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KGuiItem,sipName_hasIcon);

    return NULL;
}


extern "C" {static PyObject *meth_KGuiItem_hasIconSet(PyObject *, PyObject *);}
static PyObject *meth_KGuiItem_hasIconSet(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KGuiItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KGuiItem,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasIconSet();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KGuiItem,sipName_hasIconSet);

    return NULL;
}


extern "C" {static PyObject *meth_KGuiItem_setText(PyObject *, PyObject *);}
static PyObject *meth_KGuiItem_setText(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KGuiItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KGuiItem,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setText(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KGuiItem,sipName_setText);

    return NULL;
}


extern "C" {static PyObject *meth_KGuiItem_setIcon(PyObject *, PyObject *);}
static PyObject *meth_KGuiItem_setIcon(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KIcon * a0;
        KGuiItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KGuiItem,&sipCpp,sipType_KIcon,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setIcon(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KGuiItem,sipName_setIcon);

    return NULL;
}


extern "C" {static PyObject *meth_KGuiItem_setIconName(PyObject *, PyObject *);}
static PyObject *meth_KGuiItem_setIconName(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KGuiItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KGuiItem,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setIconName(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KGuiItem,sipName_setIconName);

    return NULL;
}


extern "C" {static PyObject *meth_KGuiItem_setToolTip(PyObject *, PyObject *);}
static PyObject *meth_KGuiItem_setToolTip(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KGuiItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KGuiItem,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setToolTip(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KGuiItem,sipName_setToolTip);

    return NULL;
}


extern "C" {static PyObject *meth_KGuiItem_setWhatsThis(PyObject *, PyObject *);}
static PyObject *meth_KGuiItem_setWhatsThis(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KGuiItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KGuiItem,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setWhatsThis(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KGuiItem,sipName_setWhatsThis);

    return NULL;
}


extern "C" {static PyObject *meth_KGuiItem_setEnabled(PyObject *, PyObject *);}
static PyObject *meth_KGuiItem_setEnabled(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        KGuiItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_KGuiItem,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setEnabled(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KGuiItem,sipName_setEnabled);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KGuiItem(void *, const sipTypeDef *);}
static void *cast_KGuiItem(void *ptr,const sipTypeDef *targetType)
{
    if (targetType == sipType_KGuiItem)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KGuiItem(void *, int);}
static void release_KGuiItem(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KGuiItem *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KGuiItem(void *, const void*);}
static void assign_KGuiItem(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<KGuiItem *>(sipDst) = *reinterpret_cast<const KGuiItem *>(sipSrc);
}


extern "C" {static void dealloc_KGuiItem(sipSimpleWrapper *);}
static void dealloc_KGuiItem(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KGuiItem(sipSelf->u.cppPtr,0);
    }
}


extern "C" {static void *init_KGuiItem(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KGuiItem(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    KGuiItem *sipCpp = 0;

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KGuiItem();
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const QString * a0;
        int a0State = 0;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;
        const QString& a2def = QString();
        const QString * a2 = &a2def;
        int a2State = 0;
        const QString& a3def = QString();
        const QString * a3 = &a3def;
        int a3State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1|J1J1J1",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,sipType_QString,&a2,&a2State,sipType_QString,&a3,&a3State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KGuiItem(*a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);
        }
    }

    if (!sipCpp)
    {
        const QString * a0;
        int a0State = 0;
        const KIcon * a1;
        const QString& a2def = QString();
        const QString * a2 = &a2def;
        int a2State = 0;
        const QString& a3def = QString();
        const QString * a3 = &a3def;
        int a3State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1J9|J1J1",sipType_QString,&a0,&a0State,sipType_KIcon,&a1,sipType_QString,&a2,&a2State,sipType_QString,&a3,&a3State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KGuiItem(*a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);
        }
    }

    if (!sipCpp)
    {
        const KGuiItem * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_KGuiItem,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KGuiItem(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    return sipCpp;
}


static PyMethodDef methods_KGuiItem[] = {
    {SIP_MLNAME_CAST(sipName_hasIcon), meth_KGuiItem_hasIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasIconSet), meth_KGuiItem_hasIconSet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_icon), meth_KGuiItem_icon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_iconName), meth_KGuiItem_iconName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isEnabled), meth_KGuiItem_isEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_plainText), meth_KGuiItem_plainText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setEnabled), meth_KGuiItem_setEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIcon), meth_KGuiItem_setIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIconName), meth_KGuiItem_setIconName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setText), meth_KGuiItem_setText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setToolTip), meth_KGuiItem_setToolTip, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setWhatsThis), meth_KGuiItem_setWhatsThis, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_text), meth_KGuiItem_text, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toolTip), meth_KGuiItem_toolTip, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_whatsThis), meth_KGuiItem_whatsThis, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kdeui_KGuiItem = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KGuiItem,
        {0}
    },
    sipNameNr_KGuiItem,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {0, 0, 1},
    0,
    0,
    15, methods_KGuiItem,
    0, 0,
    0, 0,
    init_KGuiItem,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KGuiItem,
    release_KGuiItem,
    cast_KGuiItem,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_KGuiItem,
    0,
    0,
    0
};

#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kcursor.sip"
#include <kcursor.h>
#line 14570 "sipkdeuipart3.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 14574 "sipkdeuipart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 14577 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 14580 "sipkdeuipart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 14583 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14586 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 14589 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 14592 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 14595 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 14598 "sipkdeuipart3.cpp"


extern "C" {static PyObject *meth_KCursor_setAutoHideCursor(PyObject *, PyObject *);}
static PyObject *meth_KCursor_setAutoHideCursor(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        QWidget * a0;
        bool a1;
        bool a2 = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J8b|b",sipType_QWidget,&a0,&a1,&a2))
        {
            Py_BEGIN_ALLOW_THREADS
            KCursor::setAutoHideCursor(a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KCursor,sipName_setAutoHideCursor);

    return NULL;
}


extern "C" {static PyObject *meth_KCursor_setHideCursorDelay(PyObject *, PyObject *);}
static PyObject *meth_KCursor_setHideCursorDelay(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        int a0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"i",&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            KCursor::setHideCursorDelay(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KCursor,sipName_setHideCursorDelay);

    return NULL;
}


extern "C" {static PyObject *meth_KCursor_hideCursorDelay(PyObject *, PyObject *);}
static PyObject *meth_KCursor_hideCursorDelay(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KCursor::hideCursorDelay();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KCursor,sipName_hideCursorDelay);

    return NULL;
}


extern "C" {static PyObject *meth_KCursor_autoHideEventFilter(PyObject *, PyObject *);}
static PyObject *meth_KCursor_autoHideEventFilter(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        QObject * a0;
        QEvent * a1;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J8J8",sipType_QObject,&a0,sipType_QEvent,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            KCursor::autoHideEventFilter(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KCursor,sipName_autoHideEventFilter);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KCursor(void *, const sipTypeDef *);}
static void *cast_KCursor(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KCursor)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QCursor)->ctd_cast((QCursor *)(KCursor *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KCursor(void *, int);}
static void release_KCursor(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KCursor *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KCursor(sipSimpleWrapper *);}
static void dealloc_KCursor(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KCursor(sipSelf->u.cppPtr,0);
    }
}


extern "C" {static void *init_KCursor(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KCursor(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    KCursor *sipCpp = 0;

    if (!sipCpp)
    {
        const QString * a0;
        int a0State = 0;
        Qt::CursorShape a1 = Qt::ArrowCursor;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1|E",sipType_QString,&a0,&a0State,sipType_Qt_CursorShape,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KCursor(*a0,a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
        }
    }

    if (!sipCpp)
    {
        const QCursor * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1",sipType_QCursor,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KCursor(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QCursor *>(a0),sipType_QCursor,a0State);
        }
    }

    if (!sipCpp)
    {
        const KCursor * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_KCursor,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KCursor(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KCursor[] = {{70, 2, 1}};


static PyMethodDef methods_KCursor[] = {
    {SIP_MLNAME_CAST(sipName_autoHideEventFilter), meth_KCursor_autoHideEventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideCursorDelay), meth_KCursor_hideCursorDelay, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAutoHideCursor), meth_KCursor_setAutoHideCursor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHideCursorDelay), meth_KCursor_setHideCursorDelay, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kdeui_KCursor = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KCursor,
        {0}
    },
    sipNameNr_KCursor,
    -1,
    -1,
    {0, 0, 1},
    supers_KCursor,
    0,
    4, methods_KCursor,
    0, 0,
    0, 0,
    init_KCursor,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCursor,
    release_KCursor,
    cast_KCursor,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};




extern "C" {static int slot_KCrash_CrashFlags___bool__(PyObject *sipSelf);}
static int slot_KCrash_CrashFlags___bool__(PyObject *sipSelf)
{
    KCrash::CrashFlags *sipCpp = reinterpret_cast<KCrash::CrashFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KCrash_CrashFlags));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 271 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != 0);
#line 14872 "sipkdeuipart3.cpp"

            return sipRes;
        }
    }
}


extern "C" {static PyObject *slot_KCrash_CrashFlags___ne__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_KCrash_CrashFlags___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KCrash::CrashFlags *sipCpp = reinterpret_cast<KCrash::CrashFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KCrash_CrashFlags));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const KCrash::CrashFlags * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_KCrash_CrashFlags,&a0,&a0State))
        {
            bool sipRes = 0;

#line 266 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != a0->operator int());
#line 14900 "sipkdeuipart3.cpp"

            sipReleaseType(const_cast<KCrash::CrashFlags *>(a0),sipType_KCrash_CrashFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kdeui,ne_slot,sipType_KCrash_CrashFlags,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KCrash_CrashFlags___eq__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_KCrash_CrashFlags___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KCrash::CrashFlags *sipCpp = reinterpret_cast<KCrash::CrashFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KCrash_CrashFlags));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const KCrash::CrashFlags * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_KCrash_CrashFlags,&a0,&a0State))
        {
            bool sipRes = 0;

#line 261 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() == a0->operator int());
#line 14932 "sipkdeuipart3.cpp"

            sipReleaseType(const_cast<KCrash::CrashFlags *>(a0),sipType_KCrash_CrashFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kdeui,eq_slot,sipType_KCrash_CrashFlags,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KCrash_CrashFlags___invert__(PyObject *sipSelf);}
static PyObject *slot_KCrash_CrashFlags___invert__(PyObject *sipSelf)
{
    KCrash::CrashFlags *sipCpp = reinterpret_cast<KCrash::CrashFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KCrash_CrashFlags));

    if (!sipCpp)
        return 0;


    {
        {
            KCrash::CrashFlags *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KCrash::CrashFlags(~(*sipCpp));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KCrash_CrashFlags,NULL);
        }
    }
}


extern "C" {static PyObject *slot_KCrash_CrashFlags___and__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_KCrash_CrashFlags___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    int sipArgsParsed = 0;

    {
        KCrash::CrashFlags * a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1i",sipType_KCrash_CrashFlags,&a0,&a0State,&a1))
        {
            KCrash::CrashFlags *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KCrash::CrashFlags((*a0 & a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KCrash_CrashFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_KCrash_CrashFlags,NULL);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kdeui,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KCrash_CrashFlags___xor__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_KCrash_CrashFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    int sipArgsParsed = 0;

    {
        KCrash::CrashFlags * a0;
        int a0State = 0;
        KCrash::CrashFlags * a1;
        int a1State = 0;

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1J1",sipType_KCrash_CrashFlags,&a0,&a0State,sipType_KCrash_CrashFlags,&a1,&a1State))
        {
            KCrash::CrashFlags *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KCrash::CrashFlags((*a0 ^ *a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KCrash_CrashFlags,a0State);
            sipReleaseType(a1,sipType_KCrash_CrashFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_KCrash_CrashFlags,NULL);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kdeui,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KCrash_CrashFlags___or__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_KCrash_CrashFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    int sipArgsParsed = 0;

    {
        KCrash::CrashFlags * a0;
        int a0State = 0;
        KCrash::CrashFlags * a1;
        int a1State = 0;

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1J1",sipType_KCrash_CrashFlags,&a0,&a0State,sipType_KCrash_CrashFlags,&a1,&a1State))
        {
            KCrash::CrashFlags *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KCrash::CrashFlags((*a0 | *a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KCrash_CrashFlags,a0State);
            sipReleaseType(a1,sipType_KCrash_CrashFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_KCrash_CrashFlags,NULL);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kdeui,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KCrash_CrashFlags___int__(PyObject *sipSelf);}
static PyObject *slot_KCrash_CrashFlags___int__(PyObject *sipSelf)
{
    KCrash::CrashFlags *sipCpp = reinterpret_cast<KCrash::CrashFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KCrash_CrashFlags));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }
}


extern "C" {static PyObject *slot_KCrash_CrashFlags___ixor__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_KCrash_CrashFlags___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KCrash_CrashFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KCrash::CrashFlags *sipCpp = reinterpret_cast<KCrash::CrashFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KCrash_CrashFlags));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        KCrash::CrashFlags * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_KCrash_CrashFlags,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KCrash::CrashFlags::operator^=(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KCrash_CrashFlags,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KCrash_CrashFlags___ior__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_KCrash_CrashFlags___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KCrash_CrashFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KCrash::CrashFlags *sipCpp = reinterpret_cast<KCrash::CrashFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KCrash_CrashFlags));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        KCrash::CrashFlags * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_KCrash_CrashFlags,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KCrash::CrashFlags::operator|=(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KCrash_CrashFlags,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KCrash_CrashFlags___iand__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_KCrash_CrashFlags___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KCrash_CrashFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KCrash::CrashFlags *sipCpp = reinterpret_cast<KCrash::CrashFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KCrash_CrashFlags));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        int a0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1i",&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KCrash::CrashFlags::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KCrash_CrashFlags(void *, const sipTypeDef *);}
static void *cast_KCrash_CrashFlags(void *ptr,const sipTypeDef *targetType)
{
    if (targetType == sipType_KCrash_CrashFlags)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KCrash_CrashFlags(void *, int);}
static void release_KCrash_CrashFlags(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KCrash::CrashFlags *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KCrash_CrashFlags(void *, const void*);}
static void assign_KCrash_CrashFlags(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<KCrash::CrashFlags *>(sipDst) = *reinterpret_cast<const KCrash::CrashFlags *>(sipSrc);
}


extern "C" {static void dealloc_KCrash_CrashFlags(sipSimpleWrapper *);}
static void dealloc_KCrash_CrashFlags(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KCrash_CrashFlags(sipSelf->u.cppPtr,0);
    }
}


extern "C" {static void *init_KCrash_CrashFlags(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KCrash_CrashFlags(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    KCrash::CrashFlags *sipCpp = 0;

    if (!sipCpp)
    {
        const KCrash::CrashFlags * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1",sipType_KCrash_CrashFlags,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KCrash::CrashFlags(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<KCrash::CrashFlags *>(a0),sipType_KCrash_CrashFlags,a0State);
        }
    }

    if (!sipCpp)
    {
        int a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"i",&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KCrash::CrashFlags(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KCrash::CrashFlags();
            Py_END_ALLOW_THREADS
        }
    }

    return sipCpp;
}


extern "C" {static int convertTo_KCrash_CrashFlags(PyObject *, void **, int *, PyObject *);}
static int convertTo_KCrash_CrashFlags(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    KCrash::CrashFlags **sipCppPtr = reinterpret_cast<KCrash::CrashFlags **>(sipCppPtrV);

#line 276 "/usr/local/share/py-sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KCrash::CrashFlags is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KCrash_CrashFlag)) ||
            sipCanConvertToType(sipPy, sipType_KCrash_CrashFlags, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KCrash_CrashFlag)))
{
    *sipCppPtr = new KCrash::CrashFlags(SIPLong_AsLong(sipPy));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KCrash::CrashFlags *>(sipConvertToType(sipPy, sipType_KCrash_CrashFlags, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 15303 "sipkdeuipart3.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KCrash_CrashFlags[] = {
    {(void *)slot_KCrash_CrashFlags___bool__, bool_slot},
    {(void *)slot_KCrash_CrashFlags___ne__, ne_slot},
    {(void *)slot_KCrash_CrashFlags___eq__, eq_slot},
    {(void *)slot_KCrash_CrashFlags___invert__, invert_slot},
    {(void *)slot_KCrash_CrashFlags___and__, and_slot},
    {(void *)slot_KCrash_CrashFlags___xor__, xor_slot},
    {(void *)slot_KCrash_CrashFlags___or__, or_slot},
    {(void *)slot_KCrash_CrashFlags___int__, int_slot},
    {(void *)slot_KCrash_CrashFlags___ixor__, ixor_slot},
    {(void *)slot_KCrash_CrashFlags___ior__, ior_slot},
    {(void *)slot_KCrash_CrashFlags___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef pyqt4Type_kdeui_KCrash_CrashFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCrash__CrashFlags,
        {0}
    },
    sipNameNr_CrashFlags,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {62, 255, 0},
    0,
    slots_KCrash_CrashFlags,
    0, 0,
    0, 0,
    0, 0,
    init_KCrash_CrashFlags,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCrash_CrashFlags,
    release_KCrash_CrashFlags,
    cast_KCrash_CrashFlags,
    convertTo_KCrash_CrashFlags,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_KCrash_CrashFlags,
    0,
    1,
    0
};


#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 15372 "sipkdeuipart3.cpp"


extern "C" {static PyObject *meth_KCrash_setApplicationName(PyObject *,PyObject *);}
static PyObject *meth_KCrash_setApplicationName(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1",sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            KCrash::setApplicationName(*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. */
    sipNoFunction(sipArgsParsed,sipName_setApplicationName);

    return NULL;
}


extern "C" {static PyObject *meth_KCrash_setApplicationPath(PyObject *,PyObject *);}
static PyObject *meth_KCrash_setApplicationPath(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1",sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            KCrash::setApplicationPath(*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. */
    sipNoFunction(sipArgsParsed,sipName_setApplicationPath);

    return NULL;
}


extern "C" {static PyObject *meth_KCrash_setFlags(PyObject *,PyObject *);}
static PyObject *meth_KCrash_setFlags(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KCrash::CrashFlags * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1",sipType_KCrash_CrashFlags,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            KCrash::setFlags(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KCrash_CrashFlags,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_setFlags);

    return NULL;
}


extern "C" {static PyObject *meth_KCrash_defaultCrashHandler(PyObject *,PyObject *);}
static PyObject *meth_KCrash_defaultCrashHandler(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        int a0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"i",&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            KCrash::defaultCrashHandler(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_defaultCrashHandler);

    return NULL;
}


static PyMethodDef methods_KCrash[] = {
    {SIP_MLNAME_CAST(sipName_defaultCrashHandler), meth_KCrash_defaultCrashHandler, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setApplicationName), meth_KCrash_setApplicationName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setApplicationPath), meth_KCrash_setApplicationPath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFlags), meth_KCrash_setFlags, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KCrash[] = {
    {sipName_AlwaysDirectly, KCrash::AlwaysDirectly, 63},
    {sipName_AutoRestart, KCrash::AutoRestart, 63},
    {sipName_KeepFDs, KCrash::KeepFDs, 63},
    {sipName_SaferDialog, KCrash::SaferDialog, 63},
};


pyqt4ClassTypeDef pyqt4Type_kdeui_KCrash = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_NAMESPACE,
        sipNameNr_KCrash,
        {0}
    },
    sipNameNr_KCrash,
    -1,
    -1,
    {0, 0, 1},
    0,
    0,
    4, methods_KCrash,
    4, enummembers_KCrash,
    0, 0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 147 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kcompletion.sip"
#include <qmap.h>
#line 43 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 15552 "sipkdeuipart3.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 15556 "sipkdeuipart3.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 15559 "sipkdeuipart3.cpp"
#line 98 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kcompletion.sip"
#include <kcompletion.h>
#line 15562 "sipkdeuipart3.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 15565 "sipkdeuipart3.cpp"


extern "C" {static void assign_QMap_0200QString_0200QByteArray(void *, const void*);}
static void assign_QMap_0200QString_0200QByteArray(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<QMap<QString,QByteArray> *>(sipDst) = *reinterpret_cast<const QMap<QString,QByteArray> *>(sipSrc);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QMap_0200QString_0200QByteArray(void *, int);}
static void release_QMap_0200QString_0200QByteArray(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QMap<QString,QByteArray> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QMap_0200QString_0200QByteArray(PyObject *, void **, int *, PyObject *);}
static int convertTo_QMap_0200QString_0200QByteArray(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QMap<QString,QByteArray> **sipCppPtr = reinterpret_cast<QMap<QString,QByteArray> **>(sipCppPtrV);

#line 99 "/usr/local/share/py-sip/QtCore/qmap.sip"
    PyObject *t1obj, *t2obj;
    SIP_SSIZE_T i = 0;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PyDict_Check(sipPy))
            return 0;

        while (PyDict_Next(sipPy, &i, &t1obj, &t2obj))
        {
            if (!sipCanConvertToType(t1obj, sipType_QString, SIP_NOT_NONE))
                return 0;

            if (!sipCanConvertToType(t2obj, sipType_QByteArray, SIP_NOT_NONE))
                return 0;
        } 

        return 1;
    }

    QMap<QString, QByteArray> *qm = new QMap<QString, QByteArray>;
 
    while (PyDict_Next(sipPy, &i, &t1obj, &t2obj))
    {
        int state1, state2;

        QString *t1 = reinterpret_cast<QString *>(sipConvertToType(t1obj, sipType_QString, sipTransferObj, SIP_NOT_NONE, &state1, sipIsErr));
        QByteArray *t2 = reinterpret_cast<QByteArray *>(sipConvertToType(t2obj, sipType_QByteArray, sipTransferObj, SIP_NOT_NONE, &state2, sipIsErr));
 
        if (*sipIsErr)
        {
            sipReleaseType(t1, sipType_QString, state1);
            sipReleaseType(t2, sipType_QByteArray, state2);

            delete qm;
            return 0;
        }

        qm->insert(*t1, *t2);

        sipReleaseType(t1, sipType_QString, state1);
        sipReleaseType(t2, sipType_QByteArray, state2);
    }
 
    *sipCppPtr = qm;
 
    return sipGetState(sipTransferObj);
#line 15640 "sipkdeuipart3.cpp"
}


extern "C" {static PyObject *convertFrom_QMap_0200QString_0200QByteArray(void *, PyObject *);}
static PyObject *convertFrom_QMap_0200QString_0200QByteArray(void *sipCppV,PyObject *sipTransferObj)
{
   QMap<QString,QByteArray> *sipCpp = reinterpret_cast<QMap<QString,QByteArray> *>(sipCppV);

#line 47 "/usr/local/share/py-sip/QtCore/qmap.sip"
    // Create the dictionary.
    PyObject *d = PyDict_New();

    if (!d)
        return NULL;

    // Set the dictionary elements.
    QMap<QString, QByteArray>::const_iterator i = sipCpp->constBegin();

    while (i != sipCpp->constEnd())
    {
        QString *t1 = new QString(i.key());
        QByteArray *t2 = new QByteArray(i.value());

        PyObject *t1obj = sipConvertFromNewType(t1, sipType_QString, sipTransferObj);
        PyObject *t2obj = sipConvertFromNewType(t2, sipType_QByteArray, sipTransferObj);

        if (t1obj == NULL || t2obj == NULL || PyDict_SetItem(d, t1obj, t2obj) < 0)
        {
            Py_DECREF(d);

            if (t1obj)
            {
                Py_DECREF(t1obj);
            }
            else
            {
                delete t1;
            }

            if (t2obj)
            {
                Py_DECREF(t2obj);
            }
            else
            {
                delete t2;
            }

            return NULL;
        }

        Py_DECREF(t1obj);
        Py_DECREF(t2obj);

        ++i;
    }

    return d;
#line 15699 "sipkdeuipart3.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_kdeui_QMap_0200QString_0200QByteArray = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_4861,
        {0}
    },
    release_QMap_0200QString_0200QByteArray,
    convertTo_QMap_0200QString_0200QByteArray,
    convertFrom_QMap_0200QString_0200QByteArray
},
    assign_QMap_0200QString_0200QByteArray
};


extern "C" {static void assign_QMap_0500KCompletionBase_KeyBindingType_0200KShortcut(void *, const void*);}
static void assign_QMap_0500KCompletionBase_KeyBindingType_0200KShortcut(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<QMap<KCompletionBase::KeyBindingType,KShortcut> *>(sipDst) = *reinterpret_cast<const QMap<KCompletionBase::KeyBindingType,KShortcut> *>(sipSrc);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QMap_0500KCompletionBase_KeyBindingType_0200KShortcut(void *, int);}
static void release_QMap_0500KCompletionBase_KeyBindingType_0200KShortcut(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QMap<KCompletionBase::KeyBindingType,KShortcut> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QMap_0500KCompletionBase_KeyBindingType_0200KShortcut(PyObject *, void **, int *, PyObject *);}
static int convertTo_QMap_0500KCompletionBase_KeyBindingType_0200KShortcut(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QMap<KCompletionBase::KeyBindingType,KShortcut> **sipCppPtr = reinterpret_cast<QMap<KCompletionBase::KeyBindingType,KShortcut> **>(sipCppPtrV);

#line 192 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kcompletion.sip"
    PyObject *kobj, *tobj;
    SIP_SSIZE_T i = 0;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PyDict_Check(sipPy))
            return 0;

        while (PyDict_Next(sipPy, &i, &kobj, &tobj))
            if (!sipCanConvertToInstance(tobj, sipClass_KShortcut, SIP_NOT_NONE))
                return 0;

        return 1;
    }

    QMap<KCompletionBase::KeyBindingType, KShortcut> *qm = new QMap<KCompletionBase::KeyBindingType, KShortcut>;
 
    while (PyDict_Next(sipPy, &i, &kobj, &tobj))
    {
        int state;
        int k = PyInt_AsLong(kobj);
        KShortcut *t = reinterpret_cast<KShortcut *>(sipConvertToInstance(tobj, sipClass_KShortcut, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));
 
        if (*sipIsErr)
        {
            sipReleaseInstance(t, sipClass_KShortcut, state);

            delete qm;
            return 0;
        }

        qm->insert((KCompletionBase::KeyBindingType)k, *t);

        sipReleaseInstance(t, sipClass_KShortcut, state);
    }
 
    *sipCppPtr = qm;
 
    return sipGetState(sipTransferObj);
#line 15785 "sipkdeuipart3.cpp"
}


extern "C" {static PyObject *convertFrom_QMap_0500KCompletionBase_KeyBindingType_0200KShortcut(void *, PyObject *);}
static PyObject *convertFrom_QMap_0500KCompletionBase_KeyBindingType_0200KShortcut(void *sipCppV,PyObject *sipTransferObj)
{
   QMap<KCompletionBase::KeyBindingType,KShortcut> *sipCpp = reinterpret_cast<QMap<KCompletionBase::KeyBindingType,KShortcut> *>(sipCppV);

#line 151 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kcompletion.sip"
    // Create the dictionary.
    PyObject *d = PyDict_New();

    if (!d)
        return NULL;

    // Set the dictionary elements.
    QMap<KCompletionBase::KeyBindingType, KShortcut>::const_iterator i = sipCpp->constBegin();

    while (i != sipCpp->constEnd())
    {
        KShortcut *t = new KShortcut(i.value());

        PyObject *kobj = PyInt_FromLong((int)i.key());
        PyObject *tobj = sipConvertFromNewInstance(t, sipClass_KShortcut, sipTransferObj);

        if (kobj == NULL || tobj == NULL || PyDict_SetItem(d, kobj, tobj) < 0)
        {
            Py_DECREF(d);

            if (kobj)
                Py_DECREF(kobj);

            if (tobj)
                Py_DECREF(tobj);
            else
                delete t;

            return NULL;
        }

        Py_DECREF(kobj);
        Py_DECREF(tobj);

        ++i;
    }

    return d;
#line 15833 "sipkdeuipart3.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_kdeui_QMap_0500KCompletionBase_KeyBindingType_0200KShortcut = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_50,
        {0}
    },
    release_QMap_0500KCompletionBase_KeyBindingType_0200KShortcut,
    convertTo_QMap_0500KCompletionBase_KeyBindingType_0200KShortcut,
    convertFrom_QMap_0500KCompletionBase_KeyBindingType_0200KShortcut
},
    assign_QMap_0500KCompletionBase_KeyBindingType_0200KShortcut
};

#line 98 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kcompletion.sip"
#include <kcompletion.h>
#line 15856 "sipkdeuipart3.cpp"

#line 147 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kcompletion.sip"
#include <qmap.h>
#line 43 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 15862 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 15865 "sipkdeuipart3.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 15868 "sipkdeuipart3.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 15871 "sipkdeuipart3.cpp"
#line 31 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kcompletion.sip"
#include <kcompletion.h>
#line 15874 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 15877 "sipkdeuipart3.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kglobalsettings.sip"
#include <kglobalsettings.h>
#line 15880 "sipkdeuipart3.cpp"


class sipKCompletionBase : public KCompletionBase
{
public:
    sipKCompletionBase();
    virtual ~sipKCompletionBase();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    KCompletionBase::KeyBindingMap sipProtect_getKeyBindings() const;
    void sipProtect_setDelegate(KCompletionBase *);
    KCompletionBase * sipProtect_delegate() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void setCompletionObject(KCompletion *,bool);
    void setHandleSignals(bool);
    void setCompletionMode(KGlobalSettings::Completion);
    void setCompletedText(const QString&);
    void setCompletedItems(const QStringList&,bool);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKCompletionBase(const sipKCompletionBase &);
    sipKCompletionBase &operator = (const sipKCompletionBase &);

    char sipPyMethods[5];
};

sipKCompletionBase::sipKCompletionBase(): KCompletionBase(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKCompletionBase::~sipKCompletionBase()
{
    sipCommonDtor(sipPySelf);
}

void sipKCompletionBase::setCompletionObject(KCompletion *a0,bool a1)
{
    extern void sipVH_kdeui_36(sip_gilstate_t,PyObject *,KCompletion *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_setCompletionObject);

    if (!meth)
    {
        KCompletionBase::setCompletionObject(a0,a1);
        return;
    }

    sipVH_kdeui_36(sipGILState,meth,a0,a1);
}

void sipKCompletionBase::setHandleSignals(bool a0)
{
    typedef void (*sipVH_QtNetwork_2)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_setHandleSignals);

    if (!meth)
    {
        KCompletionBase::setHandleSignals(a0);
        return;
    }

    ((sipVH_QtNetwork_2)(sipModuleAPI_kdeui_QtNetwork->em_virthandlers[2]))(sipGILState,meth,a0);
}

void sipKCompletionBase::setCompletionMode(KGlobalSettings::Completion a0)
{
    extern void sipVH_kdeui_37(sip_gilstate_t,PyObject *,KGlobalSettings::Completion);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_setCompletionMode);

    if (!meth)
    {
        KCompletionBase::setCompletionMode(a0);
        return;
    }

    sipVH_kdeui_37(sipGILState,meth,a0);
}

void sipKCompletionBase::setCompletedText(const QString& a0)
{
    typedef void (*sipVH_QtCore_29)(sip_gilstate_t,PyObject *,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,sipName_KCompletionBase,sipName_setCompletedText);

    if (!meth)
        return;

    ((sipVH_QtCore_29)(sipModuleAPI_kdeui_QtCore->em_virthandlers[29]))(sipGILState,meth,a0);
}

void sipKCompletionBase::setCompletedItems(const QStringList& a0,bool a1)
{
    extern void sipVH_kdeui_60(sip_gilstate_t,PyObject *,const QStringList&,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,sipName_KCompletionBase,sipName_setCompletedItems);

    if (!meth)
        return;

    sipVH_kdeui_60(sipGILState,meth,a0,a1);
}

KCompletionBase::KeyBindingMap sipKCompletionBase::sipProtect_getKeyBindings() const
{
    return KCompletionBase::getKeyBindings();
}

void sipKCompletionBase::sipProtect_setDelegate(KCompletionBase *a0)
{
    KCompletionBase::setDelegate(a0);
}

KCompletionBase * sipKCompletionBase::sipProtect_delegate() const
{
    return KCompletionBase::delegate();
}


extern "C" {static PyObject *meth_KCompletionBase_completionObject(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBase_completionObject(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0 = 1;
        KCompletionBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B|b",&sipSelf,sipType_KCompletionBase,&sipCpp,&a0))
        {
            KCompletion *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->completionObject(a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KCompletion,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KCompletionBase,sipName_completionObject);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBase_setCompletionObject(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBase_setCompletionObject(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KCompletion * a0;
        bool a1 = 1;
        KCompletionBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8|b",&sipSelf,sipType_KCompletionBase,&sipCpp,sipType_KCompletion,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCompletionBase::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(sipArgsParsed,sipName_KCompletionBase,sipName_setCompletionObject);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBase_setHandleSignals(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBase_setHandleSignals(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        KCompletionBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_KCompletionBase,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCompletionBase::setHandleSignals(a0) : sipCpp->setHandleSignals(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KCompletionBase,sipName_setHandleSignals);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBase_isCompletionObjectAutoDeleted(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBase_isCompletionObjectAutoDeleted(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KCompletionBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCompletionBase,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isCompletionObjectAutoDeleted();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KCompletionBase,sipName_isCompletionObjectAutoDeleted);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBase_setAutoDeleteCompletionObject(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBase_setAutoDeleteCompletionObject(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        KCompletionBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_KCompletionBase,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAutoDeleteCompletionObject(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KCompletionBase,sipName_setAutoDeleteCompletionObject);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBase_setEnableSignals(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBase_setEnableSignals(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        KCompletionBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_KCompletionBase,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setEnableSignals(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KCompletionBase,sipName_setEnableSignals);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBase_handleSignals(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBase_handleSignals(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KCompletionBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCompletionBase,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->handleSignals();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KCompletionBase,sipName_handleSignals);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBase_emitSignals(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBase_emitSignals(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KCompletionBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCompletionBase,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->emitSignals();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KCompletionBase,sipName_emitSignals);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBase_setCompletionMode(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBase_setCompletionMode(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KGlobalSettings::Completion a0;
        KCompletionBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BE",&sipSelf,sipType_KCompletionBase,&sipCpp,sipType_KGlobalSettings_Completion,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCompletionBase::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(sipArgsParsed,sipName_KCompletionBase,sipName_setCompletionMode);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBase_completionMode(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBase_completionMode(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KCompletionBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCompletionBase,&sipCpp))
        {
            KGlobalSettings::Completion sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->completionMode();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KGlobalSettings_Completion);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KCompletionBase,sipName_completionMode);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBase_setKeyBinding(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBase_setKeyBinding(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KCompletionBase::KeyBindingType a0;
        const KShortcut * a1;
        KCompletionBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BEJ9",&sipSelf,sipType_KCompletionBase,&sipCpp,sipType_KCompletionBase_KeyBindingType,&a0,sipType_KShortcut,&a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->setKeyBinding(a0,*a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KCompletionBase,sipName_setKeyBinding);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBase_getKeyBinding(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBase_getKeyBinding(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KCompletionBase::KeyBindingType a0;
        KCompletionBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BE",&sipSelf,sipType_KCompletionBase,&sipCpp,sipType_KCompletionBase_KeyBindingType,&a0))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(sipCpp->getKeyBinding(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KCompletionBase,sipName_getKeyBinding);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBase_useGlobalKeyBindings(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBase_useGlobalKeyBindings(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KCompletionBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCompletionBase,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->useGlobalKeyBindings();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KCompletionBase,sipName_useGlobalKeyBindings);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBase_setCompletedText(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBase_setCompletedText(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        KCompletionBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KCompletionBase,&sipCpp,sipType_QString,&a0,&a0State))
        {
            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KCompletionBase, sipName_setCompletedText);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCompletedText(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KCompletionBase,sipName_setCompletedText);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBase_setCompletedItems(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBase_setCompletedItems(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QStringList * a0;
        int a0State = 0;
        bool a1 = 1;
        KCompletionBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1|b",&sipSelf,sipType_KCompletionBase,&sipCpp,sipType_QStringList,&a0,&a0State,&a1))
        {
            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KCompletionBase, sipName_setCompletedItems);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            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(sipArgsParsed,sipName_KCompletionBase,sipName_setCompletedItems);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBase_compObj(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBase_compObj(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KCompletionBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCompletionBase,&sipCpp))
        {
            KCompletion *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->compObj();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KCompletion,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KCompletionBase,sipName_compObj);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBase_getKeyBindings(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBase_getKeyBindings(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKCompletionBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KCompletionBase,&sipCpp))
        {
            KCompletionBase::KeyBindingMap *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KCompletionBase::KeyBindingMap(sipCpp->sipProtect_getKeyBindings());
            Py_END_ALLOW_THREADS

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_QMap_0500KCompletionBase_KeyBindingType_0200KShortcut,NULL);
            delete sipRes;

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KCompletionBase,sipName_getKeyBindings);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBase_setDelegate(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBase_setDelegate(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KCompletionBase * a0;
        sipKCompletionBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KCompletionBase,&sipCpp,sipType_KCompletionBase,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setDelegate(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KCompletionBase,sipName_setDelegate);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBase_delegate(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBase_delegate(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKCompletionBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KCompletionBase,&sipCpp))
        {
            KCompletionBase *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_delegate();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KCompletionBase,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KCompletionBase,sipName_delegate);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KCompletionBase(void *, const sipTypeDef *);}
static void *cast_KCompletionBase(void *ptr,const sipTypeDef *targetType)
{
    if (targetType == sipType_KCompletionBase)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KCompletionBase(void *, int);}
static void release_KCompletionBase(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKCompletionBase *>(sipCppV);
    else
        delete reinterpret_cast<KCompletionBase *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KCompletionBase(sipSimpleWrapper *);}
static void dealloc_KCompletionBase(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKCompletionBase *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KCompletionBase(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KCompletionBase(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KCompletionBase(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipKCompletionBase *sipCpp = 0;

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKCompletionBase();
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


static PyMethodDef methods_KCompletionBase[] = {
    {SIP_MLNAME_CAST(sipName_compObj), meth_KCompletionBase_compObj, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_completionMode), meth_KCompletionBase_completionMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_completionObject), meth_KCompletionBase_completionObject, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_delegate), meth_KCompletionBase_delegate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_emitSignals), meth_KCompletionBase_emitSignals, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getKeyBinding), meth_KCompletionBase_getKeyBinding, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getKeyBindings), meth_KCompletionBase_getKeyBindings, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_handleSignals), meth_KCompletionBase_handleSignals, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isCompletionObjectAutoDeleted), meth_KCompletionBase_isCompletionObjectAutoDeleted, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAutoDeleteCompletionObject), meth_KCompletionBase_setAutoDeleteCompletionObject, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCompletedItems), meth_KCompletionBase_setCompletedItems, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCompletedText), meth_KCompletionBase_setCompletedText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCompletionMode), meth_KCompletionBase_setCompletionMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCompletionObject), meth_KCompletionBase_setCompletionObject, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDelegate), meth_KCompletionBase_setDelegate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setEnableSignals), meth_KCompletionBase_setEnableSignals, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHandleSignals), meth_KCompletionBase_setHandleSignals, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setKeyBinding), meth_KCompletionBase_setKeyBinding, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_useGlobalKeyBindings), meth_KCompletionBase_useGlobalKeyBindings, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KCompletionBase[] = {
    {sipName_NextCompletionMatch, KCompletionBase::NextCompletionMatch, 55},
    {sipName_PrevCompletionMatch, KCompletionBase::PrevCompletionMatch, 55},
    {sipName_SubstringCompletion, KCompletionBase::SubstringCompletion, 55},
    {sipName_TextCompletion, KCompletionBase::TextCompletion, 55},
};


pyqt4ClassTypeDef pyqt4Type_kdeui_KCompletionBase = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_KCompletionBase,
        {0}
    },
    sipNameNr_KCompletionBase,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {0, 0, 1},
    0,
    0,
    19, methods_KCompletionBase,
    4, enummembers_KCompletionBase,
    0, 0,
    init_KCompletionBase,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCompletionBase,
    release_KCompletionBase,
    cast_KCompletionBase,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 31 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kcompletion.sip"
#include <kcompletion.h>
#line 16710 "sipkdeuipart3.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 16714 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 16717 "sipkdeuipart3.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kglobalsettings.sip"
#include <kglobalsettings.h>
#line 16720 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 16723 "sipkdeuipart3.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 16726 "sipkdeuipart3.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 16729 "sipkdeuipart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 16732 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 16735 "sipkdeuipart3.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 16766 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 16769 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 16772 "sipkdeuipart3.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 16775 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 16778 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 16781 "sipkdeuipart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 16784 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 16787 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 16790 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 16793 "sipkdeuipart3.cpp"


class sipKCompletion : public KCompletion
{
public:
    sipKCompletion();
    virtual ~sipKCompletion();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    void sipProtectVirt_postProcessMatch(bool,QString *) const;
    void sipProtectVirt_postProcessMatches(bool,QStringList *) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QString makeCompletion(const QString&);
    const QString& lastMatch() const;
    void setCompletionMode(KGlobalSettings::Completion);
    void setOrder(KCompletion::CompOrder);
    void setIgnoreCase(bool);
    void setSoundsEnabled(bool);
    void setItems(const QStringList&);
    void clear();
    void postProcessMatch(QString *) const;
    void postProcessMatches(QStringList *) 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:
    sipKCompletion(const sipKCompletion &);
    sipKCompletion &operator = (const sipKCompletion &);

    char sipPyMethods[17];
};

sipKCompletion::sipKCompletion(): KCompletion(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKCompletion::~sipKCompletion()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKCompletion::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KCompletion);
}

int sipKCompletion::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KCompletion::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KCompletion,_c,_id,_a);

    return _id;
}

void *sipKCompletion::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast && sip_kdeui_qt_metacast(sipPySelf,sipType_KCompletion,_clname)) ? this : KCompletion::qt_metacast(_clname);
}

QString sipKCompletion::makeCompletion(const QString& a0)
{
    typedef QString (*sipVH_QtCore_0)(sip_gilstate_t,PyObject *,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_makeCompletion);

    if (!meth)
        return KCompletion::makeCompletion(a0);

    return ((sipVH_QtCore_0)(sipModuleAPI_kdeui_QtCore->em_virthandlers[0]))(sipGILState,meth,a0);
}

const QString& sipKCompletion::lastMatch() const
{
    extern const QString& sipVH_kdeui_52(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_lastMatch);

    if (!meth)
        return KCompletion::lastMatch();

    return sipVH_kdeui_52(sipGILState,meth);
}

void sipKCompletion::setCompletionMode(KGlobalSettings::Completion a0)
{
    extern void sipVH_kdeui_37(sip_gilstate_t,PyObject *,KGlobalSettings::Completion);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_setCompletionMode);

    if (!meth)
    {
        KCompletion::setCompletionMode(a0);
        return;
    }

    sipVH_kdeui_37(sipGILState,meth,a0);
}

void sipKCompletion::setOrder(KCompletion::CompOrder a0)
{
    extern void sipVH_kdeui_63(sip_gilstate_t,PyObject *,KCompletion::CompOrder);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_setOrder);

    if (!meth)
    {
        KCompletion::setOrder(a0);
        return;
    }

    sipVH_kdeui_63(sipGILState,meth,a0);
}

void sipKCompletion::setIgnoreCase(bool a0)
{
    typedef void (*sipVH_QtNetwork_2)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_setIgnoreCase);

    if (!meth)
    {
        KCompletion::setIgnoreCase(a0);
        return;
    }

    ((sipVH_QtNetwork_2)(sipModuleAPI_kdeui_QtNetwork->em_virthandlers[2]))(sipGILState,meth,a0);
}

void sipKCompletion::setSoundsEnabled(bool a0)
{
    typedef void (*sipVH_QtNetwork_2)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_setSoundsEnabled);

    if (!meth)
    {
        KCompletion::setSoundsEnabled(a0);
        return;
    }

    ((sipVH_QtNetwork_2)(sipModuleAPI_kdeui_QtNetwork->em_virthandlers[2]))(sipGILState,meth,a0);
}

void sipKCompletion::setItems(const QStringList& a0)
{
    typedef void (*sipVH_kdecore_51)(sip_gilstate_t,PyObject *,const QStringList&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_setItems);

    if (!meth)
    {
        KCompletion::setItems(a0);
        return;
    }

    ((sipVH_kdecore_51)(sipModuleAPI_kdeui_kdecore->em_virthandlers[51]))(sipGILState,meth,a0);
}

void sipKCompletion::clear()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_clear);

    if (!meth)
    {
        KCompletion::clear();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipKCompletion::postProcessMatch(QString *a0) const
{
    extern void sipVH_kdeui_62(sip_gilstate_t,PyObject *,QString *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_postProcessMatch);

    if (!meth)
    {
        KCompletion::postProcessMatch(a0);
        return;
    }

    sipVH_kdeui_62(sipGILState,meth,a0);
}

void sipKCompletion::postProcessMatches(QStringList *a0) const
{
    extern void sipVH_kdeui_61(sip_gilstate_t,PyObject *,QStringList *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_postProcessMatches);

    if (!meth)
    {
        KCompletion::postProcessMatches(a0);
        return;
    }

    sipVH_kdeui_61(sipGILState,meth,a0);
}

bool sipKCompletion::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QObject::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_kdeui_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipKCompletion::eventFilter(QObject *a0,QEvent *a1)
{
    typedef bool (*sipVH_QtCore_21)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_eventFilter);

    if (!meth)
        return QObject::eventFilter(a0,a1);

    return ((sipVH_QtCore_21)(sipModuleAPI_kdeui_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

void sipKCompletion::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    ((sipVH_QtCore_3)(sipModuleAPI_kdeui_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKCompletion::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    ((sipVH_QtCore_20)(sipModuleAPI_kdeui_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKCompletion::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kdeui_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKCompletion::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKCompletion::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

int sipKCompletion::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKCompletion::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKCompletion::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKCompletion::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKCompletion::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKCompletion::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

void sipKCompletion::sipProtectVirt_postProcessMatch(bool sipSelfWasArg,QString *a0) const
{
    (sipSelfWasArg ? KCompletion::postProcessMatch(a0) : postProcessMatch(a0));
}

void sipKCompletion::sipProtectVirt_postProcessMatches(bool sipSelfWasArg,QStringList *a0) const
{
    (sipSelfWasArg ? KCompletion::postProcessMatches(a0) : postProcessMatches(a0));
}


extern "C" {static PyObject *meth_KCompletion_receivers(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipKCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KCompletion,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 17242 "sipkdeuipart3.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KCompletion,sipName_receivers);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KCompletion,&sipCpp,sipType_QTimerEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KCompletion,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KCompletion,&sipCpp,sipType_QChildEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KCompletion,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KCompletion,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KCompletion,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KCompletion,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KCompletion,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KCompletion,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KCompletion,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_makeCompletion(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_makeCompletion(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        KCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KCompletion,&sipCpp,sipType_QString,&a0,&a0State))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString((sipSelfWasArg ? sipCpp->KCompletion::makeCompletion(*a0) : sipCpp->makeCompletion(*a0)));
            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(sipArgsParsed,sipName_KCompletion,sipName_makeCompletion);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_substringCompletion(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_substringCompletion(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KCompletion,&sipCpp,sipType_QString,&a0,&a0State))
        {
            QStringList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->substringCompletion(*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(sipArgsParsed,sipName_KCompletion,sipName_substringCompletion);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_previousMatch(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_previousMatch(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCompletion,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->previousMatch());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KCompletion,sipName_previousMatch);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_nextMatch(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_nextMatch(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCompletion,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->nextMatch());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KCompletion,sipName_nextMatch);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_lastMatch(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_lastMatch(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCompletion,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString((sipSelfWasArg ? sipCpp->KCompletion::lastMatch() : sipCpp->lastMatch()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KCompletion,sipName_lastMatch);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_items(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_items(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCompletion,&sipCpp))
        {
            QStringList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->items());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KCompletion,sipName_items);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_isEmpty(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_isEmpty(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCompletion,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isEmpty();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KCompletion,sipName_isEmpty);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_setCompletionMode(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_setCompletionMode(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KGlobalSettings::Completion a0;
        KCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BE",&sipSelf,sipType_KCompletion,&sipCpp,sipType_KGlobalSettings_Completion,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCompletion::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(sipArgsParsed,sipName_KCompletion,sipName_setCompletionMode);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_completionMode(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_completionMode(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCompletion,&sipCpp))
        {
            KGlobalSettings::Completion sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->completionMode();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KGlobalSettings_Completion);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KCompletion,sipName_completionMode);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_setOrder(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_setOrder(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KCompletion::CompOrder a0;
        KCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BE",&sipSelf,sipType_KCompletion,&sipCpp,sipType_KCompletion_CompOrder,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCompletion::setOrder(a0) : sipCpp->setOrder(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KCompletion,sipName_setOrder);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_order(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_order(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCompletion,&sipCpp))
        {
            KCompletion::CompOrder sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->order();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KCompletion_CompOrder);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KCompletion,sipName_order);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_setIgnoreCase(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_setIgnoreCase(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        KCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_KCompletion,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCompletion::setIgnoreCase(a0) : sipCpp->setIgnoreCase(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KCompletion,sipName_setIgnoreCase);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_ignoreCase(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_ignoreCase(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCompletion,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->ignoreCase();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KCompletion,sipName_ignoreCase);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_allMatches(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_allMatches(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCompletion,&sipCpp))
        {
            QStringList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->allMatches());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    {
        const QString * a0;
        int a0State = 0;
        KCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KCompletion,&sipCpp,sipType_QString,&a0,&a0State))
        {
            QStringList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->allMatches(*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(sipArgsParsed,sipName_KCompletion,sipName_allMatches);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_setSoundsEnabled(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_setSoundsEnabled(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        KCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_KCompletion,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCompletion::setSoundsEnabled(a0) : sipCpp->setSoundsEnabled(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KCompletion,sipName_setSoundsEnabled);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_soundsEnabled(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_soundsEnabled(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCompletion,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->soundsEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KCompletion,sipName_soundsEnabled);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_hasMultipleMatches(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_hasMultipleMatches(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCompletion,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasMultipleMatches();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KCompletion,sipName_hasMultipleMatches);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_slotMakeCompletion(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_slotMakeCompletion(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KCompletion,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotMakeCompletion(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KCompletion,sipName_slotMakeCompletion);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_slotPreviousMatch(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_slotPreviousMatch(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCompletion,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotPreviousMatch();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KCompletion,sipName_slotPreviousMatch);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_slotNextMatch(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_slotNextMatch(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCompletion,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotNextMatch();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KCompletion,sipName_slotNextMatch);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_insertItems(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_insertItems(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QStringList * a0;
        int a0State = 0;
        KCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KCompletion,&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(sipArgsParsed,sipName_KCompletion,sipName_insertItems);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_setItems(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_setItems(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QStringList * a0;
        int a0State = 0;
        KCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KCompletion,&sipCpp,sipType_QStringList,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCompletion::setItems(*a0) : sipCpp->setItems(*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(sipArgsParsed,sipName_KCompletion,sipName_setItems);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_addItem(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_addItem(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KCompletion,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addItem(*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;
        uint a1;
        KCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1u",&sipSelf,sipType_KCompletion,&sipCpp,sipType_QString,&a0,&a0State,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addItem(*a0,a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KCompletion,sipName_addItem);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_removeItem(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_removeItem(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KCompletion,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeItem(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KCompletion,sipName_removeItem);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_clear(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_clear(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCompletion,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCompletion::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(sipArgsParsed,sipName_KCompletion,sipName_clear);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_postProcessMatch(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_postProcessMatch(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QString * a0;
        int a0State = 0;
        sipKCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ0",&sipSelf,sipType_KCompletion,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_postProcessMatch(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KCompletion,sipName_postProcessMatch);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_postProcessMatches(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_postProcessMatches(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QStringList * a0;
        int a0State = 0;
        sipKCompletion *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ0",&sipSelf,sipType_KCompletion,&sipCpp,sipType_QStringList,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_postProcessMatches(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KCompletion,sipName_postProcessMatches);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KCompletion(void *, const sipTypeDef *);}
static void *cast_KCompletion(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KCompletion)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(KCompletion *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KCompletion(void *, int);}
static void release_KCompletion(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKCompletion *>(sipCppV);
    else
        delete reinterpret_cast<KCompletion *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KCompletion(sipSimpleWrapper *);}
static void dealloc_KCompletion(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKCompletion *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KCompletion(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KCompletion(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KCompletion(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipKCompletion *sipCpp = 0;

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKCompletion();
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KCompletion[] = {{111, 0, 1}};


static PyMethodDef methods_KCompletion[] = {
    {SIP_MLNAME_CAST(sipName_addItem), meth_KCompletion_addItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_allMatches), meth_KCompletion_allMatches, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KCompletion_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clear), meth_KCompletion_clear, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_completionMode), meth_KCompletion_completionMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KCompletion_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KCompletion_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KCompletion_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasMultipleMatches), meth_KCompletion_hasMultipleMatches, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ignoreCase), meth_KCompletion_ignoreCase, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_insertItems), meth_KCompletion_insertItems, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isEmpty), meth_KCompletion_isEmpty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_items), meth_KCompletion_items, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_lastMatch), meth_KCompletion_lastMatch, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_makeCompletion), meth_KCompletion_makeCompletion, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_nextMatch), meth_KCompletion_nextMatch, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_order), meth_KCompletion_order, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_postProcessMatch), meth_KCompletion_postProcessMatch, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_postProcessMatches), meth_KCompletion_postProcessMatches, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_previousMatch), meth_KCompletion_previousMatch, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KCompletion_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeItem), meth_KCompletion_removeItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCompletionMode), meth_KCompletion_setCompletionMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIgnoreCase), meth_KCompletion_setIgnoreCase, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setItems), meth_KCompletion_setItems, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOrder), meth_KCompletion_setOrder, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSoundsEnabled), meth_KCompletion_setSoundsEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotMakeCompletion), meth_KCompletion_slotMakeCompletion, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotNextMatch), meth_KCompletion_slotNextMatch, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotPreviousMatch), meth_KCompletion_slotPreviousMatch, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_soundsEnabled), meth_KCompletion_soundsEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_substringCompletion), meth_KCompletion_substringCompletion, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KCompletion_timerEvent, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KCompletion[] = {
    {sipName_Insertion, KCompletion::Insertion, 53},
    {sipName_Sorted, KCompletion::Sorted, 53},
    {sipName_Weighted, KCompletion::Weighted, 53},
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KCompletion[] = {
    {"multipleMatches()", 0},
    {"matches(const QStringList&)", 0},
    {"match(const QString&)", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_kdeui_KCompletion = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KCompletion,
        {0}
    },
    sipNameNr_KCompletion,
    -1,
    -1,
    {0, 0, 1},
    supers_KCompletion,
    0,
    33, methods_KCompletion,
    3, enummembers_KCompletion,
    0, 0,
    init_KCompletion,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCompletion,
    release_KCompletion,
    cast_KCompletion,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KCompletion::staticMetaObject,
    0,
    pyqt4_signals_KCompletion
};


#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 18368 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 18371 "sipkdeuipart3.cpp"


extern "C" {static PyObject *meth_KAccelGen_generate(PyObject *,PyObject *);}
static PyObject *meth_KAccelGen_generate(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QStringList * a0;
        int a0State = 0;
        QStringList * a1;
        int a1State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1J1",sipType_QStringList,&a0,&a0State,sipType_QStringList,&a1,&a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            KAccelGen::generate(*a0,*a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);
            sipReleaseType(a1,sipType_QStringList,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_generate);

    return NULL;
}


extern "C" {static PyObject *meth_KAccelGen_isLegalAccelerator(PyObject *,PyObject *);}
static PyObject *meth_KAccelGen_isLegalAccelerator(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        int a1;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1i",sipType_QString,&a0,&a0State,&a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KAccelGen::isLegalAccelerator(*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. */
    sipNoFunction(sipArgsParsed,sipName_isLegalAccelerator);

    return NULL;
}


static PyMethodDef methods_KAccelGen[] = {
    {SIP_MLNAME_CAST(sipName_generate), meth_KAccelGen_generate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isLegalAccelerator), meth_KAccelGen_isLegalAccelerator, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kdeui_KAccelGen = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_NAMESPACE,
        sipNameNr_KAccelGen,
        {0}
    },
    sipNameNr_KAccelGen,
    -1,
    -1,
    {0, 0, 1},
    0,
    0,
    2, methods_KAccelGen,
    0, 0,
    0, 0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/highlighter.sip"
#include <sonnet/highlighter.h>
#line 18490 "sipkdeuipart3.cpp"

#line 46 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 56 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 18496 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 18499 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qcolor.sip"
#include <qcolor.h>
#line 18502 "sipkdeuipart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 18505 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 18508 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 18511 "sipkdeuipart3.cpp"
#line 149 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 175 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 18516 "sipkdeuipart3.cpp"
#line 270 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 18519 "sipkdeuipart3.cpp"
#line 317 "/usr/local/share/py-sip/QtGui/qtextformat.sip"
#include <qtextformat.h>
#line 18522 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 18525 "sipkdeuipart3.cpp"
#line 71 "/usr/local/share/py-sip/QtGui/qtextdocument.sip"
#include <qtextdocument.h>
#line 18528 "sipkdeuipart3.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 18531 "sipkdeuipart3.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 18534 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 18537 "sipkdeuipart3.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 18568 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 18571 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 18574 "sipkdeuipart3.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 18577 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 18580 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 18583 "sipkdeuipart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 18586 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 18589 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 18592 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 18595 "sipkdeuipart3.cpp"


class sipSonnet_Highlighter : public Sonnet::Highlighter
{
public:
    sipSonnet_Highlighter(QTextEdit *,const QString&,const QColor&);
    virtual ~sipSonnet_Highlighter();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    void sipProtect_setFormat(int,int,const QTextCharFormat&);
    void sipProtect_setFormat(int,int,const QColor&);
    void sipProtect_setFormat(int,int,const QFont&);
    QTextCharFormat sipProtect_format(int) const;
    int sipProtect_previousBlockState() const;
    int sipProtect_currentBlockState() const;
    void sipProtect_setCurrentBlockState(int);
    void sipProtect_setCurrentBlockUserData(QTextBlockUserData *);
    QTextBlockUserData * sipProtect_currentBlockUserData() const;
    QTextBlock sipProtect_currentBlock() const;
    void sipProtectVirt_highlightBlock(bool,const QString&);
    void sipProtectVirt_setMisspelled(bool,int,int);
    void sipProtectVirt_unsetMisspelled(bool,int,int);
    bool sipProtectVirt_eventFilter(bool,QObject *,QEvent *);
    bool sipProtect_intraWordEditing() const;
    void sipProtect_setIntraWordEditing(bool);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void highlightBlock(const QString&);
    void setMisspelled(int,int);
    void unsetMisspelled(int,int);
    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:
    sipSonnet_Highlighter(const sipSonnet_Highlighter &);
    sipSonnet_Highlighter &operator = (const sipSonnet_Highlighter &);

    char sipPyMethods[10];
};

sipSonnet_Highlighter::sipSonnet_Highlighter(QTextEdit *a0,const QString& a1,const QColor& a2): Sonnet::Highlighter(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipSonnet_Highlighter::~sipSonnet_Highlighter()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipSonnet_Highlighter::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_Sonnet_Highlighter);
}

int sipSonnet_Highlighter::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Sonnet::Highlighter::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_Sonnet_Highlighter,_c,_id,_a);

    return _id;
}

void *sipSonnet_Highlighter::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast && sip_kdeui_qt_metacast(sipPySelf,sipType_Sonnet_Highlighter,_clname)) ? this : Sonnet::Highlighter::qt_metacast(_clname);
}

void sipSonnet_Highlighter::highlightBlock(const QString& a0)
{
    typedef void (*sipVH_QtCore_29)(sip_gilstate_t,PyObject *,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_highlightBlock);

    if (!meth)
    {
        Sonnet::Highlighter::highlightBlock(a0);
        return;
    }

    ((sipVH_QtCore_29)(sipModuleAPI_kdeui_QtCore->em_virthandlers[29]))(sipGILState,meth,a0);
}

void sipSonnet_Highlighter::setMisspelled(int a0,int a1)
{
    typedef void (*sipVH_QtGui_32)(sip_gilstate_t,PyObject *,int,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_setMisspelled);

    if (!meth)
    {
        Sonnet::Highlighter::setMisspelled(a0,a1);
        return;
    }

    ((sipVH_QtGui_32)(sipModuleAPI_kdeui_QtGui->em_virthandlers[32]))(sipGILState,meth,a0,a1);
}

void sipSonnet_Highlighter::unsetMisspelled(int a0,int a1)
{
    typedef void (*sipVH_QtGui_32)(sip_gilstate_t,PyObject *,int,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_unsetMisspelled);

    if (!meth)
    {
        Sonnet::Highlighter::unsetMisspelled(a0,a1);
        return;
    }

    ((sipVH_QtGui_32)(sipModuleAPI_kdeui_QtGui->em_virthandlers[32]))(sipGILState,meth,a0,a1);
}

bool sipSonnet_Highlighter::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QObject::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_kdeui_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipSonnet_Highlighter::eventFilter(QObject *a0,QEvent *a1)
{
    typedef bool (*sipVH_QtCore_21)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_eventFilter);

    if (!meth)
        return Sonnet::Highlighter::eventFilter(a0,a1);

    return ((sipVH_QtCore_21)(sipModuleAPI_kdeui_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

void sipSonnet_Highlighter::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    ((sipVH_QtCore_3)(sipModuleAPI_kdeui_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipSonnet_Highlighter::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    ((sipVH_QtCore_20)(sipModuleAPI_kdeui_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipSonnet_Highlighter::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kdeui_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipSonnet_Highlighter::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipSonnet_Highlighter::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

int sipSonnet_Highlighter::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipSonnet_Highlighter::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipSonnet_Highlighter::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipSonnet_Highlighter::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipSonnet_Highlighter::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipSonnet_Highlighter::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

void sipSonnet_Highlighter::sipProtect_setFormat(int a0,int a1,const QTextCharFormat& a2)
{
    QSyntaxHighlighter::setFormat(a0,a1,a2);
}

void sipSonnet_Highlighter::sipProtect_setFormat(int a0,int a1,const QColor& a2)
{
    QSyntaxHighlighter::setFormat(a0,a1,a2);
}

void sipSonnet_Highlighter::sipProtect_setFormat(int a0,int a1,const QFont& a2)
{
    QSyntaxHighlighter::setFormat(a0,a1,a2);
}

QTextCharFormat sipSonnet_Highlighter::sipProtect_format(int a0) const
{
    return QSyntaxHighlighter::format(a0);
}

int sipSonnet_Highlighter::sipProtect_previousBlockState() const
{
    return QSyntaxHighlighter::previousBlockState();
}

int sipSonnet_Highlighter::sipProtect_currentBlockState() const
{
    return QSyntaxHighlighter::currentBlockState();
}

void sipSonnet_Highlighter::sipProtect_setCurrentBlockState(int a0)
{
    QSyntaxHighlighter::setCurrentBlockState(a0);
}

void sipSonnet_Highlighter::sipProtect_setCurrentBlockUserData(QTextBlockUserData *a0)
{
    QSyntaxHighlighter::setCurrentBlockUserData(a0);
}

QTextBlockUserData * sipSonnet_Highlighter::sipProtect_currentBlockUserData() const
{
    return QSyntaxHighlighter::currentBlockUserData();
}

QTextBlock sipSonnet_Highlighter::sipProtect_currentBlock() const
{
    return QSyntaxHighlighter::currentBlock();
}

void sipSonnet_Highlighter::sipProtectVirt_highlightBlock(bool sipSelfWasArg,const QString& a0)
{
    (sipSelfWasArg ? Sonnet::Highlighter::highlightBlock(a0) : highlightBlock(a0));
}

void sipSonnet_Highlighter::sipProtectVirt_setMisspelled(bool sipSelfWasArg,int a0,int a1)
{
    (sipSelfWasArg ? Sonnet::Highlighter::setMisspelled(a0,a1) : setMisspelled(a0,a1));
}

void sipSonnet_Highlighter::sipProtectVirt_unsetMisspelled(bool sipSelfWasArg,int a0,int a1)
{
    (sipSelfWasArg ? Sonnet::Highlighter::unsetMisspelled(a0,a1) : unsetMisspelled(a0,a1));
}

bool sipSonnet_Highlighter::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject *a0,QEvent *a1)
{
    return (sipSelfWasArg ? Sonnet::Highlighter::eventFilter(a0,a1) : eventFilter(a0,a1));
}

bool sipSonnet_Highlighter::sipProtect_intraWordEditing() const
{
    return Sonnet::Highlighter::intraWordEditing();
}

void sipSonnet_Highlighter::sipProtect_setIntraWordEditing(bool a0)
{
    Sonnet::Highlighter::setIntraWordEditing(a0);
}


extern "C" {static PyObject *meth_Sonnet_Highlighter_receivers(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Highlighter_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipSonnet_Highlighter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Sonnet_Highlighter,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 19001 "sipkdeuipart3.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Highlighter,sipName_receivers);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Highlighter_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Highlighter_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipSonnet_Highlighter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_Highlighter,&sipCpp,sipType_QTimerEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Highlighter,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Highlighter_childEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Highlighter_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipSonnet_Highlighter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_Highlighter,&sipCpp,sipType_QChildEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Highlighter,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Highlighter_customEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Highlighter_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipSonnet_Highlighter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_Highlighter,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Highlighter,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Highlighter_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Highlighter_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipSonnet_Highlighter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Sonnet_Highlighter,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Highlighter,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Highlighter_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Highlighter_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipSonnet_Highlighter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Sonnet_Highlighter,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Highlighter,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Highlighter_setFormat(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Highlighter_setFormat(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        int a0;
        int a1;
        const QTextCharFormat * a2;
        sipSonnet_Highlighter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"piiJ9",&sipSelf,sipType_Sonnet_Highlighter,&sipCpp,&a0,&a1,sipType_QTextCharFormat,&a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setFormat(a0,a1,*a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        int a0;
        int a1;
        const QColor * a2;
        int a2State = 0;
        sipSonnet_Highlighter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"piiJ1",&sipSelf,sipType_Sonnet_Highlighter,&sipCpp,&a0,&a1,sipType_QColor,&a2,&a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setFormat(a0,a1,*a2);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QColor *>(a2),sipType_QColor,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        int a0;
        int a1;
        const QFont * a2;
        sipSonnet_Highlighter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"piiJ9",&sipSelf,sipType_Sonnet_Highlighter,&sipCpp,&a0,&a1,sipType_QFont,&a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setFormat(a0,a1,*a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Highlighter,sipName_setFormat);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Highlighter_format(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Highlighter_format(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        int a0;
        sipSonnet_Highlighter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pi",&sipSelf,sipType_Sonnet_Highlighter,&sipCpp,&a0))
        {
            QTextCharFormat *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QTextCharFormat(sipCpp->sipProtect_format(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QTextCharFormat,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Highlighter,sipName_format);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Highlighter_previousBlockState(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Highlighter_previousBlockState(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipSonnet_Highlighter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Sonnet_Highlighter,&sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_previousBlockState();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Highlighter,sipName_previousBlockState);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Highlighter_currentBlockState(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Highlighter_currentBlockState(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipSonnet_Highlighter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Sonnet_Highlighter,&sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_currentBlockState();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Highlighter,sipName_currentBlockState);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Highlighter_setCurrentBlockState(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Highlighter_setCurrentBlockState(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        int a0;
        sipSonnet_Highlighter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pi",&sipSelf,sipType_Sonnet_Highlighter,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setCurrentBlockState(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Highlighter,sipName_setCurrentBlockState);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Highlighter_setCurrentBlockUserData(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Highlighter_setCurrentBlockUserData(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        QTextBlockUserData * a0;
        sipSonnet_Highlighter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_Highlighter,&sipCpp,sipType_QTextBlockUserData,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setCurrentBlockUserData(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Highlighter,sipName_setCurrentBlockUserData);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Highlighter_currentBlockUserData(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Highlighter_currentBlockUserData(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipSonnet_Highlighter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Sonnet_Highlighter,&sipCpp))
        {
            QTextBlockUserData *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_currentBlockUserData();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QTextBlockUserData,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Highlighter,sipName_currentBlockUserData);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Highlighter_currentBlock(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Highlighter_currentBlock(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipSonnet_Highlighter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Sonnet_Highlighter,&sipCpp))
        {
            QTextBlock *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QTextBlock(sipCpp->sipProtect_currentBlock());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QTextBlock,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Highlighter,sipName_currentBlock);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Highlighter_spellCheckerFound(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Highlighter_spellCheckerFound(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Sonnet::Highlighter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Sonnet_Highlighter,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->spellCheckerFound();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Highlighter,sipName_spellCheckerFound);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Highlighter_currentLanguage(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Highlighter_currentLanguage(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Sonnet::Highlighter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Sonnet_Highlighter,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->currentLanguage());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Highlighter,sipName_currentLanguage);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Highlighter_setCurrentLanguage(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Highlighter_setCurrentLanguage(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        Sonnet::Highlighter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_Sonnet_Highlighter,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCurrentLanguage(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Highlighter,sipName_setCurrentLanguage);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Highlighter_personalWords(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Highlighter_personalWords(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            QStringList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(Sonnet::Highlighter::personalWords());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Highlighter,sipName_personalWords);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Highlighter_setActive(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Highlighter_setActive(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        Sonnet::Highlighter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_Sonnet_Highlighter,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setActive(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Highlighter,sipName_setActive);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Highlighter_isActive(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Highlighter_isActive(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Sonnet::Highlighter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Sonnet_Highlighter,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isActive();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Highlighter,sipName_isActive);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Highlighter_automatic(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Highlighter_automatic(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Sonnet::Highlighter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Sonnet_Highlighter,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->automatic();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Highlighter,sipName_automatic);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Highlighter_setAutomatic(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Highlighter_setAutomatic(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        Sonnet::Highlighter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_Sonnet_Highlighter,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAutomatic(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Highlighter,sipName_setAutomatic);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Highlighter_addWordToDictionary(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Highlighter_addWordToDictionary(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        Sonnet::Highlighter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_Sonnet_Highlighter,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addWordToDictionary(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Highlighter,sipName_addWordToDictionary);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Highlighter_ignoreWord(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Highlighter_ignoreWord(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        Sonnet::Highlighter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_Sonnet_Highlighter,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->ignoreWord(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Highlighter,sipName_ignoreWord);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Highlighter_suggestionsForWord(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Highlighter_suggestionsForWord(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        int a1 = 10;
        Sonnet::Highlighter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1|i",&sipSelf,sipType_Sonnet_Highlighter,&sipCpp,sipType_QString,&a0,&a0State,&a1))
        {
            QStringList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->suggestionsForWord(*a0,a1));
            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(sipArgsParsed,sipName_Highlighter,sipName_suggestionsForWord);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Highlighter_isWordMisspelled(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Highlighter_isWordMisspelled(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        Sonnet::Highlighter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_Sonnet_Highlighter,&sipCpp,sipType_QString,&a0,&a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isWordMisspelled(*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(sipArgsParsed,sipName_Highlighter,sipName_isWordMisspelled);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Highlighter_setMisspelledColor(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Highlighter_setMisspelledColor(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QColor * a0;
        int a0State = 0;
        Sonnet::Highlighter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_Sonnet_Highlighter,&sipCpp,sipType_QColor,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMisspelledColor(*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(sipArgsParsed,sipName_Highlighter,sipName_setMisspelledColor);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Highlighter_highlightBlock(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Highlighter_highlightBlock(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        sipSonnet_Highlighter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&sipSelf,sipType_Sonnet_Highlighter,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_highlightBlock(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Highlighter,sipName_highlightBlock);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Highlighter_setMisspelled(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Highlighter_setMisspelled(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        sipSonnet_Highlighter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pii",&sipSelf,sipType_Sonnet_Highlighter,&sipCpp,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_setMisspelled(sipSelfWasArg,a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Highlighter,sipName_setMisspelled);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Highlighter_unsetMisspelled(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Highlighter_unsetMisspelled(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        sipSonnet_Highlighter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pii",&sipSelf,sipType_Sonnet_Highlighter,&sipCpp,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_unsetMisspelled(sipSelfWasArg,a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Highlighter,sipName_unsetMisspelled);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Highlighter_eventFilter(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Highlighter_eventFilter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject * a0;
        QEvent * a1;
        sipSonnet_Highlighter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8J8",&sipSelf,sipType_Sonnet_Highlighter,&sipCpp,sipType_QObject,&a0,sipType_QEvent,&a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Highlighter,sipName_eventFilter);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Highlighter_intraWordEditing(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Highlighter_intraWordEditing(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipSonnet_Highlighter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Sonnet_Highlighter,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_intraWordEditing();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Highlighter,sipName_intraWordEditing);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Highlighter_setIntraWordEditing(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Highlighter_setIntraWordEditing(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        sipSonnet_Highlighter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_Sonnet_Highlighter,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setIntraWordEditing(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Highlighter,sipName_setIntraWordEditing);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Highlighter_slotAutoDetection(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Highlighter_slotAutoDetection(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Sonnet::Highlighter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Sonnet_Highlighter,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotAutoDetection();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Highlighter,sipName_slotAutoDetection);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Highlighter_slotRehighlight(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Highlighter_slotRehighlight(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Sonnet::Highlighter *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Sonnet_Highlighter,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotRehighlight();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Highlighter,sipName_slotRehighlight);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Sonnet_Highlighter(void *, const sipTypeDef *);}
static void *cast_Sonnet_Highlighter(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Sonnet_Highlighter)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QSyntaxHighlighter)->ctd_cast((QSyntaxHighlighter *)(Sonnet::Highlighter *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Sonnet_Highlighter(void *, int);}
static void release_Sonnet_Highlighter(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipSonnet_Highlighter *>(sipCppV);
    else
        delete reinterpret_cast<Sonnet::Highlighter *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Sonnet_Highlighter(sipSimpleWrapper *);}
static void dealloc_Sonnet_Highlighter(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipSonnet_Highlighter *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Sonnet_Highlighter(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_Sonnet_Highlighter(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_Sonnet_Highlighter(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipSonnet_Highlighter *sipCpp = 0;

    if (!sipCpp)
    {
        QTextEdit * a0;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;
        const QColor& a2def = QColor();
        const QColor * a2 = &a2def;
        int a2State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J8|J1J1",sipType_QTextEdit,&a0,sipType_QString,&a1,&a1State,sipType_QColor,&a2,&a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipSonnet_Highlighter(a0,*a1,*a2);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QColor *>(a2),sipType_QColor,a2State);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_Sonnet_Highlighter[] = {{562, 2, 1}};


static PyMethodDef methods_Sonnet_Highlighter[] = {
    {SIP_MLNAME_CAST(sipName_addWordToDictionary), meth_Sonnet_Highlighter_addWordToDictionary, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_automatic), meth_Sonnet_Highlighter_automatic, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_Sonnet_Highlighter_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_Sonnet_Highlighter_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentBlock), meth_Sonnet_Highlighter_currentBlock, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentBlockState), meth_Sonnet_Highlighter_currentBlockState, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentBlockUserData), meth_Sonnet_Highlighter_currentBlockUserData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentLanguage), meth_Sonnet_Highlighter_currentLanguage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_Sonnet_Highlighter_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_Sonnet_Highlighter_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_Sonnet_Highlighter_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_format), meth_Sonnet_Highlighter_format, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_highlightBlock), meth_Sonnet_Highlighter_highlightBlock, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ignoreWord), meth_Sonnet_Highlighter_ignoreWord, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_intraWordEditing), meth_Sonnet_Highlighter_intraWordEditing, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isActive), meth_Sonnet_Highlighter_isActive, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isWordMisspelled), meth_Sonnet_Highlighter_isWordMisspelled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_personalWords), meth_Sonnet_Highlighter_personalWords, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_previousBlockState), meth_Sonnet_Highlighter_previousBlockState, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_Sonnet_Highlighter_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setActive), meth_Sonnet_Highlighter_setActive, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAutomatic), meth_Sonnet_Highlighter_setAutomatic, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCurrentBlockState), meth_Sonnet_Highlighter_setCurrentBlockState, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCurrentBlockUserData), meth_Sonnet_Highlighter_setCurrentBlockUserData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCurrentLanguage), meth_Sonnet_Highlighter_setCurrentLanguage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFormat), meth_Sonnet_Highlighter_setFormat, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIntraWordEditing), meth_Sonnet_Highlighter_setIntraWordEditing, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMisspelled), meth_Sonnet_Highlighter_setMisspelled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMisspelledColor), meth_Sonnet_Highlighter_setMisspelledColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotAutoDetection), meth_Sonnet_Highlighter_slotAutoDetection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotRehighlight), meth_Sonnet_Highlighter_slotRehighlight, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_spellCheckerFound), meth_Sonnet_Highlighter_spellCheckerFound, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_suggestionsForWord), meth_Sonnet_Highlighter_suggestionsForWord, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Sonnet_Highlighter_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_unsetMisspelled), meth_Sonnet_Highlighter_unsetMisspelled, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_Sonnet_Highlighter[] = {
    {"newSuggestions(const QString&,const QStringList&)", 0},
    {"activeChanged(const QString&)", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_kdeui_Sonnet_Highlighter = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Sonnet__Highlighter,
        {0}
    },
    sipNameNr_Highlighter,
    -1,
    -1,
    {364, 255, 0},
    supers_Sonnet_Highlighter,
    0,
    35, methods_Sonnet_Highlighter,
    0, 0,
    0, 0,
    init_Sonnet_Highlighter,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Sonnet_Highlighter,
    release_Sonnet_Highlighter,
    cast_Sonnet_Highlighter,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &Sonnet::Highlighter::staticMetaObject,
    0,
    pyqt4_signals_Sonnet_Highlighter
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/dictionarycombobox.sip"
#include <sonnet/dictionarycombobox.h>
#line 20180 "sipkdeuipart3.cpp"

#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 20184 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 20187 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 20190 "sipkdeuipart3.cpp"
#line 225 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20193 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 20196 "sipkdeuipart3.cpp"
#line 98 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kcompletion.sip"
#include <kcompletion.h>
#line 20199 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qmenu.sip"
#include <qmenu.h>
#line 20202 "sipkdeuipart3.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kglobalsettings.sip"
#include <kglobalsettings.h>
#line 20205 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qlineedit.sip"
#include <qlineedit.h>
#line 20208 "sipkdeuipart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kcompletionbox.sip"
#include <kcompletionbox.h>
#line 20211 "sipkdeuipart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 20214 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 20217 "sipkdeuipart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 20220 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 20223 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 20226 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 20229 "sipkdeuipart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 20232 "sipkdeuipart3.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20237 "sipkdeuipart3.cpp"
#line 436 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20240 "sipkdeuipart3.cpp"
#line 296 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20243 "sipkdeuipart3.cpp"
#line 184 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20246 "sipkdeuipart3.cpp"
#line 424 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20249 "sipkdeuipart3.cpp"
#line 412 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20252 "sipkdeuipart3.cpp"
#line 345 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20255 "sipkdeuipart3.cpp"
#line 374 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20258 "sipkdeuipart3.cpp"
#line 325 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20261 "sipkdeuipart3.cpp"
#line 1208 "/usr/local/share/py-sip/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 20264 "sipkdeuipart3.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qcompleter.sip"
#include <qcompleter.h>
#line 20267 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 20270 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 20273 "sipkdeuipart3.cpp"
#line 133 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 20276 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 20279 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qvalidator.sip"
#include <qvalidator.h>
#line 20282 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qcombobox.sip"
#include <qcombobox.h>
#line 20285 "sipkdeuipart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 20288 "sipkdeuipart3.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 20291 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 20294 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 20297 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 20300 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 20303 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 20306 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 20309 "sipkdeuipart3.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 20312 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 20315 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 20318 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 20321 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 20324 "sipkdeuipart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 20327 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 20330 "sipkdeuipart3.cpp"
#line 508 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20333 "sipkdeuipart3.cpp"
#line 562 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20336 "sipkdeuipart3.cpp"
#line 533 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20339 "sipkdeuipart3.cpp"
#line 550 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20342 "sipkdeuipart3.cpp"
#line 618 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20345 "sipkdeuipart3.cpp"
#line 247 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20348 "sipkdeuipart3.cpp"
#line 388 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20351 "sipkdeuipart3.cpp"
#line 360 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20354 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 20357 "sipkdeuipart3.cpp"
#line 74 "/usr/local/share/py-sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 20360 "sipkdeuipart3.cpp"
#line 47 "/usr/local/share/py-sip/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 20363 "sipkdeuipart3.cpp"
#line 136 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#include <qlist.h>
#line 66 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qlist.h>
#line 229 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 520 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 20424 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 20427 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 20430 "sipkdeuipart3.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 20433 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 20436 "sipkdeuipart3.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20441 "sipkdeuipart3.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 20444 "sipkdeuipart3.cpp"
#line 99 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 20447 "sipkdeuipart3.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 20450 "sipkdeuipart3.cpp"
#line 165 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 20453 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 20456 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qdockwidget.sip"
#include <qdockwidget.h>
#line 20459 "sipkdeuipart3.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 20462 "sipkdeuipart3.cpp"
#line 334 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 20465 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 56 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 20470 "sipkdeuipart3.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qprinterinfo.h>
#line 20473 "sipkdeuipart3.cpp"
#line 202 "/usr/local/share/py-sip/QtGui/qstandarditemmodel.sip"
#include <qstandarditemmodel.h>
#line 20476 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 20479 "sipkdeuipart3.cpp"
#line 66 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 20482 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 114 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 20487 "sipkdeuipart3.cpp"
#line 65 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 88 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 20492 "sipkdeuipart3.cpp"
#line 149 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 175 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 20497 "sipkdeuipart3.cpp"
#line 83 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 101 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 20502 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 20505 "sipkdeuipart3.cpp"
#line 75 "/usr/local/share/py-sip/QtGui/qundostack.sip"
#include <qundostack.h>
#line 20508 "sipkdeuipart3.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 20511 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qprinter.sip"
#include <qprinter.h>
#line 20514 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#line 20517 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qlayout.sip"
#include <qlayout.h>
#line 20520 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 20523 "sipkdeuipart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 20526 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 20529 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 20532 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 20535 "sipkdeuipart3.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 20538 "sipkdeuipart3.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 20541 "sipkdeuipart3.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 20572 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 20575 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 20578 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 20581 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 20584 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 20587 "sipkdeuipart3.cpp"
#line 147 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kcompletion.sip"
#include <qmap.h>
#line 43 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 20592 "sipkdeuipart3.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 20595 "sipkdeuipart3.cpp"
#line 31 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kcompletion.sip"
#include <kcompletion.h>
#line 20598 "sipkdeuipart3.cpp"


class sipSonnet_DictionaryComboBox : public Sonnet::DictionaryComboBox
{
public:
    sipSonnet_DictionaryComboBox(QWidget *);
    virtual ~sipSonnet_DictionaryComboBox();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    KCompletionBase::KeyBindingMap sipProtect_getKeyBindings() const;
    void sipProtect_setDelegate(KCompletionBase *);
    KCompletionBase * sipProtect_delegate() const;
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent *);
    void sipProtectVirt_enterEvent(bool,QEvent *);
    void sipProtectVirt_leaveEvent(bool,QEvent *);
    void sipProtectVirt_moveEvent(bool,QMoveEvent *);
    void sipProtectVirt_closeEvent(bool,QCloseEvent *);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent *);
    void sipProtectVirt_actionEvent(bool,QActionEvent *);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent *);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent *);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent *);
    void sipProtectVirt_dropEvent(bool,QDropEvent *);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtect_resetInputContext();
    void sipProtect_updateMicroFocus();
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    void sipProtectVirt_enabledChange(bool,bool);
    void sipProtectVirt_paletteChange(bool,const QPalette&);
    void sipProtectVirt_fontChange(bool,const QFont&);
    void sipProtectVirt_windowActivationChange(bool,bool);
    void sipProtectVirt_languageChange(bool);
    void sipProtect_initStyleOption(QStyleOptionComboBox *) const;
    void sipProtectVirt_focusInEvent(bool,QFocusEvent *);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent *);
    void sipProtectVirt_changeEvent(bool,QEvent *);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent *);
    void sipProtectVirt_paintEvent(bool,QPaintEvent *);
    void sipProtectVirt_showEvent(bool,QShowEvent *);
    void sipProtectVirt_hideEvent(bool,QHideEvent *);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent *);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent *);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent *);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent *);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent *);
    QVariant sipProtectVirt_inputMethodQuery(bool,Qt::InputMethodQuery) const;
    void sipProtectVirt_setCompletedText(bool,const QString&,bool);
    void sipProtectVirt_makeCompletion(bool,const QString&);
    void sipProtectVirt_create(bool,WId,bool,bool);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent *);
    QSize sipProtectVirt_minimumSizeHint(bool) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void setAutoCompletion(bool);
    void setContextMenuEnabled(bool);
    bool eventFilter(QObject *,QEvent *);
    void setLineEdit(QLineEdit *);
    void setCompletedText(const QString&);
    void makeCompletion(const QString&);
    void setCompletedText(const QString&,bool);
    void create(WId,bool,bool);
    void wheelEvent(QWheelEvent *);
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    void showPopup();
    void hidePopup();
    bool event(QEvent *);
    void focusInEvent(QFocusEvent *);
    void focusOutEvent(QFocusEvent *);
    void changeEvent(QEvent *);
    void resizeEvent(QResizeEvent *);
    void paintEvent(QPaintEvent *);
    void showEvent(QShowEvent *);
    void hideEvent(QHideEvent *);
    void mousePressEvent(QMouseEvent *);
    void mouseReleaseEvent(QMouseEvent *);
    void keyPressEvent(QKeyEvent *);
    void keyReleaseEvent(QKeyEvent *);
    void contextMenuEvent(QContextMenuEvent *);
    void inputMethodEvent(QInputMethodEvent *);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    int devType() const;
    void setVisible(bool);
    int heightForWidth(int) const;
    QPaintEngine * paintEngine() const;
    void mouseDoubleClickEvent(QMouseEvent *);
    void mouseMoveEvent(QMouseEvent *);
    void enterEvent(QEvent *);
    void leaveEvent(QEvent *);
    void moveEvent(QMoveEvent *);
    void closeEvent(QCloseEvent *);
    void tabletEvent(QTabletEvent *);
    void actionEvent(QActionEvent *);
    void dragEnterEvent(QDragEnterEvent *);
    void dragMoveEvent(QDragMoveEvent *);
    void dragLeaveEvent(QDragLeaveEvent *);
    void dropEvent(QDropEvent *);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    bool focusNextPrevChild(bool);
    void enabledChange(bool);
    void paletteChange(const QPalette&);
    void fontChange(const QFont&);
    void windowActivationChange(bool);
    void languageChange();
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);
    void setCompletionObject(KCompletion *,bool);
    void setHandleSignals(bool);
    void setCompletionMode(KGlobalSettings::Completion);
    void setCompletedItems(const QStringList&,bool);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipSonnet_DictionaryComboBox(const sipSonnet_DictionaryComboBox &);
    sipSonnet_DictionaryComboBox &operator = (const sipSonnet_DictionaryComboBox &);

    char sipPyMethods[60];
};

sipSonnet_DictionaryComboBox::sipSonnet_DictionaryComboBox(QWidget *a0): Sonnet::DictionaryComboBox(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipSonnet_DictionaryComboBox::~sipSonnet_DictionaryComboBox()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipSonnet_DictionaryComboBox::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_Sonnet_DictionaryComboBox);
}

int sipSonnet_DictionaryComboBox::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Sonnet::DictionaryComboBox::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_Sonnet_DictionaryComboBox,_c,_id,_a);

    return _id;
}

void *sipSonnet_DictionaryComboBox::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast && sip_kdeui_qt_metacast(sipPySelf,sipType_Sonnet_DictionaryComboBox,_clname)) ? this : Sonnet::DictionaryComboBox::qt_metacast(_clname);
}

void sipSonnet_DictionaryComboBox::setAutoCompletion(bool a0)
{
    typedef void (*sipVH_QtNetwork_2)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_setAutoCompletion);

    if (!meth)
    {
        KComboBox::setAutoCompletion(a0);
        return;
    }

    ((sipVH_QtNetwork_2)(sipModuleAPI_kdeui_QtNetwork->em_virthandlers[2]))(sipGILState,meth,a0);
}

void sipSonnet_DictionaryComboBox::setContextMenuEnabled(bool a0)
{
    typedef void (*sipVH_QtNetwork_2)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_setContextMenuEnabled);

    if (!meth)
    {
        KComboBox::setContextMenuEnabled(a0);
        return;
    }

    ((sipVH_QtNetwork_2)(sipModuleAPI_kdeui_QtNetwork->em_virthandlers[2]))(sipGILState,meth,a0);
}

bool sipSonnet_DictionaryComboBox::eventFilter(QObject *a0,QEvent *a1)
{
    typedef bool (*sipVH_QtCore_21)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_eventFilter);

    if (!meth)
        return KComboBox::eventFilter(a0,a1);

    return ((sipVH_QtCore_21)(sipModuleAPI_kdeui_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

void sipSonnet_DictionaryComboBox::setLineEdit(QLineEdit *a0)
{
    extern void sipVH_kdeui_42(sip_gilstate_t,PyObject *,QLineEdit *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_setLineEdit);

    if (!meth)
    {
        KComboBox::setLineEdit(a0);
        return;
    }

    sipVH_kdeui_42(sipGILState,meth,a0);
}

void sipSonnet_DictionaryComboBox::setCompletedText(const QString& a0)
{
    typedef void (*sipVH_QtCore_29)(sip_gilstate_t,PyObject *,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_setCompletedText);

    if (!meth)
    {
        KComboBox::setCompletedText(a0);
        return;
    }

    ((sipVH_QtCore_29)(sipModuleAPI_kdeui_QtCore->em_virthandlers[29]))(sipGILState,meth,a0);
}

void sipSonnet_DictionaryComboBox::makeCompletion(const QString& a0)
{
    typedef void (*sipVH_QtCore_29)(sip_gilstate_t,PyObject *,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_makeCompletion);

    if (!meth)
    {
        KComboBox::makeCompletion(a0);
        return;
    }

    ((sipVH_QtCore_29)(sipModuleAPI_kdeui_QtCore->em_virthandlers[29]))(sipGILState,meth,a0);
}

void sipSonnet_DictionaryComboBox::setCompletedText(const QString& a0,bool a1)
{
    typedef void (*sipVH_QtXml_24)(sip_gilstate_t,PyObject *,const QString&,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_setCompletedText);

    if (!meth)
    {
        KComboBox::setCompletedText(a0,a1);
        return;
    }

    ((sipVH_QtXml_24)(sipModuleAPI_kdeui_QtXml->em_virthandlers[24]))(sipGILState,meth,a0,a1);
}

void sipSonnet_DictionaryComboBox::create(WId a0,bool a1,bool a2)
{
    extern void sipVH_kdeui_35(sip_gilstate_t,PyObject *,unsigned long,bool,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_create);

    if (!meth)
    {
        KComboBox::create(a0,a1,a2);
        return;
    }

    sipVH_kdeui_35(sipGILState,meth,a0,a1,a2);
}

void sipSonnet_DictionaryComboBox::wheelEvent(QWheelEvent *a0)
{
    typedef void (*sipVH_QtGui_5)(sip_gilstate_t,PyObject *,QWheelEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_wheelEvent);

    if (!meth)
    {
        KComboBox::wheelEvent(a0);
        return;
    }

    ((sipVH_QtGui_5)(sipModuleAPI_kdeui_QtGui->em_virthandlers[5]))(sipGILState,meth,a0);
}

QSize sipSonnet_DictionaryComboBox::minimumSizeHint() const
{
    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!meth)
        return KComboBox::minimumSizeHint();

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState,meth);
}

QSize sipSonnet_DictionaryComboBox::sizeHint() const
{
    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_sizeHint);

    if (!meth)
        return QComboBox::sizeHint();

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState,meth);
}

void sipSonnet_DictionaryComboBox::showPopup()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_showPopup);

    if (!meth)
    {
        QComboBox::showPopup();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipSonnet_DictionaryComboBox::hidePopup()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_hidePopup);

    if (!meth)
    {
        QComboBox::hidePopup();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

bool sipSonnet_DictionaryComboBox::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QComboBox::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_kdeui_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

void sipSonnet_DictionaryComboBox::focusInEvent(QFocusEvent *a0)
{
    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QFocusEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_focusInEvent);

    if (!meth)
    {
        QComboBox::focusInEvent(a0);
        return;
    }

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipSonnet_DictionaryComboBox::focusOutEvent(QFocusEvent *a0)
{
    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QFocusEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_focusOutEvent);

    if (!meth)
    {
        QComboBox::focusOutEvent(a0);
        return;
    }

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipSonnet_DictionaryComboBox::changeEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_changeEvent);

    if (!meth)
    {
        QComboBox::changeEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kdeui_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipSonnet_DictionaryComboBox::resizeEvent(QResizeEvent *a0)
{
    typedef void (*sipVH_QtGui_2)(sip_gilstate_t,PyObject *,QResizeEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_resizeEvent);

    if (!meth)
    {
        QComboBox::resizeEvent(a0);
        return;
    }

    ((sipVH_QtGui_2)(sipModuleAPI_kdeui_QtGui->em_virthandlers[2]))(sipGILState,meth,a0);
}

void sipSonnet_DictionaryComboBox::paintEvent(QPaintEvent *a0)
{
    typedef void (*sipVH_QtGui_3)(sip_gilstate_t,PyObject *,QPaintEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_paintEvent);

    if (!meth)
    {
        QComboBox::paintEvent(a0);
        return;
    }

    ((sipVH_QtGui_3)(sipModuleAPI_kdeui_QtGui->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipSonnet_DictionaryComboBox::showEvent(QShowEvent *a0)
{
    typedef void (*sipVH_QtGui_1)(sip_gilstate_t,PyObject *,QShowEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_showEvent);

    if (!meth)
    {
        QComboBox::showEvent(a0);
        return;
    }

    ((sipVH_QtGui_1)(sipModuleAPI_kdeui_QtGui->em_virthandlers[1]))(sipGILState,meth,a0);
}

void sipSonnet_DictionaryComboBox::hideEvent(QHideEvent *a0)
{
    typedef void (*sipVH_QtGui_0)(sip_gilstate_t,PyObject *,QHideEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_hideEvent);

    if (!meth)
    {
        QComboBox::hideEvent(a0);
        return;
    }

    ((sipVH_QtGui_0)(sipModuleAPI_kdeui_QtGui->em_virthandlers[0]))(sipGILState,meth,a0);
}

void sipSonnet_DictionaryComboBox::mousePressEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_mousePressEvent);

    if (!meth)
    {
        QComboBox::mousePressEvent(a0);
        return;
    }

    ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipSonnet_DictionaryComboBox::mouseReleaseEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!meth)
    {
        QComboBox::mouseReleaseEvent(a0);
        return;
    }

    ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipSonnet_DictionaryComboBox::keyPressEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_keyPressEvent);

    if (!meth)
    {
        QComboBox::keyPressEvent(a0);
        return;
    }

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipSonnet_DictionaryComboBox::keyReleaseEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!meth)
    {
        QComboBox::keyReleaseEvent(a0);
        return;
    }

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipSonnet_DictionaryComboBox::contextMenuEvent(QContextMenuEvent *a0)
{
    typedef void (*sipVH_QtGui_22)(sip_gilstate_t,PyObject *,QContextMenuEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!meth)
    {
        QComboBox::contextMenuEvent(a0);
        return;
    }

    ((sipVH_QtGui_22)(sipModuleAPI_kdeui_QtGui->em_virthandlers[22]))(sipGILState,meth,a0);
}

void sipSonnet_DictionaryComboBox::inputMethodEvent(QInputMethodEvent *a0)
{
    typedef void (*sipVH_QtGui_14)(sip_gilstate_t,PyObject *,QInputMethodEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!meth)
    {
        QComboBox::inputMethodEvent(a0);
        return;
    }

    ((sipVH_QtGui_14)(sipModuleAPI_kdeui_QtGui->em_virthandlers[14]))(sipGILState,meth,a0);
}

QVariant sipSonnet_DictionaryComboBox::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    typedef QVariant (*sipVH_QtGui_13)(sip_gilstate_t,PyObject *,Qt::InputMethodQuery);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!meth)
        return QComboBox::inputMethodQuery(a0);

    return ((sipVH_QtGui_13)(sipModuleAPI_kdeui_QtGui->em_virthandlers[13]))(sipGILState,meth,a0);
}

int sipSonnet_DictionaryComboBox::devType() const
{
    typedef int (*sipVH_QtCore_8)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,NULL,sipName_devType);

    if (!meth)
        return QWidget::devType();

    return ((sipVH_QtCore_8)(sipModuleAPI_kdeui_QtCore->em_virthandlers[8]))(sipGILState,meth);
}

void sipSonnet_DictionaryComboBox::setVisible(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_setVisible);

    if (!meth)
    {
        QWidget::setVisible(a0);
        return;
    }

    ((sipVH_QtGui_7)(sipModuleAPI_kdeui_QtGui->em_virthandlers[7]))(sipGILState,meth,a0);
}

int sipSonnet_DictionaryComboBox::heightForWidth(int a0) const
{
    typedef int (*sipVH_QtGui_29)(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_heightForWidth);

    if (!meth)
        return QWidget::heightForWidth(a0);

    return ((sipVH_QtGui_29)(sipModuleAPI_kdeui_QtGui->em_virthandlers[29]))(sipGILState,meth,a0);
}

QPaintEngine * sipSonnet_DictionaryComboBox::paintEngine() const
{
    typedef QPaintEngine * (*sipVH_QtGui_28)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_paintEngine);

    if (!meth)
        return QWidget::paintEngine();

    return ((sipVH_QtGui_28)(sipModuleAPI_kdeui_QtGui->em_virthandlers[28]))(sipGILState,meth);
}

void sipSonnet_DictionaryComboBox::mouseDoubleClickEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!meth)
    {
        QWidget::mouseDoubleClickEvent(a0);
        return;
    }

    ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipSonnet_DictionaryComboBox::mouseMoveEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!meth)
    {
        QWidget::mouseMoveEvent(a0);
        return;
    }

    ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipSonnet_DictionaryComboBox::enterEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_enterEvent);

    if (!meth)
    {
        QWidget::enterEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kdeui_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipSonnet_DictionaryComboBox::leaveEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_leaveEvent);

    if (!meth)
    {
        QWidget::leaveEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kdeui_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipSonnet_DictionaryComboBox::moveEvent(QMoveEvent *a0)
{
    typedef void (*sipVH_QtGui_24)(sip_gilstate_t,PyObject *,QMoveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_moveEvent);

    if (!meth)
    {
        QWidget::moveEvent(a0);
        return;
    }

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState,meth,a0);
}

void sipSonnet_DictionaryComboBox::closeEvent(QCloseEvent *a0)
{
    typedef void (*sipVH_QtGui_23)(sip_gilstate_t,PyObject *,QCloseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_closeEvent);

    if (!meth)
    {
        QWidget::closeEvent(a0);
        return;
    }

    ((sipVH_QtGui_23)(sipModuleAPI_kdeui_QtGui->em_virthandlers[23]))(sipGILState,meth,a0);
}

void sipSonnet_DictionaryComboBox::tabletEvent(QTabletEvent *a0)
{
    typedef void (*sipVH_QtGui_21)(sip_gilstate_t,PyObject *,QTabletEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_tabletEvent);

    if (!meth)
    {
        QWidget::tabletEvent(a0);
        return;
    }

    ((sipVH_QtGui_21)(sipModuleAPI_kdeui_QtGui->em_virthandlers[21]))(sipGILState,meth,a0);
}

void sipSonnet_DictionaryComboBox::actionEvent(QActionEvent *a0)
{
    typedef void (*sipVH_QtGui_20)(sip_gilstate_t,PyObject *,QActionEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_actionEvent);

    if (!meth)
    {
        QWidget::actionEvent(a0);
        return;
    }

    ((sipVH_QtGui_20)(sipModuleAPI_kdeui_QtGui->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipSonnet_DictionaryComboBox::dragEnterEvent(QDragEnterEvent *a0)
{
    typedef void (*sipVH_QtGui_19)(sip_gilstate_t,PyObject *,QDragEnterEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!meth)
    {
        QWidget::dragEnterEvent(a0);
        return;
    }

    ((sipVH_QtGui_19)(sipModuleAPI_kdeui_QtGui->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipSonnet_DictionaryComboBox::dragMoveEvent(QDragMoveEvent *a0)
{
    typedef void (*sipVH_QtGui_18)(sip_gilstate_t,PyObject *,QDragMoveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!meth)
    {
        QWidget::dragMoveEvent(a0);
        return;
    }

    ((sipVH_QtGui_18)(sipModuleAPI_kdeui_QtGui->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipSonnet_DictionaryComboBox::dragLeaveEvent(QDragLeaveEvent *a0)
{
    typedef void (*sipVH_QtGui_17)(sip_gilstate_t,PyObject *,QDragLeaveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!meth)
    {
        QWidget::dragLeaveEvent(a0);
        return;
    }

    ((sipVH_QtGui_17)(sipModuleAPI_kdeui_QtGui->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipSonnet_DictionaryComboBox::dropEvent(QDropEvent *a0)
{
    typedef void (*sipVH_QtGui_16)(sip_gilstate_t,PyObject *,QDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_dropEvent);

    if (!meth)
    {
        QWidget::dropEvent(a0);
        return;
    }

    ((sipVH_QtGui_16)(sipModuleAPI_kdeui_QtGui->em_virthandlers[16]))(sipGILState,meth,a0);
}

int sipSonnet_DictionaryComboBox::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    typedef int (*sipVH_QtGui_15)(sip_gilstate_t,PyObject *,QPaintDevice::PaintDeviceMetric);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_metric);

    if (!meth)
        return QWidget::metric(a0);

    return ((sipVH_QtGui_15)(sipModuleAPI_kdeui_QtGui->em_virthandlers[15]))(sipGILState,meth,a0);
}

bool sipSonnet_DictionaryComboBox::focusNextPrevChild(bool a0)
{
    typedef bool (*sipVH_QtGui_12)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!meth)
        return QWidget::focusNextPrevChild(a0);

    return ((sipVH_QtGui_12)(sipModuleAPI_kdeui_QtGui->em_virthandlers[12]))(sipGILState,meth,a0);
}

void sipSonnet_DictionaryComboBox::enabledChange(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_enabledChange);

    if (!meth)
    {
        QWidget::enabledChange(a0);
        return;
    }

    ((sipVH_QtGui_7)(sipModuleAPI_kdeui_QtGui->em_virthandlers[7]))(sipGILState,meth,a0);
}

void sipSonnet_DictionaryComboBox::paletteChange(const QPalette& a0)
{
    typedef void (*sipVH_QtGui_11)(sip_gilstate_t,PyObject *,const QPalette&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_paletteChange);

    if (!meth)
    {
        QWidget::paletteChange(a0);
        return;
    }

    ((sipVH_QtGui_11)(sipModuleAPI_kdeui_QtGui->em_virthandlers[11]))(sipGILState,meth,a0);
}

void sipSonnet_DictionaryComboBox::fontChange(const QFont& a0)
{
    typedef void (*sipVH_QtGui_10)(sip_gilstate_t,PyObject *,const QFont&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_fontChange);

    if (!meth)
    {
        QWidget::fontChange(a0);
        return;
    }

    ((sipVH_QtGui_10)(sipModuleAPI_kdeui_QtGui->em_virthandlers[10]))(sipGILState,meth,a0);
}

void sipSonnet_DictionaryComboBox::windowActivationChange(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_windowActivationChange);

    if (!meth)
    {
        QWidget::windowActivationChange(a0);
        return;
    }

    ((sipVH_QtGui_7)(sipModuleAPI_kdeui_QtGui->em_virthandlers[7]))(sipGILState,meth,a0);
}

void sipSonnet_DictionaryComboBox::languageChange()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_languageChange);

    if (!meth)
    {
        QWidget::languageChange();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipSonnet_DictionaryComboBox::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    ((sipVH_QtCore_3)(sipModuleAPI_kdeui_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipSonnet_DictionaryComboBox::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    ((sipVH_QtCore_20)(sipModuleAPI_kdeui_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipSonnet_DictionaryComboBox::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kdeui_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipSonnet_DictionaryComboBox::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipSonnet_DictionaryComboBox::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipSonnet_DictionaryComboBox::setCompletionObject(KCompletion *a0,bool a1)
{
    extern void sipVH_kdeui_36(sip_gilstate_t,PyObject *,KCompletion *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_setCompletionObject);

    if (!meth)
    {
        KCompletionBase::setCompletionObject(a0,a1);
        return;
    }

    sipVH_kdeui_36(sipGILState,meth,a0,a1);
}

void sipSonnet_DictionaryComboBox::setHandleSignals(bool a0)
{
    typedef void (*sipVH_QtNetwork_2)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_setHandleSignals);

    if (!meth)
    {
        KCompletionBase::setHandleSignals(a0);
        return;
    }

    ((sipVH_QtNetwork_2)(sipModuleAPI_kdeui_QtNetwork->em_virthandlers[2]))(sipGILState,meth,a0);
}

void sipSonnet_DictionaryComboBox::setCompletionMode(KGlobalSettings::Completion a0)
{
    extern void sipVH_kdeui_37(sip_gilstate_t,PyObject *,KGlobalSettings::Completion);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_setCompletionMode);

    if (!meth)
    {
        KCompletionBase::setCompletionMode(a0);
        return;
    }

    sipVH_kdeui_37(sipGILState,meth,a0);
}

void sipSonnet_DictionaryComboBox::setCompletedItems(const QStringList& a0,bool a1)
{
    extern void sipVH_kdeui_60(sip_gilstate_t,PyObject *,const QStringList&,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[59],sipPySelf,NULL,sipName_setCompletedItems);

    if (!meth)
    {
        KComboBox::setCompletedItems(a0,a1);
        return;
    }

    sipVH_kdeui_60(sipGILState,meth,a0,a1);
}

KCompletionBase::KeyBindingMap sipSonnet_DictionaryComboBox::sipProtect_getKeyBindings() const
{
    return KCompletionBase::getKeyBindings();
}

void sipSonnet_DictionaryComboBox::sipProtect_setDelegate(KCompletionBase *a0)
{
    KCompletionBase::setDelegate(a0);
}

KCompletionBase * sipSonnet_DictionaryComboBox::sipProtect_delegate() const
{
    return KCompletionBase::delegate();
}

int sipSonnet_DictionaryComboBox::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipSonnet_DictionaryComboBox::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipSonnet_DictionaryComboBox::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipSonnet_DictionaryComboBox::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipSonnet_DictionaryComboBox::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipSonnet_DictionaryComboBox::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

void sipSonnet_DictionaryComboBox::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipSonnet_DictionaryComboBox::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipSonnet_DictionaryComboBox::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipSonnet_DictionaryComboBox::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipSonnet_DictionaryComboBox::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent *a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipSonnet_DictionaryComboBox::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent *a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipSonnet_DictionaryComboBox::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent *a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipSonnet_DictionaryComboBox::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent *a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipSonnet_DictionaryComboBox::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipSonnet_DictionaryComboBox::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipSonnet_DictionaryComboBox::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipSonnet_DictionaryComboBox::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent *a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

int sipSonnet_DictionaryComboBox::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipSonnet_DictionaryComboBox::sipProtect_resetInputContext()
{
    QWidget::resetInputContext();
}

void sipSonnet_DictionaryComboBox::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipSonnet_DictionaryComboBox::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipSonnet_DictionaryComboBox::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipSonnet_DictionaryComboBox::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipSonnet_DictionaryComboBox::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

void sipSonnet_DictionaryComboBox::sipProtectVirt_enabledChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::enabledChange(a0) : enabledChange(a0));
}

void sipSonnet_DictionaryComboBox::sipProtectVirt_paletteChange(bool sipSelfWasArg,const QPalette& a0)
{
    (sipSelfWasArg ? QWidget::paletteChange(a0) : paletteChange(a0));
}

void sipSonnet_DictionaryComboBox::sipProtectVirt_fontChange(bool sipSelfWasArg,const QFont& a0)
{
    (sipSelfWasArg ? QWidget::fontChange(a0) : fontChange(a0));
}

void sipSonnet_DictionaryComboBox::sipProtectVirt_windowActivationChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::windowActivationChange(a0) : windowActivationChange(a0));
}

void sipSonnet_DictionaryComboBox::sipProtectVirt_languageChange(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QWidget::languageChange() : languageChange());
}

void sipSonnet_DictionaryComboBox::sipProtect_initStyleOption(QStyleOptionComboBox *a0) const
{
    QComboBox::initStyleOption(a0);
}

void sipSonnet_DictionaryComboBox::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QComboBox::focusInEvent(a0) : focusInEvent(a0));
}

void sipSonnet_DictionaryComboBox::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QComboBox::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipSonnet_DictionaryComboBox::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QComboBox::changeEvent(a0) : changeEvent(a0));
}

void sipSonnet_DictionaryComboBox::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent *a0)
{
    (sipSelfWasArg ? QComboBox::resizeEvent(a0) : resizeEvent(a0));
}

void sipSonnet_DictionaryComboBox::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent *a0)
{
    (sipSelfWasArg ? QComboBox::paintEvent(a0) : paintEvent(a0));
}

void sipSonnet_DictionaryComboBox::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent *a0)
{
    (sipSelfWasArg ? QComboBox::showEvent(a0) : showEvent(a0));
}

void sipSonnet_DictionaryComboBox::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent *a0)
{
    (sipSelfWasArg ? QComboBox::hideEvent(a0) : hideEvent(a0));
}

void sipSonnet_DictionaryComboBox::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QComboBox::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipSonnet_DictionaryComboBox::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QComboBox::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipSonnet_DictionaryComboBox::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QComboBox::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipSonnet_DictionaryComboBox::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QComboBox::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipSonnet_DictionaryComboBox::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent *a0)
{
    (sipSelfWasArg ? QComboBox::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipSonnet_DictionaryComboBox::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent *a0)
{
    (sipSelfWasArg ? QComboBox::inputMethodEvent(a0) : inputMethodEvent(a0));
}

QVariant sipSonnet_DictionaryComboBox::sipProtectVirt_inputMethodQuery(bool sipSelfWasArg,Qt::InputMethodQuery a0) const
{
    return (sipSelfWasArg ? QComboBox::inputMethodQuery(a0) : inputMethodQuery(a0));
}

void sipSonnet_DictionaryComboBox::sipProtectVirt_setCompletedText(bool sipSelfWasArg,const QString& a0,bool a1)
{
    (sipSelfWasArg ? KComboBox::setCompletedText(a0,a1) : setCompletedText(a0,a1));
}

void sipSonnet_DictionaryComboBox::sipProtectVirt_makeCompletion(bool sipSelfWasArg,const QString& a0)
{
    (sipSelfWasArg ? KComboBox::makeCompletion(a0) : makeCompletion(a0));
}

void sipSonnet_DictionaryComboBox::sipProtectVirt_create(bool sipSelfWasArg,WId a0,bool a1,bool a2)
{
    (sipSelfWasArg ? KComboBox::create(a0,a1,a2) : create(a0,a1,a2));
}

void sipSonnet_DictionaryComboBox::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent *a0)
{
    (sipSelfWasArg ? KComboBox::wheelEvent(a0) : wheelEvent(a0));
}

QSize sipSonnet_DictionaryComboBox::sipProtectVirt_minimumSizeHint(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? KComboBox::minimumSizeHint() : minimumSizeHint());
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_getKeyBindings(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_getKeyBindings(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp))
        {
            KCompletionBase::KeyBindingMap *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KCompletionBase::KeyBindingMap(sipCpp->sipProtect_getKeyBindings());
            Py_END_ALLOW_THREADS

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_QMap_0500KCompletionBase_KeyBindingType_0200KShortcut,NULL);
            delete sipRes;

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_getKeyBindings);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_setDelegate(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_setDelegate(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KCompletionBase * a0;
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp,sipType_KCompletionBase,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setDelegate(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_setDelegate);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_delegate(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_delegate(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp))
        {
            KCompletionBase *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_delegate();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KCompletionBase,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_delegate);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_receivers(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 22200 "sipkdeuipart3.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_receivers);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp,sipType_QTimerEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_childEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp,sipType_QChildEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_customEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_mouseDoubleClickEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_mouseDoubleClickEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp,sipType_QMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_mouseDoubleClickEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_mouseMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_mouseMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp,sipType_QMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_mouseMoveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_enterEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_enterEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_enterEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_leaveEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_leaveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_leaveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_moveEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_moveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent * a0;
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp,sipType_QMoveEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_moveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_closeEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_closeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent * a0;
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp,sipType_QCloseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_closeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_tabletEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_tabletEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent * a0;
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp,sipType_QTabletEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_tabletEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_actionEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_actionEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent * a0;
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp,sipType_QActionEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_actionEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_dragEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_dragEnterEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent * a0;
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp,sipType_QDragEnterEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_dragEnterEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_dragMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_dragMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent * a0;
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp,sipType_QDragMoveEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_dragMoveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_dragLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_dragLeaveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent * a0;
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp,sipType_QDragLeaveEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_dragLeaveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_dropEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_dropEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent * a0;
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp,sipType_QDropEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_dropEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_metric(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_metric(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pE",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp,sipType_QPaintDevice_PaintDeviceMetric,&a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_metric);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_resetInputContext(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_resetInputContext(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_resetInputContext();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_resetInputContext);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_updateMicroFocus(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_updateMicroFocus(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_updateMicroFocus();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_updateMicroFocus);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_destroy(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_destroy(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p|bb",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_destroy(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_destroy);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_focusNextPrevChild(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_focusNextPrevChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_focusNextPrevChild);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_focusNextChild(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_focusNextChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_focusNextChild();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_focusNextChild);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_focusPreviousChild(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_focusPreviousChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_focusPreviousChild();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_focusPreviousChild);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_enabledChange(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_enabledChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_enabledChange(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_enabledChange);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_paletteChange(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_paletteChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPalette * a0;
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp,sipType_QPalette,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paletteChange(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_paletteChange);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_fontChange(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_fontChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QFont * a0;
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp,sipType_QFont,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_fontChange(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_fontChange);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_windowActivationChange(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_windowActivationChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_windowActivationChange(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_windowActivationChange);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_languageChange(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_languageChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_languageChange(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_languageChange);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_initStyleOption(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_initStyleOption(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        QStyleOptionComboBox * a0;
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp,sipType_QStyleOptionComboBox,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_initStyleOption(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_initStyleOption);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_focusInEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_focusInEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp,sipType_QFocusEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_focusInEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_focusOutEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_focusOutEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp,sipType_QFocusEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_focusOutEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_changeEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_changeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_changeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_resizeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent * a0;
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp,sipType_QResizeEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_resizeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_paintEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_paintEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent * a0;
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp,sipType_QPaintEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_paintEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_showEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_showEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent * a0;
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp,sipType_QShowEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_showEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_hideEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_hideEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent * a0;
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp,sipType_QHideEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_hideEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_mousePressEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_mousePressEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp,sipType_QMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_mousePressEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_mouseReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_mouseReleaseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp,sipType_QMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_mouseReleaseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_keyPressEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_keyPressEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp,sipType_QKeyEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_keyPressEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_keyReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_keyReleaseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp,sipType_QKeyEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_keyReleaseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_contextMenuEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_contextMenuEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent * a0;
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp,sipType_QContextMenuEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_contextMenuEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_inputMethodEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_inputMethodEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent * a0;
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp,sipType_QInputMethodEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_inputMethodEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_inputMethodQuery(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_inputMethodQuery(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::InputMethodQuery a0;
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pE",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp,sipType_Qt_InputMethodQuery,&a0))
        {
            QVariant *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->sipProtectVirt_inputMethodQuery(sipSelfWasArg,a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_inputMethodQuery);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_setCompletedText(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_setCompletedText(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        Sonnet::DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KComboBox::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;
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1b",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp,sipType_QString,&a0,&a0State,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_setCompletedText(sipSelfWasArg,*a0,a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_setCompletedText);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_makeCompletion(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_makeCompletion(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_makeCompletion(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_makeCompletion);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_create(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_create(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        WId a0 = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p|mbb",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp,&a0,&a1,&a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_create(sipSelfWasArg,a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_create);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_wheelEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_wheelEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent * a0;
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp,sipType_QWheelEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_wheelEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_minimumSizeHint(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_minimumSizeHint(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipSonnet_DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp))
        {
            QSize *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize(sipCpp->sipProtectVirt_minimumSizeHint(sipSelfWasArg));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_minimumSizeHint);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_reloadCombo(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_reloadCombo(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Sonnet::DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->reloadCombo();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_reloadCombo);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_currentDictionaryName(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_currentDictionaryName(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Sonnet::DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->currentDictionaryName());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_currentDictionaryName);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_currentDictionary(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_currentDictionary(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Sonnet::DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->currentDictionary());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_currentDictionary);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_setCurrentByDictionaryName(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_setCurrentByDictionaryName(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        Sonnet::DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCurrentByDictionaryName(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_setCurrentByDictionaryName);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_DictionaryComboBox_setCurrentByDictionary(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_DictionaryComboBox_setCurrentByDictionary(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        Sonnet::DictionaryComboBox *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_Sonnet_DictionaryComboBox,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCurrentByDictionary(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_DictionaryComboBox,sipName_setCurrentByDictionary);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Sonnet_DictionaryComboBox(void *, const sipTypeDef *);}
static void *cast_Sonnet_DictionaryComboBox(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Sonnet_DictionaryComboBox)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KComboBox)->ctd_cast((KComboBox *)(Sonnet::DictionaryComboBox *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Sonnet_DictionaryComboBox(void *, int);}
static void release_Sonnet_DictionaryComboBox(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipSonnet_DictionaryComboBox *>(sipCppV);
    else
        delete reinterpret_cast<Sonnet::DictionaryComboBox *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Sonnet_DictionaryComboBox(sipSimpleWrapper *);}
static void dealloc_Sonnet_DictionaryComboBox(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipSonnet_DictionaryComboBox *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Sonnet_DictionaryComboBox(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_Sonnet_DictionaryComboBox(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_Sonnet_DictionaryComboBox(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **sipOwner, int *sipArgsParsed)
{
    sipSonnet_DictionaryComboBox *sipCpp = 0;

    if (!sipCpp)
    {
        QWidget * a0 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"|JH",sipType_QWidget,&a0,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipSonnet_DictionaryComboBox(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_Sonnet_DictionaryComboBox[] = {{51, 255, 1}};


static PyMethodDef methods_Sonnet_DictionaryComboBox[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), meth_Sonnet_DictionaryComboBox_actionEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_Sonnet_DictionaryComboBox_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_Sonnet_DictionaryComboBox_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_Sonnet_DictionaryComboBox_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_Sonnet_DictionaryComboBox_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_Sonnet_DictionaryComboBox_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_create), meth_Sonnet_DictionaryComboBox_create, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentDictionary), meth_Sonnet_DictionaryComboBox_currentDictionary, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentDictionaryName), meth_Sonnet_DictionaryComboBox_currentDictionaryName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_Sonnet_DictionaryComboBox_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_delegate), meth_Sonnet_DictionaryComboBox_delegate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), meth_Sonnet_DictionaryComboBox_destroy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_Sonnet_DictionaryComboBox_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_Sonnet_DictionaryComboBox_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_Sonnet_DictionaryComboBox_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_Sonnet_DictionaryComboBox_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_Sonnet_DictionaryComboBox_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enabledChange), meth_Sonnet_DictionaryComboBox_enabledChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), meth_Sonnet_DictionaryComboBox_enterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_Sonnet_DictionaryComboBox_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), meth_Sonnet_DictionaryComboBox_focusNextChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), meth_Sonnet_DictionaryComboBox_focusNextPrevChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_Sonnet_DictionaryComboBox_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), meth_Sonnet_DictionaryComboBox_focusPreviousChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fontChange), meth_Sonnet_DictionaryComboBox_fontChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getKeyBindings), meth_Sonnet_DictionaryComboBox_getKeyBindings, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_Sonnet_DictionaryComboBox_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), meth_Sonnet_DictionaryComboBox_initStyleOption, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), meth_Sonnet_DictionaryComboBox_inputMethodEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodQuery), meth_Sonnet_DictionaryComboBox_inputMethodQuery, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_Sonnet_DictionaryComboBox_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), meth_Sonnet_DictionaryComboBox_keyReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_languageChange), meth_Sonnet_DictionaryComboBox_languageChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), meth_Sonnet_DictionaryComboBox_leaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_makeCompletion), meth_Sonnet_DictionaryComboBox_makeCompletion, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), meth_Sonnet_DictionaryComboBox_metric, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_minimumSizeHint), meth_Sonnet_DictionaryComboBox_minimumSizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_Sonnet_DictionaryComboBox_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_Sonnet_DictionaryComboBox_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_Sonnet_DictionaryComboBox_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_Sonnet_DictionaryComboBox_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), meth_Sonnet_DictionaryComboBox_moveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_Sonnet_DictionaryComboBox_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paletteChange), meth_Sonnet_DictionaryComboBox_paletteChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_Sonnet_DictionaryComboBox_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_reloadCombo), meth_Sonnet_DictionaryComboBox_reloadCombo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resetInputContext), meth_Sonnet_DictionaryComboBox_resetInputContext, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_Sonnet_DictionaryComboBox_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCompletedText), meth_Sonnet_DictionaryComboBox_setCompletedText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCurrentByDictionary), meth_Sonnet_DictionaryComboBox_setCurrentByDictionary, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCurrentByDictionaryName), meth_Sonnet_DictionaryComboBox_setCurrentByDictionaryName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDelegate), meth_Sonnet_DictionaryComboBox_setDelegate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_Sonnet_DictionaryComboBox_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tabletEvent), meth_Sonnet_DictionaryComboBox_tabletEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Sonnet_DictionaryComboBox_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), meth_Sonnet_DictionaryComboBox_updateMicroFocus, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_Sonnet_DictionaryComboBox_wheelEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowActivationChange), meth_Sonnet_DictionaryComboBox_windowActivationChange, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_Sonnet_DictionaryComboBox[] = {
    {"dictionaryNameChanged(const QString&)", 0},
    {"dictionaryChanged(const QString&)", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_kdeui_Sonnet_DictionaryComboBox = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Sonnet__DictionaryComboBox,
        {0}
    },
    sipNameNr_DictionaryComboBox,
    -1,
    -1,
    {364, 255, 0},
    supers_Sonnet_DictionaryComboBox,
    0,
    58, methods_Sonnet_DictionaryComboBox,
    0, 0,
    0, 0,
    init_Sonnet_DictionaryComboBox,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Sonnet_DictionaryComboBox,
    release_Sonnet_DictionaryComboBox,
    cast_Sonnet_DictionaryComboBox,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &Sonnet::DictionaryComboBox::staticMetaObject,
    0,
    pyqt4_signals_Sonnet_DictionaryComboBox
};

#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/dialog.sip"
#include <sonnet/dialog.h>
#line 23936 "sipkdeuipart3.cpp"

#line 29 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/backgroundchecker.sip"
#include <sonnet/backgroundchecker.h>
#line 23940 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 23943 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 23946 "sipkdeuipart3.cpp"
#line 296 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 23949 "sipkdeuipart3.cpp"
#line 388 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 23952 "sipkdeuipart3.cpp"
#line 424 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 23955 "sipkdeuipart3.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 23958 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 23961 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 23964 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qlayout.sip"
#include <qlayout.h>
#line 23967 "sipkdeuipart3.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 23970 "sipkdeuipart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kpushbutton.sip"
#include <kpushbutton.h>
#line 23973 "sipkdeuipart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 23976 "sipkdeuipart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 23979 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qmenu.sip"
#include <qmenu.h>
#line 23982 "sipkdeuipart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kguiitem.sip"
#include <kguiitem.h>
#line 23985 "sipkdeuipart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 23988 "sipkdeuipart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 23991 "sipkdeuipart3.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 23994 "sipkdeuipart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 23997 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 24000 "sipkdeuipart3.cpp"
#line 436 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 24003 "sipkdeuipart3.cpp"
#line 374 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 24006 "sipkdeuipart3.cpp"
#line 412 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 24009 "sipkdeuipart3.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 24012 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 24015 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 24018 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 24021 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 24024 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 24027 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 24030 "sipkdeuipart3.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 24033 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 24036 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 24039 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 24042 "sipkdeuipart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24045 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 24048 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 24051 "sipkdeuipart3.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 24056 "sipkdeuipart3.cpp"
#line 508 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 24059 "sipkdeuipart3.cpp"
#line 562 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 24062 "sipkdeuipart3.cpp"
#line 533 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 24065 "sipkdeuipart3.cpp"
#line 550 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 24068 "sipkdeuipart3.cpp"
#line 618 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 24071 "sipkdeuipart3.cpp"
#line 247 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 24074 "sipkdeuipart3.cpp"
#line 360 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 24077 "sipkdeuipart3.cpp"
#line 345 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 24080 "sipkdeuipart3.cpp"
#line 325 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 24083 "sipkdeuipart3.cpp"
#line 225 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 24086 "sipkdeuipart3.cpp"
#line 184 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 24089 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 24092 "sipkdeuipart3.cpp"
#line 74 "/usr/local/share/py-sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 24095 "sipkdeuipart3.cpp"
#line 47 "/usr/local/share/py-sip/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 24098 "sipkdeuipart3.cpp"
#line 136 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#include <qlist.h>
#line 66 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qlist.h>
#line 229 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 520 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 24159 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 24162 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 24165 "sipkdeuipart3.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 24168 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 24171 "sipkdeuipart3.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 24176 "sipkdeuipart3.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 24179 "sipkdeuipart3.cpp"
#line 99 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 24182 "sipkdeuipart3.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 24185 "sipkdeuipart3.cpp"
#line 165 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 24188 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 24191 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qdockwidget.sip"
#include <qdockwidget.h>
#line 24194 "sipkdeuipart3.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 24197 "sipkdeuipart3.cpp"
#line 334 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 24200 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 56 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 24205 "sipkdeuipart3.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qprinterinfo.h>
#line 24208 "sipkdeuipart3.cpp"
#line 202 "/usr/local/share/py-sip/QtGui/qstandarditemmodel.sip"
#include <qstandarditemmodel.h>
#line 24211 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 24214 "sipkdeuipart3.cpp"
#line 66 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 24217 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 114 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 24222 "sipkdeuipart3.cpp"
#line 65 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 88 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 24227 "sipkdeuipart3.cpp"
#line 149 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 175 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 24232 "sipkdeuipart3.cpp"
#line 83 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 101 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 24237 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 24240 "sipkdeuipart3.cpp"
#line 75 "/usr/local/share/py-sip/QtGui/qundostack.sip"
#include <qundostack.h>
#line 24243 "sipkdeuipart3.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 24246 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qprinter.sip"
#include <qprinter.h>
#line 24249 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#line 24252 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 24255 "sipkdeuipart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24258 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 24261 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 24264 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 24267 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 24270 "sipkdeuipart3.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 24273 "sipkdeuipart3.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 24276 "sipkdeuipart3.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 24307 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 24310 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 24313 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 24316 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 24319 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 24322 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 24325 "sipkdeuipart3.cpp"


class sipSonnet_Dialog : public Sonnet::Dialog
{
public:
    sipSonnet_Dialog(Sonnet::BackgroundChecker *,QWidget *);
    virtual ~sipSonnet_Dialog();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    bool sipProtectVirt_event(bool,QEvent *);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent *);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent *);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent *);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent *);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent *);
    void sipProtectVirt_enterEvent(bool,QEvent *);
    void sipProtectVirt_leaveEvent(bool,QEvent *);
    void sipProtectVirt_paintEvent(bool,QPaintEvent *);
    void sipProtectVirt_moveEvent(bool,QMoveEvent *);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent *);
    void sipProtectVirt_actionEvent(bool,QActionEvent *);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent *);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent *);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent *);
    void sipProtectVirt_dropEvent(bool,QDropEvent *);
    void sipProtectVirt_changeEvent(bool,QEvent *);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent *);
    void sipProtect_resetInputContext();
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    void sipProtectVirt_enabledChange(bool,bool);
    void sipProtectVirt_paletteChange(bool,const QPalette&);
    void sipProtectVirt_fontChange(bool,const QFont&);
    void sipProtectVirt_windowActivationChange(bool,bool);
    void sipProtectVirt_languageChange(bool);
    void sipProtectVirt_showEvent(bool,QShowEvent *);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent *);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent *);
    bool sipProtectVirt_eventFilter(bool,QObject *,QEvent *);
    void sipProtectVirt_hideEvent(bool,QHideEvent *);
    void sipProtectVirt_closeEvent(bool,QCloseEvent *);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent *);
    void sipProtectVirt_slotButtonClicked(bool,int);
    void sipProtect_updateGeometry();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QSize sizeHint() const;
    QSize minimumSizeHint() const;
    void setCaption(const QString&);
    void setCaption(const QString&,bool);
    void setPlainCaption(const QString&);
    void hideEvent(QHideEvent *);
    void closeEvent(QCloseEvent *);
    void keyPressEvent(QKeyEvent *);
    void slotButtonClicked(int);
    void setVisible(bool);
    void done(int);
    void accept();
    void reject();
    void showEvent(QShowEvent *);
    void resizeEvent(QResizeEvent *);
    void contextMenuEvent(QContextMenuEvent *);
    bool eventFilter(QObject *,QEvent *);
    int devType() const;
    int heightForWidth(int) const;
    QPaintEngine * paintEngine() const;
    bool event(QEvent *);
    void mousePressEvent(QMouseEvent *);
    void mouseReleaseEvent(QMouseEvent *);
    void mouseDoubleClickEvent(QMouseEvent *);
    void mouseMoveEvent(QMouseEvent *);
    void wheelEvent(QWheelEvent *);
    void keyReleaseEvent(QKeyEvent *);
    void focusInEvent(QFocusEvent *);
    void focusOutEvent(QFocusEvent *);
    void enterEvent(QEvent *);
    void leaveEvent(QEvent *);
    void paintEvent(QPaintEvent *);
    void moveEvent(QMoveEvent *);
    void tabletEvent(QTabletEvent *);
    void actionEvent(QActionEvent *);
    void dragEnterEvent(QDragEnterEvent *);
    void dragMoveEvent(QDragMoveEvent *);
    void dragLeaveEvent(QDragLeaveEvent *);
    void dropEvent(QDropEvent *);
    void changeEvent(QEvent *);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void inputMethodEvent(QInputMethodEvent *);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    void enabledChange(bool);
    void paletteChange(const QPalette&);
    void fontChange(const QFont&);
    void windowActivationChange(bool);
    void languageChange();
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipSonnet_Dialog(const sipSonnet_Dialog &);
    sipSonnet_Dialog &operator = (const sipSonnet_Dialog &);

    char sipPyMethods[54];
};

sipSonnet_Dialog::sipSonnet_Dialog(Sonnet::BackgroundChecker *a0,QWidget *a1): Sonnet::Dialog(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipSonnet_Dialog::~sipSonnet_Dialog()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipSonnet_Dialog::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_Sonnet_Dialog);
}

int sipSonnet_Dialog::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Sonnet::Dialog::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_Sonnet_Dialog,_c,_id,_a);

    return _id;
}

void *sipSonnet_Dialog::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast && sip_kdeui_qt_metacast(sipPySelf,sipType_Sonnet_Dialog,_clname)) ? this : Sonnet::Dialog::qt_metacast(_clname);
}

QSize sipSonnet_Dialog::sizeHint() const
{
    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_sizeHint);

    if (!meth)
        return KDialog::sizeHint();

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState,meth);
}

QSize sipSonnet_Dialog::minimumSizeHint() const
{
    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!meth)
        return KDialog::minimumSizeHint();

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState,meth);
}

void sipSonnet_Dialog::setCaption(const QString& a0)
{
    typedef void (*sipVH_QtCore_29)(sip_gilstate_t,PyObject *,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_setCaption);

    if (!meth)
    {
        KDialog::setCaption(a0);
        return;
    }

    ((sipVH_QtCore_29)(sipModuleAPI_kdeui_QtCore->em_virthandlers[29]))(sipGILState,meth,a0);
}

void sipSonnet_Dialog::setCaption(const QString& a0,bool a1)
{
    typedef void (*sipVH_QtXml_24)(sip_gilstate_t,PyObject *,const QString&,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_setCaption);

    if (!meth)
    {
        KDialog::setCaption(a0,a1);
        return;
    }

    ((sipVH_QtXml_24)(sipModuleAPI_kdeui_QtXml->em_virthandlers[24]))(sipGILState,meth,a0,a1);
}

void sipSonnet_Dialog::setPlainCaption(const QString& a0)
{
    typedef void (*sipVH_QtCore_29)(sip_gilstate_t,PyObject *,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_setPlainCaption);

    if (!meth)
    {
        KDialog::setPlainCaption(a0);
        return;
    }

    ((sipVH_QtCore_29)(sipModuleAPI_kdeui_QtCore->em_virthandlers[29]))(sipGILState,meth,a0);
}

void sipSonnet_Dialog::hideEvent(QHideEvent *a0)
{
    typedef void (*sipVH_QtGui_0)(sip_gilstate_t,PyObject *,QHideEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_hideEvent);

    if (!meth)
    {
        KDialog::hideEvent(a0);
        return;
    }

    ((sipVH_QtGui_0)(sipModuleAPI_kdeui_QtGui->em_virthandlers[0]))(sipGILState,meth,a0);
}

void sipSonnet_Dialog::closeEvent(QCloseEvent *a0)
{
    typedef void (*sipVH_QtGui_23)(sip_gilstate_t,PyObject *,QCloseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_closeEvent);

    if (!meth)
    {
        KDialog::closeEvent(a0);
        return;
    }

    ((sipVH_QtGui_23)(sipModuleAPI_kdeui_QtGui->em_virthandlers[23]))(sipGILState,meth,a0);
}

void sipSonnet_Dialog::keyPressEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_keyPressEvent);

    if (!meth)
    {
        KDialog::keyPressEvent(a0);
        return;
    }

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipSonnet_Dialog::slotButtonClicked(int a0)
{
    typedef void (*sipVH_QtNetwork_1)(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_slotButtonClicked);

    if (!meth)
    {
        KDialog::slotButtonClicked(a0);
        return;
    }

    ((sipVH_QtNetwork_1)(sipModuleAPI_kdeui_QtNetwork->em_virthandlers[1]))(sipGILState,meth,a0);
}

void sipSonnet_Dialog::setVisible(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_setVisible);

    if (!meth)
    {
        QDialog::setVisible(a0);
        return;
    }

    ((sipVH_QtGui_7)(sipModuleAPI_kdeui_QtGui->em_virthandlers[7]))(sipGILState,meth,a0);
}

void sipSonnet_Dialog::done(int a0)
{
    typedef void (*sipVH_QtGui_6)(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_done);

    if (!meth)
    {
        QDialog::done(a0);
        return;
    }

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState,meth,a0);
}

void sipSonnet_Dialog::accept()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_accept);

    if (!meth)
    {
        QDialog::accept();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipSonnet_Dialog::reject()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_reject);

    if (!meth)
    {
        QDialog::reject();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipSonnet_Dialog::showEvent(QShowEvent *a0)
{
    typedef void (*sipVH_QtGui_1)(sip_gilstate_t,PyObject *,QShowEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_showEvent);

    if (!meth)
    {
        QDialog::showEvent(a0);
        return;
    }

    ((sipVH_QtGui_1)(sipModuleAPI_kdeui_QtGui->em_virthandlers[1]))(sipGILState,meth,a0);
}

void sipSonnet_Dialog::resizeEvent(QResizeEvent *a0)
{
    typedef void (*sipVH_QtGui_2)(sip_gilstate_t,PyObject *,QResizeEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_resizeEvent);

    if (!meth)
    {
        QDialog::resizeEvent(a0);
        return;
    }

    ((sipVH_QtGui_2)(sipModuleAPI_kdeui_QtGui->em_virthandlers[2]))(sipGILState,meth,a0);
}

void sipSonnet_Dialog::contextMenuEvent(QContextMenuEvent *a0)
{
    typedef void (*sipVH_QtGui_22)(sip_gilstate_t,PyObject *,QContextMenuEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!meth)
    {
        QDialog::contextMenuEvent(a0);
        return;
    }

    ((sipVH_QtGui_22)(sipModuleAPI_kdeui_QtGui->em_virthandlers[22]))(sipGILState,meth,a0);
}

bool sipSonnet_Dialog::eventFilter(QObject *a0,QEvent *a1)
{
    typedef bool (*sipVH_QtCore_21)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_eventFilter);

    if (!meth)
        return QDialog::eventFilter(a0,a1);

    return ((sipVH_QtCore_21)(sipModuleAPI_kdeui_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

int sipSonnet_Dialog::devType() const
{
    typedef int (*sipVH_QtCore_8)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,NULL,sipName_devType);

    if (!meth)
        return QWidget::devType();

    return ((sipVH_QtCore_8)(sipModuleAPI_kdeui_QtCore->em_virthandlers[8]))(sipGILState,meth);
}

int sipSonnet_Dialog::heightForWidth(int a0) const
{
    typedef int (*sipVH_QtGui_29)(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_heightForWidth);

    if (!meth)
        return QWidget::heightForWidth(a0);

    return ((sipVH_QtGui_29)(sipModuleAPI_kdeui_QtGui->em_virthandlers[29]))(sipGILState,meth,a0);
}

QPaintEngine * sipSonnet_Dialog::paintEngine() const
{
    typedef QPaintEngine * (*sipVH_QtGui_28)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_paintEngine);

    if (!meth)
        return QWidget::paintEngine();

    return ((sipVH_QtGui_28)(sipModuleAPI_kdeui_QtGui->em_virthandlers[28]))(sipGILState,meth);
}

bool sipSonnet_Dialog::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QWidget::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_kdeui_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

void sipSonnet_Dialog::mousePressEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_mousePressEvent);

    if (!meth)
    {
        QWidget::mousePressEvent(a0);
        return;
    }

    ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipSonnet_Dialog::mouseReleaseEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!meth)
    {
        QWidget::mouseReleaseEvent(a0);
        return;
    }

    ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipSonnet_Dialog::mouseDoubleClickEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!meth)
    {
        QWidget::mouseDoubleClickEvent(a0);
        return;
    }

    ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipSonnet_Dialog::mouseMoveEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!meth)
    {
        QWidget::mouseMoveEvent(a0);
        return;
    }

    ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipSonnet_Dialog::wheelEvent(QWheelEvent *a0)
{
    typedef void (*sipVH_QtGui_5)(sip_gilstate_t,PyObject *,QWheelEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_wheelEvent);

    if (!meth)
    {
        QWidget::wheelEvent(a0);
        return;
    }

    ((sipVH_QtGui_5)(sipModuleAPI_kdeui_QtGui->em_virthandlers[5]))(sipGILState,meth,a0);
}

void sipSonnet_Dialog::keyReleaseEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!meth)
    {
        QWidget::keyReleaseEvent(a0);
        return;
    }

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipSonnet_Dialog::focusInEvent(QFocusEvent *a0)
{
    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QFocusEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_focusInEvent);

    if (!meth)
    {
        QWidget::focusInEvent(a0);
        return;
    }

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipSonnet_Dialog::focusOutEvent(QFocusEvent *a0)
{
    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QFocusEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_focusOutEvent);

    if (!meth)
    {
        QWidget::focusOutEvent(a0);
        return;
    }

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipSonnet_Dialog::enterEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_enterEvent);

    if (!meth)
    {
        QWidget::enterEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kdeui_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipSonnet_Dialog::leaveEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_leaveEvent);

    if (!meth)
    {
        QWidget::leaveEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kdeui_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipSonnet_Dialog::paintEvent(QPaintEvent *a0)
{
    typedef void (*sipVH_QtGui_3)(sip_gilstate_t,PyObject *,QPaintEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_paintEvent);

    if (!meth)
    {
        QWidget::paintEvent(a0);
        return;
    }

    ((sipVH_QtGui_3)(sipModuleAPI_kdeui_QtGui->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipSonnet_Dialog::moveEvent(QMoveEvent *a0)
{
    typedef void (*sipVH_QtGui_24)(sip_gilstate_t,PyObject *,QMoveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_moveEvent);

    if (!meth)
    {
        QWidget::moveEvent(a0);
        return;
    }

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState,meth,a0);
}

void sipSonnet_Dialog::tabletEvent(QTabletEvent *a0)
{
    typedef void (*sipVH_QtGui_21)(sip_gilstate_t,PyObject *,QTabletEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_tabletEvent);

    if (!meth)
    {
        QWidget::tabletEvent(a0);
        return;
    }

    ((sipVH_QtGui_21)(sipModuleAPI_kdeui_QtGui->em_virthandlers[21]))(sipGILState,meth,a0);
}

void sipSonnet_Dialog::actionEvent(QActionEvent *a0)
{
    typedef void (*sipVH_QtGui_20)(sip_gilstate_t,PyObject *,QActionEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_actionEvent);

    if (!meth)
    {
        QWidget::actionEvent(a0);
        return;
    }

    ((sipVH_QtGui_20)(sipModuleAPI_kdeui_QtGui->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipSonnet_Dialog::dragEnterEvent(QDragEnterEvent *a0)
{
    typedef void (*sipVH_QtGui_19)(sip_gilstate_t,PyObject *,QDragEnterEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!meth)
    {
        QWidget::dragEnterEvent(a0);
        return;
    }

    ((sipVH_QtGui_19)(sipModuleAPI_kdeui_QtGui->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipSonnet_Dialog::dragMoveEvent(QDragMoveEvent *a0)
{
    typedef void (*sipVH_QtGui_18)(sip_gilstate_t,PyObject *,QDragMoveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!meth)
    {
        QWidget::dragMoveEvent(a0);
        return;
    }

    ((sipVH_QtGui_18)(sipModuleAPI_kdeui_QtGui->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipSonnet_Dialog::dragLeaveEvent(QDragLeaveEvent *a0)
{
    typedef void (*sipVH_QtGui_17)(sip_gilstate_t,PyObject *,QDragLeaveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!meth)
    {
        QWidget::dragLeaveEvent(a0);
        return;
    }

    ((sipVH_QtGui_17)(sipModuleAPI_kdeui_QtGui->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipSonnet_Dialog::dropEvent(QDropEvent *a0)
{
    typedef void (*sipVH_QtGui_16)(sip_gilstate_t,PyObject *,QDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_dropEvent);

    if (!meth)
    {
        QWidget::dropEvent(a0);
        return;
    }

    ((sipVH_QtGui_16)(sipModuleAPI_kdeui_QtGui->em_virthandlers[16]))(sipGILState,meth,a0);
}

void sipSonnet_Dialog::changeEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_changeEvent);

    if (!meth)
    {
        QWidget::changeEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kdeui_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

int sipSonnet_Dialog::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    typedef int (*sipVH_QtGui_15)(sip_gilstate_t,PyObject *,QPaintDevice::PaintDeviceMetric);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_metric);

    if (!meth)
        return QWidget::metric(a0);

    return ((sipVH_QtGui_15)(sipModuleAPI_kdeui_QtGui->em_virthandlers[15]))(sipGILState,meth,a0);
}

void sipSonnet_Dialog::inputMethodEvent(QInputMethodEvent *a0)
{
    typedef void (*sipVH_QtGui_14)(sip_gilstate_t,PyObject *,QInputMethodEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!meth)
    {
        QWidget::inputMethodEvent(a0);
        return;
    }

    ((sipVH_QtGui_14)(sipModuleAPI_kdeui_QtGui->em_virthandlers[14]))(sipGILState,meth,a0);
}

QVariant sipSonnet_Dialog::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    typedef QVariant (*sipVH_QtGui_13)(sip_gilstate_t,PyObject *,Qt::InputMethodQuery);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!meth)
        return QWidget::inputMethodQuery(a0);

    return ((sipVH_QtGui_13)(sipModuleAPI_kdeui_QtGui->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipSonnet_Dialog::focusNextPrevChild(bool a0)
{
    typedef bool (*sipVH_QtGui_12)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!meth)
        return QWidget::focusNextPrevChild(a0);

    return ((sipVH_QtGui_12)(sipModuleAPI_kdeui_QtGui->em_virthandlers[12]))(sipGILState,meth,a0);
}

void sipSonnet_Dialog::enabledChange(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_enabledChange);

    if (!meth)
    {
        QWidget::enabledChange(a0);
        return;
    }

    ((sipVH_QtGui_7)(sipModuleAPI_kdeui_QtGui->em_virthandlers[7]))(sipGILState,meth,a0);
}

void sipSonnet_Dialog::paletteChange(const QPalette& a0)
{
    typedef void (*sipVH_QtGui_11)(sip_gilstate_t,PyObject *,const QPalette&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_paletteChange);

    if (!meth)
    {
        QWidget::paletteChange(a0);
        return;
    }

    ((sipVH_QtGui_11)(sipModuleAPI_kdeui_QtGui->em_virthandlers[11]))(sipGILState,meth,a0);
}

void sipSonnet_Dialog::fontChange(const QFont& a0)
{
    typedef void (*sipVH_QtGui_10)(sip_gilstate_t,PyObject *,const QFont&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_fontChange);

    if (!meth)
    {
        QWidget::fontChange(a0);
        return;
    }

    ((sipVH_QtGui_10)(sipModuleAPI_kdeui_QtGui->em_virthandlers[10]))(sipGILState,meth,a0);
}

void sipSonnet_Dialog::windowActivationChange(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_windowActivationChange);

    if (!meth)
    {
        QWidget::windowActivationChange(a0);
        return;
    }

    ((sipVH_QtGui_7)(sipModuleAPI_kdeui_QtGui->em_virthandlers[7]))(sipGILState,meth,a0);
}

void sipSonnet_Dialog::languageChange()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_languageChange);

    if (!meth)
    {
        QWidget::languageChange();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipSonnet_Dialog::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    ((sipVH_QtCore_3)(sipModuleAPI_kdeui_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipSonnet_Dialog::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    ((sipVH_QtCore_20)(sipModuleAPI_kdeui_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipSonnet_Dialog::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kdeui_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipSonnet_Dialog::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipSonnet_Dialog::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

int sipSonnet_Dialog::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipSonnet_Dialog::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipSonnet_Dialog::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipSonnet_Dialog::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipSonnet_Dialog::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipSonnet_Dialog::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

bool sipSonnet_Dialog::sipProtectVirt_event(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QWidget::event(a0) : event(a0));
}

void sipSonnet_Dialog::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipSonnet_Dialog::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipSonnet_Dialog::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipSonnet_Dialog::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipSonnet_Dialog::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent *a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipSonnet_Dialog::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipSonnet_Dialog::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipSonnet_Dialog::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipSonnet_Dialog::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipSonnet_Dialog::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipSonnet_Dialog::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent *a0)
{
    (sipSelfWasArg ? QWidget::paintEvent(a0) : paintEvent(a0));
}

void sipSonnet_Dialog::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent *a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipSonnet_Dialog::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent *a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipSonnet_Dialog::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent *a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipSonnet_Dialog::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipSonnet_Dialog::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipSonnet_Dialog::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipSonnet_Dialog::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent *a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipSonnet_Dialog::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QWidget::changeEvent(a0) : changeEvent(a0));
}

int sipSonnet_Dialog::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipSonnet_Dialog::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent *a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipSonnet_Dialog::sipProtect_resetInputContext()
{
    QWidget::resetInputContext();
}

void sipSonnet_Dialog::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipSonnet_Dialog::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipSonnet_Dialog::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipSonnet_Dialog::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipSonnet_Dialog::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipSonnet_Dialog::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

void sipSonnet_Dialog::sipProtectVirt_enabledChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::enabledChange(a0) : enabledChange(a0));
}

void sipSonnet_Dialog::sipProtectVirt_paletteChange(bool sipSelfWasArg,const QPalette& a0)
{
    (sipSelfWasArg ? QWidget::paletteChange(a0) : paletteChange(a0));
}

void sipSonnet_Dialog::sipProtectVirt_fontChange(bool sipSelfWasArg,const QFont& a0)
{
    (sipSelfWasArg ? QWidget::fontChange(a0) : fontChange(a0));
}

void sipSonnet_Dialog::sipProtectVirt_windowActivationChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::windowActivationChange(a0) : windowActivationChange(a0));
}

void sipSonnet_Dialog::sipProtectVirt_languageChange(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QWidget::languageChange() : languageChange());
}

void sipSonnet_Dialog::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent *a0)
{
    (sipSelfWasArg ? QDialog::showEvent(a0) : showEvent(a0));
}

void sipSonnet_Dialog::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent *a0)
{
    (sipSelfWasArg ? QDialog::resizeEvent(a0) : resizeEvent(a0));
}

void sipSonnet_Dialog::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent *a0)
{
    (sipSelfWasArg ? QDialog::contextMenuEvent(a0) : contextMenuEvent(a0));
}

bool sipSonnet_Dialog::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject *a0,QEvent *a1)
{
    return (sipSelfWasArg ? QDialog::eventFilter(a0,a1) : eventFilter(a0,a1));
}

void sipSonnet_Dialog::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent *a0)
{
    (sipSelfWasArg ? KDialog::hideEvent(a0) : hideEvent(a0));
}

void sipSonnet_Dialog::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent *a0)
{
    (sipSelfWasArg ? KDialog::closeEvent(a0) : closeEvent(a0));
}

void sipSonnet_Dialog::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? KDialog::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipSonnet_Dialog::sipProtectVirt_slotButtonClicked(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? KDialog::slotButtonClicked(a0) : slotButtonClicked(a0));
}

void sipSonnet_Dialog::sipProtect_updateGeometry()
{
    KDialog::updateGeometry();
}


extern "C" {static PyObject *meth_Sonnet_Dialog_receivers(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipSonnet_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Sonnet_Dialog,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 25705 "sipkdeuipart3.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_receivers);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipSonnet_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_Dialog,&sipCpp,sipType_QTimerEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_childEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipSonnet_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_Dialog,&sipCpp,sipType_QChildEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_customEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipSonnet_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_Dialog,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipSonnet_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Sonnet_Dialog,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipSonnet_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Sonnet_Dialog,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_event(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_event(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipSonnet_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_Dialog,&sipCpp,sipType_QEvent,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_event);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_mousePressEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_mousePressEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipSonnet_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_Dialog,&sipCpp,sipType_QMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_mousePressEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_mouseReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_mouseReleaseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipSonnet_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_Dialog,&sipCpp,sipType_QMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_mouseReleaseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_mouseDoubleClickEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_mouseDoubleClickEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipSonnet_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_Dialog,&sipCpp,sipType_QMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_mouseDoubleClickEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_mouseMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_mouseMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipSonnet_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_Dialog,&sipCpp,sipType_QMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_mouseMoveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_wheelEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_wheelEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent * a0;
        sipSonnet_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_Dialog,&sipCpp,sipType_QWheelEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_wheelEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_keyReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_keyReleaseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipSonnet_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_Dialog,&sipCpp,sipType_QKeyEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_keyReleaseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_focusInEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_focusInEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipSonnet_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_Dialog,&sipCpp,sipType_QFocusEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_focusInEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_focusOutEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_focusOutEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipSonnet_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_Dialog,&sipCpp,sipType_QFocusEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_focusOutEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_enterEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_enterEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipSonnet_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_Dialog,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_enterEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_leaveEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_leaveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipSonnet_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_Dialog,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_leaveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_paintEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_paintEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent * a0;
        sipSonnet_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_Dialog,&sipCpp,sipType_QPaintEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_paintEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_moveEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_moveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent * a0;
        sipSonnet_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_Dialog,&sipCpp,sipType_QMoveEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_moveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_tabletEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_tabletEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent * a0;
        sipSonnet_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_Dialog,&sipCpp,sipType_QTabletEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_tabletEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_actionEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_actionEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent * a0;
        sipSonnet_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_Dialog,&sipCpp,sipType_QActionEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_actionEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_dragEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_dragEnterEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent * a0;
        sipSonnet_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_Dialog,&sipCpp,sipType_QDragEnterEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_dragEnterEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_dragMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_dragMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent * a0;
        sipSonnet_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_Dialog,&sipCpp,sipType_QDragMoveEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_dragMoveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_dragLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_dragLeaveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent * a0;
        sipSonnet_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_Dialog,&sipCpp,sipType_QDragLeaveEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_dragLeaveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_dropEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_dropEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent * a0;
        sipSonnet_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_Dialog,&sipCpp,sipType_QDropEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_dropEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_changeEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_changeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipSonnet_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_Dialog,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_changeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_metric(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_metric(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        sipSonnet_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pE",&sipSelf,sipType_Sonnet_Dialog,&sipCpp,sipType_QPaintDevice_PaintDeviceMetric,&a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_metric);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_inputMethodEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_inputMethodEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent * a0;
        sipSonnet_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_Dialog,&sipCpp,sipType_QInputMethodEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_inputMethodEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_resetInputContext(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_resetInputContext(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipSonnet_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Sonnet_Dialog,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_resetInputContext();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_resetInputContext);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_updateMicroFocus(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_updateMicroFocus(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipSonnet_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Sonnet_Dialog,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_updateMicroFocus();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_updateMicroFocus);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_create(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_create(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        WId a0 = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipSonnet_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p|mbb",&sipSelf,sipType_Sonnet_Dialog,&sipCpp,&a0,&a1,&a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_create(a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_create);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_destroy(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_destroy(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipSonnet_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p|bb",&sipSelf,sipType_Sonnet_Dialog,&sipCpp,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_destroy(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_destroy);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_focusNextPrevChild(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_focusNextPrevChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipSonnet_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_Sonnet_Dialog,&sipCpp,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_focusNextPrevChild);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_focusNextChild(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_focusNextChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipSonnet_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Sonnet_Dialog,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_focusNextChild();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_focusNextChild);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_focusPreviousChild(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_focusPreviousChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipSonnet_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Sonnet_Dialog,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_focusPreviousChild();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_focusPreviousChild);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_enabledChange(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_enabledChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipSonnet_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_Sonnet_Dialog,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_enabledChange(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_enabledChange);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_paletteChange(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_paletteChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPalette * a0;
        sipSonnet_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_Sonnet_Dialog,&sipCpp,sipType_QPalette,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paletteChange(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_paletteChange);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_fontChange(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_fontChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QFont * a0;
        sipSonnet_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_Sonnet_Dialog,&sipCpp,sipType_QFont,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_fontChange(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_fontChange);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_windowActivationChange(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_windowActivationChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipSonnet_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_Sonnet_Dialog,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_windowActivationChange(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_windowActivationChange);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_languageChange(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_languageChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipSonnet_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Sonnet_Dialog,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_languageChange(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_languageChange);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_showEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_showEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent * a0;
        sipSonnet_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_Dialog,&sipCpp,sipType_QShowEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_showEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_resizeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent * a0;
        sipSonnet_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_Dialog,&sipCpp,sipType_QResizeEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_resizeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_contextMenuEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_contextMenuEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent * a0;
        sipSonnet_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_Dialog,&sipCpp,sipType_QContextMenuEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_contextMenuEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_eventFilter(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_eventFilter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject * a0;
        QEvent * a1;
        sipSonnet_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8J8",&sipSelf,sipType_Sonnet_Dialog,&sipCpp,sipType_QObject,&a0,sipType_QEvent,&a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_eventFilter);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_hideEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_hideEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent * a0;
        sipSonnet_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_Dialog,&sipCpp,sipType_QHideEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_hideEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_closeEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_closeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent * a0;
        sipSonnet_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_Dialog,&sipCpp,sipType_QCloseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_closeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_keyPressEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_keyPressEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipSonnet_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_Dialog,&sipCpp,sipType_QKeyEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_keyPressEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_slotButtonClicked(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_slotButtonClicked(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipSonnet_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pi",&sipSelf,sipType_Sonnet_Dialog,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_slotButtonClicked(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_slotButtonClicked);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_updateGeometry(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_updateGeometry(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipSonnet_Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Sonnet_Dialog,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_updateGeometry();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_updateGeometry);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_originalBuffer(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_originalBuffer(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Sonnet::Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Sonnet_Dialog,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->originalBuffer());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_originalBuffer);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_buffer(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_buffer(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Sonnet::Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Sonnet_Dialog,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->buffer());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_buffer);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_show(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_show(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Sonnet::Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Sonnet_Dialog,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->show();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_show);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_activeAutoCorrect(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_activeAutoCorrect(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        Sonnet::Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_Sonnet_Dialog,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->activeAutoCorrect(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_activeAutoCorrect);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_Dialog_setBuffer(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_Dialog_setBuffer(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        Sonnet::Dialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_Sonnet_Dialog,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setBuffer(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Dialog,sipName_setBuffer);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Sonnet_Dialog(void *, const sipTypeDef *);}
static void *cast_Sonnet_Dialog(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Sonnet_Dialog)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KDialog)->ctd_cast((KDialog *)(Sonnet::Dialog *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Sonnet_Dialog(void *, int);}
static void release_Sonnet_Dialog(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipSonnet_Dialog *>(sipCppV);
    else
        delete reinterpret_cast<Sonnet::Dialog *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Sonnet_Dialog(sipSimpleWrapper *);}
static void dealloc_Sonnet_Dialog(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipSonnet_Dialog *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Sonnet_Dialog(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_Sonnet_Dialog(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_Sonnet_Dialog(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **sipOwner, int *sipArgsParsed)
{
    sipSonnet_Dialog *sipCpp = 0;

    if (!sipCpp)
    {
        Sonnet::BackgroundChecker * a0;
        QWidget * a1;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J8JH",sipType_Sonnet_BackgroundChecker,&a0,sipType_QWidget,&a1,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipSonnet_Dialog(a0,a1);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_Sonnet_Dialog[] = {{72, 255, 1}};


static PyMethodDef methods_Sonnet_Dialog[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), meth_Sonnet_Dialog_actionEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_activeAutoCorrect), meth_Sonnet_Dialog_activeAutoCorrect, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_buffer), meth_Sonnet_Dialog_buffer, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_Sonnet_Dialog_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_Sonnet_Dialog_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_Sonnet_Dialog_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_Sonnet_Dialog_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_Sonnet_Dialog_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_create), meth_Sonnet_Dialog_create, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_Sonnet_Dialog_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), meth_Sonnet_Dialog_destroy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_Sonnet_Dialog_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_Sonnet_Dialog_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_Sonnet_Dialog_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_Sonnet_Dialog_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_Sonnet_Dialog_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enabledChange), meth_Sonnet_Dialog_enabledChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), meth_Sonnet_Dialog_enterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_Sonnet_Dialog_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_Sonnet_Dialog_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_Sonnet_Dialog_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), meth_Sonnet_Dialog_focusNextChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), meth_Sonnet_Dialog_focusNextPrevChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_Sonnet_Dialog_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), meth_Sonnet_Dialog_focusPreviousChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fontChange), meth_Sonnet_Dialog_fontChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_Sonnet_Dialog_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), meth_Sonnet_Dialog_inputMethodEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_Sonnet_Dialog_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), meth_Sonnet_Dialog_keyReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_languageChange), meth_Sonnet_Dialog_languageChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), meth_Sonnet_Dialog_leaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), meth_Sonnet_Dialog_metric, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_Sonnet_Dialog_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_Sonnet_Dialog_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_Sonnet_Dialog_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_Sonnet_Dialog_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), meth_Sonnet_Dialog_moveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_originalBuffer), meth_Sonnet_Dialog_originalBuffer, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_Sonnet_Dialog_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paletteChange), meth_Sonnet_Dialog_paletteChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_Sonnet_Dialog_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resetInputContext), meth_Sonnet_Dialog_resetInputContext, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_Sonnet_Dialog_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setBuffer), meth_Sonnet_Dialog_setBuffer, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_show), meth_Sonnet_Dialog_show, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_Sonnet_Dialog_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotButtonClicked), meth_Sonnet_Dialog_slotButtonClicked, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tabletEvent), meth_Sonnet_Dialog_tabletEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Sonnet_Dialog_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateGeometry), meth_Sonnet_Dialog_updateGeometry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), meth_Sonnet_Dialog_updateMicroFocus, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_Sonnet_Dialog_wheelEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowActivationChange), meth_Sonnet_Dialog_windowActivationChange, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_Sonnet_Dialog[] = {
    {"languageChanged(const QString&)", 0},
    {"spellCheckStatus(const QString&)", 0},
    {"autoCorrect(const QString&,const QString&)", 0},
    {"cancel()", 0},
    {"stop()", 0},
    {"replace(const QString&,int,const QString&)", 0},
    {"misspelling(const QString&,int)", 0},
    {"done(const QString&)", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_kdeui_Sonnet_Dialog = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Sonnet__Dialog,
        {0}
    },
    sipNameNr_Dialog,
    -1,
    -1,
    {364, 255, 0},
    supers_Sonnet_Dialog,
    0,
    54, methods_Sonnet_Dialog,
    0, 0,
    0, 0,
    init_Sonnet_Dialog,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Sonnet_Dialog,
    release_Sonnet_Dialog,
    cast_Sonnet_Dialog,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &Sonnet::Dialog::staticMetaObject,
    0,
    pyqt4_signals_Sonnet_Dialog
};

#line 29 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/configwidget.sip"
#include <sonnet/configwidget.h>
#line 27388 "sipkdeuipart3.cpp"

#line 35 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 27392 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 27395 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 27398 "sipkdeuipart3.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 27401 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 27404 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 27407 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 27410 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 27413 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 27416 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 27419 "sipkdeuipart3.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 27422 "sipkdeuipart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 27425 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 27428 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 27431 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 27434 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 27437 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 27440 "sipkdeuipart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 27443 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 27446 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 27449 "sipkdeuipart3.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 27454 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 27457 "sipkdeuipart3.cpp"
#line 424 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 27460 "sipkdeuipart3.cpp"
#line 412 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 27463 "sipkdeuipart3.cpp"
#line 508 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 27466 "sipkdeuipart3.cpp"
#line 562 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 27469 "sipkdeuipart3.cpp"
#line 533 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 27472 "sipkdeuipart3.cpp"
#line 550 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 27475 "sipkdeuipart3.cpp"
#line 618 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 27478 "sipkdeuipart3.cpp"
#line 247 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 27481 "sipkdeuipart3.cpp"
#line 436 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 27484 "sipkdeuipart3.cpp"
#line 388 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 27487 "sipkdeuipart3.cpp"
#line 374 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 27490 "sipkdeuipart3.cpp"
#line 360 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 27493 "sipkdeuipart3.cpp"
#line 345 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 27496 "sipkdeuipart3.cpp"
#line 325 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 27499 "sipkdeuipart3.cpp"
#line 296 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 27502 "sipkdeuipart3.cpp"
#line 225 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 27505 "sipkdeuipart3.cpp"
#line 184 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 27508 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 27511 "sipkdeuipart3.cpp"
#line 74 "/usr/local/share/py-sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 27514 "sipkdeuipart3.cpp"
#line 47 "/usr/local/share/py-sip/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 27517 "sipkdeuipart3.cpp"
#line 136 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#include <qlist.h>
#line 66 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qlist.h>
#line 229 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 520 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 27578 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 27581 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 27584 "sipkdeuipart3.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 27587 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 27590 "sipkdeuipart3.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 27595 "sipkdeuipart3.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 27598 "sipkdeuipart3.cpp"
#line 99 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 27601 "sipkdeuipart3.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 27604 "sipkdeuipart3.cpp"
#line 165 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 27607 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 27610 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qdockwidget.sip"
#include <qdockwidget.h>
#line 27613 "sipkdeuipart3.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 27616 "sipkdeuipart3.cpp"
#line 334 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 27619 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 56 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 27624 "sipkdeuipart3.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qprinterinfo.h>
#line 27627 "sipkdeuipart3.cpp"
#line 202 "/usr/local/share/py-sip/QtGui/qstandarditemmodel.sip"
#include <qstandarditemmodel.h>
#line 27630 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 27633 "sipkdeuipart3.cpp"
#line 66 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 27636 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 114 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 27641 "sipkdeuipart3.cpp"
#line 65 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 88 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 27646 "sipkdeuipart3.cpp"
#line 149 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 175 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 27651 "sipkdeuipart3.cpp"
#line 83 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 101 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 27656 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 27659 "sipkdeuipart3.cpp"
#line 75 "/usr/local/share/py-sip/QtGui/qundostack.sip"
#include <qundostack.h>
#line 27662 "sipkdeuipart3.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 27665 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qprinter.sip"
#include <qprinter.h>
#line 27668 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#line 27671 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qlayout.sip"
#include <qlayout.h>
#line 27674 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 27677 "sipkdeuipart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 27680 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 27683 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 27686 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 27689 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 27692 "sipkdeuipart3.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 27695 "sipkdeuipart3.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 27698 "sipkdeuipart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 27701 "sipkdeuipart3.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 27732 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 27735 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 27738 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 27741 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 27744 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 27747 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 27750 "sipkdeuipart3.cpp"


class sipSonnet_ConfigWidget : public Sonnet::ConfigWidget
{
public:
    sipSonnet_ConfigWidget(KConfig *,QWidget *);
    virtual ~sipSonnet_ConfigWidget();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    bool sipProtectVirt_event(bool,QEvent *);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent *);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent *);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent *);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent *);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent *);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent *);
    void sipProtectVirt_enterEvent(bool,QEvent *);
    void sipProtectVirt_leaveEvent(bool,QEvent *);
    void sipProtectVirt_paintEvent(bool,QPaintEvent *);
    void sipProtectVirt_moveEvent(bool,QMoveEvent *);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent *);
    void sipProtectVirt_closeEvent(bool,QCloseEvent *);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent *);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent *);
    void sipProtectVirt_actionEvent(bool,QActionEvent *);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent *);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent *);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent *);
    void sipProtectVirt_dropEvent(bool,QDropEvent *);
    void sipProtectVirt_showEvent(bool,QShowEvent *);
    void sipProtectVirt_hideEvent(bool,QHideEvent *);
    void sipProtectVirt_changeEvent(bool,QEvent *);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent *);
    void sipProtect_resetInputContext();
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    void sipProtectVirt_enabledChange(bool,bool);
    void sipProtectVirt_paletteChange(bool,const QPalette&);
    void sipProtectVirt_fontChange(bool,const QFont&);
    void sipProtectVirt_windowActivationChange(bool,bool);
    void sipProtectVirt_languageChange(bool);
    void sipProtect_slotChanged();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    int devType() const;
    void setVisible(bool);
    QSize sizeHint() const;
    QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    QPaintEngine * paintEngine() const;
    bool event(QEvent *);
    void mousePressEvent(QMouseEvent *);
    void mouseReleaseEvent(QMouseEvent *);
    void mouseDoubleClickEvent(QMouseEvent *);
    void mouseMoveEvent(QMouseEvent *);
    void wheelEvent(QWheelEvent *);
    void keyPressEvent(QKeyEvent *);
    void keyReleaseEvent(QKeyEvent *);
    void focusInEvent(QFocusEvent *);
    void focusOutEvent(QFocusEvent *);
    void enterEvent(QEvent *);
    void leaveEvent(QEvent *);
    void paintEvent(QPaintEvent *);
    void moveEvent(QMoveEvent *);
    void resizeEvent(QResizeEvent *);
    void closeEvent(QCloseEvent *);
    void contextMenuEvent(QContextMenuEvent *);
    void tabletEvent(QTabletEvent *);
    void actionEvent(QActionEvent *);
    void dragEnterEvent(QDragEnterEvent *);
    void dragMoveEvent(QDragMoveEvent *);
    void dragLeaveEvent(QDragLeaveEvent *);
    void dropEvent(QDropEvent *);
    void showEvent(QShowEvent *);
    void hideEvent(QHideEvent *);
    void changeEvent(QEvent *);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void inputMethodEvent(QInputMethodEvent *);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    void enabledChange(bool);
    void paletteChange(const QPalette&);
    void fontChange(const QFont&);
    void windowActivationChange(bool);
    void languageChange();
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipSonnet_ConfigWidget(const sipSonnet_ConfigWidget &);
    sipSonnet_ConfigWidget &operator = (const sipSonnet_ConfigWidget &);

    char sipPyMethods[47];
};

sipSonnet_ConfigWidget::sipSonnet_ConfigWidget(KConfig *a0,QWidget *a1): Sonnet::ConfigWidget(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipSonnet_ConfigWidget::~sipSonnet_ConfigWidget()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipSonnet_ConfigWidget::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_Sonnet_ConfigWidget);
}

int sipSonnet_ConfigWidget::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Sonnet::ConfigWidget::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_Sonnet_ConfigWidget,_c,_id,_a);

    return _id;
}

void *sipSonnet_ConfigWidget::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast && sip_kdeui_qt_metacast(sipPySelf,sipType_Sonnet_ConfigWidget,_clname)) ? this : Sonnet::ConfigWidget::qt_metacast(_clname);
}

int sipSonnet_ConfigWidget::devType() const
{
    typedef int (*sipVH_QtCore_8)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_devType);

    if (!meth)
        return QWidget::devType();

    return ((sipVH_QtCore_8)(sipModuleAPI_kdeui_QtCore->em_virthandlers[8]))(sipGILState,meth);
}

void sipSonnet_ConfigWidget::setVisible(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_setVisible);

    if (!meth)
    {
        QWidget::setVisible(a0);
        return;
    }

    ((sipVH_QtGui_7)(sipModuleAPI_kdeui_QtGui->em_virthandlers[7]))(sipGILState,meth,a0);
}

QSize sipSonnet_ConfigWidget::sizeHint() const
{
    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_sizeHint);

    if (!meth)
        return QWidget::sizeHint();

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState,meth);
}

QSize sipSonnet_ConfigWidget::minimumSizeHint() const
{
    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!meth)
        return QWidget::minimumSizeHint();

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState,meth);
}

int sipSonnet_ConfigWidget::heightForWidth(int a0) const
{
    typedef int (*sipVH_QtGui_29)(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_heightForWidth);

    if (!meth)
        return QWidget::heightForWidth(a0);

    return ((sipVH_QtGui_29)(sipModuleAPI_kdeui_QtGui->em_virthandlers[29]))(sipGILState,meth,a0);
}

QPaintEngine * sipSonnet_ConfigWidget::paintEngine() const
{
    typedef QPaintEngine * (*sipVH_QtGui_28)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_paintEngine);

    if (!meth)
        return QWidget::paintEngine();

    return ((sipVH_QtGui_28)(sipModuleAPI_kdeui_QtGui->em_virthandlers[28]))(sipGILState,meth);
}

bool sipSonnet_ConfigWidget::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QWidget::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_kdeui_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigWidget::mousePressEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_mousePressEvent);

    if (!meth)
    {
        QWidget::mousePressEvent(a0);
        return;
    }

    ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigWidget::mouseReleaseEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!meth)
    {
        QWidget::mouseReleaseEvent(a0);
        return;
    }

    ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigWidget::mouseDoubleClickEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!meth)
    {
        QWidget::mouseDoubleClickEvent(a0);
        return;
    }

    ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigWidget::mouseMoveEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!meth)
    {
        QWidget::mouseMoveEvent(a0);
        return;
    }

    ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigWidget::wheelEvent(QWheelEvent *a0)
{
    typedef void (*sipVH_QtGui_5)(sip_gilstate_t,PyObject *,QWheelEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_wheelEvent);

    if (!meth)
    {
        QWidget::wheelEvent(a0);
        return;
    }

    ((sipVH_QtGui_5)(sipModuleAPI_kdeui_QtGui->em_virthandlers[5]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigWidget::keyPressEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_keyPressEvent);

    if (!meth)
    {
        QWidget::keyPressEvent(a0);
        return;
    }

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigWidget::keyReleaseEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!meth)
    {
        QWidget::keyReleaseEvent(a0);
        return;
    }

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigWidget::focusInEvent(QFocusEvent *a0)
{
    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QFocusEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_focusInEvent);

    if (!meth)
    {
        QWidget::focusInEvent(a0);
        return;
    }

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigWidget::focusOutEvent(QFocusEvent *a0)
{
    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QFocusEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_focusOutEvent);

    if (!meth)
    {
        QWidget::focusOutEvent(a0);
        return;
    }

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigWidget::enterEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_enterEvent);

    if (!meth)
    {
        QWidget::enterEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kdeui_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigWidget::leaveEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_leaveEvent);

    if (!meth)
    {
        QWidget::leaveEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kdeui_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigWidget::paintEvent(QPaintEvent *a0)
{
    typedef void (*sipVH_QtGui_3)(sip_gilstate_t,PyObject *,QPaintEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_paintEvent);

    if (!meth)
    {
        QWidget::paintEvent(a0);
        return;
    }

    ((sipVH_QtGui_3)(sipModuleAPI_kdeui_QtGui->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigWidget::moveEvent(QMoveEvent *a0)
{
    typedef void (*sipVH_QtGui_24)(sip_gilstate_t,PyObject *,QMoveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_moveEvent);

    if (!meth)
    {
        QWidget::moveEvent(a0);
        return;
    }

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigWidget::resizeEvent(QResizeEvent *a0)
{
    typedef void (*sipVH_QtGui_2)(sip_gilstate_t,PyObject *,QResizeEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_resizeEvent);

    if (!meth)
    {
        QWidget::resizeEvent(a0);
        return;
    }

    ((sipVH_QtGui_2)(sipModuleAPI_kdeui_QtGui->em_virthandlers[2]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigWidget::closeEvent(QCloseEvent *a0)
{
    typedef void (*sipVH_QtGui_23)(sip_gilstate_t,PyObject *,QCloseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_closeEvent);

    if (!meth)
    {
        QWidget::closeEvent(a0);
        return;
    }

    ((sipVH_QtGui_23)(sipModuleAPI_kdeui_QtGui->em_virthandlers[23]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigWidget::contextMenuEvent(QContextMenuEvent *a0)
{
    typedef void (*sipVH_QtGui_22)(sip_gilstate_t,PyObject *,QContextMenuEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!meth)
    {
        QWidget::contextMenuEvent(a0);
        return;
    }

    ((sipVH_QtGui_22)(sipModuleAPI_kdeui_QtGui->em_virthandlers[22]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigWidget::tabletEvent(QTabletEvent *a0)
{
    typedef void (*sipVH_QtGui_21)(sip_gilstate_t,PyObject *,QTabletEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_tabletEvent);

    if (!meth)
    {
        QWidget::tabletEvent(a0);
        return;
    }

    ((sipVH_QtGui_21)(sipModuleAPI_kdeui_QtGui->em_virthandlers[21]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigWidget::actionEvent(QActionEvent *a0)
{
    typedef void (*sipVH_QtGui_20)(sip_gilstate_t,PyObject *,QActionEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_actionEvent);

    if (!meth)
    {
        QWidget::actionEvent(a0);
        return;
    }

    ((sipVH_QtGui_20)(sipModuleAPI_kdeui_QtGui->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigWidget::dragEnterEvent(QDragEnterEvent *a0)
{
    typedef void (*sipVH_QtGui_19)(sip_gilstate_t,PyObject *,QDragEnterEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!meth)
    {
        QWidget::dragEnterEvent(a0);
        return;
    }

    ((sipVH_QtGui_19)(sipModuleAPI_kdeui_QtGui->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigWidget::dragMoveEvent(QDragMoveEvent *a0)
{
    typedef void (*sipVH_QtGui_18)(sip_gilstate_t,PyObject *,QDragMoveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!meth)
    {
        QWidget::dragMoveEvent(a0);
        return;
    }

    ((sipVH_QtGui_18)(sipModuleAPI_kdeui_QtGui->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigWidget::dragLeaveEvent(QDragLeaveEvent *a0)
{
    typedef void (*sipVH_QtGui_17)(sip_gilstate_t,PyObject *,QDragLeaveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!meth)
    {
        QWidget::dragLeaveEvent(a0);
        return;
    }

    ((sipVH_QtGui_17)(sipModuleAPI_kdeui_QtGui->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigWidget::dropEvent(QDropEvent *a0)
{
    typedef void (*sipVH_QtGui_16)(sip_gilstate_t,PyObject *,QDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_dropEvent);

    if (!meth)
    {
        QWidget::dropEvent(a0);
        return;
    }

    ((sipVH_QtGui_16)(sipModuleAPI_kdeui_QtGui->em_virthandlers[16]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigWidget::showEvent(QShowEvent *a0)
{
    typedef void (*sipVH_QtGui_1)(sip_gilstate_t,PyObject *,QShowEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_showEvent);

    if (!meth)
    {
        QWidget::showEvent(a0);
        return;
    }

    ((sipVH_QtGui_1)(sipModuleAPI_kdeui_QtGui->em_virthandlers[1]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigWidget::hideEvent(QHideEvent *a0)
{
    typedef void (*sipVH_QtGui_0)(sip_gilstate_t,PyObject *,QHideEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_hideEvent);

    if (!meth)
    {
        QWidget::hideEvent(a0);
        return;
    }

    ((sipVH_QtGui_0)(sipModuleAPI_kdeui_QtGui->em_virthandlers[0]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigWidget::changeEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_changeEvent);

    if (!meth)
    {
        QWidget::changeEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kdeui_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

int sipSonnet_ConfigWidget::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    typedef int (*sipVH_QtGui_15)(sip_gilstate_t,PyObject *,QPaintDevice::PaintDeviceMetric);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[32]),sipPySelf,NULL,sipName_metric);

    if (!meth)
        return QWidget::metric(a0);

    return ((sipVH_QtGui_15)(sipModuleAPI_kdeui_QtGui->em_virthandlers[15]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigWidget::inputMethodEvent(QInputMethodEvent *a0)
{
    typedef void (*sipVH_QtGui_14)(sip_gilstate_t,PyObject *,QInputMethodEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!meth)
    {
        QWidget::inputMethodEvent(a0);
        return;
    }

    ((sipVH_QtGui_14)(sipModuleAPI_kdeui_QtGui->em_virthandlers[14]))(sipGILState,meth,a0);
}

QVariant sipSonnet_ConfigWidget::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    typedef QVariant (*sipVH_QtGui_13)(sip_gilstate_t,PyObject *,Qt::InputMethodQuery);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!meth)
        return QWidget::inputMethodQuery(a0);

    return ((sipVH_QtGui_13)(sipModuleAPI_kdeui_QtGui->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipSonnet_ConfigWidget::focusNextPrevChild(bool a0)
{
    typedef bool (*sipVH_QtGui_12)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!meth)
        return QWidget::focusNextPrevChild(a0);

    return ((sipVH_QtGui_12)(sipModuleAPI_kdeui_QtGui->em_virthandlers[12]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigWidget::enabledChange(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_enabledChange);

    if (!meth)
    {
        QWidget::enabledChange(a0);
        return;
    }

    ((sipVH_QtGui_7)(sipModuleAPI_kdeui_QtGui->em_virthandlers[7]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigWidget::paletteChange(const QPalette& a0)
{
    typedef void (*sipVH_QtGui_11)(sip_gilstate_t,PyObject *,const QPalette&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_paletteChange);

    if (!meth)
    {
        QWidget::paletteChange(a0);
        return;
    }

    ((sipVH_QtGui_11)(sipModuleAPI_kdeui_QtGui->em_virthandlers[11]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigWidget::fontChange(const QFont& a0)
{
    typedef void (*sipVH_QtGui_10)(sip_gilstate_t,PyObject *,const QFont&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_fontChange);

    if (!meth)
    {
        QWidget::fontChange(a0);
        return;
    }

    ((sipVH_QtGui_10)(sipModuleAPI_kdeui_QtGui->em_virthandlers[10]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigWidget::windowActivationChange(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_windowActivationChange);

    if (!meth)
    {
        QWidget::windowActivationChange(a0);
        return;
    }

    ((sipVH_QtGui_7)(sipModuleAPI_kdeui_QtGui->em_virthandlers[7]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigWidget::languageChange()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_languageChange);

    if (!meth)
    {
        QWidget::languageChange();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

bool sipSonnet_ConfigWidget::eventFilter(QObject *a0,QEvent *a1)
{
    typedef bool (*sipVH_QtCore_21)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_eventFilter);

    if (!meth)
        return QObject::eventFilter(a0,a1);

    return ((sipVH_QtCore_21)(sipModuleAPI_kdeui_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

void sipSonnet_ConfigWidget::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    ((sipVH_QtCore_3)(sipModuleAPI_kdeui_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigWidget::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    ((sipVH_QtCore_20)(sipModuleAPI_kdeui_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigWidget::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kdeui_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigWidget::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigWidget::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

int sipSonnet_ConfigWidget::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipSonnet_ConfigWidget::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipSonnet_ConfigWidget::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipSonnet_ConfigWidget::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipSonnet_ConfigWidget::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipSonnet_ConfigWidget::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

bool sipSonnet_ConfigWidget::sipProtectVirt_event(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QWidget::event(a0) : event(a0));
}

void sipSonnet_ConfigWidget::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipSonnet_ConfigWidget::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipSonnet_ConfigWidget::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipSonnet_ConfigWidget::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipSonnet_ConfigWidget::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent *a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipSonnet_ConfigWidget::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QWidget::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipSonnet_ConfigWidget::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipSonnet_ConfigWidget::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipSonnet_ConfigWidget::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipSonnet_ConfigWidget::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipSonnet_ConfigWidget::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipSonnet_ConfigWidget::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent *a0)
{
    (sipSelfWasArg ? QWidget::paintEvent(a0) : paintEvent(a0));
}

void sipSonnet_ConfigWidget::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent *a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipSonnet_ConfigWidget::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent *a0)
{
    (sipSelfWasArg ? QWidget::resizeEvent(a0) : resizeEvent(a0));
}

void sipSonnet_ConfigWidget::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent *a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipSonnet_ConfigWidget::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent *a0)
{
    (sipSelfWasArg ? QWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipSonnet_ConfigWidget::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent *a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipSonnet_ConfigWidget::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent *a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipSonnet_ConfigWidget::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipSonnet_ConfigWidget::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipSonnet_ConfigWidget::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipSonnet_ConfigWidget::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent *a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipSonnet_ConfigWidget::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent *a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

void sipSonnet_ConfigWidget::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent *a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

void sipSonnet_ConfigWidget::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QWidget::changeEvent(a0) : changeEvent(a0));
}

int sipSonnet_ConfigWidget::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipSonnet_ConfigWidget::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent *a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipSonnet_ConfigWidget::sipProtect_resetInputContext()
{
    QWidget::resetInputContext();
}

void sipSonnet_ConfigWidget::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipSonnet_ConfigWidget::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipSonnet_ConfigWidget::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipSonnet_ConfigWidget::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipSonnet_ConfigWidget::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipSonnet_ConfigWidget::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

void sipSonnet_ConfigWidget::sipProtectVirt_enabledChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::enabledChange(a0) : enabledChange(a0));
}

void sipSonnet_ConfigWidget::sipProtectVirt_paletteChange(bool sipSelfWasArg,const QPalette& a0)
{
    (sipSelfWasArg ? QWidget::paletteChange(a0) : paletteChange(a0));
}

void sipSonnet_ConfigWidget::sipProtectVirt_fontChange(bool sipSelfWasArg,const QFont& a0)
{
    (sipSelfWasArg ? QWidget::fontChange(a0) : fontChange(a0));
}

void sipSonnet_ConfigWidget::sipProtectVirt_windowActivationChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::windowActivationChange(a0) : windowActivationChange(a0));
}

void sipSonnet_ConfigWidget::sipProtectVirt_languageChange(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QWidget::languageChange() : languageChange());
}

void sipSonnet_ConfigWidget::sipProtect_slotChanged()
{
    Sonnet::ConfigWidget::slotChanged();
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_receivers(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipSonnet_ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 28985 "sipkdeuipart3.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_receivers);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipSonnet_ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp,sipType_QTimerEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_childEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipSonnet_ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp,sipType_QChildEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_customEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipSonnet_ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipSonnet_ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipSonnet_ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_event(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_event(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipSonnet_ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp,sipType_QEvent,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_event);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_mousePressEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_mousePressEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipSonnet_ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp,sipType_QMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_mousePressEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_mouseReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_mouseReleaseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipSonnet_ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp,sipType_QMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_mouseReleaseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_mouseDoubleClickEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_mouseDoubleClickEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipSonnet_ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp,sipType_QMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_mouseDoubleClickEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_mouseMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_mouseMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipSonnet_ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp,sipType_QMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_mouseMoveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_wheelEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_wheelEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent * a0;
        sipSonnet_ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp,sipType_QWheelEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_wheelEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_keyPressEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_keyPressEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipSonnet_ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp,sipType_QKeyEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_keyPressEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_keyReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_keyReleaseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipSonnet_ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp,sipType_QKeyEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_keyReleaseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_focusInEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_focusInEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipSonnet_ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp,sipType_QFocusEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_focusInEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_focusOutEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_focusOutEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipSonnet_ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp,sipType_QFocusEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_focusOutEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_enterEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_enterEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipSonnet_ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_enterEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_leaveEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_leaveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipSonnet_ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_leaveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_paintEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_paintEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent * a0;
        sipSonnet_ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp,sipType_QPaintEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_paintEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_moveEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_moveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent * a0;
        sipSonnet_ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp,sipType_QMoveEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_moveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_resizeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent * a0;
        sipSonnet_ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp,sipType_QResizeEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_resizeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_closeEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_closeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent * a0;
        sipSonnet_ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp,sipType_QCloseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_closeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_contextMenuEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_contextMenuEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent * a0;
        sipSonnet_ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp,sipType_QContextMenuEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_contextMenuEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_tabletEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_tabletEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent * a0;
        sipSonnet_ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp,sipType_QTabletEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_tabletEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_actionEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_actionEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent * a0;
        sipSonnet_ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp,sipType_QActionEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_actionEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_dragEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_dragEnterEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent * a0;
        sipSonnet_ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp,sipType_QDragEnterEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_dragEnterEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_dragMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_dragMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent * a0;
        sipSonnet_ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp,sipType_QDragMoveEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_dragMoveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_dragLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_dragLeaveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent * a0;
        sipSonnet_ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp,sipType_QDragLeaveEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_dragLeaveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_dropEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_dropEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent * a0;
        sipSonnet_ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp,sipType_QDropEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_dropEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_showEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_showEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent * a0;
        sipSonnet_ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp,sipType_QShowEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_showEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_hideEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_hideEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent * a0;
        sipSonnet_ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp,sipType_QHideEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_hideEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_changeEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_changeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipSonnet_ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_changeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_metric(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_metric(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        sipSonnet_ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pE",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp,sipType_QPaintDevice_PaintDeviceMetric,&a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_metric);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_inputMethodEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_inputMethodEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent * a0;
        sipSonnet_ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp,sipType_QInputMethodEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_inputMethodEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_resetInputContext(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_resetInputContext(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipSonnet_ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_resetInputContext();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_resetInputContext);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_updateMicroFocus(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_updateMicroFocus(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipSonnet_ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_updateMicroFocus();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_updateMicroFocus);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_create(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_create(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        WId a0 = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipSonnet_ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p|mbb",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp,&a0,&a1,&a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_create(a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_create);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_destroy(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_destroy(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipSonnet_ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p|bb",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_destroy(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_destroy);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_focusNextPrevChild(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_focusNextPrevChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipSonnet_ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_focusNextPrevChild);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_focusNextChild(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_focusNextChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipSonnet_ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_focusNextChild();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_focusNextChild);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_focusPreviousChild(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_focusPreviousChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipSonnet_ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_focusPreviousChild();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_focusPreviousChild);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_enabledChange(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_enabledChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipSonnet_ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_enabledChange(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_enabledChange);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_paletteChange(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_paletteChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPalette * a0;
        sipSonnet_ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp,sipType_QPalette,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paletteChange(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_paletteChange);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_fontChange(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_fontChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QFont * a0;
        sipSonnet_ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp,sipType_QFont,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_fontChange(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_fontChange);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_windowActivationChange(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_windowActivationChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipSonnet_ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_windowActivationChange(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_windowActivationChange);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_languageChange(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_languageChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipSonnet_ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_languageChange(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_languageChange);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_backgroundCheckingButtonShown(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_backgroundCheckingButtonShown(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Sonnet::ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->backgroundCheckingButtonShown();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_backgroundCheckingButtonShown);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_setLanguage(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_setLanguage(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        Sonnet::ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLanguage(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_setLanguage);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_language(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_language(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Sonnet::ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->language());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_language);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_save(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_save(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Sonnet::ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->save();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_save);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_setBackgroundCheckingButtonShown(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_setBackgroundCheckingButtonShown(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        Sonnet::ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setBackgroundCheckingButtonShown(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_setBackgroundCheckingButtonShown);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_slotDefault(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_slotDefault(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Sonnet::ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotDefault();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_slotDefault);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigWidget_slotChanged(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigWidget_slotChanged(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipSonnet_ConfigWidget *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Sonnet_ConfigWidget,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_slotChanged();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigWidget,sipName_slotChanged);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Sonnet_ConfigWidget(void *, const sipTypeDef *);}
static void *cast_Sonnet_ConfigWidget(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Sonnet_ConfigWidget)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QWidget)->ctd_cast((QWidget *)(Sonnet::ConfigWidget *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Sonnet_ConfigWidget(void *, int);}
static void release_Sonnet_ConfigWidget(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipSonnet_ConfigWidget *>(sipCppV);
    else
        delete reinterpret_cast<Sonnet::ConfigWidget *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Sonnet_ConfigWidget(sipSimpleWrapper *);}
static void dealloc_Sonnet_ConfigWidget(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipSonnet_ConfigWidget *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Sonnet_ConfigWidget(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_Sonnet_ConfigWidget(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_Sonnet_ConfigWidget(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **sipOwner, int *sipArgsParsed)
{
    sipSonnet_ConfigWidget *sipCpp = 0;

    if (!sipCpp)
    {
        KConfig * a0;
        QWidget * a1;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J8JH",sipType_KConfig,&a0,sipType_QWidget,&a1,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipSonnet_ConfigWidget(a0,a1);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_Sonnet_ConfigWidget[] = {{683, 2, 1}};


static PyMethodDef methods_Sonnet_ConfigWidget[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), meth_Sonnet_ConfigWidget_actionEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_backgroundCheckingButtonShown), meth_Sonnet_ConfigWidget_backgroundCheckingButtonShown, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_Sonnet_ConfigWidget_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_Sonnet_ConfigWidget_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_Sonnet_ConfigWidget_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_Sonnet_ConfigWidget_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_Sonnet_ConfigWidget_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_create), meth_Sonnet_ConfigWidget_create, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_Sonnet_ConfigWidget_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), meth_Sonnet_ConfigWidget_destroy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_Sonnet_ConfigWidget_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_Sonnet_ConfigWidget_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_Sonnet_ConfigWidget_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_Sonnet_ConfigWidget_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_Sonnet_ConfigWidget_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enabledChange), meth_Sonnet_ConfigWidget_enabledChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), meth_Sonnet_ConfigWidget_enterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_Sonnet_ConfigWidget_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_Sonnet_ConfigWidget_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), meth_Sonnet_ConfigWidget_focusNextChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), meth_Sonnet_ConfigWidget_focusNextPrevChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_Sonnet_ConfigWidget_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), meth_Sonnet_ConfigWidget_focusPreviousChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fontChange), meth_Sonnet_ConfigWidget_fontChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_Sonnet_ConfigWidget_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), meth_Sonnet_ConfigWidget_inputMethodEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_Sonnet_ConfigWidget_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), meth_Sonnet_ConfigWidget_keyReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_language), meth_Sonnet_ConfigWidget_language, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_languageChange), meth_Sonnet_ConfigWidget_languageChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), meth_Sonnet_ConfigWidget_leaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), meth_Sonnet_ConfigWidget_metric, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_Sonnet_ConfigWidget_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_Sonnet_ConfigWidget_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_Sonnet_ConfigWidget_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_Sonnet_ConfigWidget_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), meth_Sonnet_ConfigWidget_moveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_Sonnet_ConfigWidget_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paletteChange), meth_Sonnet_ConfigWidget_paletteChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_Sonnet_ConfigWidget_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resetInputContext), meth_Sonnet_ConfigWidget_resetInputContext, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_Sonnet_ConfigWidget_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_save), meth_Sonnet_ConfigWidget_save, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setBackgroundCheckingButtonShown), meth_Sonnet_ConfigWidget_setBackgroundCheckingButtonShown, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLanguage), meth_Sonnet_ConfigWidget_setLanguage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_Sonnet_ConfigWidget_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotChanged), meth_Sonnet_ConfigWidget_slotChanged, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotDefault), meth_Sonnet_ConfigWidget_slotDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tabletEvent), meth_Sonnet_ConfigWidget_tabletEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Sonnet_ConfigWidget_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), meth_Sonnet_ConfigWidget_updateMicroFocus, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_Sonnet_ConfigWidget_wheelEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowActivationChange), meth_Sonnet_ConfigWidget_windowActivationChange, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_Sonnet_ConfigWidget[] = {
    {"configChanged()", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_kdeui_Sonnet_ConfigWidget = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Sonnet__ConfigWidget,
        {0}
    },
    sipNameNr_ConfigWidget,
    -1,
    -1,
    {364, 255, 0},
    supers_Sonnet_ConfigWidget,
    0,
    53, methods_Sonnet_ConfigWidget,
    0, 0,
    0, 0,
    init_Sonnet_ConfigWidget,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Sonnet_ConfigWidget,
    release_Sonnet_ConfigWidget,
    cast_Sonnet_ConfigWidget,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &Sonnet::ConfigWidget::staticMetaObject,
    0,
    pyqt4_signals_Sonnet_ConfigWidget
};

#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/configdialog.sip"
#include <sonnet/configdialog.h>
#line 30628 "sipkdeuipart3.cpp"

#line 35 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 30632 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 30635 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 30638 "sipkdeuipart3.cpp"
#line 296 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 30641 "sipkdeuipart3.cpp"
#line 388 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 30644 "sipkdeuipart3.cpp"
#line 424 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 30647 "sipkdeuipart3.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 30650 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 30653 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 30656 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qlayout.sip"
#include <qlayout.h>
#line 30659 "sipkdeuipart3.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 30662 "sipkdeuipart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kpushbutton.sip"
#include <kpushbutton.h>
#line 30665 "sipkdeuipart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 30668 "sipkdeuipart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 30671 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qmenu.sip"
#include <qmenu.h>
#line 30674 "sipkdeuipart3.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kguiitem.sip"
#include <kguiitem.h>
#line 30677 "sipkdeuipart3.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 30680 "sipkdeuipart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 30683 "sipkdeuipart3.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 30686 "sipkdeuipart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 30689 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 30692 "sipkdeuipart3.cpp"
#line 436 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 30695 "sipkdeuipart3.cpp"
#line 374 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 30698 "sipkdeuipart3.cpp"
#line 412 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 30701 "sipkdeuipart3.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 30704 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 30707 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 30710 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 30713 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 30716 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 30719 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 30722 "sipkdeuipart3.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 30725 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 30728 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 30731 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 30734 "sipkdeuipart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 30737 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 30740 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 30743 "sipkdeuipart3.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 30748 "sipkdeuipart3.cpp"
#line 508 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 30751 "sipkdeuipart3.cpp"
#line 562 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 30754 "sipkdeuipart3.cpp"
#line 533 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 30757 "sipkdeuipart3.cpp"
#line 550 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 30760 "sipkdeuipart3.cpp"
#line 618 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 30763 "sipkdeuipart3.cpp"
#line 247 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 30766 "sipkdeuipart3.cpp"
#line 360 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 30769 "sipkdeuipart3.cpp"
#line 345 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 30772 "sipkdeuipart3.cpp"
#line 325 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 30775 "sipkdeuipart3.cpp"
#line 225 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 30778 "sipkdeuipart3.cpp"
#line 184 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 30781 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 30784 "sipkdeuipart3.cpp"
#line 74 "/usr/local/share/py-sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 30787 "sipkdeuipart3.cpp"
#line 47 "/usr/local/share/py-sip/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 30790 "sipkdeuipart3.cpp"
#line 136 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#include <qlist.h>
#line 66 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qlist.h>
#line 229 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 520 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 30851 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 30854 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 30857 "sipkdeuipart3.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 30860 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 30863 "sipkdeuipart3.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 30868 "sipkdeuipart3.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 30871 "sipkdeuipart3.cpp"
#line 99 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 30874 "sipkdeuipart3.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 30877 "sipkdeuipart3.cpp"
#line 165 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 30880 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 30883 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qdockwidget.sip"
#include <qdockwidget.h>
#line 30886 "sipkdeuipart3.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 30889 "sipkdeuipart3.cpp"
#line 334 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 30892 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 56 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 30897 "sipkdeuipart3.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qprinterinfo.h>
#line 30900 "sipkdeuipart3.cpp"
#line 202 "/usr/local/share/py-sip/QtGui/qstandarditemmodel.sip"
#include <qstandarditemmodel.h>
#line 30903 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 30906 "sipkdeuipart3.cpp"
#line 66 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 30909 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 114 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 30914 "sipkdeuipart3.cpp"
#line 65 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 88 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 30919 "sipkdeuipart3.cpp"
#line 149 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 175 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 30924 "sipkdeuipart3.cpp"
#line 83 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 101 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 30929 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 30932 "sipkdeuipart3.cpp"
#line 75 "/usr/local/share/py-sip/QtGui/qundostack.sip"
#include <qundostack.h>
#line 30935 "sipkdeuipart3.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 30938 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qprinter.sip"
#include <qprinter.h>
#line 30941 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#line 30944 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 30947 "sipkdeuipart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 30950 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 30953 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 30956 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 30959 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 30962 "sipkdeuipart3.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 30965 "sipkdeuipart3.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 30968 "sipkdeuipart3.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 30999 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 31002 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 31005 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 31008 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 31011 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 31014 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 31017 "sipkdeuipart3.cpp"


class sipSonnet_ConfigDialog : public Sonnet::ConfigDialog
{
public:
    sipSonnet_ConfigDialog(KConfig *,QWidget *);
    virtual ~sipSonnet_ConfigDialog();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    bool sipProtectVirt_event(bool,QEvent *);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent *);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent *);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent *);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent *);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent *);
    void sipProtectVirt_enterEvent(bool,QEvent *);
    void sipProtectVirt_leaveEvent(bool,QEvent *);
    void sipProtectVirt_paintEvent(bool,QPaintEvent *);
    void sipProtectVirt_moveEvent(bool,QMoveEvent *);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent *);
    void sipProtectVirt_actionEvent(bool,QActionEvent *);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent *);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent *);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent *);
    void sipProtectVirt_dropEvent(bool,QDropEvent *);
    void sipProtectVirt_changeEvent(bool,QEvent *);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent *);
    void sipProtect_resetInputContext();
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    void sipProtectVirt_enabledChange(bool,bool);
    void sipProtectVirt_paletteChange(bool,const QPalette&);
    void sipProtectVirt_fontChange(bool,const QFont&);
    void sipProtectVirt_windowActivationChange(bool,bool);
    void sipProtectVirt_languageChange(bool);
    void sipProtectVirt_showEvent(bool,QShowEvent *);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent *);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent *);
    bool sipProtectVirt_eventFilter(bool,QObject *,QEvent *);
    void sipProtectVirt_hideEvent(bool,QHideEvent *);
    void sipProtectVirt_closeEvent(bool,QCloseEvent *);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent *);
    void sipProtectVirt_slotButtonClicked(bool,int);
    void sipProtect_updateGeometry();
    void sipProtectVirt_slotOk(bool);
    void sipProtectVirt_slotApply(bool);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void slotOk();
    void slotApply();
    QSize sizeHint() const;
    QSize minimumSizeHint() const;
    void setCaption(const QString&);
    void setCaption(const QString&,bool);
    void setPlainCaption(const QString&);
    void hideEvent(QHideEvent *);
    void closeEvent(QCloseEvent *);
    void keyPressEvent(QKeyEvent *);
    void slotButtonClicked(int);
    void setVisible(bool);
    void done(int);
    void accept();
    void reject();
    void showEvent(QShowEvent *);
    void resizeEvent(QResizeEvent *);
    void contextMenuEvent(QContextMenuEvent *);
    bool eventFilter(QObject *,QEvent *);
    int devType() const;
    int heightForWidth(int) const;
    QPaintEngine * paintEngine() const;
    bool event(QEvent *);
    void mousePressEvent(QMouseEvent *);
    void mouseReleaseEvent(QMouseEvent *);
    void mouseDoubleClickEvent(QMouseEvent *);
    void mouseMoveEvent(QMouseEvent *);
    void wheelEvent(QWheelEvent *);
    void keyReleaseEvent(QKeyEvent *);
    void focusInEvent(QFocusEvent *);
    void focusOutEvent(QFocusEvent *);
    void enterEvent(QEvent *);
    void leaveEvent(QEvent *);
    void paintEvent(QPaintEvent *);
    void moveEvent(QMoveEvent *);
    void tabletEvent(QTabletEvent *);
    void actionEvent(QActionEvent *);
    void dragEnterEvent(QDragEnterEvent *);
    void dragMoveEvent(QDragMoveEvent *);
    void dragLeaveEvent(QDragLeaveEvent *);
    void dropEvent(QDropEvent *);
    void changeEvent(QEvent *);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void inputMethodEvent(QInputMethodEvent *);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    void enabledChange(bool);
    void paletteChange(const QPalette&);
    void fontChange(const QFont&);
    void windowActivationChange(bool);
    void languageChange();
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipSonnet_ConfigDialog(const sipSonnet_ConfigDialog &);
    sipSonnet_ConfigDialog &operator = (const sipSonnet_ConfigDialog &);

    char sipPyMethods[56];
};

sipSonnet_ConfigDialog::sipSonnet_ConfigDialog(KConfig *a0,QWidget *a1): Sonnet::ConfigDialog(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipSonnet_ConfigDialog::~sipSonnet_ConfigDialog()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipSonnet_ConfigDialog::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_Sonnet_ConfigDialog);
}

int sipSonnet_ConfigDialog::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Sonnet::ConfigDialog::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_Sonnet_ConfigDialog,_c,_id,_a);

    return _id;
}

void *sipSonnet_ConfigDialog::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast && sip_kdeui_qt_metacast(sipPySelf,sipType_Sonnet_ConfigDialog,_clname)) ? this : Sonnet::ConfigDialog::qt_metacast(_clname);
}

void sipSonnet_ConfigDialog::slotOk()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_slotOk);

    if (!meth)
    {
        Sonnet::ConfigDialog::slotOk();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipSonnet_ConfigDialog::slotApply()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_slotApply);

    if (!meth)
    {
        Sonnet::ConfigDialog::slotApply();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

QSize sipSonnet_ConfigDialog::sizeHint() const
{
    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_sizeHint);

    if (!meth)
        return KDialog::sizeHint();

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState,meth);
}

QSize sipSonnet_ConfigDialog::minimumSizeHint() const
{
    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!meth)
        return KDialog::minimumSizeHint();

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState,meth);
}

void sipSonnet_ConfigDialog::setCaption(const QString& a0)
{
    typedef void (*sipVH_QtCore_29)(sip_gilstate_t,PyObject *,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_setCaption);

    if (!meth)
    {
        KDialog::setCaption(a0);
        return;
    }

    ((sipVH_QtCore_29)(sipModuleAPI_kdeui_QtCore->em_virthandlers[29]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigDialog::setCaption(const QString& a0,bool a1)
{
    typedef void (*sipVH_QtXml_24)(sip_gilstate_t,PyObject *,const QString&,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_setCaption);

    if (!meth)
    {
        KDialog::setCaption(a0,a1);
        return;
    }

    ((sipVH_QtXml_24)(sipModuleAPI_kdeui_QtXml->em_virthandlers[24]))(sipGILState,meth,a0,a1);
}

void sipSonnet_ConfigDialog::setPlainCaption(const QString& a0)
{
    typedef void (*sipVH_QtCore_29)(sip_gilstate_t,PyObject *,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_setPlainCaption);

    if (!meth)
    {
        KDialog::setPlainCaption(a0);
        return;
    }

    ((sipVH_QtCore_29)(sipModuleAPI_kdeui_QtCore->em_virthandlers[29]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigDialog::hideEvent(QHideEvent *a0)
{
    typedef void (*sipVH_QtGui_0)(sip_gilstate_t,PyObject *,QHideEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_hideEvent);

    if (!meth)
    {
        KDialog::hideEvent(a0);
        return;
    }

    ((sipVH_QtGui_0)(sipModuleAPI_kdeui_QtGui->em_virthandlers[0]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigDialog::closeEvent(QCloseEvent *a0)
{
    typedef void (*sipVH_QtGui_23)(sip_gilstate_t,PyObject *,QCloseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_closeEvent);

    if (!meth)
    {
        KDialog::closeEvent(a0);
        return;
    }

    ((sipVH_QtGui_23)(sipModuleAPI_kdeui_QtGui->em_virthandlers[23]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigDialog::keyPressEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_keyPressEvent);

    if (!meth)
    {
        KDialog::keyPressEvent(a0);
        return;
    }

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigDialog::slotButtonClicked(int a0)
{
    typedef void (*sipVH_QtNetwork_1)(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_slotButtonClicked);

    if (!meth)
    {
        KDialog::slotButtonClicked(a0);
        return;
    }

    ((sipVH_QtNetwork_1)(sipModuleAPI_kdeui_QtNetwork->em_virthandlers[1]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigDialog::setVisible(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_setVisible);

    if (!meth)
    {
        QDialog::setVisible(a0);
        return;
    }

    ((sipVH_QtGui_7)(sipModuleAPI_kdeui_QtGui->em_virthandlers[7]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigDialog::done(int a0)
{
    typedef void (*sipVH_QtGui_6)(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_done);

    if (!meth)
    {
        QDialog::done(a0);
        return;
    }

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigDialog::accept()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_accept);

    if (!meth)
    {
        QDialog::accept();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipSonnet_ConfigDialog::reject()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_reject);

    if (!meth)
    {
        QDialog::reject();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipSonnet_ConfigDialog::showEvent(QShowEvent *a0)
{
    typedef void (*sipVH_QtGui_1)(sip_gilstate_t,PyObject *,QShowEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_showEvent);

    if (!meth)
    {
        QDialog::showEvent(a0);
        return;
    }

    ((sipVH_QtGui_1)(sipModuleAPI_kdeui_QtGui->em_virthandlers[1]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigDialog::resizeEvent(QResizeEvent *a0)
{
    typedef void (*sipVH_QtGui_2)(sip_gilstate_t,PyObject *,QResizeEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_resizeEvent);

    if (!meth)
    {
        QDialog::resizeEvent(a0);
        return;
    }

    ((sipVH_QtGui_2)(sipModuleAPI_kdeui_QtGui->em_virthandlers[2]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigDialog::contextMenuEvent(QContextMenuEvent *a0)
{
    typedef void (*sipVH_QtGui_22)(sip_gilstate_t,PyObject *,QContextMenuEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!meth)
    {
        QDialog::contextMenuEvent(a0);
        return;
    }

    ((sipVH_QtGui_22)(sipModuleAPI_kdeui_QtGui->em_virthandlers[22]))(sipGILState,meth,a0);
}

bool sipSonnet_ConfigDialog::eventFilter(QObject *a0,QEvent *a1)
{
    typedef bool (*sipVH_QtCore_21)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_eventFilter);

    if (!meth)
        return QDialog::eventFilter(a0,a1);

    return ((sipVH_QtCore_21)(sipModuleAPI_kdeui_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

int sipSonnet_ConfigDialog::devType() const
{
    typedef int (*sipVH_QtCore_8)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_devType);

    if (!meth)
        return QWidget::devType();

    return ((sipVH_QtCore_8)(sipModuleAPI_kdeui_QtCore->em_virthandlers[8]))(sipGILState,meth);
}

int sipSonnet_ConfigDialog::heightForWidth(int a0) const
{
    typedef int (*sipVH_QtGui_29)(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_heightForWidth);

    if (!meth)
        return QWidget::heightForWidth(a0);

    return ((sipVH_QtGui_29)(sipModuleAPI_kdeui_QtGui->em_virthandlers[29]))(sipGILState,meth,a0);
}

QPaintEngine * sipSonnet_ConfigDialog::paintEngine() const
{
    typedef QPaintEngine * (*sipVH_QtGui_28)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_paintEngine);

    if (!meth)
        return QWidget::paintEngine();

    return ((sipVH_QtGui_28)(sipModuleAPI_kdeui_QtGui->em_virthandlers[28]))(sipGILState,meth);
}

bool sipSonnet_ConfigDialog::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QWidget::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_kdeui_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigDialog::mousePressEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_mousePressEvent);

    if (!meth)
    {
        QWidget::mousePressEvent(a0);
        return;
    }

    ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigDialog::mouseReleaseEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!meth)
    {
        QWidget::mouseReleaseEvent(a0);
        return;
    }

    ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigDialog::mouseDoubleClickEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!meth)
    {
        QWidget::mouseDoubleClickEvent(a0);
        return;
    }

    ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigDialog::mouseMoveEvent(QMouseEvent *a0)
{
    typedef void (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *,QMouseEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!meth)
    {
        QWidget::mouseMoveEvent(a0);
        return;
    }

    ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigDialog::wheelEvent(QWheelEvent *a0)
{
    typedef void (*sipVH_QtGui_5)(sip_gilstate_t,PyObject *,QWheelEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_wheelEvent);

    if (!meth)
    {
        QWidget::wheelEvent(a0);
        return;
    }

    ((sipVH_QtGui_5)(sipModuleAPI_kdeui_QtGui->em_virthandlers[5]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigDialog::keyReleaseEvent(QKeyEvent *a0)
{
    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QKeyEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!meth)
    {
        QWidget::keyReleaseEvent(a0);
        return;
    }

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigDialog::focusInEvent(QFocusEvent *a0)
{
    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QFocusEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_focusInEvent);

    if (!meth)
    {
        QWidget::focusInEvent(a0);
        return;
    }

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigDialog::focusOutEvent(QFocusEvent *a0)
{
    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QFocusEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_focusOutEvent);

    if (!meth)
    {
        QWidget::focusOutEvent(a0);
        return;
    }

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigDialog::enterEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_enterEvent);

    if (!meth)
    {
        QWidget::enterEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kdeui_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigDialog::leaveEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_leaveEvent);

    if (!meth)
    {
        QWidget::leaveEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kdeui_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigDialog::paintEvent(QPaintEvent *a0)
{
    typedef void (*sipVH_QtGui_3)(sip_gilstate_t,PyObject *,QPaintEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_paintEvent);

    if (!meth)
    {
        QWidget::paintEvent(a0);
        return;
    }

    ((sipVH_QtGui_3)(sipModuleAPI_kdeui_QtGui->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigDialog::moveEvent(QMoveEvent *a0)
{
    typedef void (*sipVH_QtGui_24)(sip_gilstate_t,PyObject *,QMoveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_moveEvent);

    if (!meth)
    {
        QWidget::moveEvent(a0);
        return;
    }

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigDialog::tabletEvent(QTabletEvent *a0)
{
    typedef void (*sipVH_QtGui_21)(sip_gilstate_t,PyObject *,QTabletEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_tabletEvent);

    if (!meth)
    {
        QWidget::tabletEvent(a0);
        return;
    }

    ((sipVH_QtGui_21)(sipModuleAPI_kdeui_QtGui->em_virthandlers[21]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigDialog::actionEvent(QActionEvent *a0)
{
    typedef void (*sipVH_QtGui_20)(sip_gilstate_t,PyObject *,QActionEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_actionEvent);

    if (!meth)
    {
        QWidget::actionEvent(a0);
        return;
    }

    ((sipVH_QtGui_20)(sipModuleAPI_kdeui_QtGui->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigDialog::dragEnterEvent(QDragEnterEvent *a0)
{
    typedef void (*sipVH_QtGui_19)(sip_gilstate_t,PyObject *,QDragEnterEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!meth)
    {
        QWidget::dragEnterEvent(a0);
        return;
    }

    ((sipVH_QtGui_19)(sipModuleAPI_kdeui_QtGui->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigDialog::dragMoveEvent(QDragMoveEvent *a0)
{
    typedef void (*sipVH_QtGui_18)(sip_gilstate_t,PyObject *,QDragMoveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!meth)
    {
        QWidget::dragMoveEvent(a0);
        return;
    }

    ((sipVH_QtGui_18)(sipModuleAPI_kdeui_QtGui->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigDialog::dragLeaveEvent(QDragLeaveEvent *a0)
{
    typedef void (*sipVH_QtGui_17)(sip_gilstate_t,PyObject *,QDragLeaveEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!meth)
    {
        QWidget::dragLeaveEvent(a0);
        return;
    }

    ((sipVH_QtGui_17)(sipModuleAPI_kdeui_QtGui->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigDialog::dropEvent(QDropEvent *a0)
{
    typedef void (*sipVH_QtGui_16)(sip_gilstate_t,PyObject *,QDropEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_dropEvent);

    if (!meth)
    {
        QWidget::dropEvent(a0);
        return;
    }

    ((sipVH_QtGui_16)(sipModuleAPI_kdeui_QtGui->em_virthandlers[16]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigDialog::changeEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_changeEvent);

    if (!meth)
    {
        QWidget::changeEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kdeui_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

int sipSonnet_ConfigDialog::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    typedef int (*sipVH_QtGui_15)(sip_gilstate_t,PyObject *,QPaintDevice::PaintDeviceMetric);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_metric);

    if (!meth)
        return QWidget::metric(a0);

    return ((sipVH_QtGui_15)(sipModuleAPI_kdeui_QtGui->em_virthandlers[15]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigDialog::inputMethodEvent(QInputMethodEvent *a0)
{
    typedef void (*sipVH_QtGui_14)(sip_gilstate_t,PyObject *,QInputMethodEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!meth)
    {
        QWidget::inputMethodEvent(a0);
        return;
    }

    ((sipVH_QtGui_14)(sipModuleAPI_kdeui_QtGui->em_virthandlers[14]))(sipGILState,meth,a0);
}

QVariant sipSonnet_ConfigDialog::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    typedef QVariant (*sipVH_QtGui_13)(sip_gilstate_t,PyObject *,Qt::InputMethodQuery);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!meth)
        return QWidget::inputMethodQuery(a0);

    return ((sipVH_QtGui_13)(sipModuleAPI_kdeui_QtGui->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipSonnet_ConfigDialog::focusNextPrevChild(bool a0)
{
    typedef bool (*sipVH_QtGui_12)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!meth)
        return QWidget::focusNextPrevChild(a0);

    return ((sipVH_QtGui_12)(sipModuleAPI_kdeui_QtGui->em_virthandlers[12]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigDialog::enabledChange(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_enabledChange);

    if (!meth)
    {
        QWidget::enabledChange(a0);
        return;
    }

    ((sipVH_QtGui_7)(sipModuleAPI_kdeui_QtGui->em_virthandlers[7]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigDialog::paletteChange(const QPalette& a0)
{
    typedef void (*sipVH_QtGui_11)(sip_gilstate_t,PyObject *,const QPalette&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_paletteChange);

    if (!meth)
    {
        QWidget::paletteChange(a0);
        return;
    }

    ((sipVH_QtGui_11)(sipModuleAPI_kdeui_QtGui->em_virthandlers[11]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigDialog::fontChange(const QFont& a0)
{
    typedef void (*sipVH_QtGui_10)(sip_gilstate_t,PyObject *,const QFont&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_fontChange);

    if (!meth)
    {
        QWidget::fontChange(a0);
        return;
    }

    ((sipVH_QtGui_10)(sipModuleAPI_kdeui_QtGui->em_virthandlers[10]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigDialog::windowActivationChange(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_windowActivationChange);

    if (!meth)
    {
        QWidget::windowActivationChange(a0);
        return;
    }

    ((sipVH_QtGui_7)(sipModuleAPI_kdeui_QtGui->em_virthandlers[7]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigDialog::languageChange()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_languageChange);

    if (!meth)
    {
        QWidget::languageChange();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipSonnet_ConfigDialog::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    ((sipVH_QtCore_3)(sipModuleAPI_kdeui_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigDialog::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    ((sipVH_QtCore_20)(sipModuleAPI_kdeui_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigDialog::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kdeui_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigDialog::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipSonnet_ConfigDialog::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

int sipSonnet_ConfigDialog::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipSonnet_ConfigDialog::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipSonnet_ConfigDialog::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipSonnet_ConfigDialog::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipSonnet_ConfigDialog::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipSonnet_ConfigDialog::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

bool sipSonnet_ConfigDialog::sipProtectVirt_event(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QWidget::event(a0) : event(a0));
}

void sipSonnet_ConfigDialog::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipSonnet_ConfigDialog::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipSonnet_ConfigDialog::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipSonnet_ConfigDialog::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipSonnet_ConfigDialog::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent *a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipSonnet_ConfigDialog::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipSonnet_ConfigDialog::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipSonnet_ConfigDialog::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipSonnet_ConfigDialog::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipSonnet_ConfigDialog::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipSonnet_ConfigDialog::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent *a0)
{
    (sipSelfWasArg ? QWidget::paintEvent(a0) : paintEvent(a0));
}

void sipSonnet_ConfigDialog::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent *a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipSonnet_ConfigDialog::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent *a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipSonnet_ConfigDialog::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent *a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipSonnet_ConfigDialog::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipSonnet_ConfigDialog::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipSonnet_ConfigDialog::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipSonnet_ConfigDialog::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent *a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipSonnet_ConfigDialog::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QWidget::changeEvent(a0) : changeEvent(a0));
}

int sipSonnet_ConfigDialog::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipSonnet_ConfigDialog::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent *a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipSonnet_ConfigDialog::sipProtect_resetInputContext()
{
    QWidget::resetInputContext();
}

void sipSonnet_ConfigDialog::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipSonnet_ConfigDialog::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipSonnet_ConfigDialog::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipSonnet_ConfigDialog::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipSonnet_ConfigDialog::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipSonnet_ConfigDialog::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

void sipSonnet_ConfigDialog::sipProtectVirt_enabledChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::enabledChange(a0) : enabledChange(a0));
}

void sipSonnet_ConfigDialog::sipProtectVirt_paletteChange(bool sipSelfWasArg,const QPalette& a0)
{
    (sipSelfWasArg ? QWidget::paletteChange(a0) : paletteChange(a0));
}

void sipSonnet_ConfigDialog::sipProtectVirt_fontChange(bool sipSelfWasArg,const QFont& a0)
{
    (sipSelfWasArg ? QWidget::fontChange(a0) : fontChange(a0));
}

void sipSonnet_ConfigDialog::sipProtectVirt_windowActivationChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::windowActivationChange(a0) : windowActivationChange(a0));
}

void sipSonnet_ConfigDialog::sipProtectVirt_languageChange(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QWidget::languageChange() : languageChange());
}

void sipSonnet_ConfigDialog::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent *a0)
{
    (sipSelfWasArg ? QDialog::showEvent(a0) : showEvent(a0));
}

void sipSonnet_ConfigDialog::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent *a0)
{
    (sipSelfWasArg ? QDialog::resizeEvent(a0) : resizeEvent(a0));
}

void sipSonnet_ConfigDialog::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent *a0)
{
    (sipSelfWasArg ? QDialog::contextMenuEvent(a0) : contextMenuEvent(a0));
}

bool sipSonnet_ConfigDialog::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject *a0,QEvent *a1)
{
    return (sipSelfWasArg ? QDialog::eventFilter(a0,a1) : eventFilter(a0,a1));
}

void sipSonnet_ConfigDialog::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent *a0)
{
    (sipSelfWasArg ? KDialog::hideEvent(a0) : hideEvent(a0));
}

void sipSonnet_ConfigDialog::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent *a0)
{
    (sipSelfWasArg ? KDialog::closeEvent(a0) : closeEvent(a0));
}

void sipSonnet_ConfigDialog::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? KDialog::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipSonnet_ConfigDialog::sipProtectVirt_slotButtonClicked(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? KDialog::slotButtonClicked(a0) : slotButtonClicked(a0));
}

void sipSonnet_ConfigDialog::sipProtect_updateGeometry()
{
    KDialog::updateGeometry();
}

void sipSonnet_ConfigDialog::sipProtectVirt_slotOk(bool sipSelfWasArg)
{
    (sipSelfWasArg ? Sonnet::ConfigDialog::slotOk() : slotOk());
}

void sipSonnet_ConfigDialog::sipProtectVirt_slotApply(bool sipSelfWasArg)
{
    (sipSelfWasArg ? Sonnet::ConfigDialog::slotApply() : slotApply());
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_receivers(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipSonnet_ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 32447 "sipkdeuipart3.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_receivers);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipSonnet_ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp,sipType_QTimerEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_childEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipSonnet_ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp,sipType_QChildEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_customEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipSonnet_ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipSonnet_ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipSonnet_ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_event(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_event(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipSonnet_ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp,sipType_QEvent,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_event);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_mousePressEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_mousePressEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipSonnet_ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp,sipType_QMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_mousePressEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_mouseReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_mouseReleaseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipSonnet_ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp,sipType_QMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_mouseReleaseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_mouseDoubleClickEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_mouseDoubleClickEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipSonnet_ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp,sipType_QMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_mouseDoubleClickEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_mouseMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_mouseMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipSonnet_ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp,sipType_QMouseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_mouseMoveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_wheelEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_wheelEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent * a0;
        sipSonnet_ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp,sipType_QWheelEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_wheelEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_keyReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_keyReleaseEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipSonnet_ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp,sipType_QKeyEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_keyReleaseEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_focusInEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_focusInEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipSonnet_ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp,sipType_QFocusEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_focusInEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_focusOutEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_focusOutEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipSonnet_ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp,sipType_QFocusEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_focusOutEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_enterEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_enterEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipSonnet_ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_enterEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_leaveEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_leaveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipSonnet_ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_leaveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_paintEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_paintEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent * a0;
        sipSonnet_ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp,sipType_QPaintEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_paintEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_moveEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_moveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent * a0;
        sipSonnet_ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp,sipType_QMoveEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_moveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_tabletEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_tabletEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent * a0;
        sipSonnet_ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp,sipType_QTabletEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_tabletEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_actionEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_actionEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent * a0;
        sipSonnet_ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp,sipType_QActionEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_actionEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_dragEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_dragEnterEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent * a0;
        sipSonnet_ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp,sipType_QDragEnterEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_dragEnterEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_dragMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_dragMoveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent * a0;
        sipSonnet_ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp,sipType_QDragMoveEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_dragMoveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_dragLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_dragLeaveEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent * a0;
        sipSonnet_ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp,sipType_QDragLeaveEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_dragLeaveEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_dropEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_dropEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent * a0;
        sipSonnet_ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp,sipType_QDropEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_dropEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_changeEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_changeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipSonnet_ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_changeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_metric(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_metric(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        sipSonnet_ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pE",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp,sipType_QPaintDevice_PaintDeviceMetric,&a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_metric);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_inputMethodEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_inputMethodEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent * a0;
        sipSonnet_ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp,sipType_QInputMethodEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_inputMethodEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_resetInputContext(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_resetInputContext(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipSonnet_ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_resetInputContext();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_resetInputContext);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_updateMicroFocus(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_updateMicroFocus(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipSonnet_ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_updateMicroFocus();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_updateMicroFocus);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_create(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_create(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        WId a0 = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipSonnet_ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p|mbb",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp,&a0,&a1,&a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_create(a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_create);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_destroy(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_destroy(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipSonnet_ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p|bb",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_destroy(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_destroy);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_focusNextPrevChild(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_focusNextPrevChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipSonnet_ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_focusNextPrevChild);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_focusNextChild(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_focusNextChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipSonnet_ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_focusNextChild();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_focusNextChild);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_focusPreviousChild(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_focusPreviousChild(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipSonnet_ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_focusPreviousChild();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_focusPreviousChild);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_enabledChange(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_enabledChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipSonnet_ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_enabledChange(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_enabledChange);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_paletteChange(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_paletteChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPalette * a0;
        sipSonnet_ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp,sipType_QPalette,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paletteChange(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_paletteChange);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_fontChange(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_fontChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QFont * a0;
        sipSonnet_ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp,sipType_QFont,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_fontChange(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_fontChange);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_windowActivationChange(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_windowActivationChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipSonnet_ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_windowActivationChange(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_windowActivationChange);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_languageChange(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_languageChange(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipSonnet_ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_languageChange(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_languageChange);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_showEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_showEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent * a0;
        sipSonnet_ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp,sipType_QShowEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_showEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_resizeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent * a0;
        sipSonnet_ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp,sipType_QResizeEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_resizeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_contextMenuEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_contextMenuEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent * a0;
        sipSonnet_ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp,sipType_QContextMenuEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_contextMenuEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_eventFilter(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_eventFilter(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject * a0;
        QEvent * a1;
        sipSonnet_ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8J8",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp,sipType_QObject,&a0,sipType_QEvent,&a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_eventFilter);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_hideEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_hideEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent * a0;
        sipSonnet_ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp,sipType_QHideEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_hideEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_closeEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_closeEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent * a0;
        sipSonnet_ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp,sipType_QCloseEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_closeEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_keyPressEvent(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_keyPressEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipSonnet_ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp,sipType_QKeyEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_keyPressEvent);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_slotButtonClicked(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_slotButtonClicked(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipSonnet_ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pi",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_slotButtonClicked(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_slotButtonClicked);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_updateGeometry(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_updateGeometry(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipSonnet_ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_updateGeometry();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_updateGeometry);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_setLanguage(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_setLanguage(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        Sonnet::ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLanguage(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_setLanguage);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_slotOk(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_slotOk(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipSonnet_ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_slotOk(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_slotOk);

    return NULL;
}


extern "C" {static PyObject *meth_Sonnet_ConfigDialog_slotApply(PyObject *, PyObject *);}
static PyObject *meth_Sonnet_ConfigDialog_slotApply(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipSonnet_ConfigDialog *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_Sonnet_ConfigDialog,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_slotApply(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ConfigDialog,sipName_slotApply);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Sonnet_ConfigDialog(void *, const sipTypeDef *);}
static void *cast_Sonnet_ConfigDialog(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Sonnet_ConfigDialog)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KDialog)->ctd_cast((KDialog *)(Sonnet::ConfigDialog *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Sonnet_ConfigDialog(void *, int);}
static void release_Sonnet_ConfigDialog(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipSonnet_ConfigDialog *>(sipCppV);
    else
        delete reinterpret_cast<Sonnet::ConfigDialog *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Sonnet_ConfigDialog(sipSimpleWrapper *);}
static void dealloc_Sonnet_ConfigDialog(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipSonnet_ConfigDialog *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Sonnet_ConfigDialog(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_Sonnet_ConfigDialog(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_Sonnet_ConfigDialog(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **sipOwner, int *sipArgsParsed)
{
    sipSonnet_ConfigDialog *sipCpp = 0;

    if (!sipCpp)
    {
        KConfig * a0;
        QWidget * a1;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J8JH",sipType_KConfig,&a0,sipType_QWidget,&a1,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipSonnet_ConfigDialog(a0,a1);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_Sonnet_ConfigDialog[] = {{72, 255, 1}};


static PyMethodDef methods_Sonnet_ConfigDialog[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), meth_Sonnet_ConfigDialog_actionEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_Sonnet_ConfigDialog_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_Sonnet_ConfigDialog_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_Sonnet_ConfigDialog_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_Sonnet_ConfigDialog_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_Sonnet_ConfigDialog_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_create), meth_Sonnet_ConfigDialog_create, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_Sonnet_ConfigDialog_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), meth_Sonnet_ConfigDialog_destroy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_Sonnet_ConfigDialog_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_Sonnet_ConfigDialog_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_Sonnet_ConfigDialog_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_Sonnet_ConfigDialog_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_Sonnet_ConfigDialog_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enabledChange), meth_Sonnet_ConfigDialog_enabledChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), meth_Sonnet_ConfigDialog_enterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_Sonnet_ConfigDialog_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_Sonnet_ConfigDialog_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_Sonnet_ConfigDialog_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), meth_Sonnet_ConfigDialog_focusNextChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), meth_Sonnet_ConfigDialog_focusNextPrevChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_Sonnet_ConfigDialog_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), meth_Sonnet_ConfigDialog_focusPreviousChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fontChange), meth_Sonnet_ConfigDialog_fontChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_Sonnet_ConfigDialog_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), meth_Sonnet_ConfigDialog_inputMethodEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_Sonnet_ConfigDialog_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), meth_Sonnet_ConfigDialog_keyReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_languageChange), meth_Sonnet_ConfigDialog_languageChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), meth_Sonnet_ConfigDialog_leaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), meth_Sonnet_ConfigDialog_metric, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_Sonnet_ConfigDialog_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_Sonnet_ConfigDialog_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_Sonnet_ConfigDialog_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_Sonnet_ConfigDialog_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), meth_Sonnet_ConfigDialog_moveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_Sonnet_ConfigDialog_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paletteChange), meth_Sonnet_ConfigDialog_paletteChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_Sonnet_ConfigDialog_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resetInputContext), meth_Sonnet_ConfigDialog_resetInputContext, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_Sonnet_ConfigDialog_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLanguage), meth_Sonnet_ConfigDialog_setLanguage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_Sonnet_ConfigDialog_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotApply), meth_Sonnet_ConfigDialog_slotApply, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotButtonClicked), meth_Sonnet_ConfigDialog_slotButtonClicked, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotOk), meth_Sonnet_ConfigDialog_slotOk, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tabletEvent), meth_Sonnet_ConfigDialog_tabletEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Sonnet_ConfigDialog_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateGeometry), meth_Sonnet_ConfigDialog_updateGeometry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), meth_Sonnet_ConfigDialog_updateMicroFocus, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_Sonnet_ConfigDialog_wheelEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowActivationChange), meth_Sonnet_ConfigDialog_windowActivationChange, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_Sonnet_ConfigDialog[] = {
    {"languageChanged(const QString&)", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_kdeui_Sonnet_ConfigDialog = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Sonnet__ConfigDialog,
        {0}
    },
    sipNameNr_ConfigDialog,
    -1,
    -1,
    {364, 255, 0},
    supers_Sonnet_ConfigDialog,
    0,
    52, methods_Sonnet_ConfigDialog,
    0, 0,
    0, 0,
    init_Sonnet_ConfigDialog,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Sonnet_ConfigDialog,
    release_Sonnet_ConfigDialog,
    cast_Sonnet_ConfigDialog,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &Sonnet::ConfigDialog::staticMetaObject,
    0,
    pyqt4_signals_Sonnet_ConfigDialog
};




pyqt4ClassTypeDef pyqt4Type_kdeui_Sonnet = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_NAMESPACE,
        sipNameNr_Sonnet,
        {0}
    },
    -1,
    -1,
    -1,
    {250, 3, 0},
    0,
    0,
    0, 0,
    0, 0,
    0, 0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};


#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 34117 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 34120 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 34123 "sipkdeuipart3.cpp"


extern "C" {static PyObject *meth_KStandardShortcut_showMenubar(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_showMenubar(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::showMenubar());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_showMenubar);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_forwardWord(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_forwardWord(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::forwardWord());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_forwardWord);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_backwardWord(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_backwardWord(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::backwardWord());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_backwardWord);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_forward(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_forward(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::forward());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_forward);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_back(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_back(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::back());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_back);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_up(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_up(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::up());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_up);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_reload(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_reload(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::reload());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_reload);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_rotateDown(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_rotateDown(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::rotateDown());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_rotateDown);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_rotateUp(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_rotateUp(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::rotateUp());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_rotateUp);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_substringCompletion(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_substringCompletion(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::substringCompletion());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_substringCompletion);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_nextCompletion(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_nextCompletion(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::nextCompletion());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_nextCompletion);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_prevCompletion(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_prevCompletion(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::prevCompletion());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_prevCompletion);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_completion(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_completion(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::completion());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_completion);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_help(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_help(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::help());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_help);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_fullScreen(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_fullScreen(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::fullScreen());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_fullScreen);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_tabPrev(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_tabPrev(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::tabPrev());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_tabPrev);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_tabNext(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_tabNext(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::tabNext());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_tabNext);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_addBookmark(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_addBookmark(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::addBookmark());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_addBookmark);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_gotoLine(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_gotoLine(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::gotoLine());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_gotoLine);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_next(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_next(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::next());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_next);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_prior(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_prior(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::prior());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_prior);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_endOfLine(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_endOfLine(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::endOfLine());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_endOfLine);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_beginningOfLine(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_beginningOfLine(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::beginningOfLine());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_beginningOfLine);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_end(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_end(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::end());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_end);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_begin(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_begin(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::begin());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_begin);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_home(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_home(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::home());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_home);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_zoomOut(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_zoomOut(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::zoomOut());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_zoomOut);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_zoomIn(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_zoomIn(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::zoomIn());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_zoomIn);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_replace(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_replace(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::replace());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_replace);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_findPrev(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_findPrev(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::findPrev());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_findPrev);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_findNext(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_findNext(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::findNext());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_findNext);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_deleteWordForward(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_deleteWordForward(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::deleteWordForward());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_deleteWordForward);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_deleteWordBack(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_deleteWordBack(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::deleteWordBack());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_deleteWordBack);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_selectAll(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_selectAll(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::selectAll());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_selectAll);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_pasteSelection(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_pasteSelection(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::pasteSelection());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_pasteSelection);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_paste(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_paste(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::paste());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_paste);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_copy(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_copy(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::copy());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_copy);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_cut(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_cut(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::cut());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_cut);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_redo(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_redo(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::redo());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_redo);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_undo(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_undo(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::undo());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_undo);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_quit(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_quit(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::quit());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_quit);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_print_(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_print_(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::print());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_print_);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_save(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_save(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::save());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_save);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_close(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_close(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::close());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_close);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_openNew(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_openNew(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::openNew());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_openNew);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_open(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_open(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::open());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_open);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_saveShortcut(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_saveShortcut(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KStandardShortcut::StandardShortcut a0;
        const KShortcut * a1;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"EJ9",sipType_KStandardShortcut_StandardShortcut,&a0,sipType_KShortcut,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            KStandardShortcut::saveShortcut(a0,*a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_saveShortcut);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_hardcodedDefaultShortcut(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_hardcodedDefaultShortcut(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KStandardShortcut::StandardShortcut a0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"E",sipType_KStandardShortcut_StandardShortcut,&a0))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::hardcodedDefaultShortcut(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_hardcodedDefaultShortcut);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_find(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_find(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QKeySequence * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1",sipType_QKeySequence,&a0,&a0State))
        {
            KStandardShortcut::StandardShortcut sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardShortcut::find(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QKeySequence *>(a0),sipType_QKeySequence,a0State);

            return sipConvertFromEnum(sipRes,sipType_KStandardShortcut_StandardShortcut);
        }
    }

    {
        const char * a0;
        PyObject *a0Keep;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"AA",&a0Keep,&a0))
        {
            KStandardShortcut::StandardShortcut sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KStandardShortcut::find(a0);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);

            return sipConvertFromEnum(sipRes,sipType_KStandardShortcut_StandardShortcut);
        }
    }

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::find());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_find);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_whatsThis(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_whatsThis(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KStandardShortcut::StandardShortcut a0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"E",sipType_KStandardShortcut_StandardShortcut,&a0))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KStandardShortcut::whatsThis(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::whatsThis());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_whatsThis);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_label(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_label(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KStandardShortcut::StandardShortcut a0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"E",sipType_KStandardShortcut_StandardShortcut,&a0))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KStandardShortcut::label(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_label);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_name(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_name(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KStandardShortcut::StandardShortcut a0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"E",sipType_KStandardShortcut_StandardShortcut,&a0))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KStandardShortcut::name(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_name);

    return NULL;
}


extern "C" {static PyObject *meth_KStandardShortcut_shortcut(PyObject *,PyObject *);}
static PyObject *meth_KStandardShortcut_shortcut(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KStandardShortcut::StandardShortcut a0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"E",sipType_KStandardShortcut_StandardShortcut,&a0))
        {
            KShortcut *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KShortcut(KStandardShortcut::shortcut(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_shortcut);

    return NULL;
}


static PyMethodDef methods_KStandardShortcut[] = {
    {SIP_MLNAME_CAST(sipName_addBookmark), meth_KStandardShortcut_addBookmark, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_back), meth_KStandardShortcut_back, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_backwardWord), meth_KStandardShortcut_backwardWord, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_begin), meth_KStandardShortcut_begin, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_beginningOfLine), meth_KStandardShortcut_beginningOfLine, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_close), meth_KStandardShortcut_close, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_completion), meth_KStandardShortcut_completion, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_copy), meth_KStandardShortcut_copy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_cut), meth_KStandardShortcut_cut, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deleteWordBack), meth_KStandardShortcut_deleteWordBack, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deleteWordForward), meth_KStandardShortcut_deleteWordForward, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_end), meth_KStandardShortcut_end, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_endOfLine), meth_KStandardShortcut_endOfLine, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_find), meth_KStandardShortcut_find, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_findNext), meth_KStandardShortcut_findNext, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_findPrev), meth_KStandardShortcut_findPrev, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_forward), meth_KStandardShortcut_forward, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_forwardWord), meth_KStandardShortcut_forwardWord, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fullScreen), meth_KStandardShortcut_fullScreen, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_gotoLine), meth_KStandardShortcut_gotoLine, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hardcodedDefaultShortcut), meth_KStandardShortcut_hardcodedDefaultShortcut, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_help), meth_KStandardShortcut_help, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_home), meth_KStandardShortcut_home, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_label), meth_KStandardShortcut_label, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_name), meth_KStandardShortcut_name, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_next), meth_KStandardShortcut_next, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_nextCompletion), meth_KStandardShortcut_nextCompletion, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_open), meth_KStandardShortcut_open, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_openNew), meth_KStandardShortcut_openNew, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paste), meth_KStandardShortcut_paste, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pasteSelection), meth_KStandardShortcut_pasteSelection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_prevCompletion), meth_KStandardShortcut_prevCompletion, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_print_), meth_KStandardShortcut_print_, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_prior), meth_KStandardShortcut_prior, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_quit), meth_KStandardShortcut_quit, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_redo), meth_KStandardShortcut_redo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_reload), meth_KStandardShortcut_reload, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_replace), meth_KStandardShortcut_replace, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rotateDown), meth_KStandardShortcut_rotateDown, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rotateUp), meth_KStandardShortcut_rotateUp, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_save), meth_KStandardShortcut_save, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_saveShortcut), meth_KStandardShortcut_saveShortcut, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectAll), meth_KStandardShortcut_selectAll, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_shortcut), meth_KStandardShortcut_shortcut, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showMenubar), meth_KStandardShortcut_showMenubar, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_substringCompletion), meth_KStandardShortcut_substringCompletion, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tabNext), meth_KStandardShortcut_tabNext, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tabPrev), meth_KStandardShortcut_tabPrev, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_undo), meth_KStandardShortcut_undo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_up), meth_KStandardShortcut_up, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_whatsThis), meth_KStandardShortcut_whatsThis, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_zoomIn), meth_KStandardShortcut_zoomIn, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_zoomOut), meth_KStandardShortcut_zoomOut, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KStandardShortcut[] = {
    {sipName_AboutApp, KStandardShortcut::AboutApp, 253},
    {sipName_AboutKDE, KStandardShortcut::AboutKDE, 253},
    {sipName_AccelNone, KStandardShortcut::AccelNone, 253},
    {sipName_ActualSize, KStandardShortcut::ActualSize, 253},
    {sipName_AddBookmark, KStandardShortcut::AddBookmark, 253},
    {sipName_Back, KStandardShortcut::Back, 253},
    {sipName_BackwardWord, KStandardShortcut::BackwardWord, 253},
    {sipName_Begin, KStandardShortcut::Begin, 253},
    {sipName_BeginningOfLine, KStandardShortcut::BeginningOfLine, 253},
    {sipName_Clear, KStandardShortcut::Clear, 253},
    {sipName_Close, KStandardShortcut::Close, 253},
    {sipName_ConfigureNotifications, KStandardShortcut::ConfigureNotifications, 253},
    {sipName_ConfigureToolbars, KStandardShortcut::ConfigureToolbars, 253},
    {sipName_Copy, KStandardShortcut::Copy, 253},
    {sipName_Cut, KStandardShortcut::Cut, 253},
    {sipName_DeleteWordBack, KStandardShortcut::DeleteWordBack, 253},
    {sipName_DeleteWordForward, KStandardShortcut::DeleteWordForward, 253},
    {sipName_Deselect, KStandardShortcut::Deselect, 253},
    {sipName_DocumentBack, KStandardShortcut::DocumentBack, 253},
    {sipName_DocumentForward, KStandardShortcut::DocumentForward, 253},
    {sipName_EditBookmarks, KStandardShortcut::EditBookmarks, 253},
    {sipName_End, KStandardShortcut::End, 253},
    {sipName_EndOfLine, KStandardShortcut::EndOfLine, 253},
    {sipName_Find, KStandardShortcut::Find, 253},
    {sipName_FindNext, KStandardShortcut::FindNext, 253},
    {sipName_FindPrev, KStandardShortcut::FindPrev, 253},
    {sipName_FitToHeight, KStandardShortcut::FitToHeight, 253},
    {sipName_FitToPage, KStandardShortcut::FitToPage, 253},
    {sipName_FitToWidth, KStandardShortcut::FitToWidth, 253},
    {sipName_Forward, KStandardShortcut::Forward, 253},
    {sipName_ForwardWord, KStandardShortcut::ForwardWord, 253},
    {sipName_FullScreen, KStandardShortcut::FullScreen, 253},
    {sipName_Goto, KStandardShortcut::Goto, 253},
    {sipName_GotoLine, KStandardShortcut::GotoLine, 253},
    {sipName_GotoPage, KStandardShortcut::GotoPage, 253},
    {sipName_Help, KStandardShortcut::Help, 253},
    {sipName_Home, KStandardShortcut::Home, 253},
    {sipName_KeyBindings, KStandardShortcut::KeyBindings, 253},
    {sipName_Mail, KStandardShortcut::Mail, 253},
    {sipName_New, KStandardShortcut::New, 253},
    {sipName_Next, KStandardShortcut::Next, 253},
    {sipName_NextCompletion, KStandardShortcut::NextCompletion, 253},
    {sipName_Open, KStandardShortcut::Open, 253},
    {sipName_OpenRecent, KStandardShortcut::OpenRecent, 253},
    {sipName_Paste, KStandardShortcut::Paste, 253},
    {sipName_PasteSelection, KStandardShortcut::PasteSelection, 253},
    {sipName_Preferences, KStandardShortcut::Preferences, 253},
    {sipName_PrevCompletion, KStandardShortcut::PrevCompletion, 253},
    {sipName_Print, KStandardShortcut::Print, 253},
    {sipName_PrintPreview, KStandardShortcut::PrintPreview, 253},
    {sipName_Prior, KStandardShortcut::Prior, 253},
    {sipName_Quit, KStandardShortcut::Quit, 253},
    {sipName_Redo, KStandardShortcut::Redo, 253},
    {sipName_Reload, KStandardShortcut::Reload, 253},
    {sipName_Replace, KStandardShortcut::Replace, 253},
    {sipName_ReportBug, KStandardShortcut::ReportBug, 253},
    {sipName_Revert, KStandardShortcut::Revert, 253},
    {sipName_RotateDown, KStandardShortcut::RotateDown, 253},
    {sipName_RotateUp, KStandardShortcut::RotateUp, 253},
    {sipName_Save, KStandardShortcut::Save, 253},
    {sipName_SaveAs, KStandardShortcut::SaveAs, 253},
    {sipName_SaveOptions, KStandardShortcut::SaveOptions, 253},
    {sipName_SelectAll, KStandardShortcut::SelectAll, 253},
    {sipName_ShowMenubar, KStandardShortcut::ShowMenubar, 253},
    {sipName_ShowStatusbar, KStandardShortcut::ShowStatusbar, 253},
    {sipName_ShowToolbar, KStandardShortcut::ShowToolbar, 253},
    {sipName_Spelling, KStandardShortcut::Spelling, 253},
    {sipName_StandardShortcutCount, KStandardShortcut::StandardShortcutCount, 253},
    {sipName_SubstringCompletion, KStandardShortcut::SubstringCompletion, 253},
    {sipName_SwitchApplicationLanguage, KStandardShortcut::SwitchApplicationLanguage, 253},
    {sipName_TabNext, KStandardShortcut::TabNext, 253},
    {sipName_TabPrev, KStandardShortcut::TabPrev, 253},
    {sipName_TextCompletion, KStandardShortcut::TextCompletion, 253},
    {sipName_TipofDay, KStandardShortcut::TipofDay, 253},
    {sipName_Undo, KStandardShortcut::Undo, 253},
    {sipName_Up, KStandardShortcut::Up, 253},
    {sipName_WhatsThis, KStandardShortcut::WhatsThis, 253},
    {sipName_Zoom, KStandardShortcut::Zoom, 253},
    {sipName_ZoomIn, KStandardShortcut::ZoomIn, 253},
    {sipName_ZoomOut, KStandardShortcut::ZoomOut, 253},
};


pyqt4ClassTypeDef pyqt4Type_kdeui_KStandardShortcut = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_NAMESPACE,
        sipNameNr_KStandardShortcut,
        {0}
    },
    sipNameNr_KStandardShortcut,
    -1,
    -1,
    {0, 0, 1},
    0,
    0,
    53, methods_KStandardShortcut,
    80, enummembers_KStandardShortcut,
    0, 0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 35698 "sipkdeuipart3.cpp"

#line 46 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 35702 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 35705 "sipkdeuipart3.cpp"
#line 136 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#include <qlist.h>
#line 66 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qlist.h>
#line 229 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 520 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 35766 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 35769 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 35772 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 35775 "sipkdeuipart3.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 35778 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 35781 "sipkdeuipart3.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 35786 "sipkdeuipart3.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 35789 "sipkdeuipart3.cpp"
#line 99 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 35792 "sipkdeuipart3.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 35795 "sipkdeuipart3.cpp"
#line 165 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 35798 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 35801 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qdockwidget.sip"
#include <qdockwidget.h>
#line 35804 "sipkdeuipart3.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 35807 "sipkdeuipart3.cpp"
#line 334 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 35810 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 56 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 35815 "sipkdeuipart3.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qprinterinfo.h>
#line 35818 "sipkdeuipart3.cpp"
#line 202 "/usr/local/share/py-sip/QtGui/qstandarditemmodel.sip"
#include <qstandarditemmodel.h>
#line 35821 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 35824 "sipkdeuipart3.cpp"
#line 66 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 35827 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 114 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 35832 "sipkdeuipart3.cpp"
#line 65 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 88 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 35837 "sipkdeuipart3.cpp"
#line 149 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 175 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 35842 "sipkdeuipart3.cpp"
#line 83 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 101 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 35847 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 35850 "sipkdeuipart3.cpp"
#line 75 "/usr/local/share/py-sip/QtGui/qundostack.sip"
#include <qundostack.h>
#line 35853 "sipkdeuipart3.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 35856 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qprinter.sip"
#include <qprinter.h>
#line 35859 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#line 35862 "sipkdeuipart3.cpp"


extern "C" {static PyObject *meth_KShortcut_primary(PyObject *, PyObject *);}
static PyObject *meth_KShortcut_primary(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KShortcut *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KShortcut,&sipCpp))
        {
            QKeySequence *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QKeySequence(sipCpp->primary());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QKeySequence,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KShortcut,sipName_primary);

    return NULL;
}


extern "C" {static PyObject *meth_KShortcut_alternate(PyObject *, PyObject *);}
static PyObject *meth_KShortcut_alternate(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KShortcut *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KShortcut,&sipCpp))
        {
            QKeySequence *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QKeySequence(sipCpp->alternate());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QKeySequence,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KShortcut,sipName_alternate);

    return NULL;
}


extern "C" {static PyObject *meth_KShortcut_isEmpty(PyObject *, PyObject *);}
static PyObject *meth_KShortcut_isEmpty(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KShortcut *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KShortcut,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isEmpty();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KShortcut,sipName_isEmpty);

    return NULL;
}


extern "C" {static PyObject *meth_KShortcut_contains(PyObject *, PyObject *);}
static PyObject *meth_KShortcut_contains(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QKeySequence * a0;
        int a0State = 0;
        KShortcut *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KShortcut,&sipCpp,sipType_QKeySequence,&a0,&a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->contains(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QKeySequence *>(a0),sipType_QKeySequence,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KShortcut,sipName_contains);

    return NULL;
}


extern "C" {static PyObject *meth_KShortcut_conflictsWith(PyObject *, PyObject *);}
static PyObject *meth_KShortcut_conflictsWith(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QKeySequence * a0;
        int a0State = 0;
        KShortcut *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KShortcut,&sipCpp,sipType_QKeySequence,&a0,&a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->conflictsWith(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QKeySequence *>(a0),sipType_QKeySequence,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KShortcut,sipName_conflictsWith);

    return NULL;
}


extern "C" {static PyObject *meth_KShortcut_toString(PyObject *, PyObject *);}
static PyObject *meth_KShortcut_toString(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KShortcut *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KShortcut,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->toString());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        QKeySequence::SequenceFormat a0;
        KShortcut *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BE",&sipSelf,sipType_KShortcut,&sipCpp,sipType_QKeySequence_SequenceFormat,&a0))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->toString(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KShortcut,sipName_toString);

    return NULL;
}


extern "C" {static PyObject *meth_KShortcut_toList(PyObject *, PyObject *);}
static PyObject *meth_KShortcut_toList(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KShortcut::EmptyHandling a0 = KShortcut::RemoveEmpty;
        KShortcut *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B|E",&sipSelf,sipType_KShortcut,&sipCpp,sipType_KShortcut_EmptyHandling,&a0))
        {
            QList<QKeySequence> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QKeySequence>(sipCpp->toList(a0));
            Py_END_ALLOW_THREADS

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_QList_0200QKeySequence,NULL);
            delete sipRes;

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KShortcut,sipName_toList);

    return NULL;
}


extern "C" {static PyObject *meth_KShortcut_setPrimary(PyObject *, PyObject *);}
static PyObject *meth_KShortcut_setPrimary(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QKeySequence * a0;
        int a0State = 0;
        KShortcut *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KShortcut,&sipCpp,sipType_QKeySequence,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPrimary(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QKeySequence *>(a0),sipType_QKeySequence,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KShortcut,sipName_setPrimary);

    return NULL;
}


extern "C" {static PyObject *meth_KShortcut_setAlternate(PyObject *, PyObject *);}
static PyObject *meth_KShortcut_setAlternate(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QKeySequence * a0;
        int a0State = 0;
        KShortcut *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KShortcut,&sipCpp,sipType_QKeySequence,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAlternate(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QKeySequence *>(a0),sipType_QKeySequence,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KShortcut,sipName_setAlternate);

    return NULL;
}


extern "C" {static PyObject *meth_KShortcut_remove(PyObject *, PyObject *);}
static PyObject *meth_KShortcut_remove(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QKeySequence * a0;
        int a0State = 0;
        KShortcut::EmptyHandling a1 = KShortcut::RemoveEmpty;
        KShortcut *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1|E",&sipSelf,sipType_KShortcut,&sipCpp,sipType_QKeySequence,&a0,&a0State,sipType_KShortcut_EmptyHandling,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->remove(*a0,a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QKeySequence *>(a0),sipType_QKeySequence,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KShortcut,sipName_remove);

    return NULL;
}


extern "C" {static PyObject *slot_KShortcut___ne__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_KShortcut___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KShortcut *sipCpp = reinterpret_cast<KShortcut *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KShortcut));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const KShortcut * a0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J9",sipType_KShortcut,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->KShortcut::operator!=(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kdeui,ne_slot,sipType_KShortcut,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KShortcut___eq__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_KShortcut___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KShortcut *sipCpp = reinterpret_cast<KShortcut *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KShortcut));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const KShortcut * a0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J9",sipType_KShortcut,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->KShortcut::operator==(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kdeui,eq_slot,sipType_KShortcut,sipSelf,sipArg);
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KShortcut(void *, const sipTypeDef *);}
static void *cast_KShortcut(void *ptr,const sipTypeDef *targetType)
{
    if (targetType == sipType_KShortcut)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KShortcut(void *, int);}
static void release_KShortcut(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KShortcut *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KShortcut(void *, const void*);}
static void assign_KShortcut(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<KShortcut *>(sipDst) = *reinterpret_cast<const KShortcut *>(sipSrc);
}


extern "C" {static void dealloc_KShortcut(sipSimpleWrapper *);}
static void dealloc_KShortcut(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KShortcut(sipSelf->u.cppPtr,0);
    }
}


extern "C" {static void *init_KShortcut(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KShortcut(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    KShortcut *sipCpp = 0;

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KShortcut();
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const QKeySequence * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1",sipType_QKeySequence,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KShortcut(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QKeySequence *>(a0),sipType_QKeySequence,a0State);
        }
    }

    if (!sipCpp)
    {
        const QKeySequence * a0;
        int a0State = 0;
        const QKeySequence * a1;
        int a1State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1J1",sipType_QKeySequence,&a0,&a0State,sipType_QKeySequence,&a1,&a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KShortcut(*a0,*a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QKeySequence *>(a0),sipType_QKeySequence,a0State);
            sipReleaseType(const_cast<QKeySequence *>(a1),sipType_QKeySequence,a1State);
        }
    }

    if (!sipCpp)
    {
        int a0;
        int a1 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"i|i",&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KShortcut(a0,a1);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const KShortcut * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_KShortcut,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KShortcut(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const QString * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1",sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KShortcut(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
        }
    }

    if (!sipCpp)
    {
        const QList<QKeySequence> * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1",sipType_QList_0200QKeySequence,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KShortcut(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QList<QKeySequence> *>(a0),sipType_QList_0200QKeySequence,a0State);
        }
    }

    return sipCpp;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KShortcut[] = {
    {(void *)slot_KShortcut___ne__, ne_slot},
    {(void *)slot_KShortcut___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_KShortcut[] = {
    {SIP_MLNAME_CAST(sipName_alternate), meth_KShortcut_alternate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_conflictsWith), meth_KShortcut_conflictsWith, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contains), meth_KShortcut_contains, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isEmpty), meth_KShortcut_isEmpty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_primary), meth_KShortcut_primary, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_remove), meth_KShortcut_remove, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAlternate), meth_KShortcut_setAlternate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPrimary), meth_KShortcut_setPrimary, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toList), meth_KShortcut_toList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toString), meth_KShortcut_toString, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KShortcut[] = {
    {sipName_KeepEmpty, KShortcut::KeepEmpty, 238},
    {sipName_RemoveEmpty, KShortcut::RemoveEmpty, 238},
};


pyqt4ClassTypeDef pyqt4Type_kdeui_KShortcut = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KShortcut,
        {0}
    },
    sipNameNr_KShortcut,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {0, 0, 1},
    0,
    slots_KShortcut,
    10, methods_KShortcut,
    2, enummembers_KShortcut,
    0, 0,
    init_KShortcut,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KShortcut,
    release_KShortcut,
    cast_KShortcut,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_KShortcut,
    0,
    0,
    0
};

#line 24 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kglobalshortcutinfo.sip"
#include <kglobalshortcutinfo.h>
#line 36452 "sipkdeuipart3.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 36456 "sipkdeuipart3.cpp"
#line 136 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#include <qlist.h>
#line 66 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qlist.h>
#line 229 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 520 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 36517 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 36520 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 36523 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 36526 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 36529 "sipkdeuipart3.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 36532 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 36535 "sipkdeuipart3.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 36540 "sipkdeuipart3.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 36543 "sipkdeuipart3.cpp"
#line 99 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 36546 "sipkdeuipart3.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 36549 "sipkdeuipart3.cpp"
#line 165 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 36552 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 36555 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qdockwidget.sip"
#include <qdockwidget.h>
#line 36558 "sipkdeuipart3.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 36561 "sipkdeuipart3.cpp"
#line 334 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 36564 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 56 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 36569 "sipkdeuipart3.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qprinterinfo.h>
#line 36572 "sipkdeuipart3.cpp"
#line 202 "/usr/local/share/py-sip/QtGui/qstandarditemmodel.sip"
#include <qstandarditemmodel.h>
#line 36575 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 36578 "sipkdeuipart3.cpp"
#line 66 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 36581 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 114 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 36586 "sipkdeuipart3.cpp"
#line 65 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 88 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 36591 "sipkdeuipart3.cpp"
#line 149 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 175 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 36596 "sipkdeuipart3.cpp"
#line 83 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 101 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 36601 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 36604 "sipkdeuipart3.cpp"
#line 75 "/usr/local/share/py-sip/QtGui/qundostack.sip"
#include <qundostack.h>
#line 36607 "sipkdeuipart3.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 36610 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qprinter.sip"
#include <qprinter.h>
#line 36613 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#line 36616 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 36619 "sipkdeuipart3.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 36622 "sipkdeuipart3.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 36625 "sipkdeuipart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 36628 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 36631 "sipkdeuipart3.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 36662 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 36665 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 36668 "sipkdeuipart3.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 36671 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 36674 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 36677 "sipkdeuipart3.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 36680 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 36683 "sipkdeuipart3.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 36686 "sipkdeuipart3.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 36689 "sipkdeuipart3.cpp"


class sipKGlobalShortcutInfo : public KGlobalShortcutInfo
{
public:
    sipKGlobalShortcutInfo();
    sipKGlobalShortcutInfo(const KGlobalShortcutInfo&);
    virtual ~sipKGlobalShortcutInfo();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);

    /*
     * 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:
    sipKGlobalShortcutInfo(const sipKGlobalShortcutInfo &);
    sipKGlobalShortcutInfo &operator = (const sipKGlobalShortcutInfo &);

    char sipPyMethods[7];
};

sipKGlobalShortcutInfo::sipKGlobalShortcutInfo(): KGlobalShortcutInfo(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKGlobalShortcutInfo::sipKGlobalShortcutInfo(const KGlobalShortcutInfo& a0): KGlobalShortcutInfo(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKGlobalShortcutInfo::~sipKGlobalShortcutInfo()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKGlobalShortcutInfo::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KGlobalShortcutInfo);
}

int sipKGlobalShortcutInfo::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KGlobalShortcutInfo::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KGlobalShortcutInfo,_c,_id,_a);

    return _id;
}

void *sipKGlobalShortcutInfo::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast && sip_kdeui_qt_metacast(sipPySelf,sipType_KGlobalShortcutInfo,_clname)) ? this : KGlobalShortcutInfo::qt_metacast(_clname);
}

bool sipKGlobalShortcutInfo::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QObject::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_kdeui_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipKGlobalShortcutInfo::eventFilter(QObject *a0,QEvent *a1)
{
    typedef bool (*sipVH_QtCore_21)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_eventFilter);

    if (!meth)
        return QObject::eventFilter(a0,a1);

    return ((sipVH_QtCore_21)(sipModuleAPI_kdeui_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

void sipKGlobalShortcutInfo::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    ((sipVH_QtCore_3)(sipModuleAPI_kdeui_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKGlobalShortcutInfo::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    ((sipVH_QtCore_20)(sipModuleAPI_kdeui_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKGlobalShortcutInfo::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kdeui_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKGlobalShortcutInfo::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKGlobalShortcutInfo::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

int sipKGlobalShortcutInfo::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKGlobalShortcutInfo::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKGlobalShortcutInfo::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKGlobalShortcutInfo::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKGlobalShortcutInfo::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKGlobalShortcutInfo::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}


extern "C" {static PyObject *meth_KGlobalShortcutInfo_receivers(PyObject *, PyObject *);}
static PyObject *meth_KGlobalShortcutInfo_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipKGlobalShortcutInfo *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KGlobalShortcutInfo,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 36948 "sipkdeuipart3.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KGlobalShortcutInfo,sipName_receivers);

    return NULL;
}


extern "C" {static PyObject *meth_KGlobalShortcutInfo_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KGlobalShortcutInfo_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKGlobalShortcutInfo *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KGlobalShortcutInfo,&sipCpp,sipType_QTimerEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KGlobalShortcutInfo,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KGlobalShortcutInfo_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KGlobalShortcutInfo_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKGlobalShortcutInfo *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KGlobalShortcutInfo,&sipCpp,sipType_QChildEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KGlobalShortcutInfo,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KGlobalShortcutInfo_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KGlobalShortcutInfo_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKGlobalShortcutInfo *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KGlobalShortcutInfo,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KGlobalShortcutInfo,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KGlobalShortcutInfo_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KGlobalShortcutInfo_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKGlobalShortcutInfo *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KGlobalShortcutInfo,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KGlobalShortcutInfo,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KGlobalShortcutInfo_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KGlobalShortcutInfo_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKGlobalShortcutInfo *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KGlobalShortcutInfo,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KGlobalShortcutInfo,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KGlobalShortcutInfo_contextFriendlyName(PyObject *, PyObject *);}
static PyObject *meth_KGlobalShortcutInfo_contextFriendlyName(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KGlobalShortcutInfo *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KGlobalShortcutInfo,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->contextFriendlyName());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KGlobalShortcutInfo,sipName_contextFriendlyName);

    return NULL;
}


extern "C" {static PyObject *meth_KGlobalShortcutInfo_contextUniqueName(PyObject *, PyObject *);}
static PyObject *meth_KGlobalShortcutInfo_contextUniqueName(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KGlobalShortcutInfo *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KGlobalShortcutInfo,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->contextUniqueName());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KGlobalShortcutInfo,sipName_contextUniqueName);

    return NULL;
}


extern "C" {static PyObject *meth_KGlobalShortcutInfo_componentFriendlyName(PyObject *, PyObject *);}
static PyObject *meth_KGlobalShortcutInfo_componentFriendlyName(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KGlobalShortcutInfo *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KGlobalShortcutInfo,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->componentFriendlyName());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KGlobalShortcutInfo,sipName_componentFriendlyName);

    return NULL;
}


extern "C" {static PyObject *meth_KGlobalShortcutInfo_componentUniqueName(PyObject *, PyObject *);}
static PyObject *meth_KGlobalShortcutInfo_componentUniqueName(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KGlobalShortcutInfo *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KGlobalShortcutInfo,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->componentUniqueName());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KGlobalShortcutInfo,sipName_componentUniqueName);

    return NULL;
}


extern "C" {static PyObject *meth_KGlobalShortcutInfo_defaultKeys(PyObject *, PyObject *);}
static PyObject *meth_KGlobalShortcutInfo_defaultKeys(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KGlobalShortcutInfo *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KGlobalShortcutInfo,&sipCpp))
        {
            QList<QKeySequence> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QKeySequence>(sipCpp->defaultKeys());
            Py_END_ALLOW_THREADS

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_QList_0200QKeySequence,NULL);
            delete sipRes;

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KGlobalShortcutInfo,sipName_defaultKeys);

    return NULL;
}


extern "C" {static PyObject *meth_KGlobalShortcutInfo_friendlyName(PyObject *, PyObject *);}
static PyObject *meth_KGlobalShortcutInfo_friendlyName(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KGlobalShortcutInfo *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KGlobalShortcutInfo,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->friendlyName());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KGlobalShortcutInfo,sipName_friendlyName);

    return NULL;
}


extern "C" {static PyObject *meth_KGlobalShortcutInfo_keys(PyObject *, PyObject *);}
static PyObject *meth_KGlobalShortcutInfo_keys(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KGlobalShortcutInfo *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KGlobalShortcutInfo,&sipCpp))
        {
            QList<QKeySequence> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QKeySequence>(sipCpp->keys());
            Py_END_ALLOW_THREADS

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_QList_0200QKeySequence,NULL);
            delete sipRes;

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KGlobalShortcutInfo,sipName_keys);

    return NULL;
}


extern "C" {static PyObject *meth_KGlobalShortcutInfo_uniqueName(PyObject *, PyObject *);}
static PyObject *meth_KGlobalShortcutInfo_uniqueName(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KGlobalShortcutInfo *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KGlobalShortcutInfo,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->uniqueName());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KGlobalShortcutInfo,sipName_uniqueName);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KGlobalShortcutInfo(void *, const sipTypeDef *);}
static void *cast_KGlobalShortcutInfo(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KGlobalShortcutInfo)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(KGlobalShortcutInfo *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KGlobalShortcutInfo(void *, int);}
static void release_KGlobalShortcutInfo(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKGlobalShortcutInfo *>(sipCppV);
    else
        delete reinterpret_cast<KGlobalShortcutInfo *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KGlobalShortcutInfo(void *, const void*);}
static void assign_KGlobalShortcutInfo(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<KGlobalShortcutInfo *>(sipDst) = *reinterpret_cast<const KGlobalShortcutInfo *>(sipSrc);
}


extern "C" {static void dealloc_KGlobalShortcutInfo(sipSimpleWrapper *);}
static void dealloc_KGlobalShortcutInfo(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKGlobalShortcutInfo *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KGlobalShortcutInfo(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KGlobalShortcutInfo(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KGlobalShortcutInfo(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipKGlobalShortcutInfo *sipCpp = 0;

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKGlobalShortcutInfo();
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const KGlobalShortcutInfo * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_KGlobalShortcutInfo,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKGlobalShortcutInfo(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KGlobalShortcutInfo[] = {{111, 0, 1}};


static PyMethodDef methods_KGlobalShortcutInfo[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KGlobalShortcutInfo_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_componentFriendlyName), meth_KGlobalShortcutInfo_componentFriendlyName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_componentUniqueName), meth_KGlobalShortcutInfo_componentUniqueName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KGlobalShortcutInfo_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextFriendlyName), meth_KGlobalShortcutInfo_contextFriendlyName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextUniqueName), meth_KGlobalShortcutInfo_contextUniqueName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KGlobalShortcutInfo_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_defaultKeys), meth_KGlobalShortcutInfo_defaultKeys, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KGlobalShortcutInfo_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_friendlyName), meth_KGlobalShortcutInfo_friendlyName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keys), meth_KGlobalShortcutInfo_keys, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KGlobalShortcutInfo_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KGlobalShortcutInfo_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_uniqueName), meth_KGlobalShortcutInfo_uniqueName, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kdeui_KGlobalShortcutInfo = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KGlobalShortcutInfo,
        {0}
    },
    sipNameNr_KGlobalShortcutInfo,
    -1,
    -1,
    {0, 0, 1},
    supers_KGlobalShortcutInfo,
    0,
    14, methods_KGlobalShortcutInfo,
    0, 0,
    0, 0,
    init_KGlobalShortcutInfo,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KGlobalShortcutInfo,
    release_KGlobalShortcutInfo,
    cast_KGlobalShortcutInfo,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_KGlobalShortcutInfo,
    &KGlobalShortcutInfo::staticMetaObject,
    0,
    0
};
