/*
 * Module code.
 *
 * Generated by SIP 4.8.2 on Sun Oct 11 20:20:18 2009
 */

#include "sipAPIkutils.h"

#line 25 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kutils/kemoticonsprovider.sip"
#include <kemoticonsprovider.h>
#line 12 "sipkutilspart2.cpp"

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


extern "C" {static PyObject *slot_KEmoticonsProvider_Emoticon___ge__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_KEmoticonsProvider_Emoticon___ge__(PyObject *sipSelf,PyObject *sipArg)
{
    KEmoticonsProvider::Emoticon *sipCpp = reinterpret_cast<KEmoticonsProvider::Emoticon *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KEmoticonsProvider_Emoticon));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const KEmoticonsProvider::Emoticon * a0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J9",sipType_KEmoticonsProvider_Emoticon,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = !sipCpp->KEmoticonsProvider::Emoticon::operator<(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kutils,ge_slot,sipType_KEmoticonsProvider_Emoticon,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KEmoticonsProvider_Emoticon___lt__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_KEmoticonsProvider_Emoticon___lt__(PyObject *sipSelf,PyObject *sipArg)
{
    KEmoticonsProvider::Emoticon *sipCpp = reinterpret_cast<KEmoticonsProvider::Emoticon *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KEmoticonsProvider_Emoticon));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const KEmoticonsProvider::Emoticon * a0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J9",sipType_KEmoticonsProvider_Emoticon,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->KEmoticonsProvider::Emoticon::operator<(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kutils,lt_slot,sipType_KEmoticonsProvider_Emoticon,sipSelf,sipArg);
}


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

    return NULL;
}


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

    delete reinterpret_cast<KEmoticonsProvider::Emoticon *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KEmoticonsProvider_Emoticon(void *, const void*);}
static void assign_KEmoticonsProvider_Emoticon(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<KEmoticonsProvider::Emoticon *>(sipDst) = *reinterpret_cast<const KEmoticonsProvider::Emoticon *>(sipSrc);
}


extern "C" {static void dealloc_KEmoticonsProvider_Emoticon(sipSimpleWrapper *);}
static void dealloc_KEmoticonsProvider_Emoticon(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KEmoticonsProvider_Emoticon(sipSelf->u.cppPtr,0);
    }
}


