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

#include "sipAPIkutils.h"

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

#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 16 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 340 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 19 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kservice.sip"
#include <kservice.h>
#line 22 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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);
}


/* 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 (sipIsOwnedByPython(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}
};


static pyqt4ClassPluginDef plugin_KCModuleInfo = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_kutils_KCModuleInfo = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCModuleInfo,
        {0},
        &plugin_KCModuleInfo
    },
    {
        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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};


#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kcomponentdata.sip"
#include <kcomponentdata.h>
#line 553 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 556 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 340 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 559 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/ksharedconfig.sip"
#include <ksharedconfig.h>
#line 562 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 565 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 568 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 68 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 571 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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}
};


static pyqt4ClassPluginDef plugin_KSettings_Dispatcher = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_kutils_KSettings_Dispatcher = {
    {
        -1,
        0,
        0,
        SIP_TYPE_NAMESPACE,
        sipNameNr_KSettings__Dispatcher,
        {0},
        &plugin_KSettings_Dispatcher
    },
    {
        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
};

#line 28 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kutils/dialog.sip"
#include <dialog.h>
#include <kcmultidialog.h>
#line 776 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 780 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 783 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 786 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 789 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kplugininfo.sip"
#include <kplugininfo.h>
#line 792 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 795 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 798 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kpagewidgetmodel.sip"
#include <kpagewidgetmodel.h>
#line 801 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 804 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kutils/kcmoduleinfo.sip"
#include <kcmoduleinfo.h>
#line 807 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kpagewidget.sip"
#include <kpagewidget.h>
#line 810 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kpagedialog.sip"
#include <kpagedialog.h>
#line 813 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 816 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 819 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 822 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 825 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 828 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 831 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 834 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 837 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kpushbutton.sip"
#include <kpushbutton.h>
#line 840 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 32 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 843 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 846 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 849 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kguiitem.sip"
#include <kguiitem.h>
#line 852 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 855 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 858 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 861 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 864 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 867 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 870 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 873 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 876 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 879 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 882 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 885 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 888 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 891 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 894 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 897 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 900 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 903 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 906 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 909 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 912 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 915 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 918 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 921 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 924 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 927 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 930 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 933 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 936 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 939 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 942 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 945 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 948 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 951 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 954 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 957 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 960 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 963 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 966 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 969 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 972 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 975 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 978 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 981 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 984 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 987 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 990 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 993 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 996 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 999 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1002 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1005 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 1008 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 1011 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kutils/sipkutilspart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 1014 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 reject();
    void accept();
    void done(int);
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    void enabledChange(bool);
    void paletteChange(const  ::QPalette&);
    void fontChange(const  ::QFont&);
    void windowActivationChange(bool);
    void languageChange();
    void setCaption(const  ::QString&);
    void setCaption(const  ::QString&,bool);
    void setPlainCaption(const  ::QString&);
    void slotButtonClicked(int);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[54];
};

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()
{
    sipInstanceDestroyed(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::reject()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    return sipVH_kutils_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

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

    return sipVH_kutils_7(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[10]),sipPySelf,NULL,sipName_metric);

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

    extern int sipVH_kutils_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    sipVH_kutils_31(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[43]),sipPySelf,NULL,sipName_inputMethodQuery);

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

    extern  ::QVariant sipVH_kutils_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    extern void sipVH_kutils_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

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

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

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

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

    extern void sipVH_kutils_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    extern void sipVH_kutils_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

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

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

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

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

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

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

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

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

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

    extern void sipVH_kutils_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

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

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

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

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

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

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


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 || sipIsDerivedClass((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 inheritance hierarchy. */
extern "C" {static void *cast_KSettings_Dialog(void *, const sipTypeDef *);}
static void *cast_KSettings_Dialog(void *sipCppV, const sipTypeDef *targetType)
{
     ::KSettings::Dialog *sipCpp = reinterpret_cast< ::KSettings::Dialog *>(sipCppV);

    if (targetType == sipType_KCMultiDialog)
        return static_cast< ::KCMultiDialog *>(sipCpp);

    if (targetType == sipType_KPageDialog)
        return static_cast< ::KPageDialog *>(sipCpp);

    if (targetType == sipType_KDialog)
        return static_cast< ::KDialog *>(sipCpp);

    if (targetType == sipType_QDialog)
        return static_cast< ::QDialog *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

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

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKSettings_Dialog *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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}
};


static pyqt4ClassPluginDef plugin_KSettings_Dialog = {
    & ::KSettings::Dialog::staticMetaObject,
    0,
    signals_KSettings_Dialog
};


sipClassTypeDef sipTypeDef_kutils_KSettings_Dialog = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KSettings__Dialog,
        {0},
        &plugin_KSettings_Dialog
    },
    {
        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
};
