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

#include "sipAPIkutils.h"

#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kutils/kemoticons.sip"
#include <kemoticons.h>
#line 12 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"

#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kutils/kemoticonstheme.sip"
#include <kemoticonstheme.h>
#line 16 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 19 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 22 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kutils/kemoticonstheme.sip"
#include <kemoticonstheme.h>
#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 340 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kservice.sip"
#include <kservice.h>
#line 31 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 34 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 37 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 40 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 43 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 46 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 49 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 52 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 58 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 64 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 67 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"


class sipKEmoticons : public KEmoticons
{
public:
    sipKEmoticons();
    virtual ~sipKEmoticons();

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

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[7];
};

sipKEmoticons::sipKEmoticons(): KEmoticons(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKEmoticons::metaObject() const
{
    return sip_kutils_qt_metaobject(sipPySelf,sipType_KEmoticons);
}

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

    if (_id >= 0)
        _id = sip_kutils_qt_metacall(sipPySelf,sipType_KEmoticons,_c,_id,_a);

    return _id;
}

void *sipKEmoticons::qt_metacast(const char *_clname)
{
    return (sip_kutils_qt_metacast(sipPySelf, sipType_KEmoticons, _clname)) ? this : KEmoticons::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

    {
        KEmoticons *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KEmoticonsTheme(sipCpp->theme());
            Py_END_ALLOW_THREADS

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

    {
        const QString* a0;
        int a0State = 0;
        KEmoticons *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KEmoticons, &sipCpp, sipType_QString,&a0, &a0State))
        {
            KEmoticonsTheme*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KEmoticonsTheme(sipCpp->theme(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KEmoticons::currentThemeName());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(KEmoticons::themeList());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KEmoticonsTheme* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9", sipType_KEmoticonsTheme, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            KEmoticons::setTheme(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            KEmoticons::setTheme(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QString* a0;
        int a0State = 0;
        const KService::Ptr* a1;
        int a1State = 0;
        KEmoticons *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_KEmoticons, &sipCpp, sipType_QString,&a0, &a0State, sipType_KSharedPtr_0100KService,&a1, &a1State))
        {
            KEmoticonsTheme*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KEmoticonsTheme(sipCpp->newTheme(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<KService::Ptr *>(a1),sipType_KSharedPtr_0100KService,a1State);

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

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

    return NULL;
}


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

    {
        const QString* a0;
        int a0State = 0;
        KEmoticons *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KEmoticons, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->installTheme(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

    {
        KEmoticonsTheme::ParseMode* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_KEmoticonsTheme_ParseMode, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            KEmoticons::setParseMode(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KEmoticonsTheme_ParseMode,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KEmoticonsTheme::ParseMode*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KEmoticonsTheme::ParseMode(KEmoticons::parseMode());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    if (targetType == sipType_KEmoticons)
        return ptr;

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

    return NULL;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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

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


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KEmoticons[] = {
    {SIP_MLNAME_CAST(sipName_currentThemeName), meth_KEmoticons_currentThemeName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_installTheme), meth_KEmoticons_installTheme, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_newTheme), meth_KEmoticons_newTheme, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_parseMode), meth_KEmoticons_parseMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setParseMode), meth_KEmoticons_setParseMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTheme), meth_KEmoticons_setTheme, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_theme), meth_KEmoticons_theme, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_themeList), meth_KEmoticons_themeList, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kutils_KEmoticons = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KEmoticons,
        {0}
    },
    {
        sipNameNr_KEmoticons,
        {0, 0, 1},
        8, methods_KEmoticons,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KEmoticons,
    0,
    init_type_KEmoticons,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KEmoticons,
    0,
    0,
    0,
    release_KEmoticons,
    cast_KEmoticons,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KEmoticons::staticMetaObject,
    0,
    0
};

#line 43 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kutils/kcmoduleproxy.sip"
#include <kcmoduleproxy.h>
#line 646 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kutils/kcmoduleinfo.sip"
#include <kcmoduleinfo.h>
#line 650 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 653 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 656 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 659 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 340 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 662 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kservice.sip"
#include <kservice.h>
#line 665 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 605 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 668 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 671 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdeui/kcmodule.sip"
#include <kcmodule.h>
#line 674 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcomponentdata.sip"
#include <kcomponentdata.h>
#line 677 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdeui/kcmodule.sip"
#include <kcmodule.h>
#line 680 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 56 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kaboutdata.sip"
#include <kaboutdata.h>
#line 683 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 686 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 39 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 689 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 692 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 695 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 39 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 698 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 701 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 704 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 707 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 710 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 713 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 716 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 719 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 722 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 725 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 728 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 731 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 734 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 737 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 740 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 743 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 656 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 746 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 749 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 616 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 752 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 748 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 755 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 801 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 758 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 774 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 761 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 790 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 764 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 863 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 767 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 412 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 770 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 627 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 773 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 583 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 776 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 570 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 779 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 557 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 782 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 533 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 785 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 514 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 788 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 483 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 791 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 356 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 794 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 261 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 797 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 800 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 61 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 803 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 39 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 806 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 809 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 812 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 815 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 818 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 821 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 824 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 827 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 830 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 833 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 836 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 839 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 842 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 845 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 848 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 851 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 854 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 857 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 860 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"