extern "C" {static void *init_KEmoticonsProvider_Emoticon(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KEmoticonsProvider_Emoticon(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    KEmoticonsProvider::Emoticon *sipCpp = 0;

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

    if (!sipCpp)
    {
        const KEmoticonsProvider::Emoticon * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_KEmoticonsProvider_Emoticon,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KEmoticonsProvider::Emoticon(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    return sipCpp;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KEmoticonsProvider_Emoticon[] = {
    {(void *)slot_KEmoticonsProvider_Emoticon___ge__, ge_slot},
    {(void *)slot_KEmoticonsProvider_Emoticon___lt__, lt_slot},
    {0, (sipPySlotType)0}
};


extern "C" {static PyObject *varget_KEmoticonsProvider_Emoticon_matchText(void *, PyObject *);}
static PyObject *varget_KEmoticonsProvider_Emoticon_matchText(void *sipSelf, PyObject *)
{
    QString *sipVal;
    KEmoticonsProvider::Emoticon *sipCpp = reinterpret_cast<KEmoticonsProvider::Emoticon *>(sipSelf);

    sipVal = &sipCpp->matchText;

    return sipConvertFromType(sipVal,sipType_QString, NULL);
}


extern "C" {static int varset_KEmoticonsProvider_Emoticon_matchText(void *, PyObject *, PyObject *);}
static int varset_KEmoticonsProvider_Emoticon_matchText(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString *sipVal;
    KEmoticonsProvider::Emoticon *sipCpp = reinterpret_cast<KEmoticonsProvider::Emoticon *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->matchText = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KEmoticonsProvider_Emoticon_matchTextEscaped(void *, PyObject *);}
static PyObject *varget_KEmoticonsProvider_Emoticon_matchTextEscaped(void *sipSelf, PyObject *)
{
    QString *sipVal;
    KEmoticonsProvider::Emoticon *sipCpp = reinterpret_cast<KEmoticonsProvider::Emoticon *>(sipSelf);

    sipVal = &sipCpp->matchTextEscaped;

    return sipConvertFromType(sipVal,sipType_QString, NULL);
}


extern "C" {static int varset_KEmoticonsProvider_Emoticon_matchTextEscaped(void *, PyObject *, PyObject *);}
static int varset_KEmoticonsProvider_Emoticon_matchTextEscaped(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString *sipVal;
    KEmoticonsProvider::Emoticon *sipCpp = reinterpret_cast<KEmoticonsProvider::Emoticon *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->matchTextEscaped = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KEmoticonsProvider_Emoticon_picHTMLCode(void *, PyObject *);}
static PyObject *varget_KEmoticonsProvider_Emoticon_picHTMLCode(void *sipSelf, PyObject *)
{
    QString *sipVal;
    KEmoticonsProvider::Emoticon *sipCpp = reinterpret_cast<KEmoticonsProvider::Emoticon *>(sipSelf);

    sipVal = &sipCpp->picHTMLCode;

    return sipConvertFromType(sipVal,sipType_QString, NULL);
}


extern "C" {static int varset_KEmoticonsProvider_Emoticon_picHTMLCode(void *, PyObject *, PyObject *);}
static int varset_KEmoticonsProvider_Emoticon_picHTMLCode(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString *sipVal;
    KEmoticonsProvider::Emoticon *sipCpp = reinterpret_cast<KEmoticonsProvider::Emoticon *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->picHTMLCode = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KEmoticonsProvider_Emoticon_picPath(void *, PyObject *);}
static PyObject *varget_KEmoticonsProvider_Emoticon_picPath(void *sipSelf, PyObject *)
{
    QString *sipVal;
    KEmoticonsProvider::Emoticon *sipCpp = reinterpret_cast<KEmoticonsProvider::Emoticon *>(sipSelf);

    sipVal = &sipCpp->picPath;

    return sipConvertFromType(sipVal,sipType_QString, NULL);
}


extern "C" {static int varset_KEmoticonsProvider_Emoticon_picPath(void *, PyObject *, PyObject *);}
static int varset_KEmoticonsProvider_Emoticon_picPath(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString *sipVal;
    KEmoticonsProvider::Emoticon *sipCpp = reinterpret_cast<KEmoticonsProvider::Emoticon *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->picPath = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}

sipVariableDef variables_KEmoticonsProvider_Emoticon[] = {
    {sipName_matchText, varget_KEmoticonsProvider_Emoticon_matchText, varset_KEmoticonsProvider_Emoticon_matchText, 0},
    {sipName_matchTextEscaped, varget_KEmoticonsProvider_Emoticon_matchTextEscaped, varset_KEmoticonsProvider_Emoticon_matchTextEscaped, 0},
    {sipName_picHTMLCode, varget_KEmoticonsProvider_Emoticon_picHTMLCode, varset_KEmoticonsProvider_Emoticon_picHTMLCode, 0},
    {sipName_picPath, varget_KEmoticonsProvider_Emoticon_picPath, varset_KEmoticonsProvider_Emoticon_picPath, 0},
};


pyqt4ClassTypeDef pyqt4Type_kutils_KEmoticonsProvider_Emoticon = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KEmoticonsProvider__Emoticon,
        {0}
    },
    sipNameNr_Emoticon,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {6, 255, 0},
    0,
    slots_KEmoticonsProvider_Emoticon,
    0, 0,
    0, 0,
    4, variables_KEmoticonsProvider_Emoticon,
    init_KEmoticonsProvider_Emoticon,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KEmoticonsProvider_Emoticon,
    release_KEmoticonsProvider_Emoticon,
    cast_KEmoticonsProvider_Emoticon,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_KEmoticonsProvider_Emoticon,
    0,
    0,
    0
};

#line 25 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kutils/kemoticonsprovider.sip"
#include <kemoticonsprovider.h>
#line 346 "sipkutilspart2.cpp"

#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 350 "sipkutilspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 353 "sipkutilspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 356 "sipkutilspart2.cpp"
#line 370 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <qhash.h>
#line 43 "/usr/local/share/py-sip/QtCore/qhash.sip"
#include <qhash.h>
#line 43 "/usr/local/share/py-sip/QtCore/qhash.sip"
#include <qhash.h>
#line 43 "/usr/local/share/py-sip/QtCore/qhash.sip"
#include <qhash.h>
#line 43 "/usr/local/share/py-sip/QtCore/qhash.sip"
#include <qhash.h>
#line 367 "sipkutilspart2.cpp"
#line 136 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 370 "sipkutilspart2.cpp"
#line 83 "/usr/local/share/py-sip/QtCore/qchar.sip"
#include <qchar.h>
#line 373 "sipkutilspart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 376 "sipkutilspart2.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 379 "sipkutilspart2.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 382 "sipkutilspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 385 "sipkutilspart2.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 416 "sipkutilspart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 419 "sipkutilspart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 422 "sipkutilspart2.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 425 "sipkutilspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 428 "sipkutilspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 431 "sipkutilspart2.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 434 "sipkutilspart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 437 "sipkutilspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 440 "sipkutilspart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 443 "sipkutilspart2.cpp"


class sipKEmoticonsProvider : public KEmoticonsProvider
{
public:
    sipKEmoticonsProvider(QObject *);
    virtual ~sipKEmoticonsProvider();

    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_clearEmoticonsMap();
    void sipProtect_addEmoticonsMap(QString,QStringList);
    void sipProtect_removeEmoticonsMap(QString);
    void sipProtect_addEmoticonIndex(const QString&,const QStringList&);
    void sipProtect_removeEmoticonIndex(const QString&,const QStringList&);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool loadTheme(const QString&);
    bool removeEmoticon(const QString&);
    bool addEmoticon(const QString&,const QString&,KEmoticonsProvider::AddEmoticonOption);
    void save();
    void createNew();
    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:
    sipKEmoticonsProvider(const sipKEmoticonsProvider &);
    sipKEmoticonsProvider &operator = (const sipKEmoticonsProvider &);

    char sipPyMethods[12];
};

sipKEmoticonsProvider::sipKEmoticonsProvider(QObject *a0): KEmoticonsProvider(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKEmoticonsProvider::metaObject() const
{
    return sip_kutils_qt_metaobject(sipPySelf,sipType_KEmoticonsProvider);
}

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

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

    return _id;
}

void *sipKEmoticonsProvider::qt_metacast(const char *_clname)
{
    return (sip_kutils_qt_metacast && sip_kutils_qt_metacast(sipPySelf,sipType_KEmoticonsProvider,_clname)) ? this : KEmoticonsProvider::qt_metacast(_clname);
}

bool sipKEmoticonsProvider::loadTheme(const QString& a0)
{
    typedef bool (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KEmoticonsProvider::loadTheme(a0);

    return ((sipVH_QtCore_24)(sipModuleAPI_kutils_QtCore->em_virthandlers[24]))(sipGILState,meth,a0);
}

bool sipKEmoticonsProvider::removeEmoticon(const QString& a0)
{
    typedef bool (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KEmoticonsProvider::removeEmoticon(a0);

    return ((sipVH_QtCore_24)(sipModuleAPI_kutils_QtCore->em_virthandlers[24]))(sipGILState,meth,a0);
}

bool sipKEmoticonsProvider::addEmoticon(const QString& a0,const QString& a1,KEmoticonsProvider::AddEmoticonOption a2)
{
    extern bool sipVH_kutils_0(sip_gilstate_t,PyObject *,const QString&,const QString&,KEmoticonsProvider::AddEmoticonOption);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KEmoticonsProvider::addEmoticon(a0,a1,a2);

    return sipVH_kutils_0(sipGILState,meth,a0,a1,a2);
}

void sipKEmoticonsProvider::save()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KEmoticonsProvider::save();
        return;
    }

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

void sipKEmoticonsProvider::createNew()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KEmoticonsProvider::createNew();
        return;
    }

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

bool sipKEmoticonsProvider::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_kutils_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipKEmoticonsProvider::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_kutils_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

void sipKEmoticonsProvider::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_kutils_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKEmoticonsProvider::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_kutils_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKEmoticonsProvider::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_kutils_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKEmoticonsProvider::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_kutils_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKEmoticonsProvider::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_kutils_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

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

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

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

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

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

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

void sipKEmoticonsProvider::sipProtect_clearEmoticonsMap()
{
    KEmoticonsProvider::clearEmoticonsMap();
}

void sipKEmoticonsProvider::sipProtect_addEmoticonsMap(QString a0,QStringList a1)
{
    KEmoticonsProvider::addEmoticonsMap(a0,a1);
}

void sipKEmoticonsProvider::sipProtect_removeEmoticonsMap(QString a0)
{
    KEmoticonsProvider::removeEmoticonsMap(a0);
}

void sipKEmoticonsProvider::sipProtect_addEmoticonIndex(const QString& a0,const QStringList& a1)
{
    KEmoticonsProvider::addEmoticonIndex(a0,a1);
}

void sipKEmoticonsProvider::sipProtect_removeEmoticonIndex(const QString& a0,const QStringList& a1)
{
    KEmoticonsProvider::removeEmoticonIndex(a0,a1);
}


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

    {
        char * a0;
        sipKEmoticonsProvider *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KEmoticonsProvider,&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 812 "sipkutilspart2.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipKEmoticonsProvider *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KEmoticonsProvider,&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_KEmoticonsProvider,sipName_timerEvent);

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipKEmoticonsProvider *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KEmoticonsProvider,&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_KEmoticonsProvider,sipName_childEvent);

    return NULL;
}


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

    {
        QEvent * a0;
        sipKEmoticonsProvider *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KEmoticonsProvider,&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_KEmoticonsProvider,sipName_customEvent);

    return NULL;
}


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

    {
        char * a0;
        sipKEmoticonsProvider *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KEmoticonsProvider,&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_KEmoticonsProvider,sipName_connectNotify);

    return NULL;
}


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

    {
        char * a0;
        sipKEmoticonsProvider *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KEmoticonsProvider,&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_KEmoticonsProvider,sipName_disconnectNotify);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KEmoticonsProvider,&sipCpp,sipType_QString,&a0,&a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KEmoticonsProvider::loadTheme(*a0) : sipCpp->loadTheme(*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_KEmoticonsProvider,sipName_loadTheme);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KEmoticonsProvider,&sipCpp,sipType_QString,&a0,&a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KEmoticonsProvider::removeEmoticon(*a0) : sipCpp->removeEmoticon(*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_KEmoticonsProvider,sipName_removeEmoticon);

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        KEmoticonsProvider::AddEmoticonOption a2 = KEmoticonsProvider::DoNotCopy;
        KEmoticonsProvider *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1J1|E",&sipSelf,sipType_KEmoticonsProvider,&sipCpp,sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,sipType_KEmoticonsProvider_AddEmoticonOption,&a2))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KEmoticonsProvider::addEmoticon(*a0,*a1,a2) : sipCpp->addEmoticon(*a0,*a1,a2));
            Py_END_ALLOW_THREADS

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KEmoticonsProvider *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KEmoticonsProvider,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KEmoticonsProvider::save() : 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_KEmoticonsProvider,sipName_save);

    return NULL;
}


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

    {
        KEmoticonsProvider *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KEmoticonsProvider,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setThemeName(*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_KEmoticonsProvider,sipName_setThemeName);

    return NULL;
}


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

    {
        KEmoticonsProvider *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KEmoticonsProvider *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KEmoticonsProvider *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KEmoticonsProvider,&sipCpp))
        {
            QHash<QString,QStringList> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QHash<QString,QStringList>(sipCpp->emoticonsMap());
            Py_END_ALLOW_THREADS

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_QHash_0200QString_0200QStringList,NULL);
            delete sipRes;

            return sipResObj;
        }
    }

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

    return NULL;
}


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

    {
        KEmoticonsProvider *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KEmoticonsProvider,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KEmoticonsProvider::createNew() : sipCpp->createNew());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipKEmoticonsProvider *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QString * a0;
        int a0State = 0;
        QStringList * a1;
        int a1State = 0;
        sipKEmoticonsProvider *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1J1",&sipSelf,sipType_KEmoticonsProvider,&sipCpp,sipType_QString,&a0,&a0State,sipType_QStringList,&a1,&a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_addEmoticonsMap(*a0,*a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_QString,a0State);
            sipReleaseType(a1,sipType_QStringList,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QString * a0;
        int a0State = 0;
        sipKEmoticonsProvider *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&sipSelf,sipType_KEmoticonsProvider,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_removeEmoticonsMap(*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_KEmoticonsProvider,sipName_removeEmoticonsMap);

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        const QStringList * a1;
        int a1State = 0;
        sipKEmoticonsProvider *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1J1",&sipSelf,sipType_KEmoticonsProvider,&sipCpp,sipType_QString,&a0,&a0State,sipType_QStringList,&a1,&a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_addEmoticonIndex(*a0,*a1);
            Py_END_ALLOW_THREADS

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        const QStringList * a1;
        int a1State = 0;
        sipKEmoticonsProvider *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1J1",&sipSelf,sipType_KEmoticonsProvider,&sipCpp,sipType_QString,&a0,&a0State,sipType_QStringList,&a1,&a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_removeEmoticonIndex(*a0,*a1);
            Py_END_ALLOW_THREADS

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KEmoticonsProvider)
        return ptr;

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

    return NULL;
}


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

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKEmoticonsProvider *>(sipCppV);
    else
        delete reinterpret_cast<KEmoticonsProvider *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

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

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

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


