/*
 * Module code.
 *
 * Generated by SIP 4.16.4 on Thu Nov 20 23:32:32 2014
 */

#include "sipAPIkutils.h"

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kutils/kcmoduleinfo.sip"
#include <kcmoduleinfo.h>
#line 12 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"

#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 16 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 340 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 19 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kservice.sip"
#include <kservice.h>
#line 22 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"


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

    {
        const KCModuleInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCModuleInfo, &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(sipParseErr, sipName_KCModuleInfo, sipName_fileName, NULL);

    return NULL;
}


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

    {
        const KCModuleInfo *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KCModuleInfo *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KCModuleInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCModuleInfo, &sipCpp))
        {
            KService::Ptr*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KService::Ptr(sipCpp->service());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KCModuleInfo *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KCModuleInfo *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KCModuleInfo *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KCModuleInfo *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KCModuleInfo *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KCModuleInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCModuleInfo, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->weight();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *slot_KCModuleInfo___ne__(PyObject *,PyObject *);}
static PyObject *slot_KCModuleInfo___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KCModuleInfo *sipCpp = reinterpret_cast<KCModuleInfo *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KCModuleInfo));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KCModuleInfo* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_KCModuleInfo, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->KCModuleInfo::operator!=(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kutils,ne_slot,sipType_KCModuleInfo,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KCModuleInfo___eq__(PyObject *,PyObject *);}
static PyObject *slot_KCModuleInfo___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KCModuleInfo *sipCpp = reinterpret_cast<KCModuleInfo *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KCModuleInfo));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KCModuleInfo* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_KCModuleInfo, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->KCModuleInfo::operator==(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kutils,eq_slot,sipType_KCModuleInfo,sipSelf,sipArg);
}


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

    return NULL;
}


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

    delete reinterpret_cast<KCModuleInfo *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KCModuleInfo(void *, SIP_SSIZE_T, const void *);}
static void assign_KCModuleInfo(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KCModuleInfo *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KCModuleInfo *>(sipSrc);
}


extern "C" {static void *array_KCModuleInfo(SIP_SSIZE_T);}
static void *array_KCModuleInfo(SIP_SSIZE_T sipNrElem)
{
    return new KCModuleInfo[sipNrElem];
}


extern "C" {static void *copy_KCModuleInfo(const void *, SIP_SSIZE_T);}
static void *copy_KCModuleInfo(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KCModuleInfo(reinterpret_cast<const KCModuleInfo *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KCModuleInfo(sipSimpleWrapper *);}
static void dealloc_KCModuleInfo(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KCModuleInfo(sipGetAddress(sipSelf),0);
    }
}


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

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KCModuleInfo(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipCpp;
        }
    }

    {
        KService::Ptr* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_KSharedPtr_0100KService,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KCModuleInfo(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KSharedPtr_0100KService,a0State);

            return sipCpp;
        }
    }

    {
        const KCModuleInfo* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_KCModuleInfo, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KCModuleInfo(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

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

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KCModuleInfo[] = {
    {(void *)slot_KCModuleInfo___ne__, ne_slot},
    {(void *)slot_KCModuleInfo___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_KCModuleInfo[] = {
    {SIP_MLNAME_CAST(sipName_comment), meth_KCModuleInfo_comment, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_docPath), meth_KCModuleInfo_docPath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fileName), meth_KCModuleInfo_fileName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_handle), meth_KCModuleInfo_handle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_icon), meth_KCModuleInfo_icon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keywords), meth_KCModuleInfo_keywords, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_library), meth_KCModuleInfo_library, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moduleName), meth_KCModuleInfo_moduleName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_service), meth_KCModuleInfo_service, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_weight), meth_KCModuleInfo_weight, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kutils_KCModuleInfo = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCModuleInfo,
        {0}
    },
    {
        sipNameNr_KCModuleInfo,
        {0, 0, 1},
        10, methods_KCModuleInfo,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    slots_KCModuleInfo,
    init_type_KCModuleInfo,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCModuleInfo,
    assign_KCModuleInfo,
    array_KCModuleInfo,
    copy_KCModuleInfo,
    release_KCModuleInfo,
    cast_KCModuleInfo,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};