class sipKCModuleProxy : public KCModuleProxy
{
public:
    sipKCModuleProxy(const KCModuleInfo&,QWidget*,const QStringList&);
    sipKCModuleProxy(const QString&,QWidget*,const QStringList&);
    sipKCModuleProxy(const KService::Ptr&,QWidget*,const QStringList&);
    virtual ~sipKCModuleProxy();

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[47];
};

sipKCModuleProxy::sipKCModuleProxy(const KCModuleInfo& a0,QWidget*a1,const QStringList& a2): KCModuleProxy(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKCModuleProxy::sipKCModuleProxy(const QString& a0,QWidget*a1,const QStringList& a2): KCModuleProxy(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKCModuleProxy::sipKCModuleProxy(const KService::Ptr& a0,QWidget*a1,const QStringList& a2): KCModuleProxy(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKCModuleProxy::metaObject() const
{
    return sip_kutils_qt_metaobject(sipPySelf,sipType_KCModuleProxy);
}

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

    if (_id >= 0)
        _id = sip_kutils_qt_metacall(sipPySelf,sipType_KCModuleProxy,_c,_id,_a);

    return _id;
}

void *sipKCModuleProxy::qt_metacast(const char *_clname)
{
    return (sip_kutils_qt_metacast(sipPySelf, sipType_KCModuleProxy, _clname)) ? this : KCModuleProxy::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

    {
        KCModuleProxy *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KCModuleProxy *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KCModuleProxy *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KCModuleProxy *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCModuleProxy, &sipCpp))
        {
            const KAboutData*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->aboutData();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(const_cast<KAboutData *>(sipRes),sipType_KAboutData,NULL);
        }
    }

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

    return NULL;
}


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

    {
        const KCModuleProxy *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCModuleProxy, &sipCpp))
        {
            KCModule::Buttons*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KCModule::Buttons(sipCpp->buttons());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KCModuleProxy *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KCModuleProxy *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->useRootOnlyMessage();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KCModuleProxy *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KComponentData(sipCpp->componentData());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KCModuleProxy *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->changed();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KCModuleProxy *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->realModule();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KCModuleProxy *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KCModuleInfo(sipCpp->moduleInfo());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KCModuleProxy *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KCModuleProxy *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KCModuleProxy *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize((sipSelfWasArg ? sipCpp->KCModuleProxy::minimumSizeHint() : sipCpp->minimumSizeHint()));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KCModuleProxy *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KCModuleProxy *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QShowEvent* a0;
        KCModuleProxy *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KCModuleProxy, &sipCpp, sipType_QShowEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCModuleProxy::showEvent(a0) : sipCpp->showEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KCModuleProxy)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QWidget)->ctd_cast((QWidget *)(KCModuleProxy *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        const KCModuleInfo* a0;
        QWidget* a1 = 0;
        const QStringList& a2def = QStringList();
        const QStringList* a2 = &a2def;
        int a2State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9|JHJ1", sipType_KCModuleInfo, &a0, sipType_QWidget, &a1, sipOwner, sipType_QStringList,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKCModuleProxy(*a0,a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringList *>(a2),sipType_QStringList,a2State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        QWidget* a1 = 0;
        const QStringList& a2def = QStringList();
        const QStringList* a2 = &a2def;
        int a2State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1|JHJ1", sipType_QString,&a0, &a0State, sipType_QWidget, &a1, sipOwner, sipType_QStringList,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKCModuleProxy(*a0,a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QStringList *>(a2),sipType_QStringList,a2State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const KService::Ptr* a0;
        int a0State = 0;
        QWidget* a1 = 0;
        const QStringList& a2def = QStringList();
        const QStringList* a2 = &a2def;
        int a2State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1|JHJ1", sipType_KSharedPtr_0100KService,&a0, &a0State, sipType_QWidget, &a1, sipOwner, sipType_QStringList,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKCModuleProxy(*a0,a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<KService::Ptr *>(a0),sipType_KSharedPtr_0100KService,a0State);
            sipReleaseType(const_cast<QStringList *>(a2),sipType_QStringList,a2State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KCModuleProxy[] = {
    {SIP_MLNAME_CAST(sipName_aboutData), meth_KCModuleProxy_aboutData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_buttons), meth_KCModuleProxy_buttons, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changed), meth_KCModuleProxy_changed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_componentData), meth_KCModuleProxy_componentData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dbusPath), meth_KCModuleProxy_dbusPath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dbusService), meth_KCModuleProxy_dbusService, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_defaults), meth_KCModuleProxy_defaults, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deleteClient), meth_KCModuleProxy_deleteClient, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_load), meth_KCModuleProxy_load, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_minimumSizeHint), meth_KCModuleProxy_minimumSizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moduleInfo), meth_KCModuleProxy_moduleInfo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_quickHelp), meth_KCModuleProxy_quickHelp, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_realModule), meth_KCModuleProxy_realModule, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rootOnlyMessage), meth_KCModuleProxy_rootOnlyMessage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_save), meth_KCModuleProxy_save, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_KCModuleProxy_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_useRootOnlyMessage), meth_KCModuleProxy_useRootOnlyMessage, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KCModuleProxy[] = {
    {"quickHelpChanged()", 0, 0, 0},
    {"childClosed()", 0, 0, 0},
    {"changed(bool)", 0, &methods_KCModuleProxy[2], 0},
    {"changed(KCModuleProxy*)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kutils_KCModuleProxy = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KCModuleProxy,
        {0}
    },
    {
        sipNameNr_KCModuleProxy,
        {0, 0, 1},
        17, methods_KCModuleProxy,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KCModuleProxy,
    0,
    init_type_KCModuleProxy,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCModuleProxy,
    0,
    0,
    0,
    release_KCModuleProxy,
    cast_KCModuleProxy,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KCModuleProxy::staticMetaObject,
    0,
    signals_KCModuleProxy,
};


#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdeui/kcmodule.sip"
#include <kcmodule.h>
#line 2462 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kutils/kcmoduleinfo.sip"
#include <kcmoduleinfo.h>
#line 2465 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 2468 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 2471 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 2474 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kutils/sipkutilspart4.cpp"


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "EJ1J1J:", sipType_KCModuleLoader_ErrorReporting, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QWidget, &a3))
        {
            KCModule*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KCModuleLoader::reportError(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_KCModule,NULL);
        }
    }

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

    return NULL;
}


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

    {
        QWidget* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J:", sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            KCModuleLoader::showLastLoaderError(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KCModuleInfo* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9", sipType_KCModuleInfo, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            KCModuleLoader::unloadModule(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KCModuleInfo* a0;
        KCModuleLoader::ErrorReporting a1;
        QWidget* a2 = 0;
        const QStringList& a3def = QStringList();
        const QStringList* a3 = &a3def;
        int a3State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9E|J:J1", sipType_KCModuleInfo, &a0, sipType_KCModuleLoader_ErrorReporting, &a1, sipType_QWidget, &a2, sipType_QStringList,&a3, &a3State))
        {
            KCModule*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KCModuleLoader::loadModule(*a0,a1,a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringList *>(a3),sipType_QStringList,a3State);

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

    {
        const QString* a0;
        int a0State = 0;
        KCModuleLoader::ErrorReporting a1;
        QWidget* a2 = 0;
        const QStringList& a3def = QStringList();
        const QStringList* a3 = &a3def;
        int a3State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1E|J:J1", sipType_QString,&a0, &a0State, sipType_KCModuleLoader_ErrorReporting, &a1, sipType_QWidget, &a2, sipType_QStringList,&a3, &a3State))
        {
            KCModule*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KCModuleLoader::loadModule(*a0,a1,a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QStringList *>(a3),sipType_QStringList,a3State);

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

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

    return NULL;
}


static PyMethodDef methods_KCModuleLoader[] = {
    {SIP_MLNAME_CAST(sipName_loadModule), meth_KCModuleLoader_loadModule, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_reportError), meth_KCModuleLoader_reportError, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showLastLoaderError), meth_KCModuleLoader_showLastLoaderError, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_unloadModule), meth_KCModuleLoader_unloadModule, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KCModuleLoader[] = {
    {sipName_Both, static_cast<int>(KCModuleLoader::Both), 2},
    {sipName_Dialog, static_cast<int>(KCModuleLoader::Dialog), 2},
    {sipName_Inline, static_cast<int>(KCModuleLoader::Inline), 2},
    {sipName_None, static_cast<int>(KCModuleLoader::None), 2},
};


pyqt4ClassTypeDef sipTypeDef_kutils_KCModuleLoader = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_NAMESPACE,
        sipNameNr_KCModuleLoader,
        {0}
    },
    {
        sipNameNr_KCModuleLoader,
        {0, 0, 1},
        4, methods_KCModuleLoader,
        4, enummembers_KCModuleLoader,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    0,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};