static PyMethodDef methods_KEmoticonsProvider[] = {
    {SIP_MLNAME_CAST(sipName_addEmoticon), meth_KEmoticonsProvider_addEmoticon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addEmoticonIndex), meth_KEmoticonsProvider_addEmoticonIndex, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addEmoticonsMap), meth_KEmoticonsProvider_addEmoticonsMap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KEmoticonsProvider_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clearEmoticonsMap), meth_KEmoticonsProvider_clearEmoticonsMap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KEmoticonsProvider_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createNew), meth_KEmoticonsProvider_createNew, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KEmoticonsProvider_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KEmoticonsProvider_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_emoticonsMap), meth_KEmoticonsProvider_emoticonsMap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fileName), meth_KEmoticonsProvider_fileName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_loadTheme), meth_KEmoticonsProvider_loadTheme, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KEmoticonsProvider_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeEmoticon), meth_KEmoticonsProvider_removeEmoticon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeEmoticonIndex), meth_KEmoticonsProvider_removeEmoticonIndex, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeEmoticonsMap), meth_KEmoticonsProvider_removeEmoticonsMap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_save), meth_KEmoticonsProvider_save, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setThemeName), meth_KEmoticonsProvider_setThemeName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_themeName), meth_KEmoticonsProvider_themeName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_themePath), meth_KEmoticonsProvider_themePath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KEmoticonsProvider_timerEvent, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KEmoticonsProvider[] = {
    {sipName_Copy, KEmoticonsProvider::Copy, 7},
    {sipName_DoNotCopy, KEmoticonsProvider::DoNotCopy, 7},
};