#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kcomponentdata.sip"
#include <kcomponentdata.h>
#line 561 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 34 "/usr/share/python-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 564 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 340 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 567 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/ksharedconfig.sip"
#include <ksharedconfig.h>
#line 570 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 573 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 576 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 77 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 579 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"


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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            KSettings::Dispatcher::syncConfiguration();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QString* a0;
        int a0State = 0;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QString>(KSettings::Dispatcher::componentNames());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            KSharedConfig::Ptr*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KSharedConfig::Ptr(KSettings::Dispatcher::configForComponentName(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

    {
        const KComponentData* a0;
        QObject* a1;
        const char* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J8s", sipType_KComponentData, &a0, sipType_QObject, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            KSettings::Dispatcher::registerComponent(*a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


static PyMethodDef methods_KSettings_Dispatcher[] = {
    {SIP_MLNAME_CAST(sipName_componentNames), meth_KSettings_Dispatcher_componentNames, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_configForComponentName), meth_KSettings_Dispatcher_configForComponentName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_registerComponent), meth_KSettings_Dispatcher_registerComponent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_reparseConfiguration), meth_KSettings_Dispatcher_reparseConfiguration, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_syncConfiguration), meth_KSettings_Dispatcher_syncConfiguration, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kutils_KSettings_Dispatcher = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_NAMESPACE,
        sipNameNr_KSettings__Dispatcher,
        {0}
    },
    {
        sipNameNr_Dispatcher,
        {18, 255, 0},
        5, methods_KSettings_Dispatcher,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    0,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kutils/dialog.sip"
#include <dialog.h>
#include <kcmultidialog.h>
#line 781 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"

#line 35 "/usr/share/python-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 785 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 788 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 605 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 791 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 794 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kplugininfo.sip"
#include <kplugininfo.h>
#line 797 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 800 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 37 "/usr/share/python-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 803 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kpagewidgetmodel.sip"
#include <kpagewidgetmodel.h>
#line 806 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 36 "/usr/share/python-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 809 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kutils/kcmoduleinfo.sip"
#include <kcmoduleinfo.h>
#line 812 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kpagewidget.sip"
#include <kpagewidget.h>
#line 815 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kpagedialog.sip"
#include <kpagedialog.h>
#line 818 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 483 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 821 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 583 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 824 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 616 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 827 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 830 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 833 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 836 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 839 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 842 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kpushbutton.sip"
#include <kpushbutton.h>
#line 845 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 32 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 848 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 851 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 854 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kguiitem.sip"
#include <kguiitem.h>
#line 857 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/src/pykde4-4.14.3/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 860 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 863 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 34 "/usr/share/python-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 866 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 869 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 627 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 872 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 570 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 875 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 878 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 881 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 884 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 887 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 890 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 893 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 896 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 899 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 902 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 905 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 908 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 911 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 914 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 917 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 920 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 923 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 274 "/usr/share/python-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 926 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 656 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 929 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 748 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 932 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 801 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 935 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 774 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 938 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 790 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 941 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 863 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 944 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 412 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 947 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 557 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 950 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 533 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 953 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 514 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 956 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 356 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 959 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 261 "/usr/share/python-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 962 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 965 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 61 "/usr/share/python-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 968 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 39 "/usr/share/python-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 971 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 974 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 977 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 980 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 983 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 986 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 989 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 992 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 995 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 998 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 355 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1001 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 338 "/usr/share/python-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1004 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 33 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1007 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 120 "/usr/share/python-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1010 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 1013 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 35 "/usr/share/python-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 1016 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"
#line 31 "/usr/share/python-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 1019 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-1.x86_64/build/sip/kutils/sipkutilspart5.cpp"


class sipKSettings_Dialog : public KSettings::Dialog
{
public:
    sipKSettings_Dialog(QWidget*);
    sipKSettings_Dialog(const QStringList&,QWidget*);
    virtual ~sipKSettings_Dialog();

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[55];
};

sipKSettings_Dialog::sipKSettings_Dialog(QWidget*a0): KSettings::Dialog(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKSettings_Dialog::sipKSettings_Dialog(const QStringList& a0,QWidget*a1): KSettings::Dialog(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKSettings_Dialog::metaObject() const
{
    return sip_kutils_qt_metaobject(sipPySelf,sipType_KSettings_Dialog);
}

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

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

    return _id;
}

void *sipKSettings_Dialog::qt_metacast(const char *_clname)
{
    return (sip_kutils_qt_metacast(sipPySelf, sipType_KSettings_Dialog, _clname)) ? this : KSettings::Dialog::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if (!sipMeth)
    {
        KSettings::Dialog::languageChange();
        return;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if (!sipMeth)
        return KSettings::Dialog::focusNextPrevChild(a0);

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

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

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

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

    if (!sipMeth)
        return KSettings::Dialog::inputMethodQuery(a0);

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

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

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

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

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

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

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

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

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

    if (!sipMeth)
        return KSettings::Dialog::metric(a0);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if (!sipMeth)
        return KSettings::Dialog::event(a0);

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

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

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

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

    if (!sipMeth)
        return KSettings::Dialog::paintEngine();

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

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

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

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

    if (!sipMeth)
        return KSettings::Dialog::heightForWidth(a0);

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

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

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

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

    if (!sipMeth)
        return KSettings::Dialog::devType();

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if (!sipMeth)
    {
        KSettings::Dialog::reject();
        return;
    }

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

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

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

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

    if (!sipMeth)
    {
        KSettings::Dialog::accept();
        return;
    }

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

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

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

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

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

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

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

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

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

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

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

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

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

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

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

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

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

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

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

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

    typedef void (*sipVH_QtXml_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,bool);

    ((sipVH_QtXml_24)(sipModuleAPI_kutils_QtXml->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

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

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

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

    if (!sipMeth)
        return KSettings::Dialog::minimumSizeHint();

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

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

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

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

    if (!sipMeth)
        return KSettings::Dialog::sizeHint();

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

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


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

    {
        const QList<KPluginInfo>* a0;
        int a0State = 0;
        KSettings::Dialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KSettings_Dialog, &sipCpp, sipType_QList_0100KPluginInfo,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addPluginInfos(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QList<KPluginInfo> *>(a0),sipType_QList_0100KPluginInfo,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KSettings_Dialog, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setKCMArguments(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KSettings_Dialog, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setComponentBlacklist(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        KSettings::Dialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KSettings_Dialog, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAllowComponentSelection(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KSettings::Dialog *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->allowComponentSelection();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KSettings::Dialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KSettings_Dialog, &sipCpp))
        {
            QList<KPluginInfo>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<KPluginInfo>(sipCpp->pluginInfos());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        QShowEvent* a0;
        KSettings::Dialog *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KSettings_Dialog)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KCMultiDialog)->ctd_cast((KCMultiDialog *)(KSettings::Dialog *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        QWidget* a0 = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KSettings_Dialog[] = {{4, 255, 1}};


static PyMethodDef methods_KSettings_Dialog[] = {
    {SIP_MLNAME_CAST(sipName_addPluginInfos), meth_KSettings_Dialog_addPluginInfos, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_allowComponentSelection), meth_KSettings_Dialog_allowComponentSelection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pluginInfos), meth_KSettings_Dialog_pluginInfos, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAllowComponentSelection), meth_KSettings_Dialog_setAllowComponentSelection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setComponentBlacklist), meth_KSettings_Dialog_setComponentBlacklist, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setKCMArguments), meth_KSettings_Dialog_setKCMArguments, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_KSettings_Dialog_showEvent, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KSettings_Dialog[] = {
    {"pluginSelectionChanged()", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kutils_KSettings_Dialog = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KSettings__Dialog,
        {0}
    },
    {
        sipNameNr_Dialog,
        {18, 255, 0},
        7, methods_KSettings_Dialog,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KSettings_Dialog,
    0,
    init_type_KSettings_Dialog,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KSettings_Dialog,
    0,
    0,
    0,
    release_KSettings_Dialog,
    cast_KSettings_Dialog,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KSettings::Dialog::staticMetaObject,
    0,
    signals_KSettings_Dialog,
};