pyqt4ClassTypeDef pyqt4Type_kutils_KEmoticonsProvider = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KEmoticonsProvider,
        {0}
    },
    sipNameNr_KEmoticonsProvider,
    -1,
    -1,
    {0, 0, 1},
    supers_KEmoticonsProvider,
    0,
    21, methods_KEmoticonsProvider,
    2, enummembers_KEmoticonsProvider,
    0, 0,
    init_KEmoticonsProvider,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KEmoticonsProvider,
    release_KEmoticonsProvider,
    cast_KEmoticonsProvider,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KEmoticonsProvider::staticMetaObject,
    0,
    0
};

#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kutils/pluginpage.sip"
#include <pluginpage.h>
#line 1564 "sipkutilspart2.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 1568 "sipkutilspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 1571 "sipkutilspart2.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 1602 "sipkutilspart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 1605 "sipkutilspart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 1608 "sipkutilspart2.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 1611 "sipkutilspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 1614 "sipkutilspart2.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 1617 "sipkutilspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 1620 "sipkutilspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 1623 "sipkutilspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 1626 "sipkutilspart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kutils/kpluginselector.sip"
#include <kpluginselector.h>
#line 1629 "sipkutilspart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kcmodule.sip"
#include <kcmodule.h>
#line 1632 "sipkutilspart2.cpp"
#line 412 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1635 "sipkutilspart2.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 1638 "sipkutilspart2.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kconfigskeleton.sip"
#include <kconfigskeleton.h>
#line 1641 "sipkutilspart2.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 1678 "sipkutilspart2.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 1681 "sipkutilspart2.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qactiongroup.sip"
#include <qactiongroup.h>
#line 1684 "sipkutilspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qcolor.sip"
#include <qcolor.h>
#line 1687 "sipkutilspart2.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 1690 "sipkutilspart2.cpp"
#line 212 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 1693 "sipkutilspart2.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 1696 "sipkutilspart2.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 1699 "sipkutilspart2.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 1702 "sipkutilspart2.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 1705 "sipkutilspart2.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1708 "sipkutilspart2.cpp"
#line 83 "/usr/local/share/py-sip/QtCore/qchar.sip"
#include <qchar.h>
#line 1711 "sipkutilspart2.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 1714 "sipkutilspart2.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 1717 "sipkutilspart2.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 1720 "sipkutilspart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1723 "sipkutilspart2.cpp"
#line 51 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kaboutdata.sip"
#include <kaboutdata.h>
#line 1726 "sipkutilspart2.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 1729 "sipkutilspart2.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 1732 "sipkutilspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 1735 "sipkutilspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 1738 "sipkutilspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 1741 "sipkutilspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 1744 "sipkutilspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 1747 "sipkutilspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 1750 "sipkutilspart2.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 1753 "sipkutilspart2.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 1756 "sipkutilspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 1759 "sipkutilspart2.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1762 "sipkutilspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 1765 "sipkutilspart2.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 1770 "sipkutilspart2.cpp"
#line 424 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1773 "sipkutilspart2.cpp"
#line 508 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1776 "sipkutilspart2.cpp"
#line 562 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1779 "sipkutilspart2.cpp"
#line 533 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1782 "sipkutilspart2.cpp"
#line 550 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1785 "sipkutilspart2.cpp"
#line 618 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1788 "sipkutilspart2.cpp"
#line 247 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1791 "sipkutilspart2.cpp"
#line 436 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1794 "sipkutilspart2.cpp"
#line 388 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1797 "sipkutilspart2.cpp"
#line 374 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1800 "sipkutilspart2.cpp"
#line 360 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1803 "sipkutilspart2.cpp"
#line 345 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1806 "sipkutilspart2.cpp"
#line 325 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1809 "sipkutilspart2.cpp"
#line 296 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1812 "sipkutilspart2.cpp"
#line 225 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1815 "sipkutilspart2.cpp"
#line 184 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 1818 "sipkutilspart2.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 1821 "sipkutilspart2.cpp"
#line 74 "/usr/local/share/py-sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 1824 "sipkutilspart2.cpp"
#line 47 "/usr/local/share/py-sip/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 1827 "sipkutilspart2.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 1888 "sipkutilspart2.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 1891 "sipkutilspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 1894 "sipkutilspart2.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 1897 "sipkutilspart2.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 1900 "sipkutilspart2.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 1905 "sipkutilspart2.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 1908 "sipkutilspart2.cpp"
#line 99 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 1911 "sipkutilspart2.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 1914 "sipkutilspart2.cpp"
#line 165 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 1917 "sipkutilspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 1920 "sipkutilspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qdockwidget.sip"
#include <qdockwidget.h>
#line 1923 "sipkutilspart2.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 1926 "sipkutilspart2.cpp"
#line 334 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 1929 "sipkutilspart2.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 1934 "sipkutilspart2.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qprinterinfo.h>
#line 1937 "sipkutilspart2.cpp"
#line 202 "/usr/local/share/py-sip/QtGui/qstandarditemmodel.sip"
#include <qstandarditemmodel.h>
#line 1940 "sipkutilspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 1943 "sipkutilspart2.cpp"
#line 66 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 1946 "sipkutilspart2.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 1951 "sipkutilspart2.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 1956 "sipkutilspart2.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 1961 "sipkutilspart2.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 1966 "sipkutilspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 1969 "sipkutilspart2.cpp"
#line 75 "/usr/local/share/py-sip/QtGui/qundostack.sip"
#include <qundostack.h>
#line 1972 "sipkutilspart2.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 1975 "sipkutilspart2.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qprinter.sip"
#include <qprinter.h>
#line 1978 "sipkutilspart2.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#line 1981 "sipkutilspart2.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qlayout.sip"
#include <qlayout.h>
#line 1984 "sipkutilspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 1987 "sipkutilspart2.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1990 "sipkutilspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 1993 "sipkutilspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 1996 "sipkutilspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 1999 "sipkutilspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 2002 "sipkutilspart2.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2005 "sipkutilspart2.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2008 "sipkutilspart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 2011 "sipkutilspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 2014 "sipkutilspart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 2017 "sipkutilspart2.cpp"


class sipKSettings_PluginPage : public KSettings::PluginPage
{
public:
    sipKSettings_PluginPage(const KComponentData&,QWidget *,const QVariantList&);
    virtual ~sipKSettings_PluginPage();

    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_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);
    KConfigDialogManager * sipProtect_addConfig(KConfigSkeleton *,QWidget *);
    void sipProtect_setQuickHelp(const QString&);
    void sipProtectVirt_showEvent(bool,QShowEvent *);
    void sipProtect_changed();
    void sipProtect_widgetChanged();
    void sipProtect_setButtons(KCModule::Buttons);
    void sipProtect_setRootOnlyMessage(const QString&);
    void sipProtect_setUseRootOnlyMessage(bool);
    bool sipProtect_managedWidgetChangeState() const;
    void sipProtect_unmanagedWidgetChangeState(bool);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void load();
    void save();
    void defaults();
    QString quickHelp() const;
    const KAboutData * aboutData() const;
    void showEvent(QShowEvent *);
    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 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:
    sipKSettings_PluginPage(const sipKSettings_PluginPage &);
    sipKSettings_PluginPage &operator = (const sipKSettings_PluginPage &);

    char sipPyMethods[52];
};

sipKSettings_PluginPage::sipKSettings_PluginPage(const KComponentData& a0,QWidget *a1,const QVariantList& a2): KSettings::PluginPage(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKSettings_PluginPage::metaObject() const
{
    return sip_kutils_qt_metaobject(sipPySelf,sipType_KSettings_PluginPage);
}

int sipKSettings_PluginPage::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KSettings::PluginPage::qt_metacall(_c,_id,_a);

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

    return _id;
}

void *sipKSettings_PluginPage::qt_metacast(const char *_clname)
{
    return (sip_kutils_qt_metacast && sip_kutils_qt_metacast(sipPySelf,sipType_KSettings_PluginPage,_clname)) ? this : KSettings::PluginPage::qt_metacast(_clname);
}

void sipKSettings_PluginPage::load()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KSettings::PluginPage::load();
        return;
    }

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

void sipKSettings_PluginPage::save()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KSettings::PluginPage::save();
        return;
    }

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

void sipKSettings_PluginPage::defaults()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KSettings::PluginPage::defaults();
        return;
    }

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

QString sipKSettings_PluginPage::quickHelp() const
{
    typedef QString (*sipVH_QtCore_58)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KCModule::quickHelp();

    return ((sipVH_QtCore_58)(sipModuleAPI_kutils_QtCore->em_virthandlers[58]))(sipGILState,meth);
}

const KAboutData * sipKSettings_PluginPage::aboutData() const
{
    typedef const KAboutData * (*sipVH_kdeui_42)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KCModule::aboutData();

    return ((sipVH_kdeui_42)(sipModuleAPI_kutils_kdeui->em_virthandlers[42]))(sipGILState,meth);
}

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

int sipKSettings_PluginPage::devType() 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_devType);

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

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

void sipKSettings_PluginPage::setVisible(bool a0)
{
    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

QSize sipKSettings_PluginPage::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 QWidget::minimumSizeHint();

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

int sipKSettings_PluginPage::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[10]),sipPySelf,NULL,sipName_heightForWidth);

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKSettings_PluginPage::mouseReleaseEvent(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_mouseReleaseEvent);

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

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

void sipKSettings_PluginPage::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_kutils_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipKSettings_PluginPage::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_kutils_QtGui->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipKSettings_PluginPage::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_kutils_QtGui->em_virthandlers[5]))(sipGILState,meth,a0);
}

void sipKSettings_PluginPage::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_kutils_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipKSettings_PluginPage::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_kutils_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipKSettings_PluginPage::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_kutils_QtGui->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipKSettings_PluginPage::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_kutils_QtGui->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipKSettings_PluginPage::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_kutils_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKSettings_PluginPage::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_kutils_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

int sipKSettings_PluginPage::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[37]),sipPySelf,NULL,sipName_metric);

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

QVariant sipKSettings_PluginPage::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[39]),sipPySelf,NULL,sipName_inputMethodQuery);

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKSettings_PluginPage::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[42],sipPySelf,NULL,sipName_paletteChange);

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

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

void sipKSettings_PluginPage::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[43],sipPySelf,NULL,sipName_fontChange);

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

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

void sipKSettings_PluginPage::windowActivationChange(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_windowActivationChange);

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

bool sipKSettings_PluginPage::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[46],sipPySelf,NULL,sipName_eventFilter);

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKSettings_PluginPage::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[50],sipPySelf,NULL,sipName_connectNotify);

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

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

void sipKSettings_PluginPage::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[51],sipPySelf,NULL,sipName_disconnectNotify);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

KConfigDialogManager * sipKSettings_PluginPage::sipProtect_addConfig(KConfigSkeleton *a0,QWidget *a1)
{
    return KCModule::addConfig(a0,a1);
}

void sipKSettings_PluginPage::sipProtect_setQuickHelp(const QString& a0)
{
    KCModule::setQuickHelp(a0);
}

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

void sipKSettings_PluginPage::sipProtect_changed()
{
    KCModule::changed();
}

void sipKSettings_PluginPage::sipProtect_widgetChanged()
{
    KCModule::widgetChanged();
}

void sipKSettings_PluginPage::sipProtect_setButtons(KCModule::Buttons a0)
{
    KCModule::setButtons(a0);
}

void sipKSettings_PluginPage::sipProtect_setRootOnlyMessage(const QString& a0)
{
    KCModule::setRootOnlyMessage(a0);
}

void sipKSettings_PluginPage::sipProtect_setUseRootOnlyMessage(bool a0)
{
    KCModule::setUseRootOnlyMessage(a0);
}

bool sipKSettings_PluginPage::sipProtect_managedWidgetChangeState() const
{
    return KCModule::managedWidgetChangeState();
}

void sipKSettings_PluginPage::sipProtect_unmanagedWidgetChangeState(bool a0)
{
    KCModule::unmanagedWidgetChangeState(a0);
}


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

    {
        char * a0;
        sipKSettings_PluginPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KSettings_PluginPage,&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 3389 "sipkutilspart2.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipKSettings_PluginPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KSettings_PluginPage,&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_PluginPage,sipName_timerEvent);

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipKSettings_PluginPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KSettings_PluginPage,&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_PluginPage,sipName_childEvent);

    return NULL;
}


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

    {
        QEvent * a0;
        sipKSettings_PluginPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KSettings_PluginPage,&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_PluginPage,sipName_customEvent);

    return NULL;
}


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

    {
        char * a0;
        sipKSettings_PluginPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KSettings_PluginPage,&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_PluginPage,sipName_connectNotify);

    return NULL;
}


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

    {
        char * a0;
        sipKSettings_PluginPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KSettings_PluginPage,&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_PluginPage,sipName_disconnectNotify);

    return NULL;
}


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

    {
        QEvent * a0;
        sipKSettings_PluginPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KSettings_PluginPage,&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_PluginPage,sipName_event);

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipKSettings_PluginPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KSettings_PluginPage,&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_PluginPage,sipName_mousePressEvent);

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipKSettings_PluginPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KSettings_PluginPage,&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_PluginPage,sipName_mouseReleaseEvent);

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipKSettings_PluginPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KSettings_PluginPage,&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_PluginPage,sipName_mouseDoubleClickEvent);

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipKSettings_PluginPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KSettings_PluginPage,&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_PluginPage,sipName_mouseMoveEvent);

    return NULL;
}


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

    {
        QWheelEvent * a0;
        sipKSettings_PluginPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KSettings_PluginPage,&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_PluginPage,sipName_wheelEvent);

    return NULL;
}


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

    {
        QKeyEvent * a0;
        sipKSettings_PluginPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KSettings_PluginPage,&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_PluginPage,sipName_keyPressEvent);

    return NULL;
}


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

    {
        QKeyEvent * a0;
        sipKSettings_PluginPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KSettings_PluginPage,&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_PluginPage,sipName_keyReleaseEvent);

    return NULL;
}


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

    {
        QFocusEvent * a0;
        sipKSettings_PluginPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KSettings_PluginPage,&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_PluginPage,sipName_focusInEvent);

    return NULL;
}


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

    {
        QFocusEvent * a0;
        sipKSettings_PluginPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KSettings_PluginPage,&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_PluginPage,sipName_focusOutEvent);

    return NULL;
}


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

    {
        QEvent * a0;
        sipKSettings_PluginPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KSettings_PluginPage,&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_PluginPage,sipName_enterEvent);

    return NULL;
}


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

    {
        QEvent * a0;
        sipKSettings_PluginPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KSettings_PluginPage,&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_PluginPage,sipName_leaveEvent);

    return NULL;
}


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

    {
        QPaintEvent * a0;
        sipKSettings_PluginPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KSettings_PluginPage,&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_PluginPage,sipName_paintEvent);

    return NULL;
}


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

    {
        QMoveEvent * a0;
        sipKSettings_PluginPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KSettings_PluginPage,&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_PluginPage,sipName_moveEvent);

    return NULL;
}


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

    {
        QResizeEvent * a0;
        sipKSettings_PluginPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KSettings_PluginPage,&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_PluginPage,sipName_resizeEvent);

    return NULL;
}


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

    {
        QCloseEvent * a0;
        sipKSettings_PluginPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KSettings_PluginPage,&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_PluginPage,sipName_closeEvent);

    return NULL;
}


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

    {
        QContextMenuEvent * a0;
        sipKSettings_PluginPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KSettings_PluginPage,&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_PluginPage,sipName_contextMenuEvent);

    return NULL;
}


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

    {
        QTabletEvent * a0;
        sipKSettings_PluginPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KSettings_PluginPage,&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_PluginPage,sipName_tabletEvent);

    return NULL;
}


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

    {
        QActionEvent * a0;
        sipKSettings_PluginPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KSettings_PluginPage,&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_PluginPage,sipName_actionEvent);

    return NULL;
}


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

    {
        QDragEnterEvent * a0;
        sipKSettings_PluginPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KSettings_PluginPage,&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_PluginPage,sipName_dragEnterEvent);

    return NULL;
}


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

    {
        QDragMoveEvent * a0;
        sipKSettings_PluginPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KSettings_PluginPage,&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_PluginPage,sipName_dragMoveEvent);

    return NULL;
}


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

    {
        QDragLeaveEvent * a0;
        sipKSettings_PluginPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KSettings_PluginPage,&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_PluginPage,sipName_dragLeaveEvent);

    return NULL;
}


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

    {
        QDropEvent * a0;
        sipKSettings_PluginPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KSettings_PluginPage,&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_PluginPage,sipName_dropEvent);

    return NULL;
}


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

    {
        QHideEvent * a0;
        sipKSettings_PluginPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KSettings_PluginPage,&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_PluginPage,sipName_hideEvent);

    return NULL;
}


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

    {
        QEvent * a0;
        sipKSettings_PluginPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KSettings_PluginPage,&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_PluginPage,sipName_changeEvent);

    return NULL;
}


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

    {
        QPaintDevice::PaintDeviceMetric a0;
        sipKSettings_PluginPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pE",&sipSelf,sipType_KSettings_PluginPage,&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_PluginPage,sipName_metric);

    return NULL;
}


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

    {
        QInputMethodEvent * a0;
        sipKSettings_PluginPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KSettings_PluginPage,&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_PluginPage,sipName_inputMethodEvent);

    return NULL;
}


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

    {
        sipKSettings_PluginPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KSettings_PluginPage,&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_PluginPage,sipName_resetInputContext);

    return NULL;
}


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

    {
        sipKSettings_PluginPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KSettings_PluginPage,&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_PluginPage,sipName_updateMicroFocus);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p|mbb",&sipSelf,sipType_KSettings_PluginPage,&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_PluginPage,sipName_create);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p|bb",&sipSelf,sipType_KSettings_PluginPage,&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_PluginPage,sipName_destroy);

    return NULL;
}


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

    {
        bool a0;
        sipKSettings_PluginPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KSettings_PluginPage,&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_PluginPage,sipName_focusNextPrevChild);

    return NULL;
}


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

    {
        sipKSettings_PluginPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KSettings_PluginPage,&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_PluginPage,sipName_focusNextChild);

    return NULL;
}


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

    {
        sipKSettings_PluginPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KSettings_PluginPage,&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_PluginPage,sipName_focusPreviousChild);

    return NULL;
}


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

    {
        bool a0;
        sipKSettings_PluginPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KSettings_PluginPage,&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_PluginPage,sipName_enabledChange);

    return NULL;
}


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

    {
        const QPalette * a0;
        sipKSettings_PluginPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KSettings_PluginPage,&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_PluginPage,sipName_paletteChange);

    return NULL;
}


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

    {
        const QFont * a0;
        sipKSettings_PluginPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KSettings_PluginPage,&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_PluginPage,sipName_fontChange);

    return NULL;
}


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

    {
        bool a0;
        sipKSettings_PluginPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KSettings_PluginPage,&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_PluginPage,sipName_windowActivationChange);

    return NULL;
}


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

    {
        sipKSettings_PluginPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KSettings_PluginPage,&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_PluginPage,sipName_languageChange);

    return NULL;
}


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

    {
        KConfigSkeleton * a0;
        QWidget * a1;
        sipKSettings_PluginPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8J8",&sipSelf,sipType_KSettings_PluginPage,&sipCpp,sipType_KConfigSkeleton,&a0,sipType_QWidget,&a1))
        {
            KConfigDialogManager *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_addConfig(a0,a1);
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&sipSelf,sipType_KSettings_PluginPage,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setQuickHelp(*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_PluginPage,sipName_setQuickHelp);

    return NULL;
}


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

    {
        QShowEvent * a0;
        sipKSettings_PluginPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KSettings_PluginPage,&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_PluginPage,sipName_showEvent);

    return NULL;
}


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

    {
        sipKSettings_PluginPage *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipKSettings_PluginPage *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KCModule::Buttons * a0;
        int a0State = 0;
        sipKSettings_PluginPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&sipSelf,sipType_KSettings_PluginPage,&sipCpp,sipType_KCModule_Buttons,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setButtons(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KCModule_Buttons,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&sipSelf,sipType_KSettings_PluginPage,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setRootOnlyMessage(*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_PluginPage,sipName_setRootOnlyMessage);

    return NULL;
}


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

    {
        bool a0;
        sipKSettings_PluginPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KSettings_PluginPage,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setUseRootOnlyMessage(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipKSettings_PluginPage *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_managedWidgetChangeState();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        sipKSettings_PluginPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KSettings_PluginPage,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_unmanagedWidgetChangeState(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KSettings::PluginPage *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->pluginSelector();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KSettings::PluginPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KSettings_PluginPage,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KSettings::PluginPage::load() : sipCpp->load());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KSettings::PluginPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KSettings_PluginPage,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KSettings::PluginPage::save() : 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_PluginPage,sipName_save);

    return NULL;
}


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

    {
        KSettings::PluginPage *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KSettings_PluginPage,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KSettings::PluginPage::defaults() : sipCpp->defaults());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KSettings_PluginPage)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KCModule)->ctd_cast((KCModule *)(KSettings::PluginPage *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKSettings_PluginPage *>(sipCppV);
    else
        delete reinterpret_cast<KSettings::PluginPage *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

    if (!sipCpp)
    {
        const KComponentData * a0;
        QWidget * a1 = 0;
        const QVariantList& a2def = QVariantList();
        const QVariantList * a2 = &a2def;
        int a2State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9|JHJ1",sipType_KComponentData,&a0,sipType_QWidget,&a1,sipOwner,sipType_QList_0200QVariant,&a2,&a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKSettings_PluginPage(*a0,a1,*a2);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QVariantList *>(a2),sipType_QList_0200QVariant,a2State);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KSettings_PluginPage[] = {{21, 6, 1}};


static PyMethodDef methods_KSettings_PluginPage[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), meth_KSettings_PluginPage_actionEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addConfig), meth_KSettings_PluginPage_addConfig, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_KSettings_PluginPage_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changed), meth_KSettings_PluginPage_changed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KSettings_PluginPage_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_KSettings_PluginPage_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KSettings_PluginPage_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_KSettings_PluginPage_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_create), meth_KSettings_PluginPage_create, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KSettings_PluginPage_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_defaults), meth_KSettings_PluginPage_defaults, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), meth_KSettings_PluginPage_destroy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KSettings_PluginPage_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_KSettings_PluginPage_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_KSettings_PluginPage_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_KSettings_PluginPage_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_KSettings_PluginPage_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enabledChange), meth_KSettings_PluginPage_enabledChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), meth_KSettings_PluginPage_enterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_KSettings_PluginPage_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_KSettings_PluginPage_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), meth_KSettings_PluginPage_focusNextChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), meth_KSettings_PluginPage_focusNextPrevChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_KSettings_PluginPage_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), meth_KSettings_PluginPage_focusPreviousChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fontChange), meth_KSettings_PluginPage_fontChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_KSettings_PluginPage_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), meth_KSettings_PluginPage_inputMethodEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_KSettings_PluginPage_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), meth_KSettings_PluginPage_keyReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_languageChange), meth_KSettings_PluginPage_languageChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), meth_KSettings_PluginPage_leaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_load), meth_KSettings_PluginPage_load, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_managedWidgetChangeState), meth_KSettings_PluginPage_managedWidgetChangeState, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), meth_KSettings_PluginPage_metric, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_KSettings_PluginPage_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_KSettings_PluginPage_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_KSettings_PluginPage_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_KSettings_PluginPage_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), meth_KSettings_PluginPage_moveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_KSettings_PluginPage_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paletteChange), meth_KSettings_PluginPage_paletteChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pluginSelector), meth_KSettings_PluginPage_pluginSelector, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KSettings_PluginPage_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resetInputContext), meth_KSettings_PluginPage_resetInputContext, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_KSettings_PluginPage_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_save), meth_KSettings_PluginPage_save, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setButtons), meth_KSettings_PluginPage_setButtons, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setQuickHelp), meth_KSettings_PluginPage_setQuickHelp, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRootOnlyMessage), meth_KSettings_PluginPage_setRootOnlyMessage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUseRootOnlyMessage), meth_KSettings_PluginPage_setUseRootOnlyMessage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_KSettings_PluginPage_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tabletEvent), meth_KSettings_PluginPage_tabletEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KSettings_PluginPage_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_unmanagedWidgetChangeState), meth_KSettings_PluginPage_unmanagedWidgetChangeState, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), meth_KSettings_PluginPage_updateMicroFocus, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_KSettings_PluginPage_wheelEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_widgetChanged), meth_KSettings_PluginPage_widgetChanged, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowActivationChange), meth_KSettings_PluginPage_windowActivationChange, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kutils_KSettings_PluginPage = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KSettings__PluginPage,
        {0}
    },
    sipNameNr_PluginPage,
    -1,
    -1,
    {17, 255, 0},
    supers_KSettings_PluginPage,
    0,
    59, methods_KSettings_PluginPage,
    0, 0,
    0, 0,
    init_KSettings_PluginPage,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KSettings_PluginPage,
    release_KSettings_PluginPage,
    cast_KSettings_PluginPage,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KSettings::PluginPage::staticMetaObject,
    0,
    0
};
