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

#include "sipAPIkdecore.h"

#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 12 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"

#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 16 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 406 "/usr/share/python3-sip/PyQt4/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 19 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 36 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 22 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"


class sipKCoreConfigSkeleton_ItemDateTime : public KCoreConfigSkeleton::ItemDateTime
{
public:
    sipKCoreConfigSkeleton_ItemDateTime(const QString&,const QString&,QDateTime&,const QDateTime&);
    virtual ~sipKCoreConfigSkeleton_ItemDateTime();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void swapDefault();
    QVariant maxValue() const;
    QVariant minValue() const;
    QVariant property() const;
    bool isEqual(const QVariant&) const;
    void setProperty(const QVariant&);
    void readDefault(KConfig*);
    void readConfig(KConfig*);
    void writeConfig(KConfig*);
    void setDefault();
    void setDefaultValue(const QDateTime&);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[11];
};

sipKCoreConfigSkeleton_ItemDateTime::sipKCoreConfigSkeleton_ItemDateTime(const QString& a0,const QString& a1,QDateTime& a2,const QDateTime& a3): KCoreConfigSkeleton::ItemDateTime(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

void sipKCoreConfigSkeleton_ItemDateTime::swapDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemDateTime::swapDefault();
        return;
    }

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

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

QVariant sipKCoreConfigSkeleton_ItemDateTime::maxValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemDateTime::maxValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

QVariant sipKCoreConfigSkeleton_ItemDateTime::minValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemDateTime::minValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

QVariant sipKCoreConfigSkeleton_ItemDateTime::property() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemDateTime::property();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

bool sipKCoreConfigSkeleton_ItemDateTime::isEqual(const QVariant& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemDateTime::isEqual(a0);

    extern bool sipVH_kdecore_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVariant&);

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

void sipKCoreConfigSkeleton_ItemDateTime::setProperty(const QVariant& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemDateTime::setProperty(a0);
        return;
    }

    typedef void (*sipVH_QtCore_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVariant&);

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

void sipKCoreConfigSkeleton_ItemDateTime::readDefault(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemDateTime::readDefault(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

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

void sipKCoreConfigSkeleton_ItemDateTime::readConfig(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemDateTime::readConfig(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

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

void sipKCoreConfigSkeleton_ItemDateTime::writeConfig(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemDateTime::writeConfig(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

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

void sipKCoreConfigSkeleton_ItemDateTime::setDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemDateTime::setDefault();
        return;
    }

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

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

void sipKCoreConfigSkeleton_ItemDateTime::setDefaultValue(const QDateTime& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemDateTime::setDefaultValue(a0);
        return;
    }

    typedef void (*sipVH_QtNetwork_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QDateTime&);

    ((sipVH_QtNetwork_0)(sipModuleAPI_kdecore_QtNetwork->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


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

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCoreConfigSkeleton_ItemDateTime, &sipCpp, sipType_KConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemDateTime::readConfig(a0) : sipCpp->readConfig(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_ItemDateTime, sipName_readConfig, NULL);

    return NULL;
}


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

    {
        const QVariant* a0;
        int a0State = 0;
        KCoreConfigSkeleton::ItemDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCoreConfigSkeleton_ItemDateTime, &sipCpp, sipType_QVariant,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemDateTime::setProperty(*a0) : sipCpp->setProperty(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QVariant* a0;
        int a0State = 0;
        const KCoreConfigSkeleton::ItemDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCoreConfigSkeleton_ItemDateTime, &sipCpp, sipType_QVariant,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemDateTime::isEqual(*a0) : sipCpp->isEqual(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KCoreConfigSkeleton::ItemDateTime *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemDateTime::property() : sipCpp->property()));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QDateTime* a0;
        int a0State = 0;
        KCoreConfigSkeleton::ItemDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCoreConfigSkeleton_ItemDateTime, &sipCpp, sipType_QDateTime, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setValue(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QDateTime *>(a0),sipType_QDateTime,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemDateTime *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->value();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QDateTime* a0;
        int a0State = 0;
        KCoreConfigSkeleton::ItemDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCoreConfigSkeleton_ItemDateTime, &sipCpp, sipType_QDateTime, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemDateTime::setDefaultValue(*a0) : sipCpp->setDefaultValue(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QDateTime *>(a0),sipType_QDateTime,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton_ItemDateTime, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemDateTime::setDefault() : sipCpp->setDefault());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCoreConfigSkeleton_ItemDateTime, &sipCpp, sipType_KConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemDateTime::writeConfig(a0) : sipCpp->writeConfig(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_ItemDateTime, sipName_writeConfig, NULL);

    return NULL;
}


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

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCoreConfigSkeleton_ItemDateTime, &sipCpp, sipType_KConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemDateTime::readDefault(a0) : sipCpp->readDefault(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_ItemDateTime, sipName_readDefault, NULL);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton_ItemDateTime, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemDateTime::swapDefault() : sipCpp->swapDefault());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KCoreConfigSkeleton_ItemDateTime)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KConfigSkeletonItem)->ctd_cast((KConfigSkeletonItem *)(KCoreConfigSkeleton::ItemDateTime *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKCoreConfigSkeleton_ItemDateTime *>(sipCppV);
    else
        delete reinterpret_cast<KCoreConfigSkeleton::ItemDateTime *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        QDateTime* a2;
        int a2State = 0;
        const QDateTime& a3def = QDateTime();
        const QDateTime* a3 = &a3def;
        int a3State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J1J1|J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QDateTime, &a2, &a2State, sipType_QDateTime, &a3, &a3State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKCoreConfigSkeleton_ItemDateTime(*a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(a2,sipType_QDateTime,a2State);
            sipReleaseType(const_cast<QDateTime *>(a3),sipType_QDateTime,a3State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KCoreConfigSkeleton_ItemDateTime[] = {
    {SIP_MLNAME_CAST(sipName_isEqual), meth_KCoreConfigSkeleton_ItemDateTime_isEqual, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_property), meth_KCoreConfigSkeleton_ItemDateTime_property, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readConfig), meth_KCoreConfigSkeleton_ItemDateTime_readConfig, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readDefault), meth_KCoreConfigSkeleton_ItemDateTime_readDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefault), meth_KCoreConfigSkeleton_ItemDateTime_setDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefaultValue), meth_KCoreConfigSkeleton_ItemDateTime_setDefaultValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setProperty), meth_KCoreConfigSkeleton_ItemDateTime_setProperty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setValue), meth_KCoreConfigSkeleton_ItemDateTime_setValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_swapDefault), meth_KCoreConfigSkeleton_ItemDateTime_swapDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_value), meth_KCoreConfigSkeleton_ItemDateTime_value, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeConfig), meth_KCoreConfigSkeleton_ItemDateTime_writeConfig, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KCoreConfigSkeleton_ItemDateTime = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCoreConfigSkeleton__ItemDateTime,
        {0}
    },
    {
        sipNameNr_ItemDateTime,
        {42, 255, 0},
        11, methods_KCoreConfigSkeleton_ItemDateTime,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KCoreConfigSkeleton_ItemDateTime,
    0,
    init_type_KCoreConfigSkeleton_ItemDateTime,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCoreConfigSkeleton_ItemDateTime,
    0,
    0,
    0,
    release_KCoreConfigSkeleton_ItemDateTime,
    cast_KCoreConfigSkeleton_ItemDateTime,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 728 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"

#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 732 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 735 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 36 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 738 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 741 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 744 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"


class sipKCoreConfigSkeleton_ItemSize : public KCoreConfigSkeleton::ItemSize
{
public:
    sipKCoreConfigSkeleton_ItemSize(const QString&,const QString&,QSize&,const QSize&);
    virtual ~sipKCoreConfigSkeleton_ItemSize();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void swapDefault();
    QVariant maxValue() const;
    QVariant minValue() const;
    QVariant property() const;
    bool isEqual(const QVariant&) const;
    void setProperty(const QVariant&);
    void readDefault(KConfig*);
    void readConfig(KConfig*);
    void writeConfig(KConfig*);
    void setDefault();
    void setDefaultValue(const QSize&);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[11];
};

sipKCoreConfigSkeleton_ItemSize::sipKCoreConfigSkeleton_ItemSize(const QString& a0,const QString& a1,QSize& a2,const QSize& a3): KCoreConfigSkeleton::ItemSize(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

void sipKCoreConfigSkeleton_ItemSize::swapDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemSize::swapDefault();
        return;
    }

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

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

QVariant sipKCoreConfigSkeleton_ItemSize::maxValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemSize::maxValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

QVariant sipKCoreConfigSkeleton_ItemSize::minValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemSize::minValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

QVariant sipKCoreConfigSkeleton_ItemSize::property() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemSize::property();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

bool sipKCoreConfigSkeleton_ItemSize::isEqual(const QVariant& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemSize::isEqual(a0);

    extern bool sipVH_kdecore_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVariant&);

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

void sipKCoreConfigSkeleton_ItemSize::setProperty(const QVariant& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemSize::setProperty(a0);
        return;
    }

    typedef void (*sipVH_QtCore_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVariant&);

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

void sipKCoreConfigSkeleton_ItemSize::readDefault(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemSize::readDefault(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

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

void sipKCoreConfigSkeleton_ItemSize::readConfig(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemSize::readConfig(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

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

void sipKCoreConfigSkeleton_ItemSize::writeConfig(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemSize::writeConfig(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

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

void sipKCoreConfigSkeleton_ItemSize::setDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemSize::setDefault();
        return;
    }

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

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

void sipKCoreConfigSkeleton_ItemSize::setDefaultValue(const QSize& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemSize::setDefaultValue(a0);
        return;
    }

    extern void sipVH_kdecore_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QSize&);

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


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

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemSize *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCoreConfigSkeleton_ItemSize, &sipCpp, sipType_KConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemSize::readConfig(a0) : sipCpp->readConfig(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_ItemSize, sipName_readConfig, NULL);

    return NULL;
}


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

    {
        const QVariant* a0;
        int a0State = 0;
        KCoreConfigSkeleton::ItemSize *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCoreConfigSkeleton_ItemSize, &sipCpp, sipType_QVariant,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemSize::setProperty(*a0) : sipCpp->setProperty(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QVariant* a0;
        int a0State = 0;
        const KCoreConfigSkeleton::ItemSize *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCoreConfigSkeleton_ItemSize, &sipCpp, sipType_QVariant,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemSize::isEqual(*a0) : sipCpp->isEqual(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KCoreConfigSkeleton::ItemSize *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemSize::property() : sipCpp->property()));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QSize* a0;
        KCoreConfigSkeleton::ItemSize *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KCoreConfigSkeleton_ItemSize, &sipCpp, sipType_QSize, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setValue(*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_ItemSize, sipName_setValue, NULL);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemSize *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->value();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QSize* a0;
        KCoreConfigSkeleton::ItemSize *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KCoreConfigSkeleton_ItemSize, &sipCpp, sipType_QSize, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemSize::setDefaultValue(*a0) : sipCpp->setDefaultValue(*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_ItemSize, sipName_setDefaultValue, NULL);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemSize *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton_ItemSize, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemSize::setDefault() : sipCpp->setDefault());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemSize *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCoreConfigSkeleton_ItemSize, &sipCpp, sipType_KConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemSize::writeConfig(a0) : sipCpp->writeConfig(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_ItemSize, sipName_writeConfig, NULL);

    return NULL;
}


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

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemSize *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCoreConfigSkeleton_ItemSize, &sipCpp, sipType_KConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemSize::readDefault(a0) : sipCpp->readDefault(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_ItemSize, sipName_readDefault, NULL);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemSize *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton_ItemSize, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemSize::swapDefault() : sipCpp->swapDefault());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KCoreConfigSkeleton_ItemSize)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KConfigSkeletonItem)->ctd_cast((KConfigSkeletonItem *)(KCoreConfigSkeleton::ItemSize *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKCoreConfigSkeleton_ItemSize *>(sipCppV);
    else
        delete reinterpret_cast<KCoreConfigSkeleton::ItemSize *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        QSize* a2;
        const QSize& a3def = QSize();
        const QSize* a3 = &a3def;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J1J9|J9", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QSize, &a2, sipType_QSize, &a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKCoreConfigSkeleton_ItemSize(*a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KCoreConfigSkeleton_ItemSize[] = {
    {SIP_MLNAME_CAST(sipName_isEqual), meth_KCoreConfigSkeleton_ItemSize_isEqual, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_property), meth_KCoreConfigSkeleton_ItemSize_property, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readConfig), meth_KCoreConfigSkeleton_ItemSize_readConfig, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readDefault), meth_KCoreConfigSkeleton_ItemSize_readDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefault), meth_KCoreConfigSkeleton_ItemSize_setDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefaultValue), meth_KCoreConfigSkeleton_ItemSize_setDefaultValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setProperty), meth_KCoreConfigSkeleton_ItemSize_setProperty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setValue), meth_KCoreConfigSkeleton_ItemSize_setValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_swapDefault), meth_KCoreConfigSkeleton_ItemSize_swapDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_value), meth_KCoreConfigSkeleton_ItemSize_value, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeConfig), meth_KCoreConfigSkeleton_ItemSize_writeConfig, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KCoreConfigSkeleton_ItemSize = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCoreConfigSkeleton__ItemSize,
        {0}
    },
    {
        sipNameNr_ItemSize,
        {42, 255, 0},
        11, methods_KCoreConfigSkeleton_ItemSize,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KCoreConfigSkeleton_ItemSize,
    0,
    init_type_KCoreConfigSkeleton_ItemSize,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCoreConfigSkeleton_ItemSize,
    0,
    0,
    0,
    release_KCoreConfigSkeleton_ItemSize,
    cast_KCoreConfigSkeleton_ItemSize,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 1436 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"

#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 1440 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 1443 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 36 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 1446 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 1449 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 1452 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"


class sipKCoreConfigSkeleton_ItemPoint : public KCoreConfigSkeleton::ItemPoint
{
public:
    sipKCoreConfigSkeleton_ItemPoint(const QString&,const QString&,QPoint&,const QPoint&);
    virtual ~sipKCoreConfigSkeleton_ItemPoint();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void swapDefault();
    QVariant maxValue() const;
    QVariant minValue() const;
    QVariant property() const;
    bool isEqual(const QVariant&) const;
    void setProperty(const QVariant&);
    void readDefault(KConfig*);
    void readConfig(KConfig*);
    void writeConfig(KConfig*);
    void setDefault();
    void setDefaultValue(const QPoint&);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[11];
};

sipKCoreConfigSkeleton_ItemPoint::sipKCoreConfigSkeleton_ItemPoint(const QString& a0,const QString& a1,QPoint& a2,const QPoint& a3): KCoreConfigSkeleton::ItemPoint(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

void sipKCoreConfigSkeleton_ItemPoint::swapDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemPoint::swapDefault();
        return;
    }

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

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

QVariant sipKCoreConfigSkeleton_ItemPoint::maxValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemPoint::maxValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

QVariant sipKCoreConfigSkeleton_ItemPoint::minValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemPoint::minValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

QVariant sipKCoreConfigSkeleton_ItemPoint::property() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemPoint::property();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

bool sipKCoreConfigSkeleton_ItemPoint::isEqual(const QVariant& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemPoint::isEqual(a0);

    extern bool sipVH_kdecore_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVariant&);

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

void sipKCoreConfigSkeleton_ItemPoint::setProperty(const QVariant& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemPoint::setProperty(a0);
        return;
    }

    typedef void (*sipVH_QtCore_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVariant&);

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

void sipKCoreConfigSkeleton_ItemPoint::readDefault(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemPoint::readDefault(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

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

void sipKCoreConfigSkeleton_ItemPoint::readConfig(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemPoint::readConfig(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

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

void sipKCoreConfigSkeleton_ItemPoint::writeConfig(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemPoint::writeConfig(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

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

void sipKCoreConfigSkeleton_ItemPoint::setDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemPoint::setDefault();
        return;
    }

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

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

void sipKCoreConfigSkeleton_ItemPoint::setDefaultValue(const QPoint& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemPoint::setDefaultValue(a0);
        return;
    }

    extern void sipVH_kdecore_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPoint&);

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


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

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemPoint *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCoreConfigSkeleton_ItemPoint, &sipCpp, sipType_KConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemPoint::readConfig(a0) : sipCpp->readConfig(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_ItemPoint, sipName_readConfig, NULL);

    return NULL;
}


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

    {
        const QVariant* a0;
        int a0State = 0;
        KCoreConfigSkeleton::ItemPoint *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCoreConfigSkeleton_ItemPoint, &sipCpp, sipType_QVariant,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemPoint::setProperty(*a0) : sipCpp->setProperty(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QVariant* a0;
        int a0State = 0;
        const KCoreConfigSkeleton::ItemPoint *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCoreConfigSkeleton_ItemPoint, &sipCpp, sipType_QVariant,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemPoint::isEqual(*a0) : sipCpp->isEqual(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KCoreConfigSkeleton::ItemPoint *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemPoint::property() : sipCpp->property()));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QPoint* a0;
        KCoreConfigSkeleton::ItemPoint *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KCoreConfigSkeleton_ItemPoint, &sipCpp, sipType_QPoint, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setValue(*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_ItemPoint, sipName_setValue, NULL);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemPoint *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->value();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QPoint* a0;
        KCoreConfigSkeleton::ItemPoint *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KCoreConfigSkeleton_ItemPoint, &sipCpp, sipType_QPoint, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemPoint::setDefaultValue(*a0) : sipCpp->setDefaultValue(*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_ItemPoint, sipName_setDefaultValue, NULL);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemPoint *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton_ItemPoint, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemPoint::setDefault() : sipCpp->setDefault());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemPoint *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCoreConfigSkeleton_ItemPoint, &sipCpp, sipType_KConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemPoint::writeConfig(a0) : sipCpp->writeConfig(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_ItemPoint, sipName_writeConfig, NULL);

    return NULL;
}


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

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemPoint *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCoreConfigSkeleton_ItemPoint, &sipCpp, sipType_KConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemPoint::readDefault(a0) : sipCpp->readDefault(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_ItemPoint, sipName_readDefault, NULL);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemPoint *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton_ItemPoint, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemPoint::swapDefault() : sipCpp->swapDefault());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KCoreConfigSkeleton_ItemPoint)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KConfigSkeletonItem)->ctd_cast((KConfigSkeletonItem *)(KCoreConfigSkeleton::ItemPoint *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKCoreConfigSkeleton_ItemPoint *>(sipCppV);
    else
        delete reinterpret_cast<KCoreConfigSkeleton::ItemPoint *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        QPoint* a2;
        const QPoint& a3def = QPoint();
        const QPoint* a3 = &a3def;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J1J9|J9", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QPoint, &a2, sipType_QPoint, &a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKCoreConfigSkeleton_ItemPoint(*a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KCoreConfigSkeleton_ItemPoint[] = {
    {SIP_MLNAME_CAST(sipName_isEqual), meth_KCoreConfigSkeleton_ItemPoint_isEqual, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_property), meth_KCoreConfigSkeleton_ItemPoint_property, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readConfig), meth_KCoreConfigSkeleton_ItemPoint_readConfig, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readDefault), meth_KCoreConfigSkeleton_ItemPoint_readDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefault), meth_KCoreConfigSkeleton_ItemPoint_setDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefaultValue), meth_KCoreConfigSkeleton_ItemPoint_setDefaultValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setProperty), meth_KCoreConfigSkeleton_ItemPoint_setProperty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setValue), meth_KCoreConfigSkeleton_ItemPoint_setValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_swapDefault), meth_KCoreConfigSkeleton_ItemPoint_swapDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_value), meth_KCoreConfigSkeleton_ItemPoint_value, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeConfig), meth_KCoreConfigSkeleton_ItemPoint_writeConfig, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KCoreConfigSkeleton_ItemPoint = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCoreConfigSkeleton__ItemPoint,
        {0}
    },
    {
        sipNameNr_ItemPoint,
        {42, 255, 0},
        11, methods_KCoreConfigSkeleton_ItemPoint,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KCoreConfigSkeleton_ItemPoint,
    0,
    init_type_KCoreConfigSkeleton_ItemPoint,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCoreConfigSkeleton_ItemPoint,
    0,
    0,
    0,
    release_KCoreConfigSkeleton_ItemPoint,
    cast_KCoreConfigSkeleton_ItemPoint,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 2144 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"

#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 2148 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 2151 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 36 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 2154 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 2157 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 2160 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"


class sipKCoreConfigSkeleton_ItemRect : public KCoreConfigSkeleton::ItemRect
{
public:
    sipKCoreConfigSkeleton_ItemRect(const QString&,const QString&,QRect&,const QRect&);
    virtual ~sipKCoreConfigSkeleton_ItemRect();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void swapDefault();
    QVariant maxValue() const;
    QVariant minValue() const;
    QVariant property() const;
    bool isEqual(const QVariant&) const;
    void setProperty(const QVariant&);
    void readDefault(KConfig*);
    void readConfig(KConfig*);
    void writeConfig(KConfig*);
    void setDefault();
    void setDefaultValue(const QRect&);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[11];
};

sipKCoreConfigSkeleton_ItemRect::sipKCoreConfigSkeleton_ItemRect(const QString& a0,const QString& a1,QRect& a2,const QRect& a3): KCoreConfigSkeleton::ItemRect(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

void sipKCoreConfigSkeleton_ItemRect::swapDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemRect::swapDefault();
        return;
    }

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

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

QVariant sipKCoreConfigSkeleton_ItemRect::maxValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemRect::maxValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

QVariant sipKCoreConfigSkeleton_ItemRect::minValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemRect::minValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

QVariant sipKCoreConfigSkeleton_ItemRect::property() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemRect::property();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

bool sipKCoreConfigSkeleton_ItemRect::isEqual(const QVariant& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemRect::isEqual(a0);

    extern bool sipVH_kdecore_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVariant&);

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

void sipKCoreConfigSkeleton_ItemRect::setProperty(const QVariant& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemRect::setProperty(a0);
        return;
    }

    typedef void (*sipVH_QtCore_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVariant&);

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

void sipKCoreConfigSkeleton_ItemRect::readDefault(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemRect::readDefault(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

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

void sipKCoreConfigSkeleton_ItemRect::readConfig(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemRect::readConfig(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

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

void sipKCoreConfigSkeleton_ItemRect::writeConfig(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemRect::writeConfig(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

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

void sipKCoreConfigSkeleton_ItemRect::setDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemRect::setDefault();
        return;
    }

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

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

void sipKCoreConfigSkeleton_ItemRect::setDefaultValue(const QRect& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemRect::setDefaultValue(a0);
        return;
    }

    typedef void (*sipVH_QtGui_102)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRect&);

    ((sipVH_QtGui_102)(sipModuleAPI_kdecore_QtGui->em_virthandlers[102]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


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

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCoreConfigSkeleton_ItemRect, &sipCpp, sipType_KConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemRect::readConfig(a0) : sipCpp->readConfig(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_ItemRect, sipName_readConfig, NULL);

    return NULL;
}


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

    {
        const QVariant* a0;
        int a0State = 0;
        KCoreConfigSkeleton::ItemRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCoreConfigSkeleton_ItemRect, &sipCpp, sipType_QVariant,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemRect::setProperty(*a0) : sipCpp->setProperty(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QVariant* a0;
        int a0State = 0;
        const KCoreConfigSkeleton::ItemRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCoreConfigSkeleton_ItemRect, &sipCpp, sipType_QVariant,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemRect::isEqual(*a0) : sipCpp->isEqual(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KCoreConfigSkeleton::ItemRect *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemRect::property() : sipCpp->property()));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QRect* a0;
        KCoreConfigSkeleton::ItemRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KCoreConfigSkeleton_ItemRect, &sipCpp, sipType_QRect, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setValue(*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_ItemRect, sipName_setValue, NULL);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemRect *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->value();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QRect* a0;
        KCoreConfigSkeleton::ItemRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KCoreConfigSkeleton_ItemRect, &sipCpp, sipType_QRect, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemRect::setDefaultValue(*a0) : sipCpp->setDefaultValue(*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_ItemRect, sipName_setDefaultValue, NULL);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton_ItemRect, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemRect::setDefault() : sipCpp->setDefault());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCoreConfigSkeleton_ItemRect, &sipCpp, sipType_KConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemRect::writeConfig(a0) : sipCpp->writeConfig(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_ItemRect, sipName_writeConfig, NULL);

    return NULL;
}


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

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCoreConfigSkeleton_ItemRect, &sipCpp, sipType_KConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemRect::readDefault(a0) : sipCpp->readDefault(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_ItemRect, sipName_readDefault, NULL);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton_ItemRect, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemRect::swapDefault() : sipCpp->swapDefault());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KCoreConfigSkeleton_ItemRect)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KConfigSkeletonItem)->ctd_cast((KConfigSkeletonItem *)(KCoreConfigSkeleton::ItemRect *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKCoreConfigSkeleton_ItemRect *>(sipCppV);
    else
        delete reinterpret_cast<KCoreConfigSkeleton::ItemRect *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        QRect* a2;
        const QRect& a3def = QRect();
        const QRect* a3 = &a3def;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J1J9|J9", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QRect, &a2, sipType_QRect, &a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKCoreConfigSkeleton_ItemRect(*a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KCoreConfigSkeleton_ItemRect[] = {
    {SIP_MLNAME_CAST(sipName_isEqual), meth_KCoreConfigSkeleton_ItemRect_isEqual, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_property), meth_KCoreConfigSkeleton_ItemRect_property, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readConfig), meth_KCoreConfigSkeleton_ItemRect_readConfig, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readDefault), meth_KCoreConfigSkeleton_ItemRect_readDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefault), meth_KCoreConfigSkeleton_ItemRect_setDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefaultValue), meth_KCoreConfigSkeleton_ItemRect_setDefaultValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setProperty), meth_KCoreConfigSkeleton_ItemRect_setProperty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setValue), meth_KCoreConfigSkeleton_ItemRect_setValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_swapDefault), meth_KCoreConfigSkeleton_ItemRect_swapDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_value), meth_KCoreConfigSkeleton_ItemRect_value, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeConfig), meth_KCoreConfigSkeleton_ItemRect_writeConfig, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KCoreConfigSkeleton_ItemRect = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCoreConfigSkeleton__ItemRect,
        {0}
    },
    {
        sipNameNr_ItemRect,
        {42, 255, 0},
        11, methods_KCoreConfigSkeleton_ItemRect,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KCoreConfigSkeleton_ItemRect,
    0,
    init_type_KCoreConfigSkeleton_ItemRect,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCoreConfigSkeleton_ItemRect,
    0,
    0,
    0,
    release_KCoreConfigSkeleton_ItemRect,
    cast_KCoreConfigSkeleton_ItemRect,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 2852 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"

#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 2856 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 36 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 2859 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 2862 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 2865 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"


class sipKCoreConfigSkeleton_ItemDouble : public KCoreConfigSkeleton::ItemDouble
{
public:
    sipKCoreConfigSkeleton_ItemDouble(const QString&,const QString&,double&,double);
    virtual ~sipKCoreConfigSkeleton_ItemDouble();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void swapDefault();
    QVariant maxValue() const;
    QVariant minValue() const;
    QVariant property() const;
    bool isEqual(const QVariant&) const;
    void setProperty(const QVariant&);
    void readDefault(KConfig*);
    void readConfig(KConfig*);
    void writeConfig(KConfig*);
    void setDefault();
    void setDefaultValue(const double&);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[11];
};

sipKCoreConfigSkeleton_ItemDouble::sipKCoreConfigSkeleton_ItemDouble(const QString& a0,const QString& a1,double& a2,double a3): KCoreConfigSkeleton::ItemDouble(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

void sipKCoreConfigSkeleton_ItemDouble::swapDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemDouble::swapDefault();
        return;
    }

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

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

QVariant sipKCoreConfigSkeleton_ItemDouble::maxValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemDouble::maxValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

QVariant sipKCoreConfigSkeleton_ItemDouble::minValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemDouble::minValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

QVariant sipKCoreConfigSkeleton_ItemDouble::property() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemDouble::property();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

bool sipKCoreConfigSkeleton_ItemDouble::isEqual(const QVariant& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemDouble::isEqual(a0);

    extern bool sipVH_kdecore_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVariant&);

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

void sipKCoreConfigSkeleton_ItemDouble::setProperty(const QVariant& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemDouble::setProperty(a0);
        return;
    }

    typedef void (*sipVH_QtCore_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVariant&);

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

void sipKCoreConfigSkeleton_ItemDouble::readDefault(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemDouble::readDefault(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

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

void sipKCoreConfigSkeleton_ItemDouble::readConfig(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemDouble::readConfig(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

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

void sipKCoreConfigSkeleton_ItemDouble::writeConfig(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemDouble::writeConfig(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

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

void sipKCoreConfigSkeleton_ItemDouble::setDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemDouble::setDefault();
        return;
    }

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

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

void sipKCoreConfigSkeleton_ItemDouble::setDefaultValue(const double& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemDouble::setDefaultValue(a0);
        return;
    }

    extern void sipVH_kdecore_41(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const double&);

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


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

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemDouble *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCoreConfigSkeleton_ItemDouble, &sipCpp, sipType_KConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemDouble::readConfig(a0) : sipCpp->readConfig(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_ItemDouble, sipName_readConfig, NULL);

    return NULL;
}


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

    {
        const QVariant* a0;
        int a0State = 0;
        KCoreConfigSkeleton::ItemDouble *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCoreConfigSkeleton_ItemDouble, &sipCpp, sipType_QVariant,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemDouble::setProperty(*a0) : sipCpp->setProperty(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QVariant* a0;
        int a0State = 0;
        const KCoreConfigSkeleton::ItemDouble *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCoreConfigSkeleton_ItemDouble, &sipCpp, sipType_QVariant,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemDouble::isEqual(*a0) : sipCpp->isEqual(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KCoreConfigSkeleton::ItemDouble *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemDouble::property() : sipCpp->property()));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KCoreConfigSkeleton::ItemDouble *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemDouble::minValue() : sipCpp->minValue()));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KCoreConfigSkeleton::ItemDouble *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemDouble::maxValue() : sipCpp->maxValue()));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        double a0;
        KCoreConfigSkeleton::ItemDouble *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_KCoreConfigSkeleton_ItemDouble, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMinValue(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_ItemDouble, sipName_setMinValue, NULL);

    return NULL;
}


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

    {
        double a0;
        KCoreConfigSkeleton::ItemDouble *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_KCoreConfigSkeleton_ItemDouble, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMaxValue(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_ItemDouble, sipName_setMaxValue, NULL);

    return NULL;
}


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

    {
        double a0;
        KCoreConfigSkeleton::ItemDouble *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_KCoreConfigSkeleton_ItemDouble, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setValue(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_ItemDouble, sipName_setValue, NULL);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemDouble *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton_ItemDouble, &sipCpp))
        {
            double sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->value();
            Py_END_ALLOW_THREADS

            return PyFloat_FromDouble(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        double a0;
        KCoreConfigSkeleton::ItemDouble *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_KCoreConfigSkeleton_ItemDouble, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemDouble::setDefaultValue(a0) : sipCpp->setDefaultValue(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_ItemDouble, sipName_setDefaultValue, NULL);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemDouble *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton_ItemDouble, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemDouble::setDefault() : sipCpp->setDefault());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemDouble *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCoreConfigSkeleton_ItemDouble, &sipCpp, sipType_KConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemDouble::writeConfig(a0) : sipCpp->writeConfig(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_ItemDouble, sipName_writeConfig, NULL);

    return NULL;
}


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

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemDouble *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCoreConfigSkeleton_ItemDouble, &sipCpp, sipType_KConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemDouble::readDefault(a0) : sipCpp->readDefault(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_ItemDouble, sipName_readDefault, NULL);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemDouble *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton_ItemDouble, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemDouble::swapDefault() : sipCpp->swapDefault());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KCoreConfigSkeleton_ItemDouble)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KConfigSkeletonItem)->ctd_cast((KConfigSkeletonItem *)(KCoreConfigSkeleton::ItemDouble *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKCoreConfigSkeleton_ItemDouble *>(sipCppV);
    else
        delete reinterpret_cast<KCoreConfigSkeleton::ItemDouble *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

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

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J1d|d", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, &a2, &a3))
        {
#line 629 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
    Py_BEGIN_ALLOW_THREADS
//    sipCpp = new sipKCoreConfigSkeleton_ItemDouble (PyItemDouble (*a0, *a1, a2, a3));
    sipCpp = new sipKCoreConfigSkeleton_ItemDouble (*a0, *a1, a2, a3);
    Py_END_ALLOW_THREADS
#line 3581 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KCoreConfigSkeleton_ItemDouble[] = {
    {SIP_MLNAME_CAST(sipName_isEqual), meth_KCoreConfigSkeleton_ItemDouble_isEqual, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_maxValue), meth_KCoreConfigSkeleton_ItemDouble_maxValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_minValue), meth_KCoreConfigSkeleton_ItemDouble_minValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_property), meth_KCoreConfigSkeleton_ItemDouble_property, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readConfig), meth_KCoreConfigSkeleton_ItemDouble_readConfig, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readDefault), meth_KCoreConfigSkeleton_ItemDouble_readDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefault), meth_KCoreConfigSkeleton_ItemDouble_setDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefaultValue), meth_KCoreConfigSkeleton_ItemDouble_setDefaultValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMaxValue), meth_KCoreConfigSkeleton_ItemDouble_setMaxValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMinValue), meth_KCoreConfigSkeleton_ItemDouble_setMinValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setProperty), meth_KCoreConfigSkeleton_ItemDouble_setProperty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setValue), meth_KCoreConfigSkeleton_ItemDouble_setValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_swapDefault), meth_KCoreConfigSkeleton_ItemDouble_swapDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_value), meth_KCoreConfigSkeleton_ItemDouble_value, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeConfig), meth_KCoreConfigSkeleton_ItemDouble_writeConfig, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KCoreConfigSkeleton_ItemDouble = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCoreConfigSkeleton__ItemDouble,
        {0}
    },
    {
        sipNameNr_ItemDouble,
        {42, 255, 0},
        15, methods_KCoreConfigSkeleton_ItemDouble,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KCoreConfigSkeleton_ItemDouble,
    0,
    init_type_KCoreConfigSkeleton_ItemDouble,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCoreConfigSkeleton_ItemDouble,
    0,
    0,
    0,
    release_KCoreConfigSkeleton_ItemDouble,
    cast_KCoreConfigSkeleton_ItemDouble,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 3673 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"

#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 3677 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 36 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 3680 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 3683 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 3686 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"


class sipKCoreConfigSkeleton_ItemULongLong : public KCoreConfigSkeleton::ItemULongLong
{
public:
    sipKCoreConfigSkeleton_ItemULongLong(const QString&,const QString&,quint64&,quint64);
    virtual ~sipKCoreConfigSkeleton_ItemULongLong();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void swapDefault();
    QVariant maxValue() const;
    QVariant minValue() const;
    QVariant property() const;
    bool isEqual(const QVariant&) const;
    void setProperty(const QVariant&);
    void readDefault(KConfig*);
    void readConfig(KConfig*);
    void writeConfig(KConfig*);
    void setDefault();
    void setDefaultValue(const quint64&);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[11];
};

sipKCoreConfigSkeleton_ItemULongLong::sipKCoreConfigSkeleton_ItemULongLong(const QString& a0,const QString& a1,quint64& a2,quint64 a3): KCoreConfigSkeleton::ItemULongLong(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

void sipKCoreConfigSkeleton_ItemULongLong::swapDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemULongLong::swapDefault();
        return;
    }

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

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

QVariant sipKCoreConfigSkeleton_ItemULongLong::maxValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemULongLong::maxValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

QVariant sipKCoreConfigSkeleton_ItemULongLong::minValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemULongLong::minValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

QVariant sipKCoreConfigSkeleton_ItemULongLong::property() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemULongLong::property();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

bool sipKCoreConfigSkeleton_ItemULongLong::isEqual(const QVariant& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemULongLong::isEqual(a0);

    extern bool sipVH_kdecore_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVariant&);

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

void sipKCoreConfigSkeleton_ItemULongLong::setProperty(const QVariant& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemULongLong::setProperty(a0);
        return;
    }

    typedef void (*sipVH_QtCore_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVariant&);

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

void sipKCoreConfigSkeleton_ItemULongLong::readDefault(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemULongLong::readDefault(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

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

void sipKCoreConfigSkeleton_ItemULongLong::readConfig(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemULongLong::readConfig(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

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

void sipKCoreConfigSkeleton_ItemULongLong::writeConfig(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemULongLong::writeConfig(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

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

void sipKCoreConfigSkeleton_ItemULongLong::setDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemULongLong::setDefault();
        return;
    }

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

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

void sipKCoreConfigSkeleton_ItemULongLong::setDefaultValue(const quint64& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemULongLong::setDefaultValue(a0);
        return;
    }

    extern void sipVH_kdecore_42(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const unsigned PY_LONG_LONG&);

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


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

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemULongLong *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCoreConfigSkeleton_ItemULongLong, &sipCpp, sipType_KConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemULongLong::readConfig(a0) : sipCpp->readConfig(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_ItemULongLong, sipName_readConfig, NULL);

    return NULL;
}


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

    {
        const QVariant* a0;
        int a0State = 0;
        KCoreConfigSkeleton::ItemULongLong *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCoreConfigSkeleton_ItemULongLong, &sipCpp, sipType_QVariant,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemULongLong::setProperty(*a0) : sipCpp->setProperty(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QVariant* a0;
        int a0State = 0;
        const KCoreConfigSkeleton::ItemULongLong *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCoreConfigSkeleton_ItemULongLong, &sipCpp, sipType_QVariant,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemULongLong::isEqual(*a0) : sipCpp->isEqual(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KCoreConfigSkeleton::ItemULongLong *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemULongLong::property() : sipCpp->property()));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KCoreConfigSkeleton::ItemULongLong *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemULongLong::minValue() : sipCpp->minValue()));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KCoreConfigSkeleton::ItemULongLong *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemULongLong::maxValue() : sipCpp->maxValue()));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        quint64 a0;
        KCoreConfigSkeleton::ItemULongLong *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bo", &sipSelf, sipType_KCoreConfigSkeleton_ItemULongLong, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMinValue(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_ItemULongLong, sipName_setMinValue, NULL);

    return NULL;
}


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

    {
        quint64 a0;
        KCoreConfigSkeleton::ItemULongLong *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bo", &sipSelf, sipType_KCoreConfigSkeleton_ItemULongLong, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMaxValue(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_ItemULongLong, sipName_setMaxValue, NULL);

    return NULL;
}


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

    {
        quint64 a0;
        KCoreConfigSkeleton::ItemULongLong *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bo", &sipSelf, sipType_KCoreConfigSkeleton_ItemULongLong, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setValue(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_ItemULongLong, sipName_setValue, NULL);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemULongLong *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton_ItemULongLong, &sipCpp))
        {
            quint64 sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->value();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLongLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        quint64 a0;
        KCoreConfigSkeleton::ItemULongLong *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bo", &sipSelf, sipType_KCoreConfigSkeleton_ItemULongLong, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemULongLong::setDefaultValue(a0) : sipCpp->setDefaultValue(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_ItemULongLong, sipName_setDefaultValue, NULL);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemULongLong *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton_ItemULongLong, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemULongLong::setDefault() : sipCpp->setDefault());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemULongLong *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCoreConfigSkeleton_ItemULongLong, &sipCpp, sipType_KConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemULongLong::writeConfig(a0) : sipCpp->writeConfig(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_ItemULongLong, sipName_writeConfig, NULL);

    return NULL;
}


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

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemULongLong *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCoreConfigSkeleton_ItemULongLong, &sipCpp, sipType_KConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemULongLong::readDefault(a0) : sipCpp->readDefault(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_ItemULongLong, sipName_readDefault, NULL);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemULongLong *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton_ItemULongLong, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemULongLong::swapDefault() : sipCpp->swapDefault());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KCoreConfigSkeleton_ItemULongLong)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KConfigSkeletonItem)->ctd_cast((KConfigSkeletonItem *)(KCoreConfigSkeleton::ItemULongLong *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKCoreConfigSkeleton_ItemULongLong *>(sipCppV);
    else
        delete reinterpret_cast<KCoreConfigSkeleton::ItemULongLong *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

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

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J1o|o", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, &a2, &a3))
        {
#line 590 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
    Py_BEGIN_ALLOW_THREADS
//    sipCpp = new sipKCoreConfigSkeleton_ItemULongLong (PyItemULongLong (*a0, *a1, a2, a3));
    sipCpp = new sipKCoreConfigSkeleton_ItemULongLong (*a0, *a1, a2, a3);
    Py_END_ALLOW_THREADS
#line 4402 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KCoreConfigSkeleton_ItemULongLong[] = {
    {SIP_MLNAME_CAST(sipName_isEqual), meth_KCoreConfigSkeleton_ItemULongLong_isEqual, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_maxValue), meth_KCoreConfigSkeleton_ItemULongLong_maxValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_minValue), meth_KCoreConfigSkeleton_ItemULongLong_minValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_property), meth_KCoreConfigSkeleton_ItemULongLong_property, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readConfig), meth_KCoreConfigSkeleton_ItemULongLong_readConfig, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readDefault), meth_KCoreConfigSkeleton_ItemULongLong_readDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefault), meth_KCoreConfigSkeleton_ItemULongLong_setDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefaultValue), meth_KCoreConfigSkeleton_ItemULongLong_setDefaultValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMaxValue), meth_KCoreConfigSkeleton_ItemULongLong_setMaxValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMinValue), meth_KCoreConfigSkeleton_ItemULongLong_setMinValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setProperty), meth_KCoreConfigSkeleton_ItemULongLong_setProperty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setValue), meth_KCoreConfigSkeleton_ItemULongLong_setValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_swapDefault), meth_KCoreConfigSkeleton_ItemULongLong_swapDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_value), meth_KCoreConfigSkeleton_ItemULongLong_value, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeConfig), meth_KCoreConfigSkeleton_ItemULongLong_writeConfig, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KCoreConfigSkeleton_ItemULongLong = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCoreConfigSkeleton__ItemULongLong,
        {0}
    },
    {
        sipNameNr_ItemULongLong,
        {42, 255, 0},
        15, methods_KCoreConfigSkeleton_ItemULongLong,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KCoreConfigSkeleton_ItemULongLong,
    0,
    init_type_KCoreConfigSkeleton_ItemULongLong,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCoreConfigSkeleton_ItemULongLong,
    0,
    0,
    0,
    release_KCoreConfigSkeleton_ItemULongLong,
    cast_KCoreConfigSkeleton_ItemULongLong,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 4494 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"

#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 4498 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 36 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 4501 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 4504 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 4507 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"


class sipKCoreConfigSkeleton_ItemUInt : public KCoreConfigSkeleton::ItemUInt
{
public:
    sipKCoreConfigSkeleton_ItemUInt(const QString&,const QString&,quint32&,quint32);
    virtual ~sipKCoreConfigSkeleton_ItemUInt();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void swapDefault();
    QVariant maxValue() const;
    QVariant minValue() const;
    QVariant property() const;
    bool isEqual(const QVariant&) const;
    void setProperty(const QVariant&);
    void readDefault(KConfig*);
    void readConfig(KConfig*);
    void writeConfig(KConfig*);
    void setDefault();
    void setDefaultValue(const quint32&);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[11];
};

sipKCoreConfigSkeleton_ItemUInt::sipKCoreConfigSkeleton_ItemUInt(const QString& a0,const QString& a1,quint32& a2,quint32 a3): KCoreConfigSkeleton::ItemUInt(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

void sipKCoreConfigSkeleton_ItemUInt::swapDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemUInt::swapDefault();
        return;
    }

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

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

QVariant sipKCoreConfigSkeleton_ItemUInt::maxValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemUInt::maxValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

QVariant sipKCoreConfigSkeleton_ItemUInt::minValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemUInt::minValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

QVariant sipKCoreConfigSkeleton_ItemUInt::property() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemUInt::property();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

bool sipKCoreConfigSkeleton_ItemUInt::isEqual(const QVariant& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemUInt::isEqual(a0);

    extern bool sipVH_kdecore_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVariant&);

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

void sipKCoreConfigSkeleton_ItemUInt::setProperty(const QVariant& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemUInt::setProperty(a0);
        return;
    }

    typedef void (*sipVH_QtCore_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVariant&);

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

void sipKCoreConfigSkeleton_ItemUInt::readDefault(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemUInt::readDefault(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

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

void sipKCoreConfigSkeleton_ItemUInt::readConfig(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemUInt::readConfig(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

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

void sipKCoreConfigSkeleton_ItemUInt::writeConfig(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemUInt::writeConfig(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

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

void sipKCoreConfigSkeleton_ItemUInt::setDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemUInt::setDefault();
        return;
    }

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

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

void sipKCoreConfigSkeleton_ItemUInt::setDefaultValue(const quint32& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemUInt::setDefaultValue(a0);
        return;
    }

    extern void sipVH_kdecore_43(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const uint&);

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


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

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemUInt *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCoreConfigSkeleton_ItemUInt, &sipCpp, sipType_KConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemUInt::readConfig(a0) : sipCpp->readConfig(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_ItemUInt, sipName_readConfig, NULL);

    return NULL;
}


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

    {
        const QVariant* a0;
        int a0State = 0;
        KCoreConfigSkeleton::ItemUInt *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCoreConfigSkeleton_ItemUInt, &sipCpp, sipType_QVariant,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemUInt::setProperty(*a0) : sipCpp->setProperty(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QVariant* a0;
        int a0State = 0;
        const KCoreConfigSkeleton::ItemUInt *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCoreConfigSkeleton_ItemUInt, &sipCpp, sipType_QVariant,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemUInt::isEqual(*a0) : sipCpp->isEqual(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KCoreConfigSkeleton::ItemUInt *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemUInt::property() : sipCpp->property()));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KCoreConfigSkeleton::ItemUInt *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemUInt::minValue() : sipCpp->minValue()));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KCoreConfigSkeleton::ItemUInt *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemUInt::maxValue() : sipCpp->maxValue()));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        quint32 a0;
        KCoreConfigSkeleton::ItemUInt *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bu", &sipSelf, sipType_KCoreConfigSkeleton_ItemUInt, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMinValue(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_ItemUInt, sipName_setMinValue, NULL);

    return NULL;
}


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

    {
        quint32 a0;
        KCoreConfigSkeleton::ItemUInt *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bu", &sipSelf, sipType_KCoreConfigSkeleton_ItemUInt, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMaxValue(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_ItemUInt, sipName_setMaxValue, NULL);

    return NULL;
}


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

    {
        quint32 a0;
        KCoreConfigSkeleton::ItemUInt *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bu", &sipSelf, sipType_KCoreConfigSkeleton_ItemUInt, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setValue(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_ItemUInt, sipName_setValue, NULL);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemUInt *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton_ItemUInt, &sipCpp))
        {
            quint32 sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->value();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        quint32 a0;
        KCoreConfigSkeleton::ItemUInt *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bu", &sipSelf, sipType_KCoreConfigSkeleton_ItemUInt, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemUInt::setDefaultValue(a0) : sipCpp->setDefaultValue(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_ItemUInt, sipName_setDefaultValue, NULL);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemUInt *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton_ItemUInt, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemUInt::setDefault() : sipCpp->setDefault());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemUInt *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCoreConfigSkeleton_ItemUInt, &sipCpp, sipType_KConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemUInt::writeConfig(a0) : sipCpp->writeConfig(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_ItemUInt, sipName_writeConfig, NULL);

    return NULL;
}


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

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemUInt *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCoreConfigSkeleton_ItemUInt, &sipCpp, sipType_KConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemUInt::readDefault(a0) : sipCpp->readDefault(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_ItemUInt, sipName_readDefault, NULL);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemUInt *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton_ItemUInt, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemUInt::swapDefault() : sipCpp->swapDefault());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KCoreConfigSkeleton_ItemUInt)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KConfigSkeletonItem)->ctd_cast((KConfigSkeletonItem *)(KCoreConfigSkeleton::ItemUInt *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKCoreConfigSkeleton_ItemUInt *>(sipCppV);
    else
        delete reinterpret_cast<KCoreConfigSkeleton::ItemUInt *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

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

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J1u|u", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, &a2, &a3))
        {
#line 553 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
    Py_BEGIN_ALLOW_THREADS
//    sipCpp = new sipKCoreConfigSkeleton_ItemUInt (PyItemUInt (*a0, *a1, a2, a3));
    sipCpp = new sipKCoreConfigSkeleton_ItemUInt (*a0, *a1, a2, a3);
    Py_END_ALLOW_THREADS
#line 5223 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KCoreConfigSkeleton_ItemUInt[] = {
    {SIP_MLNAME_CAST(sipName_isEqual), meth_KCoreConfigSkeleton_ItemUInt_isEqual, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_maxValue), meth_KCoreConfigSkeleton_ItemUInt_maxValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_minValue), meth_KCoreConfigSkeleton_ItemUInt_minValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_property), meth_KCoreConfigSkeleton_ItemUInt_property, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readConfig), meth_KCoreConfigSkeleton_ItemUInt_readConfig, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readDefault), meth_KCoreConfigSkeleton_ItemUInt_readDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefault), meth_KCoreConfigSkeleton_ItemUInt_setDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefaultValue), meth_KCoreConfigSkeleton_ItemUInt_setDefaultValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMaxValue), meth_KCoreConfigSkeleton_ItemUInt_setMaxValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMinValue), meth_KCoreConfigSkeleton_ItemUInt_setMinValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setProperty), meth_KCoreConfigSkeleton_ItemUInt_setProperty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setValue), meth_KCoreConfigSkeleton_ItemUInt_setValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_swapDefault), meth_KCoreConfigSkeleton_ItemUInt_swapDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_value), meth_KCoreConfigSkeleton_ItemUInt_value, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeConfig), meth_KCoreConfigSkeleton_ItemUInt_writeConfig, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KCoreConfigSkeleton_ItemUInt = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCoreConfigSkeleton__ItemUInt,
        {0}
    },
    {
        sipNameNr_ItemUInt,
        {42, 255, 0},
        15, methods_KCoreConfigSkeleton_ItemUInt,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KCoreConfigSkeleton_ItemUInt,
    0,
    init_type_KCoreConfigSkeleton_ItemUInt,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCoreConfigSkeleton_ItemUInt,
    0,
    0,
    0,
    release_KCoreConfigSkeleton_ItemUInt,
    cast_KCoreConfigSkeleton_ItemUInt,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 5315 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"

#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 5319 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"


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

    return NULL;
}


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

    delete reinterpret_cast<KCoreConfigSkeleton::ItemEnum::Choice2 *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KCoreConfigSkeleton_ItemEnum_Choice2(void *, SIP_SSIZE_T, const void *);}
static void assign_KCoreConfigSkeleton_ItemEnum_Choice2(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KCoreConfigSkeleton::ItemEnum::Choice2 *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KCoreConfigSkeleton::ItemEnum::Choice2 *>(sipSrc);
}


extern "C" {static void *array_KCoreConfigSkeleton_ItemEnum_Choice2(SIP_SSIZE_T);}
static void *array_KCoreConfigSkeleton_ItemEnum_Choice2(SIP_SSIZE_T sipNrElem)
{
    return new KCoreConfigSkeleton::ItemEnum::Choice2[sipNrElem];
}


extern "C" {static void *copy_KCoreConfigSkeleton_ItemEnum_Choice2(const void *, SIP_SSIZE_T);}
static void *copy_KCoreConfigSkeleton_ItemEnum_Choice2(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KCoreConfigSkeleton::ItemEnum::Choice2(reinterpret_cast<const KCoreConfigSkeleton::ItemEnum::Choice2 *>(sipSrc)[sipSrcIdx]);
}


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


extern "C" {static void *init_type_KCoreConfigSkeleton_ItemEnum_Choice2(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KCoreConfigSkeleton_ItemEnum_Choice2(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KCoreConfigSkeleton::ItemEnum::Choice2 *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KCoreConfigSkeleton::ItemEnum::Choice2();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const KCoreConfigSkeleton::ItemEnum::Choice2* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_KCoreConfigSkeleton_ItemEnum_Choice2, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KCoreConfigSkeleton::ItemEnum::Choice2(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static PyObject *varget_KCoreConfigSkeleton_ItemEnum_Choice2_label(void *, PyObject *, PyObject *);}
static PyObject *varget_KCoreConfigSkeleton_ItemEnum_Choice2_label(void *sipSelf, PyObject *, PyObject *)
{
    QString*sipVal;
    KCoreConfigSkeleton::ItemEnum::Choice2 *sipCpp = reinterpret_cast<KCoreConfigSkeleton::ItemEnum::Choice2 *>(sipSelf);

    sipVal = &sipCpp->label;

    return sipConvertFromType(sipVal, sipType_QString, NULL);
}


extern "C" {static int varset_KCoreConfigSkeleton_ItemEnum_Choice2_label(void *, PyObject *, PyObject *);}
static int varset_KCoreConfigSkeleton_ItemEnum_Choice2_label(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString*sipVal;
    KCoreConfigSkeleton::ItemEnum::Choice2 *sipCpp = reinterpret_cast<KCoreConfigSkeleton::ItemEnum::Choice2 *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

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

    if (sipIsErr)
        return -1;

    sipCpp->label = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KCoreConfigSkeleton_ItemEnum_Choice2_name(void *, PyObject *, PyObject *);}
static PyObject *varget_KCoreConfigSkeleton_ItemEnum_Choice2_name(void *sipSelf, PyObject *, PyObject *)
{
    QString*sipVal;
    KCoreConfigSkeleton::ItemEnum::Choice2 *sipCpp = reinterpret_cast<KCoreConfigSkeleton::ItemEnum::Choice2 *>(sipSelf);

    sipVal = &sipCpp->name;

    return sipConvertFromType(sipVal, sipType_QString, NULL);
}


extern "C" {static int varset_KCoreConfigSkeleton_ItemEnum_Choice2_name(void *, PyObject *, PyObject *);}
static int varset_KCoreConfigSkeleton_ItemEnum_Choice2_name(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString*sipVal;
    KCoreConfigSkeleton::ItemEnum::Choice2 *sipCpp = reinterpret_cast<KCoreConfigSkeleton::ItemEnum::Choice2 *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

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

    if (sipIsErr)
        return -1;

    sipCpp->name = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KCoreConfigSkeleton_ItemEnum_Choice2_toolTip(void *, PyObject *, PyObject *);}
static PyObject *varget_KCoreConfigSkeleton_ItemEnum_Choice2_toolTip(void *sipSelf, PyObject *, PyObject *)
{
    QString*sipVal;
    KCoreConfigSkeleton::ItemEnum::Choice2 *sipCpp = reinterpret_cast<KCoreConfigSkeleton::ItemEnum::Choice2 *>(sipSelf);

    sipVal = &sipCpp->toolTip;

    return sipConvertFromType(sipVal, sipType_QString, NULL);
}


extern "C" {static int varset_KCoreConfigSkeleton_ItemEnum_Choice2_toolTip(void *, PyObject *, PyObject *);}
static int varset_KCoreConfigSkeleton_ItemEnum_Choice2_toolTip(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString*sipVal;
    KCoreConfigSkeleton::ItemEnum::Choice2 *sipCpp = reinterpret_cast<KCoreConfigSkeleton::ItemEnum::Choice2 *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

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

    if (sipIsErr)
        return -1;

    sipCpp->toolTip = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KCoreConfigSkeleton_ItemEnum_Choice2_whatsThis(void *, PyObject *, PyObject *);}
static PyObject *varget_KCoreConfigSkeleton_ItemEnum_Choice2_whatsThis(void *sipSelf, PyObject *, PyObject *)
{
    QString*sipVal;
    KCoreConfigSkeleton::ItemEnum::Choice2 *sipCpp = reinterpret_cast<KCoreConfigSkeleton::ItemEnum::Choice2 *>(sipSelf);

    sipVal = &sipCpp->whatsThis;

    return sipConvertFromType(sipVal, sipType_QString, NULL);
}


extern "C" {static int varset_KCoreConfigSkeleton_ItemEnum_Choice2_whatsThis(void *, PyObject *, PyObject *);}
static int varset_KCoreConfigSkeleton_ItemEnum_Choice2_whatsThis(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString*sipVal;
    KCoreConfigSkeleton::ItemEnum::Choice2 *sipCpp = reinterpret_cast<KCoreConfigSkeleton::ItemEnum::Choice2 *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

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

    if (sipIsErr)
        return -1;

    sipCpp->whatsThis = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}

sipVariableDef variables_KCoreConfigSkeleton_ItemEnum_Choice2[] = {
    {InstanceVariable, sipName_label, (PyMethodDef *)varget_KCoreConfigSkeleton_ItemEnum_Choice2_label, (PyMethodDef *)varset_KCoreConfigSkeleton_ItemEnum_Choice2_label, NULL, NULL},
    {InstanceVariable, sipName_name, (PyMethodDef *)varget_KCoreConfigSkeleton_ItemEnum_Choice2_name, (PyMethodDef *)varset_KCoreConfigSkeleton_ItemEnum_Choice2_name, NULL, NULL},
    {InstanceVariable, sipName_toolTip, (PyMethodDef *)varget_KCoreConfigSkeleton_ItemEnum_Choice2_toolTip, (PyMethodDef *)varset_KCoreConfigSkeleton_ItemEnum_Choice2_toolTip, NULL, NULL},
    {InstanceVariable, sipName_whatsThis, (PyMethodDef *)varget_KCoreConfigSkeleton_ItemEnum_Choice2_whatsThis, (PyMethodDef *)varset_KCoreConfigSkeleton_ItemEnum_Choice2_whatsThis, NULL, NULL},
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KCoreConfigSkeleton_ItemEnum_Choice2 = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCoreConfigSkeleton__ItemEnum__Choice2,
        {0}
    },
    {
        sipNameNr_Choice2,
        {46, 255, 0},
        0, 0,
        0, 0,
        4, variables_KCoreConfigSkeleton_ItemEnum_Choice2,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KCoreConfigSkeleton_ItemEnum_Choice2,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCoreConfigSkeleton_ItemEnum_Choice2,
    assign_KCoreConfigSkeleton_ItemEnum_Choice2,
    array_KCoreConfigSkeleton_ItemEnum_Choice2,
    copy_KCoreConfigSkeleton_ItemEnum_Choice2,
    release_KCoreConfigSkeleton_ItemEnum_Choice2,
    cast_KCoreConfigSkeleton_ItemEnum_Choice2,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 5607 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"

#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 5611 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"


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

    return NULL;
}


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

    delete reinterpret_cast<KCoreConfigSkeleton::ItemEnum::Choice *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KCoreConfigSkeleton_ItemEnum_Choice(void *, SIP_SSIZE_T, const void *);}
static void assign_KCoreConfigSkeleton_ItemEnum_Choice(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KCoreConfigSkeleton::ItemEnum::Choice *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KCoreConfigSkeleton::ItemEnum::Choice *>(sipSrc);
}


extern "C" {static void *array_KCoreConfigSkeleton_ItemEnum_Choice(SIP_SSIZE_T);}
static void *array_KCoreConfigSkeleton_ItemEnum_Choice(SIP_SSIZE_T sipNrElem)
{
    return new KCoreConfigSkeleton::ItemEnum::Choice[sipNrElem];
}


extern "C" {static void *copy_KCoreConfigSkeleton_ItemEnum_Choice(const void *, SIP_SSIZE_T);}
static void *copy_KCoreConfigSkeleton_ItemEnum_Choice(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KCoreConfigSkeleton::ItemEnum::Choice(reinterpret_cast<const KCoreConfigSkeleton::ItemEnum::Choice *>(sipSrc)[sipSrcIdx]);
}


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


extern "C" {static void *init_type_KCoreConfigSkeleton_ItemEnum_Choice(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KCoreConfigSkeleton_ItemEnum_Choice(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KCoreConfigSkeleton::ItemEnum::Choice *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KCoreConfigSkeleton::ItemEnum::Choice();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const KCoreConfigSkeleton::ItemEnum::Choice* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_KCoreConfigSkeleton_ItemEnum_Choice, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KCoreConfigSkeleton::ItemEnum::Choice(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static PyObject *varget_KCoreConfigSkeleton_ItemEnum_Choice_label(void *, PyObject *, PyObject *);}
static PyObject *varget_KCoreConfigSkeleton_ItemEnum_Choice_label(void *sipSelf, PyObject *, PyObject *)
{
    QString*sipVal;
    KCoreConfigSkeleton::ItemEnum::Choice *sipCpp = reinterpret_cast<KCoreConfigSkeleton::ItemEnum::Choice *>(sipSelf);

    sipVal = &sipCpp->label;

    return sipConvertFromType(sipVal, sipType_QString, NULL);
}


extern "C" {static int varset_KCoreConfigSkeleton_ItemEnum_Choice_label(void *, PyObject *, PyObject *);}
static int varset_KCoreConfigSkeleton_ItemEnum_Choice_label(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString*sipVal;
    KCoreConfigSkeleton::ItemEnum::Choice *sipCpp = reinterpret_cast<KCoreConfigSkeleton::ItemEnum::Choice *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

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

    if (sipIsErr)
        return -1;

    sipCpp->label = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KCoreConfigSkeleton_ItemEnum_Choice_name(void *, PyObject *, PyObject *);}
static PyObject *varget_KCoreConfigSkeleton_ItemEnum_Choice_name(void *sipSelf, PyObject *, PyObject *)
{
    QString*sipVal;
    KCoreConfigSkeleton::ItemEnum::Choice *sipCpp = reinterpret_cast<KCoreConfigSkeleton::ItemEnum::Choice *>(sipSelf);

    sipVal = &sipCpp->name;

    return sipConvertFromType(sipVal, sipType_QString, NULL);
}


extern "C" {static int varset_KCoreConfigSkeleton_ItemEnum_Choice_name(void *, PyObject *, PyObject *);}
static int varset_KCoreConfigSkeleton_ItemEnum_Choice_name(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString*sipVal;
    KCoreConfigSkeleton::ItemEnum::Choice *sipCpp = reinterpret_cast<KCoreConfigSkeleton::ItemEnum::Choice *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

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

    if (sipIsErr)
        return -1;

    sipCpp->name = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KCoreConfigSkeleton_ItemEnum_Choice_whatsThis(void *, PyObject *, PyObject *);}
static PyObject *varget_KCoreConfigSkeleton_ItemEnum_Choice_whatsThis(void *sipSelf, PyObject *, PyObject *)
{
    QString*sipVal;
    KCoreConfigSkeleton::ItemEnum::Choice *sipCpp = reinterpret_cast<KCoreConfigSkeleton::ItemEnum::Choice *>(sipSelf);

    sipVal = &sipCpp->whatsThis;

    return sipConvertFromType(sipVal, sipType_QString, NULL);
}


extern "C" {static int varset_KCoreConfigSkeleton_ItemEnum_Choice_whatsThis(void *, PyObject *, PyObject *);}
static int varset_KCoreConfigSkeleton_ItemEnum_Choice_whatsThis(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString*sipVal;
    KCoreConfigSkeleton::ItemEnum::Choice *sipCpp = reinterpret_cast<KCoreConfigSkeleton::ItemEnum::Choice *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

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

    if (sipIsErr)
        return -1;

    sipCpp->whatsThis = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}

sipVariableDef variables_KCoreConfigSkeleton_ItemEnum_Choice[] = {
    {InstanceVariable, sipName_label, (PyMethodDef *)varget_KCoreConfigSkeleton_ItemEnum_Choice_label, (PyMethodDef *)varset_KCoreConfigSkeleton_ItemEnum_Choice_label, NULL, NULL},
    {InstanceVariable, sipName_name, (PyMethodDef *)varget_KCoreConfigSkeleton_ItemEnum_Choice_name, (PyMethodDef *)varset_KCoreConfigSkeleton_ItemEnum_Choice_name, NULL, NULL},
    {InstanceVariable, sipName_whatsThis, (PyMethodDef *)varget_KCoreConfigSkeleton_ItemEnum_Choice_whatsThis, (PyMethodDef *)varset_KCoreConfigSkeleton_ItemEnum_Choice_whatsThis, NULL, NULL},
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KCoreConfigSkeleton_ItemEnum_Choice = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCoreConfigSkeleton__ItemEnum__Choice,
        {0}
    },
    {
        sipNameNr_Choice,
        {46, 255, 0},
        0, 0,
        0, 0,
        3, variables_KCoreConfigSkeleton_ItemEnum_Choice,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KCoreConfigSkeleton_ItemEnum_Choice,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCoreConfigSkeleton_ItemEnum_Choice,
    assign_KCoreConfigSkeleton_ItemEnum_Choice,
    array_KCoreConfigSkeleton_ItemEnum_Choice,
    copy_KCoreConfigSkeleton_ItemEnum_Choice,
    release_KCoreConfigSkeleton_ItemEnum_Choice,
    cast_KCoreConfigSkeleton_ItemEnum_Choice,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 5864 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"

#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 5868 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 5871 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 5874 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 36 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 5877 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 5880 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 5883 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 5886 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 5889 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"


class sipKCoreConfigSkeleton_ItemEnum : public KCoreConfigSkeleton::ItemEnum
{
public:
    sipKCoreConfigSkeleton_ItemEnum(const QString&,const QString&,qint32&,const QList<KCoreConfigSkeleton::ItemEnum::Choice>&,qint32);
    virtual ~sipKCoreConfigSkeleton_ItemEnum();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void swapDefault();
    QVariant maxValue() const;
    QVariant minValue() const;
    QVariant property() const;
    bool isEqual(const QVariant&) const;
    void setProperty(const QVariant&);
    void readDefault(KConfig*);
    void writeConfig(KConfig*);
    void readConfig(KConfig*);
    void setDefault();
    void setDefaultValue(const qint32&);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[12];
};

sipKCoreConfigSkeleton_ItemEnum::sipKCoreConfigSkeleton_ItemEnum(const QString& a0,const QString& a1,qint32& a2,const QList<KCoreConfigSkeleton::ItemEnum::Choice>& a3,qint32 a4): KCoreConfigSkeleton::ItemEnum(a0,a1,a2,a3,a4), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

void sipKCoreConfigSkeleton_ItemEnum::swapDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemEnum::swapDefault();
        return;
    }

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

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

QVariant sipKCoreConfigSkeleton_ItemEnum::maxValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemEnum::maxValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

QVariant sipKCoreConfigSkeleton_ItemEnum::minValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemEnum::minValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

QVariant sipKCoreConfigSkeleton_ItemEnum::property() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemEnum::property();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

bool sipKCoreConfigSkeleton_ItemEnum::isEqual(const QVariant& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemEnum::isEqual(a0);

    extern bool sipVH_kdecore_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVariant&);

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

void sipKCoreConfigSkeleton_ItemEnum::setProperty(const QVariant& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemEnum::setProperty(a0);
        return;
    }

    typedef void (*sipVH_QtCore_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVariant&);

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

void sipKCoreConfigSkeleton_ItemEnum::readDefault(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemEnum::readDefault(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

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

void sipKCoreConfigSkeleton_ItemEnum::writeConfig(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemEnum::writeConfig(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

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

void sipKCoreConfigSkeleton_ItemEnum::readConfig(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemEnum::readConfig(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

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

void sipKCoreConfigSkeleton_ItemEnum::setDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemEnum::setDefault();
        return;
    }

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

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

void sipKCoreConfigSkeleton_ItemEnum::setDefaultValue(const qint32& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemEnum::setDefaultValue(a0);
        return;
    }

    extern void sipVH_kdecore_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const int&);

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


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

    {
        const KCoreConfigSkeleton::ItemEnum *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton_ItemEnum, &sipCpp))
        {
            QList<KCoreConfigSkeleton::ItemEnum::Choice>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<KCoreConfigSkeleton::ItemEnum::Choice>(sipCpp->choices());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KCoreConfigSkeleton::ItemEnum *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton_ItemEnum, &sipCpp))
        {
            QList<KCoreConfigSkeleton::ItemEnum::Choice2>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<KCoreConfigSkeleton::ItemEnum::Choice2>(sipCpp->choices2());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemEnum *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCoreConfigSkeleton_ItemEnum, &sipCpp, sipType_KConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemEnum::readConfig(a0) : sipCpp->readConfig(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_ItemEnum, sipName_readConfig, NULL);

    return NULL;
}


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

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemEnum *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCoreConfigSkeleton_ItemEnum, &sipCpp, sipType_KConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemEnum::writeConfig(a0) : sipCpp->writeConfig(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_ItemEnum, sipName_writeConfig, NULL);

    return NULL;
}


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

    {
        qint32 a0;
        KCoreConfigSkeleton::ItemEnum *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KCoreConfigSkeleton_ItemEnum, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setValue(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_ItemEnum, sipName_setValue, NULL);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemEnum *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton_ItemEnum, &sipCpp))
        {
            qint32 sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->value();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        qint32 a0;
        KCoreConfigSkeleton::ItemEnum *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KCoreConfigSkeleton_ItemEnum, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemEnum::setDefaultValue(a0) : sipCpp->setDefaultValue(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_ItemEnum, sipName_setDefaultValue, NULL);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemEnum *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton_ItemEnum, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemEnum::setDefault() : sipCpp->setDefault());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemEnum *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCoreConfigSkeleton_ItemEnum, &sipCpp, sipType_KConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemEnum::readDefault(a0) : sipCpp->readDefault(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_ItemEnum, sipName_readDefault, NULL);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemEnum *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton_ItemEnum, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemEnum::swapDefault() : sipCpp->swapDefault());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KCoreConfigSkeleton_ItemEnum)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KCoreConfigSkeleton_ItemInt)->ctd_cast((KCoreConfigSkeleton::ItemInt *)(KCoreConfigSkeleton::ItemEnum *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKCoreConfigSkeleton_ItemEnum *>(sipCppV);
    else
        delete reinterpret_cast<KCoreConfigSkeleton::ItemEnum *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        qint32 a2;
        const QList<KCoreConfigSkeleton::ItemEnum::Choice>* a3;
        int a3State = 0;
        qint32 a4 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J1iJ1|i", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, &a2, sipType_QList_0100KCoreConfigSkeleton_ItemEnum_Choice,&a3, &a3State, &a4))
        {
#line 519 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
    Py_BEGIN_ALLOW_THREADS
    sipCpp = new sipKCoreConfigSkeleton_ItemEnum (*a0, *a1, a2, *a3, a4);
//    sipCpp = new sipKCoreConfigSkeleton_ItemEnum (PyItemEnum (*a0, *a1, a2, *a3, a4));
    Py_END_ALLOW_THREADS
#line 6462 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QList<KCoreConfigSkeleton::ItemEnum::Choice> *>(a3),sipType_QList_0100KCoreConfigSkeleton_ItemEnum_Choice,a3State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KCoreConfigSkeleton_ItemEnum[] = {
    {SIP_MLNAME_CAST(sipName_choices), meth_KCoreConfigSkeleton_ItemEnum_choices, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_choices2), meth_KCoreConfigSkeleton_ItemEnum_choices2, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readConfig), meth_KCoreConfigSkeleton_ItemEnum_readConfig, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readDefault), meth_KCoreConfigSkeleton_ItemEnum_readDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefault), meth_KCoreConfigSkeleton_ItemEnum_setDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefaultValue), meth_KCoreConfigSkeleton_ItemEnum_setDefaultValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setValue), meth_KCoreConfigSkeleton_ItemEnum_setValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_swapDefault), meth_KCoreConfigSkeleton_ItemEnum_swapDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_value), meth_KCoreConfigSkeleton_ItemEnum_value, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeConfig), meth_KCoreConfigSkeleton_ItemEnum_writeConfig, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KCoreConfigSkeleton_ItemEnum = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCoreConfigSkeleton__ItemEnum,
        {0}
    },
    {
        sipNameNr_ItemEnum,
        {42, 255, 0},
        10, methods_KCoreConfigSkeleton_ItemEnum,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KCoreConfigSkeleton_ItemEnum,
    0,
    init_type_KCoreConfigSkeleton_ItemEnum,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCoreConfigSkeleton_ItemEnum,
    0,
    0,
    0,
    release_KCoreConfigSkeleton_ItemEnum,
    cast_KCoreConfigSkeleton_ItemEnum,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 6550 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"

#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 6554 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 36 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 6557 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 6560 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 6563 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"


class sipKCoreConfigSkeleton_ItemLongLong : public KCoreConfigSkeleton::ItemLongLong
{
public:
    sipKCoreConfigSkeleton_ItemLongLong(const QString&,const QString&,qint64&,qint64);
    virtual ~sipKCoreConfigSkeleton_ItemLongLong();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void swapDefault();
    QVariant maxValue() const;
    QVariant minValue() const;
    QVariant property() const;
    bool isEqual(const QVariant&) const;
    void setProperty(const QVariant&);
    void readDefault(KConfig*);
    void readConfig(KConfig*);
    void writeConfig(KConfig*);
    void setDefault();
    void setDefaultValue(const qint64&);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[11];
};

sipKCoreConfigSkeleton_ItemLongLong::sipKCoreConfigSkeleton_ItemLongLong(const QString& a0,const QString& a1,qint64& a2,qint64 a3): KCoreConfigSkeleton::ItemLongLong(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

void sipKCoreConfigSkeleton_ItemLongLong::swapDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemLongLong::swapDefault();
        return;
    }

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

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

QVariant sipKCoreConfigSkeleton_ItemLongLong::maxValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemLongLong::maxValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

QVariant sipKCoreConfigSkeleton_ItemLongLong::minValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemLongLong::minValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

QVariant sipKCoreConfigSkeleton_ItemLongLong::property() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemLongLong::property();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

bool sipKCoreConfigSkeleton_ItemLongLong::isEqual(const QVariant& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemLongLong::isEqual(a0);

    extern bool sipVH_kdecore_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVariant&);

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

void sipKCoreConfigSkeleton_ItemLongLong::setProperty(const QVariant& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemLongLong::setProperty(a0);
        return;
    }

    typedef void (*sipVH_QtCore_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVariant&);

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

void sipKCoreConfigSkeleton_ItemLongLong::readDefault(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemLongLong::readDefault(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

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

void sipKCoreConfigSkeleton_ItemLongLong::readConfig(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemLongLong::readConfig(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

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

void sipKCoreConfigSkeleton_ItemLongLong::writeConfig(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemLongLong::writeConfig(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

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

void sipKCoreConfigSkeleton_ItemLongLong::setDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemLongLong::setDefault();
        return;
    }

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

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

void sipKCoreConfigSkeleton_ItemLongLong::setDefaultValue(const qint64& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemLongLong::setDefaultValue(a0);
        return;
    }

    extern void sipVH_kdecore_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const PY_LONG_LONG&);

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


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

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemLongLong *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCoreConfigSkeleton_ItemLongLong, &sipCpp, sipType_KConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemLongLong::readConfig(a0) : sipCpp->readConfig(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_ItemLongLong, sipName_readConfig, NULL);

    return NULL;
}


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

    {
        const QVariant* a0;
        int a0State = 0;
        KCoreConfigSkeleton::ItemLongLong *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCoreConfigSkeleton_ItemLongLong, &sipCpp, sipType_QVariant,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemLongLong::setProperty(*a0) : sipCpp->setProperty(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QVariant* a0;
        int a0State = 0;
        const KCoreConfigSkeleton::ItemLongLong *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCoreConfigSkeleton_ItemLongLong, &sipCpp, sipType_QVariant,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemLongLong::isEqual(*a0) : sipCpp->isEqual(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KCoreConfigSkeleton::ItemLongLong *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemLongLong::property() : sipCpp->property()));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KCoreConfigSkeleton::ItemLongLong *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemLongLong::minValue() : sipCpp->minValue()));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KCoreConfigSkeleton::ItemLongLong *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemLongLong::maxValue() : sipCpp->maxValue()));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        qint64 a0;
        KCoreConfigSkeleton::ItemLongLong *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_KCoreConfigSkeleton_ItemLongLong, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMinValue(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_ItemLongLong, sipName_setMinValue, NULL);

    return NULL;
}


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

    {
        qint64 a0;
        KCoreConfigSkeleton::ItemLongLong *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_KCoreConfigSkeleton_ItemLongLong, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMaxValue(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_ItemLongLong, sipName_setMaxValue, NULL);

    return NULL;
}


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

    {
        qint64 a0;
        KCoreConfigSkeleton::ItemLongLong *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_KCoreConfigSkeleton_ItemLongLong, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setValue(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_ItemLongLong, sipName_setValue, NULL);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemLongLong *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton_ItemLongLong, &sipCpp))
        {
            quint64 sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->value();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLongLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        qint64 a0;
        KCoreConfigSkeleton::ItemLongLong *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_KCoreConfigSkeleton_ItemLongLong, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemLongLong::setDefaultValue(a0) : sipCpp->setDefaultValue(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_ItemLongLong, sipName_setDefaultValue, NULL);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemLongLong *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton_ItemLongLong, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemLongLong::setDefault() : sipCpp->setDefault());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemLongLong *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCoreConfigSkeleton_ItemLongLong, &sipCpp, sipType_KConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemLongLong::writeConfig(a0) : sipCpp->writeConfig(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_ItemLongLong, sipName_writeConfig, NULL);

    return NULL;
}


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

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemLongLong *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCoreConfigSkeleton_ItemLongLong, &sipCpp, sipType_KConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemLongLong::readDefault(a0) : sipCpp->readDefault(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_ItemLongLong, sipName_readDefault, NULL);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemLongLong *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton_ItemLongLong, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemLongLong::swapDefault() : sipCpp->swapDefault());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KCoreConfigSkeleton_ItemLongLong)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KConfigSkeletonItem)->ctd_cast((KConfigSkeletonItem *)(KCoreConfigSkeleton::ItemLongLong *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKCoreConfigSkeleton_ItemLongLong *>(sipCppV);
    else
        delete reinterpret_cast<KCoreConfigSkeleton::ItemLongLong *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

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

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J1n|n", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, &a2, &a3))
        {
#line 454 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
    Py_BEGIN_ALLOW_THREADS
//    sipCpp = new sipKCoreConfigSkeleton_ItemLongLong (PyItemLongLong (*a0, *a1, a2, a3));
    sipCpp = new sipKCoreConfigSkeleton_ItemLongLong (*a0, *a1, a2, a3);
    Py_END_ALLOW_THREADS
#line 7279 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KCoreConfigSkeleton_ItemLongLong[] = {
    {SIP_MLNAME_CAST(sipName_isEqual), meth_KCoreConfigSkeleton_ItemLongLong_isEqual, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_maxValue), meth_KCoreConfigSkeleton_ItemLongLong_maxValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_minValue), meth_KCoreConfigSkeleton_ItemLongLong_minValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_property), meth_KCoreConfigSkeleton_ItemLongLong_property, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readConfig), meth_KCoreConfigSkeleton_ItemLongLong_readConfig, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readDefault), meth_KCoreConfigSkeleton_ItemLongLong_readDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefault), meth_KCoreConfigSkeleton_ItemLongLong_setDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefaultValue), meth_KCoreConfigSkeleton_ItemLongLong_setDefaultValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMaxValue), meth_KCoreConfigSkeleton_ItemLongLong_setMaxValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMinValue), meth_KCoreConfigSkeleton_ItemLongLong_setMinValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setProperty), meth_KCoreConfigSkeleton_ItemLongLong_setProperty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setValue), meth_KCoreConfigSkeleton_ItemLongLong_setValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_swapDefault), meth_KCoreConfigSkeleton_ItemLongLong_swapDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_value), meth_KCoreConfigSkeleton_ItemLongLong_value, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeConfig), meth_KCoreConfigSkeleton_ItemLongLong_writeConfig, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KCoreConfigSkeleton_ItemLongLong = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCoreConfigSkeleton__ItemLongLong,
        {0}
    },
    {
        sipNameNr_ItemLongLong,
        {42, 255, 0},
        15, methods_KCoreConfigSkeleton_ItemLongLong,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KCoreConfigSkeleton_ItemLongLong,
    0,
    init_type_KCoreConfigSkeleton_ItemLongLong,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCoreConfigSkeleton_ItemLongLong,
    0,
    0,
    0,
    release_KCoreConfigSkeleton_ItemLongLong,
    cast_KCoreConfigSkeleton_ItemLongLong,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 7371 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"

#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 7375 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 36 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 7378 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 7381 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 7384 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"


class sipKCoreConfigSkeleton_ItemInt : public KCoreConfigSkeleton::ItemInt
{
public:
    sipKCoreConfigSkeleton_ItemInt(const QString&,const QString&,qint32&,qint32);
    virtual ~sipKCoreConfigSkeleton_ItemInt();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void swapDefault();
    QVariant maxValue() const;
    QVariant minValue() const;
    QVariant property() const;
    bool isEqual(const QVariant&) const;
    void setProperty(const QVariant&);
    void readDefault(KConfig*);
    void readConfig(KConfig*);
    void writeConfig(KConfig*);
    void setDefault();
    void setDefaultValue(const qint32&);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[11];
};

sipKCoreConfigSkeleton_ItemInt::sipKCoreConfigSkeleton_ItemInt(const QString& a0,const QString& a1,qint32& a2,qint32 a3): KCoreConfigSkeleton::ItemInt(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

void sipKCoreConfigSkeleton_ItemInt::swapDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemInt::swapDefault();
        return;
    }

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

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

QVariant sipKCoreConfigSkeleton_ItemInt::maxValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemInt::maxValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

QVariant sipKCoreConfigSkeleton_ItemInt::minValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemInt::minValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

QVariant sipKCoreConfigSkeleton_ItemInt::property() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemInt::property();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

bool sipKCoreConfigSkeleton_ItemInt::isEqual(const QVariant& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemInt::isEqual(a0);

    extern bool sipVH_kdecore_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVariant&);

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

void sipKCoreConfigSkeleton_ItemInt::setProperty(const QVariant& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemInt::setProperty(a0);
        return;
    }

    typedef void (*sipVH_QtCore_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVariant&);

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

void sipKCoreConfigSkeleton_ItemInt::readDefault(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemInt::readDefault(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

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

void sipKCoreConfigSkeleton_ItemInt::readConfig(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemInt::readConfig(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

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

void sipKCoreConfigSkeleton_ItemInt::writeConfig(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemInt::writeConfig(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

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

void sipKCoreConfigSkeleton_ItemInt::setDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemInt::setDefault();
        return;
    }

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

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

void sipKCoreConfigSkeleton_ItemInt::setDefaultValue(const qint32& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemInt::setDefaultValue(a0);
        return;
    }

    extern void sipVH_kdecore_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const int&);

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


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

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemInt *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCoreConfigSkeleton_ItemInt, &sipCpp, sipType_KConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemInt::readConfig(a0) : sipCpp->readConfig(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_ItemInt, sipName_readConfig, NULL);

    return NULL;
}


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

    {
        const QVariant* a0;
        int a0State = 0;
        KCoreConfigSkeleton::ItemInt *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCoreConfigSkeleton_ItemInt, &sipCpp, sipType_QVariant,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemInt::setProperty(*a0) : sipCpp->setProperty(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QVariant* a0;
        int a0State = 0;
        const KCoreConfigSkeleton::ItemInt *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCoreConfigSkeleton_ItemInt, &sipCpp, sipType_QVariant,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemInt::isEqual(*a0) : sipCpp->isEqual(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KCoreConfigSkeleton::ItemInt *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemInt::property() : sipCpp->property()));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KCoreConfigSkeleton::ItemInt *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemInt::minValue() : sipCpp->minValue()));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KCoreConfigSkeleton::ItemInt *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemInt::maxValue() : sipCpp->maxValue()));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        qint32 a0;
        KCoreConfigSkeleton::ItemInt *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KCoreConfigSkeleton_ItemInt, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMinValue(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_ItemInt, sipName_setMinValue, NULL);

    return NULL;
}


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

    {
        qint32 a0;
        KCoreConfigSkeleton::ItemInt *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KCoreConfigSkeleton_ItemInt, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMaxValue(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_ItemInt, sipName_setMaxValue, NULL);

    return NULL;
}


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

    {
        qint32 a0;
        KCoreConfigSkeleton::ItemInt *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KCoreConfigSkeleton_ItemInt, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setValue(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_ItemInt, sipName_setValue, NULL);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemInt *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton_ItemInt, &sipCpp))
        {
            qint32 sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->value();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        qint32 a0;
        KCoreConfigSkeleton::ItemInt *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KCoreConfigSkeleton_ItemInt, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemInt::setDefaultValue(a0) : sipCpp->setDefaultValue(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_ItemInt, sipName_setDefaultValue, NULL);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemInt *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton_ItemInt, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemInt::setDefault() : sipCpp->setDefault());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemInt *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCoreConfigSkeleton_ItemInt, &sipCpp, sipType_KConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemInt::writeConfig(a0) : sipCpp->writeConfig(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_ItemInt, sipName_writeConfig, NULL);

    return NULL;
}


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

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemInt *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCoreConfigSkeleton_ItemInt, &sipCpp, sipType_KConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemInt::readDefault(a0) : sipCpp->readDefault(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_ItemInt, sipName_readDefault, NULL);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemInt *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton_ItemInt, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemInt::swapDefault() : sipCpp->swapDefault());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KCoreConfigSkeleton_ItemInt)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KConfigSkeletonItem)->ctd_cast((KConfigSkeletonItem *)(KCoreConfigSkeleton::ItemInt *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKCoreConfigSkeleton_ItemInt *>(sipCppV);
    else
        delete reinterpret_cast<KCoreConfigSkeleton::ItemInt *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

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

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J1i|i", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, &a2, &a3))
        {
#line 415 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
    Py_BEGIN_ALLOW_THREADS
//    sipCpp = new sipKCoreConfigSkeleton_ItemInt (PyItemInt (*a0, *a1, a2, a3));
    sipCpp = new sipKCoreConfigSkeleton_ItemInt (*a0, *a1, a2, a3);
    Py_END_ALLOW_THREADS

#line 8101 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KCoreConfigSkeleton_ItemInt[] = {
    {SIP_MLNAME_CAST(sipName_isEqual), meth_KCoreConfigSkeleton_ItemInt_isEqual, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_maxValue), meth_KCoreConfigSkeleton_ItemInt_maxValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_minValue), meth_KCoreConfigSkeleton_ItemInt_minValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_property), meth_KCoreConfigSkeleton_ItemInt_property, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readConfig), meth_KCoreConfigSkeleton_ItemInt_readConfig, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readDefault), meth_KCoreConfigSkeleton_ItemInt_readDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefault), meth_KCoreConfigSkeleton_ItemInt_setDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefaultValue), meth_KCoreConfigSkeleton_ItemInt_setDefaultValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMaxValue), meth_KCoreConfigSkeleton_ItemInt_setMaxValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMinValue), meth_KCoreConfigSkeleton_ItemInt_setMinValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setProperty), meth_KCoreConfigSkeleton_ItemInt_setProperty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setValue), meth_KCoreConfigSkeleton_ItemInt_setValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_swapDefault), meth_KCoreConfigSkeleton_ItemInt_swapDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_value), meth_KCoreConfigSkeleton_ItemInt_value, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeConfig), meth_KCoreConfigSkeleton_ItemInt_writeConfig, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KCoreConfigSkeleton_ItemInt = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCoreConfigSkeleton__ItemInt,
        {0}
    },
    {
        sipNameNr_ItemInt,
        {42, 255, 0},
        15, methods_KCoreConfigSkeleton_ItemInt,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KCoreConfigSkeleton_ItemInt,
    0,
    init_type_KCoreConfigSkeleton_ItemInt,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCoreConfigSkeleton_ItemInt,
    0,
    0,
    0,
    release_KCoreConfigSkeleton_ItemInt,
    cast_KCoreConfigSkeleton_ItemInt,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 8193 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"

#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 8197 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 36 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 8200 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 8203 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 8206 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"


class sipKCoreConfigSkeleton_ItemBool : public KCoreConfigSkeleton::ItemBool
{
public:
    sipKCoreConfigSkeleton_ItemBool(const QString&,const QString&,bool&,bool);
    virtual ~sipKCoreConfigSkeleton_ItemBool();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void swapDefault();
    QVariant maxValue() const;
    QVariant minValue() const;
    QVariant property() const;
    bool isEqual(const QVariant&) const;
    void setProperty(const QVariant&);
    void readDefault(KConfig*);
    void readConfig(KConfig*);
    void writeConfig(KConfig*);
    void setDefault();
    void setDefaultValue(const bool&);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[11];
};

sipKCoreConfigSkeleton_ItemBool::sipKCoreConfigSkeleton_ItemBool(const QString& a0,const QString& a1,bool& a2,bool a3): KCoreConfigSkeleton::ItemBool(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

void sipKCoreConfigSkeleton_ItemBool::swapDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemBool::swapDefault();
        return;
    }

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

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

QVariant sipKCoreConfigSkeleton_ItemBool::maxValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemBool::maxValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

QVariant sipKCoreConfigSkeleton_ItemBool::minValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemBool::minValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

QVariant sipKCoreConfigSkeleton_ItemBool::property() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemBool::property();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

bool sipKCoreConfigSkeleton_ItemBool::isEqual(const QVariant& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemBool::isEqual(a0);

    extern bool sipVH_kdecore_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVariant&);

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

void sipKCoreConfigSkeleton_ItemBool::setProperty(const QVariant& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemBool::setProperty(a0);
        return;
    }

    typedef void (*sipVH_QtCore_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVariant&);

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

void sipKCoreConfigSkeleton_ItemBool::readDefault(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemBool::readDefault(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

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

void sipKCoreConfigSkeleton_ItemBool::readConfig(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemBool::readConfig(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

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

void sipKCoreConfigSkeleton_ItemBool::writeConfig(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemBool::writeConfig(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

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

void sipKCoreConfigSkeleton_ItemBool::setDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemBool::setDefault();
        return;
    }

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

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

void sipKCoreConfigSkeleton_ItemBool::setDefaultValue(const bool& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemBool::setDefaultValue(a0);
        return;
    }

    extern void sipVH_kdecore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const bool&);

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


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

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemBool *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCoreConfigSkeleton_ItemBool, &sipCpp, sipType_KConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemBool::readConfig(a0) : sipCpp->readConfig(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_ItemBool, sipName_readConfig, NULL);

    return NULL;
}


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

    {
        const QVariant* a0;
        int a0State = 0;
        KCoreConfigSkeleton::ItemBool *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCoreConfigSkeleton_ItemBool, &sipCpp, sipType_QVariant,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemBool::setProperty(*a0) : sipCpp->setProperty(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QVariant* a0;
        int a0State = 0;
        const KCoreConfigSkeleton::ItemBool *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCoreConfigSkeleton_ItemBool, &sipCpp, sipType_QVariant,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemBool::isEqual(*a0) : sipCpp->isEqual(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KCoreConfigSkeleton::ItemBool *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemBool::property() : sipCpp->property()));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        bool a0;
        KCoreConfigSkeleton::ItemBool *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KCoreConfigSkeleton_ItemBool, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setValue(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_ItemBool, sipName_setValue, NULL);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemBool *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->value();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        KCoreConfigSkeleton::ItemBool *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KCoreConfigSkeleton_ItemBool, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemBool::setDefaultValue(a0) : sipCpp->setDefaultValue(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_ItemBool, sipName_setDefaultValue, NULL);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemBool *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton_ItemBool, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemBool::setDefault() : sipCpp->setDefault());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemBool *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCoreConfigSkeleton_ItemBool, &sipCpp, sipType_KConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemBool::writeConfig(a0) : sipCpp->writeConfig(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_ItemBool, sipName_writeConfig, NULL);

    return NULL;
}


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

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemBool *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCoreConfigSkeleton_ItemBool, &sipCpp, sipType_KConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemBool::readDefault(a0) : sipCpp->readDefault(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_ItemBool, sipName_readDefault, NULL);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemBool *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton_ItemBool, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemBool::swapDefault() : sipCpp->swapDefault());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KCoreConfigSkeleton_ItemBool)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KConfigSkeletonItem)->ctd_cast((KConfigSkeletonItem *)(KCoreConfigSkeleton::ItemBool *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKCoreConfigSkeleton_ItemBool *>(sipCppV);
    else
        delete reinterpret_cast<KCoreConfigSkeleton::ItemBool *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        bool a2;
        bool a3 = 1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J1b|b", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, &a2, &a3))
        {
#line 324 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
    Py_BEGIN_ALLOW_THREADS
//    sipCpp = new sipKCoreConfigSkeleton_ItemBool (PyItemBool (*a0, *a1, a2, a3));
    sipCpp = new sipKCoreConfigSkeleton_ItemBool (*a0, *a1, a2, a3);
    Py_END_ALLOW_THREADS

#line 8813 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KCoreConfigSkeleton_ItemBool[] = {
    {SIP_MLNAME_CAST(sipName_isEqual), meth_KCoreConfigSkeleton_ItemBool_isEqual, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_property), meth_KCoreConfigSkeleton_ItemBool_property, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readConfig), meth_KCoreConfigSkeleton_ItemBool_readConfig, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readDefault), meth_KCoreConfigSkeleton_ItemBool_readDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefault), meth_KCoreConfigSkeleton_ItemBool_setDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefaultValue), meth_KCoreConfigSkeleton_ItemBool_setDefaultValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setProperty), meth_KCoreConfigSkeleton_ItemBool_setProperty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setValue), meth_KCoreConfigSkeleton_ItemBool_setValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_swapDefault), meth_KCoreConfigSkeleton_ItemBool_swapDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_value), meth_KCoreConfigSkeleton_ItemBool_value, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeConfig), meth_KCoreConfigSkeleton_ItemBool_writeConfig, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KCoreConfigSkeleton_ItemBool = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KCoreConfigSkeleton__ItemBool,
        {0}
    },
    {
        sipNameNr_ItemBool,
        {42, 255, 0},
        11, methods_KCoreConfigSkeleton_ItemBool,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KCoreConfigSkeleton_ItemBool,
    0,
    init_type_KCoreConfigSkeleton_ItemBool,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCoreConfigSkeleton_ItemBool,
    0,
    0,
    0,
    release_KCoreConfigSkeleton_ItemBool,
    cast_KCoreConfigSkeleton_ItemBool,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 8901 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"

#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 8905 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 8908 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 36 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 8911 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 8914 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"


class sipKCoreConfigSkeleton_ItemProperty : public KCoreConfigSkeleton::ItemProperty
{
public:
    sipKCoreConfigSkeleton_ItemProperty(const QString&,const QString&,QVariant&,const QVariant&);
    virtual ~sipKCoreConfigSkeleton_ItemProperty();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void swapDefault();
    QVariant maxValue() const;
    QVariant minValue() const;
    QVariant property() const;
    bool isEqual(const QVariant&) const;
    void setProperty(const QVariant&);
    void readDefault(KConfig*);
    void readConfig(KConfig*);
    void writeConfig(KConfig*);
    void setDefault();
    void setDefaultValue(const QVariant&);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[11];
};

sipKCoreConfigSkeleton_ItemProperty::sipKCoreConfigSkeleton_ItemProperty(const QString& a0,const QString& a1,QVariant& a2,const QVariant& a3): KCoreConfigSkeleton::ItemProperty(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

void sipKCoreConfigSkeleton_ItemProperty::swapDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemProperty::swapDefault();
        return;
    }

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

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

QVariant sipKCoreConfigSkeleton_ItemProperty::maxValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemProperty::maxValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

QVariant sipKCoreConfigSkeleton_ItemProperty::minValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemProperty::minValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

QVariant sipKCoreConfigSkeleton_ItemProperty::property() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemProperty::property();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

bool sipKCoreConfigSkeleton_ItemProperty::isEqual(const QVariant& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemProperty::isEqual(a0);

    extern bool sipVH_kdecore_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVariant&);

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

void sipKCoreConfigSkeleton_ItemProperty::setProperty(const QVariant& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemProperty::setProperty(a0);
        return;
    }

    typedef void (*sipVH_QtCore_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVariant&);

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

void sipKCoreConfigSkeleton_ItemProperty::readDefault(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemProperty::readDefault(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

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

void sipKCoreConfigSkeleton_ItemProperty::readConfig(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemProperty::readConfig(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

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

void sipKCoreConfigSkeleton_ItemProperty::writeConfig(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemProperty::writeConfig(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

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

void sipKCoreConfigSkeleton_ItemProperty::setDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemProperty::setDefault();
        return;
    }

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

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

void sipKCoreConfigSkeleton_ItemProperty::setDefaultValue(const QVariant& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemProperty::setDefaultValue(a0);
        return;
    }

    typedef void (*sipVH_QtCore_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVariant&);

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


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

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemProperty *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCoreConfigSkeleton_ItemProperty, &sipCpp, sipType_KConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemProperty::readConfig(a0) : sipCpp->readConfig(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_ItemProperty, sipName_readConfig, NULL);

    return NULL;
}


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

    {
        const QVariant* a0;
        int a0State = 0;
        KCoreConfigSkeleton::ItemProperty *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCoreConfigSkeleton_ItemProperty, &sipCpp, sipType_QVariant,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemProperty::setProperty(*a0) : sipCpp->setProperty(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QVariant* a0;
        int a0State = 0;
        const KCoreConfigSkeleton::ItemProperty *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCoreConfigSkeleton_ItemProperty, &sipCpp, sipType_QVariant,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemProperty::isEqual(*a0) : sipCpp->isEqual(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KCoreConfigSkeleton::ItemProperty *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemProperty::property() : sipCpp->property()));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QVariant* a0;
        int a0State = 0;
        KCoreConfigSkeleton::ItemProperty *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCoreConfigSkeleton_ItemProperty, &sipCpp, sipType_QVariant,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setValue(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemProperty *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->value();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QVariant* a0;
        int a0State = 0;
        KCoreConfigSkeleton::ItemProperty *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCoreConfigSkeleton_ItemProperty, &sipCpp, sipType_QVariant,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemProperty::setDefaultValue(*a0) : sipCpp->setDefaultValue(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemProperty *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton_ItemProperty, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemProperty::setDefault() : sipCpp->setDefault());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemProperty *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCoreConfigSkeleton_ItemProperty, &sipCpp, sipType_KConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemProperty::writeConfig(a0) : sipCpp->writeConfig(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_ItemProperty, sipName_writeConfig, NULL);

    return NULL;
}


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

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemProperty *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCoreConfigSkeleton_ItemProperty, &sipCpp, sipType_KConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemProperty::readDefault(a0) : sipCpp->readDefault(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_ItemProperty, sipName_readDefault, NULL);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemProperty *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton_ItemProperty, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemProperty::swapDefault() : sipCpp->swapDefault());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KCoreConfigSkeleton_ItemProperty)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KConfigSkeletonItem)->ctd_cast((KConfigSkeletonItem *)(KCoreConfigSkeleton::ItemProperty *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKCoreConfigSkeleton_ItemProperty *>(sipCppV);
    else
        delete reinterpret_cast<KCoreConfigSkeleton::ItemProperty *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        QVariant* a2;
        int a2State = 0;
        const QVariant& a3def = 0;
        const QVariant* a3 = &a3def;
        int a3State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J1J1|J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QVariant,&a2, &a2State, sipType_QVariant,&a3, &a3State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKCoreConfigSkeleton_ItemProperty(*a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(a2,sipType_QVariant,a2State);
            sipReleaseType(const_cast<QVariant *>(a3),sipType_QVariant,a3State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KCoreConfigSkeleton_ItemProperty[] = {
    {SIP_MLNAME_CAST(sipName_isEqual), meth_KCoreConfigSkeleton_ItemProperty_isEqual, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_property), meth_KCoreConfigSkeleton_ItemProperty_property, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readConfig), meth_KCoreConfigSkeleton_ItemProperty_readConfig, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readDefault), meth_KCoreConfigSkeleton_ItemProperty_readDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefault), meth_KCoreConfigSkeleton_ItemProperty_setDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefaultValue), meth_KCoreConfigSkeleton_ItemProperty_setDefaultValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setProperty), meth_KCoreConfigSkeleton_ItemProperty_setProperty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setValue), meth_KCoreConfigSkeleton_ItemProperty_setValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_swapDefault), meth_KCoreConfigSkeleton_ItemProperty_swapDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_value), meth_KCoreConfigSkeleton_ItemProperty_value, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeConfig), meth_KCoreConfigSkeleton_ItemProperty_writeConfig, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KCoreConfigSkeleton_ItemProperty = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCoreConfigSkeleton__ItemProperty,
        {0}
    },
    {
        sipNameNr_ItemProperty,
        {42, 255, 0},
        11, methods_KCoreConfigSkeleton_ItemProperty,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KCoreConfigSkeleton_ItemProperty,
    0,
    init_type_KCoreConfigSkeleton_ItemProperty,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCoreConfigSkeleton_ItemProperty,
    0,
    0,
    0,
    release_KCoreConfigSkeleton_ItemProperty,
    cast_KCoreConfigSkeleton_ItemProperty,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 9614 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"

#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 9618 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 9621 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 36 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 9624 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 9627 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 9630 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"


class sipKCoreConfigSkeleton_ItemUrl : public KCoreConfigSkeleton::ItemUrl
{
public:
    sipKCoreConfigSkeleton_ItemUrl(const QString&,const QString&,KUrl&,const KUrl&);
    virtual ~sipKCoreConfigSkeleton_ItemUrl();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void swapDefault();
    QVariant maxValue() const;
    QVariant minValue() const;
    QVariant property() const;
    bool isEqual(const QVariant&) const;
    void setProperty(const QVariant&);
    void readDefault(KConfig*);
    void writeConfig(KConfig*);
    void readConfig(KConfig*);
    void setDefault();
    void setDefaultValue(const KUrl&);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[11];
};

sipKCoreConfigSkeleton_ItemUrl::sipKCoreConfigSkeleton_ItemUrl(const QString& a0,const QString& a1,KUrl& a2,const KUrl& a3): KCoreConfigSkeleton::ItemUrl(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

void sipKCoreConfigSkeleton_ItemUrl::swapDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemUrl::swapDefault();
        return;
    }

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

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

QVariant sipKCoreConfigSkeleton_ItemUrl::maxValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemUrl::maxValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

QVariant sipKCoreConfigSkeleton_ItemUrl::minValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemUrl::minValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

QVariant sipKCoreConfigSkeleton_ItemUrl::property() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemUrl::property();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

bool sipKCoreConfigSkeleton_ItemUrl::isEqual(const QVariant& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemUrl::isEqual(a0);

    extern bool sipVH_kdecore_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVariant&);

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

void sipKCoreConfigSkeleton_ItemUrl::setProperty(const QVariant& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemUrl::setProperty(a0);
        return;
    }

    typedef void (*sipVH_QtCore_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVariant&);

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

void sipKCoreConfigSkeleton_ItemUrl::readDefault(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemUrl::readDefault(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

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

void sipKCoreConfigSkeleton_ItemUrl::writeConfig(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemUrl::writeConfig(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

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

void sipKCoreConfigSkeleton_ItemUrl::readConfig(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemUrl::readConfig(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

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

void sipKCoreConfigSkeleton_ItemUrl::setDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemUrl::setDefault();
        return;
    }

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

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

void sipKCoreConfigSkeleton_ItemUrl::setDefaultValue(const KUrl& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemUrl::setDefaultValue(a0);
        return;
    }

    extern void sipVH_kdecore_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KUrl&);

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


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

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemUrl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCoreConfigSkeleton_ItemUrl, &sipCpp, sipType_KConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemUrl::writeConfig(a0) : sipCpp->writeConfig(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_ItemUrl, sipName_writeConfig, NULL);

    return NULL;
}


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

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemUrl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCoreConfigSkeleton_ItemUrl, &sipCpp, sipType_KConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemUrl::readConfig(a0) : sipCpp->readConfig(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_ItemUrl, sipName_readConfig, NULL);

    return NULL;
}


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

    {
        const QVariant* a0;
        int a0State = 0;
        KCoreConfigSkeleton::ItemUrl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCoreConfigSkeleton_ItemUrl, &sipCpp, sipType_QVariant,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemUrl::setProperty(*a0) : sipCpp->setProperty(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QVariant* a0;
        int a0State = 0;
        const KCoreConfigSkeleton::ItemUrl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCoreConfigSkeleton_ItemUrl, &sipCpp, sipType_QVariant,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemUrl::isEqual(*a0) : sipCpp->isEqual(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KCoreConfigSkeleton::ItemUrl *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemUrl::property() : sipCpp->property()));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KUrl* a0;
        KCoreConfigSkeleton::ItemUrl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KCoreConfigSkeleton_ItemUrl, &sipCpp, sipType_KUrl, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setValue(*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_ItemUrl, sipName_setValue, NULL);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemUrl *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->value();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KUrl* a0;
        KCoreConfigSkeleton::ItemUrl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KCoreConfigSkeleton_ItemUrl, &sipCpp, sipType_KUrl, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemUrl::setDefaultValue(*a0) : sipCpp->setDefaultValue(*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_ItemUrl, sipName_setDefaultValue, NULL);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemUrl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton_ItemUrl, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemUrl::setDefault() : sipCpp->setDefault());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemUrl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCoreConfigSkeleton_ItemUrl, &sipCpp, sipType_KConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemUrl::readDefault(a0) : sipCpp->readDefault(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_ItemUrl, sipName_readDefault, NULL);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemUrl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton_ItemUrl, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemUrl::swapDefault() : sipCpp->swapDefault());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KCoreConfigSkeleton_ItemUrl)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KConfigSkeletonItem)->ctd_cast((KConfigSkeletonItem *)(KCoreConfigSkeleton::ItemUrl *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKCoreConfigSkeleton_ItemUrl *>(sipCppV);
    else
        delete reinterpret_cast<KCoreConfigSkeleton::ItemUrl *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        KUrl* a2;
        const KUrl& a3def = KUrl();
        const KUrl* a3 = &a3def;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J1J9|J9", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_KUrl, &a2, sipType_KUrl, &a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKCoreConfigSkeleton_ItemUrl(*a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KCoreConfigSkeleton_ItemUrl[] = {
    {SIP_MLNAME_CAST(sipName_isEqual), meth_KCoreConfigSkeleton_ItemUrl_isEqual, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_property), meth_KCoreConfigSkeleton_ItemUrl_property, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readConfig), meth_KCoreConfigSkeleton_ItemUrl_readConfig, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readDefault), meth_KCoreConfigSkeleton_ItemUrl_readDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefault), meth_KCoreConfigSkeleton_ItemUrl_setDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefaultValue), meth_KCoreConfigSkeleton_ItemUrl_setDefaultValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setProperty), meth_KCoreConfigSkeleton_ItemUrl_setProperty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setValue), meth_KCoreConfigSkeleton_ItemUrl_setValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_swapDefault), meth_KCoreConfigSkeleton_ItemUrl_swapDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_value), meth_KCoreConfigSkeleton_ItemUrl_value, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeConfig), meth_KCoreConfigSkeleton_ItemUrl_writeConfig, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KCoreConfigSkeleton_ItemUrl = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCoreConfigSkeleton__ItemUrl,
        {0}
    },
    {
        sipNameNr_ItemUrl,
        {42, 255, 0},
        11, methods_KCoreConfigSkeleton_ItemUrl,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KCoreConfigSkeleton_ItemUrl,
    0,
    init_type_KCoreConfigSkeleton_ItemUrl,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCoreConfigSkeleton_ItemUrl,
    0,
    0,
    0,
    release_KCoreConfigSkeleton_ItemUrl,
    cast_KCoreConfigSkeleton_ItemUrl,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 10322 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"

#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 10326 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 36 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 10329 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 10332 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 10335 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"


class sipKCoreConfigSkeleton_ItemPath : public KCoreConfigSkeleton::ItemPath
{
public:
    sipKCoreConfigSkeleton_ItemPath(const QString&,const QString&,QString&,const QString&);
    virtual ~sipKCoreConfigSkeleton_ItemPath();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void swapDefault();
    QVariant maxValue() const;
    QVariant minValue() const;
    QVariant property() const;
    bool isEqual(const QVariant&) const;
    void setProperty(const QVariant&);
    void readDefault(KConfig*);
    void writeConfig(KConfig*);
    void readConfig(KConfig*);
    void setDefault();
    void setDefaultValue(const QString&);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[11];
};

sipKCoreConfigSkeleton_ItemPath::sipKCoreConfigSkeleton_ItemPath(const QString& a0,const QString& a1,QString& a2,const QString& a3): KCoreConfigSkeleton::ItemPath(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

void sipKCoreConfigSkeleton_ItemPath::swapDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemPath::swapDefault();
        return;
    }

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

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

QVariant sipKCoreConfigSkeleton_ItemPath::maxValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemPath::maxValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

QVariant sipKCoreConfigSkeleton_ItemPath::minValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemPath::minValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

QVariant sipKCoreConfigSkeleton_ItemPath::property() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemPath::property();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

bool sipKCoreConfigSkeleton_ItemPath::isEqual(const QVariant& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemPath::isEqual(a0);

    extern bool sipVH_kdecore_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVariant&);

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

void sipKCoreConfigSkeleton_ItemPath::setProperty(const QVariant& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemPath::setProperty(a0);
        return;
    }

    typedef void (*sipVH_QtCore_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVariant&);

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

void sipKCoreConfigSkeleton_ItemPath::readDefault(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemPath::readDefault(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

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

void sipKCoreConfigSkeleton_ItemPath::writeConfig(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemPath::writeConfig(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

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

void sipKCoreConfigSkeleton_ItemPath::readConfig(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemPath::readConfig(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

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

void sipKCoreConfigSkeleton_ItemPath::setDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemPath::setDefault();
        return;
    }

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

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

void sipKCoreConfigSkeleton_ItemPath::setDefaultValue(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemPath::setDefaultValue(a0);
        return;
    }

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

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


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

    {
        const QString* a0;
        int a0State = 0;
        KCoreConfigSkeleton::ItemPath *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCoreConfigSkeleton_ItemPath, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setValue(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemPath *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->value();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QString* a0;
        int a0State = 0;
        KCoreConfigSkeleton::ItemPath *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCoreConfigSkeleton_ItemPath, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemPath::setDefaultValue(*a0) : sipCpp->setDefaultValue(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemPath *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton_ItemPath, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemPath::setDefault() : sipCpp->setDefault());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemPath *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCoreConfigSkeleton_ItemPath, &sipCpp, sipType_KConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemPath::readDefault(a0) : sipCpp->readDefault(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_ItemPath, sipName_readDefault, NULL);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemPath *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton_ItemPath, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemPath::swapDefault() : sipCpp->swapDefault());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KCoreConfigSkeleton_ItemPath)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KCoreConfigSkeleton_ItemString)->ctd_cast((KCoreConfigSkeleton::ItemString *)(KCoreConfigSkeleton::ItemPath *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKCoreConfigSkeleton_ItemPath *>(sipCppV);
    else
        delete reinterpret_cast<KCoreConfigSkeleton::ItemPath *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        QString* a2;
        int a2State = 0;
        const QString& a3def = QString();
        const QString* a3 = &a3def;
        int a3State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J1J1|J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKCoreConfigSkeleton_ItemPath(*a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(a2,sipType_QString,a2State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KCoreConfigSkeleton_ItemPath[] = {
    {SIP_MLNAME_CAST(sipName_readDefault), meth_KCoreConfigSkeleton_ItemPath_readDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefault), meth_KCoreConfigSkeleton_ItemPath_setDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefaultValue), meth_KCoreConfigSkeleton_ItemPath_setDefaultValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setValue), meth_KCoreConfigSkeleton_ItemPath_setValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_swapDefault), meth_KCoreConfigSkeleton_ItemPath_swapDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_value), meth_KCoreConfigSkeleton_ItemPath_value, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KCoreConfigSkeleton_ItemPath = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCoreConfigSkeleton__ItemPath,
        {0}
    },
    {
        sipNameNr_ItemPath,
        {42, 255, 0},
        6, methods_KCoreConfigSkeleton_ItemPath,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KCoreConfigSkeleton_ItemPath,
    0,
    init_type_KCoreConfigSkeleton_ItemPath,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCoreConfigSkeleton_ItemPath,
    0,
    0,
    0,
    release_KCoreConfigSkeleton_ItemPath,
    cast_KCoreConfigSkeleton_ItemPath,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 10885 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"

#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 10889 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 36 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 10892 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 10895 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 10898 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"


class sipKCoreConfigSkeleton_ItemPassword : public KCoreConfigSkeleton::ItemPassword
{
public:
    sipKCoreConfigSkeleton_ItemPassword(const QString&,const QString&,QString&,const QString&);
    virtual ~sipKCoreConfigSkeleton_ItemPassword();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void swapDefault();
    QVariant maxValue() const;
    QVariant minValue() const;
    QVariant property() const;
    bool isEqual(const QVariant&) const;
    void setProperty(const QVariant&);
    void readDefault(KConfig*);
    void writeConfig(KConfig*);
    void readConfig(KConfig*);
    void setDefault();
    void setDefaultValue(const QString&);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[11];
};

sipKCoreConfigSkeleton_ItemPassword::sipKCoreConfigSkeleton_ItemPassword(const QString& a0,const QString& a1,QString& a2,const QString& a3): KCoreConfigSkeleton::ItemPassword(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

void sipKCoreConfigSkeleton_ItemPassword::swapDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemPassword::swapDefault();
        return;
    }

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

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

QVariant sipKCoreConfigSkeleton_ItemPassword::maxValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemPassword::maxValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

QVariant sipKCoreConfigSkeleton_ItemPassword::minValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemPassword::minValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

QVariant sipKCoreConfigSkeleton_ItemPassword::property() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_property);

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemPassword::property();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdecore_48(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKCoreConfigSkeleton_ItemPassword::isEqual(const QVariant& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_isEqual);

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemPassword::isEqual(a0);

    extern bool sipVH_kdecore_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVariant&);

    return sipVH_kdecore_49(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCoreConfigSkeleton_ItemPassword::setProperty(const QVariant& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_setProperty);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemPassword::setProperty(a0);
        return;
    }

    typedef void (*sipVH_QtCore_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVariant&);

    ((sipVH_QtCore_2)(sipModuleAPI_kdecore_QtCore->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCoreConfigSkeleton_ItemPassword::readDefault(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_readDefault);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemPassword::readDefault(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

    sipVH_kdecore_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCoreConfigSkeleton_ItemPassword::writeConfig(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_writeConfig);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemPassword::writeConfig(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

    sipVH_kdecore_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCoreConfigSkeleton_ItemPassword::readConfig(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_readConfig);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemPassword::readConfig(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

    sipVH_kdecore_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCoreConfigSkeleton_ItemPassword::setDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_setDefault);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemPassword::setDefault();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKCoreConfigSkeleton_ItemPassword::setDefaultValue(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_setDefaultValue);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemPassword::setDefaultValue(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kdecore_QtCore->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemPassword_setValue(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemPassword_setValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KCoreConfigSkeleton::ItemPassword *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCoreConfigSkeleton_ItemPassword, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setValue(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ItemPassword, sipName_setValue, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemPassword_value(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemPassword_value(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KCoreConfigSkeleton::ItemPassword *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton_ItemPassword, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->value();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ItemPassword, sipName_value, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemPassword_setDefaultValue(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemPassword_setDefaultValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        KCoreConfigSkeleton::ItemPassword *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCoreConfigSkeleton_ItemPassword, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemPassword::setDefaultValue(*a0) : sipCpp->setDefaultValue(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ItemPassword, sipName_setDefaultValue, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemPassword_setDefault(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemPassword_setDefault(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KCoreConfigSkeleton::ItemPassword *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton_ItemPassword, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemPassword::setDefault() : sipCpp->setDefault());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ItemPassword, sipName_setDefault, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemPassword_readDefault(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemPassword_readDefault(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemPassword *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCoreConfigSkeleton_ItemPassword, &sipCpp, sipType_KConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemPassword::readDefault(a0) : sipCpp->readDefault(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_ItemPassword, sipName_readDefault, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemPassword_swapDefault(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemPassword_swapDefault(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KCoreConfigSkeleton::ItemPassword *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton_ItemPassword, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemPassword::swapDefault() : sipCpp->swapDefault());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ItemPassword, sipName_swapDefault, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KCoreConfigSkeleton_ItemPassword(void *, const sipTypeDef *);}
static void *cast_KCoreConfigSkeleton_ItemPassword(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KCoreConfigSkeleton_ItemPassword)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KCoreConfigSkeleton_ItemString)->ctd_cast((KCoreConfigSkeleton::ItemString *)(KCoreConfigSkeleton::ItemPassword *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KCoreConfigSkeleton_ItemPassword(void *, int);}
static void release_KCoreConfigSkeleton_ItemPassword(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKCoreConfigSkeleton_ItemPassword *>(sipCppV);
    else
        delete reinterpret_cast<KCoreConfigSkeleton::ItemPassword *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KCoreConfigSkeleton_ItemPassword(sipSimpleWrapper *);}
static void dealloc_KCoreConfigSkeleton_ItemPassword(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKCoreConfigSkeleton_ItemPassword *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KCoreConfigSkeleton_ItemPassword(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KCoreConfigSkeleton_ItemPassword(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KCoreConfigSkeleton_ItemPassword(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipKCoreConfigSkeleton_ItemPassword *sipCpp = 0;

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        QString* a2;
        int a2State = 0;
        const QString& a3def = QLatin1String("");
        const QString* a3 = &a3def;
        int a3State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J1J1|J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKCoreConfigSkeleton_ItemPassword(*a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(a2,sipType_QString,a2State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KCoreConfigSkeleton_ItemPassword[] = {{59, 255, 1}};


static PyMethodDef methods_KCoreConfigSkeleton_ItemPassword[] = {
    {SIP_MLNAME_CAST(sipName_readDefault), meth_KCoreConfigSkeleton_ItemPassword_readDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefault), meth_KCoreConfigSkeleton_ItemPassword_setDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefaultValue), meth_KCoreConfigSkeleton_ItemPassword_setDefaultValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setValue), meth_KCoreConfigSkeleton_ItemPassword_setValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_swapDefault), meth_KCoreConfigSkeleton_ItemPassword_swapDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_value), meth_KCoreConfigSkeleton_ItemPassword_value, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KCoreConfigSkeleton_ItemPassword = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCoreConfigSkeleton__ItemPassword,
        {0}
    },
    {
        sipNameNr_ItemPassword,
        {42, 255, 0},
        6, methods_KCoreConfigSkeleton_ItemPassword,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KCoreConfigSkeleton_ItemPassword,
    0,
    init_type_KCoreConfigSkeleton_ItemPassword,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCoreConfigSkeleton_ItemPassword,
    0,
    0,
    0,
    release_KCoreConfigSkeleton_ItemPassword,
    cast_KCoreConfigSkeleton_ItemPassword,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 11448 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"

#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 11452 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 36 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 11455 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 11458 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 11461 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"


class sipKCoreConfigSkeleton_ItemString : public KCoreConfigSkeleton::ItemString
{
public:
    sipKCoreConfigSkeleton_ItemString(const QString&,const QString&,QString&,const QString&,KCoreConfigSkeleton::ItemString::Type);
    virtual ~sipKCoreConfigSkeleton_ItemString();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void swapDefault();
    QVariant maxValue() const;
    QVariant minValue() const;
    QVariant property() const;
    bool isEqual(const QVariant&) const;
    void setProperty(const QVariant&);
    void readDefault(KConfig*);
    void writeConfig(KConfig*);
    void readConfig(KConfig*);
    void setDefault();
    void setDefaultValue(const QString&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKCoreConfigSkeleton_ItemString(const sipKCoreConfigSkeleton_ItemString &);
    sipKCoreConfigSkeleton_ItemString &operator = (const sipKCoreConfigSkeleton_ItemString &);

    char sipPyMethods[11];
};

sipKCoreConfigSkeleton_ItemString::sipKCoreConfigSkeleton_ItemString(const QString& a0,const QString& a1,QString& a2,const QString& a3,KCoreConfigSkeleton::ItemString::Type a4): KCoreConfigSkeleton::ItemString(a0,a1,a2,a3,a4), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKCoreConfigSkeleton_ItemString::~sipKCoreConfigSkeleton_ItemString()
{
    sipCommonDtor(sipPySelf);
}

void sipKCoreConfigSkeleton_ItemString::swapDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_swapDefault);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemString::swapDefault();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

QVariant sipKCoreConfigSkeleton_ItemString::maxValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_maxValue);

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemString::maxValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdecore_48(sipGILState, 0, sipPySelf, sipMeth);
}

QVariant sipKCoreConfigSkeleton_ItemString::minValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_minValue);

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemString::minValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdecore_48(sipGILState, 0, sipPySelf, sipMeth);
}

QVariant sipKCoreConfigSkeleton_ItemString::property() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_property);

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemString::property();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdecore_48(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKCoreConfigSkeleton_ItemString::isEqual(const QVariant& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_isEqual);

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemString::isEqual(a0);

    extern bool sipVH_kdecore_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVariant&);

    return sipVH_kdecore_49(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCoreConfigSkeleton_ItemString::setProperty(const QVariant& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_setProperty);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemString::setProperty(a0);
        return;
    }

    typedef void (*sipVH_QtCore_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVariant&);

    ((sipVH_QtCore_2)(sipModuleAPI_kdecore_QtCore->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCoreConfigSkeleton_ItemString::readDefault(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_readDefault);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemString::readDefault(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

    sipVH_kdecore_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCoreConfigSkeleton_ItemString::writeConfig(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_writeConfig);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemString::writeConfig(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

    sipVH_kdecore_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCoreConfigSkeleton_ItemString::readConfig(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_readConfig);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemString::readConfig(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

    sipVH_kdecore_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCoreConfigSkeleton_ItemString::setDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_setDefault);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemString::setDefault();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKCoreConfigSkeleton_ItemString::setDefaultValue(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_setDefaultValue);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemString::setDefaultValue(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kdecore_QtCore->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemString_writeConfig(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemString_writeConfig(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCoreConfigSkeleton_ItemString, &sipCpp, sipType_KConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemString::writeConfig(a0) : sipCpp->writeConfig(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_ItemString, sipName_writeConfig, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemString_readConfig(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemString_readConfig(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCoreConfigSkeleton_ItemString, &sipCpp, sipType_KConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemString::readConfig(a0) : sipCpp->readConfig(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_ItemString, sipName_readConfig, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemString_setProperty(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemString_setProperty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QVariant* a0;
        int a0State = 0;
        KCoreConfigSkeleton::ItemString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCoreConfigSkeleton_ItemString, &sipCpp, sipType_QVariant,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemString::setProperty(*a0) : sipCpp->setProperty(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ItemString, sipName_setProperty, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemString_isEqual(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemString_isEqual(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QVariant* a0;
        int a0State = 0;
        const KCoreConfigSkeleton::ItemString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCoreConfigSkeleton_ItemString, &sipCpp, sipType_QVariant,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemString::isEqual(*a0) : sipCpp->isEqual(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ItemString, sipName_isEqual, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemString_property(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemString_property(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KCoreConfigSkeleton::ItemString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton_ItemString, &sipCpp))
        {
            QVariant*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemString::property() : sipCpp->property()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ItemString, sipName_property, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemString_setValue(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemString_setValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KCoreConfigSkeleton::ItemString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCoreConfigSkeleton_ItemString, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setValue(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ItemString, sipName_setValue, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemString_value(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemString_value(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KCoreConfigSkeleton::ItemString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton_ItemString, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->value();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ItemString, sipName_value, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemString_setDefaultValue(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemString_setDefaultValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        KCoreConfigSkeleton::ItemString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCoreConfigSkeleton_ItemString, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemString::setDefaultValue(*a0) : sipCpp->setDefaultValue(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ItemString, sipName_setDefaultValue, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemString_setDefault(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemString_setDefault(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KCoreConfigSkeleton::ItemString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton_ItemString, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemString::setDefault() : sipCpp->setDefault());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ItemString, sipName_setDefault, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemString_readDefault(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemString_readDefault(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCoreConfigSkeleton_ItemString, &sipCpp, sipType_KConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemString::readDefault(a0) : sipCpp->readDefault(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_ItemString, sipName_readDefault, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemString_swapDefault(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemString_swapDefault(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KCoreConfigSkeleton::ItemString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton_ItemString, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemString::swapDefault() : sipCpp->swapDefault());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ItemString, sipName_swapDefault, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KCoreConfigSkeleton_ItemString(void *, const sipTypeDef *);}
static void *cast_KCoreConfigSkeleton_ItemString(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KCoreConfigSkeleton_ItemString)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KConfigSkeletonItem)->ctd_cast((KConfigSkeletonItem *)(KCoreConfigSkeleton::ItemString *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KCoreConfigSkeleton_ItemString(void *, int);}
static void release_KCoreConfigSkeleton_ItemString(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKCoreConfigSkeleton_ItemString *>(sipCppV);
    else
        delete reinterpret_cast<KCoreConfigSkeleton::ItemString *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KCoreConfigSkeleton_ItemString(sipSimpleWrapper *);}
static void dealloc_KCoreConfigSkeleton_ItemString(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKCoreConfigSkeleton_ItemString *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KCoreConfigSkeleton_ItemString(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KCoreConfigSkeleton_ItemString(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KCoreConfigSkeleton_ItemString(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipKCoreConfigSkeleton_ItemString *sipCpp = 0;

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        QString* a2;
        int a2State = 0;
        const QString& a3def = QLatin1String("");
        const QString* a3 = &a3def;
        int a3State = 0;
        KCoreConfigSkeleton::ItemString::Type a4 = KCoreConfigSkeleton::ItemString::Normal;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J1J1|J1E", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_KCoreConfigSkeleton_ItemString_Type, &a4))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKCoreConfigSkeleton_ItemString(*a0,*a1,*a2,*a3,a4);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(a2,sipType_QString,a2State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KCoreConfigSkeleton_ItemString[] = {{41, 255, 1}};


static PyMethodDef methods_KCoreConfigSkeleton_ItemString[] = {
    {SIP_MLNAME_CAST(sipName_isEqual), meth_KCoreConfigSkeleton_ItemString_isEqual, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_property), meth_KCoreConfigSkeleton_ItemString_property, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readConfig), meth_KCoreConfigSkeleton_ItemString_readConfig, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readDefault), meth_KCoreConfigSkeleton_ItemString_readDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefault), meth_KCoreConfigSkeleton_ItemString_setDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefaultValue), meth_KCoreConfigSkeleton_ItemString_setDefaultValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setProperty), meth_KCoreConfigSkeleton_ItemString_setProperty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setValue), meth_KCoreConfigSkeleton_ItemString_setValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_swapDefault), meth_KCoreConfigSkeleton_ItemString_swapDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_value), meth_KCoreConfigSkeleton_ItemString_value, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeConfig), meth_KCoreConfigSkeleton_ItemString_writeConfig, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KCoreConfigSkeleton_ItemString[] = {
    {sipName_Normal, static_cast<int>(KCoreConfigSkeleton::ItemString::Normal), 60},
    {sipName_Password, static_cast<int>(KCoreConfigSkeleton::ItemString::Password), 60},
    {sipName_Path, static_cast<int>(KCoreConfigSkeleton::ItemString::Path), 60},
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KCoreConfigSkeleton_ItemString = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCoreConfigSkeleton__ItemString,
        {0}
    },
    {
        sipNameNr_ItemString,
        {42, 255, 0},
        11, methods_KCoreConfigSkeleton_ItemString,
        3, enummembers_KCoreConfigSkeleton_ItemString,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KCoreConfigSkeleton_ItemString,
    0,
    init_type_KCoreConfigSkeleton_ItemString,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCoreConfigSkeleton_ItemString,
    0,
    0,
    0,
    release_KCoreConfigSkeleton_ItemString,
    cast_KCoreConfigSkeleton_ItemString,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 12168 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"

#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 12172 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 12175 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 340 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 12178 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/ksharedconfig.sip"
#include <ksharedconfig.h>
#line 12181 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 136 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 12184 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 12187 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 36 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 12190 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 12193 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 628 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 12196 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 12199 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 12202 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 12205 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 406 "/usr/share/python3-sip/PyQt4/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 12208 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 12211 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 12214 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 12217 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 12220 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 12223 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 12226 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 12229 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 12232 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 12235 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 12238 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 12241 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 12244 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 12247 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 12250 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 12253 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 12256 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 12259 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12262 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12265 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12268 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 12271 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 12274 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12277 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 12280 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 12283 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 12286 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 12289 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"


class sipKCoreConfigSkeleton : public KCoreConfigSkeleton
{
public:
    sipKCoreConfigSkeleton(const QString&,QObject*);
    sipKCoreConfigSkeleton(KSharedConfig::Ptr,QObject*);
    virtual ~sipKCoreConfigSkeleton();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void usrWriteConfig();
    void usrReadConfig();
    void usrSetDefaults();
    bool usrUseDefaults(bool);
    bool useDefaults(bool);
    void writeConfig();
    void readConfig();
    void setDefaults();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKCoreConfigSkeleton(const sipKCoreConfigSkeleton &);
    sipKCoreConfigSkeleton &operator = (const sipKCoreConfigSkeleton &);

    char sipPyMethods[15];
};

sipKCoreConfigSkeleton::sipKCoreConfigSkeleton(const QString& a0,QObject*a1): KCoreConfigSkeleton(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKCoreConfigSkeleton::sipKCoreConfigSkeleton(KSharedConfig::Ptr a0,QObject*a1): KCoreConfigSkeleton(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKCoreConfigSkeleton::~sipKCoreConfigSkeleton()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKCoreConfigSkeleton::metaObject() const
{
    return sip_kdecore_qt_metaobject(sipPySelf,sipType_KCoreConfigSkeleton);
}

int sipKCoreConfigSkeleton::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KCoreConfigSkeleton::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdecore_qt_metacall(sipPySelf,sipType_KCoreConfigSkeleton,_c,_id,_a);

    return _id;
}

void *sipKCoreConfigSkeleton::qt_metacast(const char *_clname)
{
    return (sip_kdecore_qt_metacast(sipPySelf, sipType_KCoreConfigSkeleton, _clname)) ? this : KCoreConfigSkeleton::qt_metacast(_clname);
}

void sipKCoreConfigSkeleton::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdecore_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCoreConfigSkeleton::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdecore_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCoreConfigSkeleton::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdecore_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCoreConfigSkeleton::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdecore_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCoreConfigSkeleton::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdecore_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKCoreConfigSkeleton::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KCoreConfigSkeleton::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdecore_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKCoreConfigSkeleton::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KCoreConfigSkeleton::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdecore_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCoreConfigSkeleton::usrWriteConfig()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_usrWriteConfig);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::usrWriteConfig();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKCoreConfigSkeleton::usrReadConfig()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_usrReadConfig);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::usrReadConfig();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKCoreConfigSkeleton::usrSetDefaults()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_usrSetDefaults);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::usrSetDefaults();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKCoreConfigSkeleton::usrUseDefaults(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_usrUseDefaults);

    if (!sipMeth)
        return KCoreConfigSkeleton::usrUseDefaults(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kdecore_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKCoreConfigSkeleton::useDefaults(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_useDefaults);

    if (!sipMeth)
        return KCoreConfigSkeleton::useDefaults(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kdecore_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCoreConfigSkeleton::writeConfig()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_writeConfig);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::writeConfig();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKCoreConfigSkeleton::readConfig()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_readConfig);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::readConfig();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKCoreConfigSkeleton::setDefaults()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_setDefaults);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::setDefaults();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_setDefaults(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_setDefaults(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::setDefaults() : sipCpp->setDefaults());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCoreConfigSkeleton, sipName_setDefaults, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_readConfig(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_readConfig(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::readConfig() : sipCpp->readConfig());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCoreConfigSkeleton, sipName_readConfig, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_writeConfig(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_writeConfig(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::writeConfig() : sipCpp->writeConfig());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCoreConfigSkeleton, sipName_writeConfig, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_setCurrentGroup(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_setCurrentGroup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCoreConfigSkeleton, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCurrentGroup(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCoreConfigSkeleton, sipName_setCurrentGroup, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_currentGroup(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_currentGroup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->currentGroup());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCoreConfigSkeleton, sipName_currentGroup, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_addItem(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_addItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KConfigSkeletonItem* a0;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;
        KCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8|J1", &sipSelf, sipType_KCoreConfigSkeleton, &sipCpp, sipType_KConfigSkeletonItem, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addItem(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCoreConfigSkeleton, sipName_addItem, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_addItemString(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_addItemString(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QString* a1;
        int a1State = 0;
        const QString& a2def = QLatin1String("");
        const QString* a2 = &a2def;
        int a2State = 0;
        const QString& a3def = QString();
        const QString* a3 = &a3def;
        int a3State = 0;
        KCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1|J1J1", &sipSelf, sipType_KCoreConfigSkeleton, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State))
        {
            KCoreConfigSkeleton::ItemString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addItemString(*a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a1,sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            return sipConvertFromType(sipRes,sipType_KCoreConfigSkeleton_ItemString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCoreConfigSkeleton, sipName_addItemString, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_addItemPassword(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_addItemPassword(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QString* a1;
        int a1State = 0;
        const QString& a2def = QLatin1String("");
        const QString* a2 = &a2def;
        int a2State = 0;
        const QString& a3def = QString();
        const QString* a3 = &a3def;
        int a3State = 0;
        KCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1|J1J1", &sipSelf, sipType_KCoreConfigSkeleton, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State))
        {
            KCoreConfigSkeleton::ItemPassword*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addItemPassword(*a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a1,sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            return sipConvertFromType(sipRes,sipType_KCoreConfigSkeleton_ItemPassword,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCoreConfigSkeleton, sipName_addItemPassword, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_addItemPath(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_addItemPath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QString* a1;
        int a1State = 0;
        const QString& a2def = QLatin1String("");
        const QString* a2 = &a2def;
        int a2State = 0;
        const QString& a3def = QString();
        const QString* a3 = &a3def;
        int a3State = 0;
        KCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1|J1J1", &sipSelf, sipType_KCoreConfigSkeleton, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State))
        {
            KCoreConfigSkeleton::ItemPath*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addItemPath(*a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a1,sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            return sipConvertFromType(sipRes,sipType_KCoreConfigSkeleton_ItemPath,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCoreConfigSkeleton, sipName_addItemPath, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_addItemProperty(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_addItemProperty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QVariant* a1;
        int a1State = 0;
        const QVariant& a2def = QVariant();
        const QVariant* a2 = &a2def;
        int a2State = 0;
        const QString& a3def = QString();
        const QString* a3 = &a3def;
        int a3State = 0;
        KCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1|J1J1", &sipSelf, sipType_KCoreConfigSkeleton, &sipCpp, sipType_QString,&a0, &a0State, sipType_QVariant,&a1, &a1State, sipType_QVariant,&a2, &a2State, sipType_QString,&a3, &a3State))
        {
            KCoreConfigSkeleton::ItemProperty*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addItemProperty(*a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a1,sipType_QVariant,a1State);
            sipReleaseType(const_cast<QVariant *>(a2),sipType_QVariant,a2State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            return sipConvertFromType(sipRes,sipType_KCoreConfigSkeleton_ItemProperty,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCoreConfigSkeleton, sipName_addItemProperty, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_addItemBool(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_addItemBool(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        bool a1;
        bool a2 = 0;
        const QString& a3def = QString();
        const QString* a3 = &a3def;
        int a3State = 0;
        KCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1b|bJ1", &sipSelf, sipType_KCoreConfigSkeleton, &sipCpp, sipType_QString,&a0, &a0State, &a1, &a2, sipType_QString,&a3, &a3State))
        {
            KCoreConfigSkeleton::ItemBool*sipRes = 0;

#line 859 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
    Py_BEGIN_ALLOW_THREADS
    sipRes = new PyItemBool (sipCpp->currentGroup(), a3->isNull() ? *a0 : *a3, a1, a2);
    sipCpp->addItem(sipRes, *a0);
    Py_END_ALLOW_THREADS
#line 12984 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            return sipConvertFromType(sipRes,sipType_KCoreConfigSkeleton_ItemBool,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCoreConfigSkeleton, sipName_addItemBool, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_addItemInt(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_addItemInt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        qint32 a1;
        qint32 a2 = 0;
        const QString& a3def = QString();
        const QString* a3 = &a3def;
        int a3State = 0;
        KCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1i|iJ1", &sipSelf, sipType_KCoreConfigSkeleton, &sipCpp, sipType_QString,&a0, &a0State, &a1, &a2, sipType_QString,&a3, &a3State))
        {
            KCoreConfigSkeleton::ItemInt*sipRes = 0;

#line 867 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
    Py_BEGIN_ALLOW_THREADS
    sipRes = new PyItemInt (sipCpp->currentGroup(), a3->isNull() ? *a0 : *a3, a1, a2);
    sipCpp->addItem(sipRes, *a0);
    Py_END_ALLOW_THREADS
#line 13023 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            return sipConvertFromType(sipRes,sipType_KCoreConfigSkeleton_ItemInt,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCoreConfigSkeleton, sipName_addItemInt, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_addItemUInt(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_addItemUInt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        quint32 a1;
        quint32 a2 = 0;
        const QString& a3def = QString();
        const QString* a3 = &a3def;
        int a3State = 0;
        KCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1u|uJ1", &sipSelf, sipType_KCoreConfigSkeleton, &sipCpp, sipType_QString,&a0, &a0State, &a1, &a2, sipType_QString,&a3, &a3State))
        {
            KCoreConfigSkeleton::ItemUInt*sipRes = 0;

#line 875 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
    Py_BEGIN_ALLOW_THREADS
    sipRes = new PyItemUInt (sipCpp->currentGroup(), a3->isNull() ? *a0 : *a3, a1, a2);
    sipCpp->addItem(sipRes, *a0);
    Py_END_ALLOW_THREADS
#line 13062 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            return sipConvertFromType(sipRes,sipType_KCoreConfigSkeleton_ItemUInt,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCoreConfigSkeleton, sipName_addItemUInt, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_addItemLongLong(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_addItemLongLong(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        qint64 a1;
        qint64 a2 = 0;
        const QString& a3def = QString();
        const QString* a3 = &a3def;
        int a3State = 0;
        KCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1n|nJ1", &sipSelf, sipType_KCoreConfigSkeleton, &sipCpp, sipType_QString,&a0, &a0State, &a1, &a2, sipType_QString,&a3, &a3State))
        {
            KCoreConfigSkeleton::ItemLongLong*sipRes = 0;

#line 883 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
    Py_BEGIN_ALLOW_THREADS
    sipRes = new PyItemLongLong (sipCpp->currentGroup(), a3->isNull() ? *a0 : *a3, a1, a2);
    sipCpp->addItem(sipRes, *a0);
    Py_END_ALLOW_THREADS
#line 13101 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            return sipConvertFromType(sipRes,sipType_KCoreConfigSkeleton_ItemLongLong,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCoreConfigSkeleton, sipName_addItemLongLong, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_addItemInt64(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_addItemInt64(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        qint64 a1;
        qint64 a2 = 0;
        const QString& a3def = QString();
        const QString* a3 = &a3def;
        int a3State = 0;
        KCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1n|nJ1", &sipSelf, sipType_KCoreConfigSkeleton, &sipCpp, sipType_QString,&a0, &a0State, &a1, &a2, sipType_QString,&a3, &a3State))
        {
            KCoreConfigSkeleton::ItemLongLong*sipRes = 0;

#line 891 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
    Py_BEGIN_ALLOW_THREADS
    sipRes = new PyItemLongLong (sipCpp->currentGroup(), a3->isNull() ? *a0 : *a3, a1, a2);
    sipCpp->addItem(sipRes, *a0);
    Py_END_ALLOW_THREADS
#line 13140 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            return sipConvertFromType(sipRes,sipType_KCoreConfigSkeleton_ItemLongLong,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCoreConfigSkeleton, sipName_addItemInt64, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_addItemULongLong(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_addItemULongLong(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        quint64 a1;
        quint64 a2 = 0;
        const QString& a3def = QString();
        const QString* a3 = &a3def;
        int a3State = 0;
        KCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1o|oJ1", &sipSelf, sipType_KCoreConfigSkeleton, &sipCpp, sipType_QString,&a0, &a0State, &a1, &a2, sipType_QString,&a3, &a3State))
        {
            KCoreConfigSkeleton::ItemULongLong*sipRes = 0;

#line 899 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
    Py_BEGIN_ALLOW_THREADS
    sipRes = new PyItemULongLong (sipCpp->currentGroup(), a3->isNull() ? *a0 : *a3, a1, a2);
    sipCpp->addItem(sipRes, *a0);
    Py_END_ALLOW_THREADS
#line 13179 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            return sipConvertFromType(sipRes,sipType_KCoreConfigSkeleton_ItemULongLong,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCoreConfigSkeleton, sipName_addItemULongLong, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_addItemUInt64(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_addItemUInt64(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        quint64 a1;
        quint64 a2 = 0;
        const QString& a3def = QString();
        const QString* a3 = &a3def;
        int a3State = 0;
        KCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1o|oJ1", &sipSelf, sipType_KCoreConfigSkeleton, &sipCpp, sipType_QString,&a0, &a0State, &a1, &a2, sipType_QString,&a3, &a3State))
        {
            KCoreConfigSkeleton::ItemULongLong*sipRes = 0;

#line 907 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
    Py_BEGIN_ALLOW_THREADS
    sipRes = new PyItemULongLong (sipCpp->currentGroup(), a3->isNull() ? *a0 : *a3, a1, a2);
    sipCpp->addItem(sipRes, *a0);
    Py_END_ALLOW_THREADS
#line 13218 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            return sipConvertFromType(sipRes,sipType_KCoreConfigSkeleton_ItemULongLong,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCoreConfigSkeleton, sipName_addItemUInt64, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_addItemDouble(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_addItemDouble(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        double a1;
        double a2 = 0;
        const QString& a3def = QString();
        const QString* a3 = &a3def;
        int a3State = 0;
        KCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1d|dJ1", &sipSelf, sipType_KCoreConfigSkeleton, &sipCpp, sipType_QString,&a0, &a0State, &a1, &a2, sipType_QString,&a3, &a3State))
        {
            KCoreConfigSkeleton::ItemDouble*sipRes = 0;

#line 915 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
    Py_BEGIN_ALLOW_THREADS
    sipRes = new PyItemDouble (sipCpp->currentGroup(), a3->isNull() ? *a0 : *a3, a1, a2);
    sipCpp->addItem(sipRes, *a0);
    Py_END_ALLOW_THREADS
#line 13257 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            return sipConvertFromType(sipRes,sipType_KCoreConfigSkeleton_ItemDouble,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCoreConfigSkeleton, sipName_addItemDouble, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_addItemRect(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_addItemRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QRect* a1;
        const QRect& a2def = QRect();
        const QRect* a2 = &a2def;
        const QString& a3def = QString();
        const QString* a3 = &a3def;
        int a3State = 0;
        KCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J9|J9J1", &sipSelf, sipType_KCoreConfigSkeleton, &sipCpp, sipType_QString,&a0, &a0State, sipType_QRect, &a1, sipType_QRect, &a2, sipType_QString,&a3, &a3State))
        {
            KCoreConfigSkeleton::ItemRect*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addItemRect(*a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            return sipConvertFromType(sipRes,sipType_KCoreConfigSkeleton_ItemRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCoreConfigSkeleton, sipName_addItemRect, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_addItemPoint(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_addItemPoint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QPoint* a1;
        const QPoint& a2def = QPoint();
        const QPoint* a2 = &a2def;
        const QString& a3def = QString();
        const QString* a3 = &a3def;
        int a3State = 0;
        KCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J9|J9J1", &sipSelf, sipType_KCoreConfigSkeleton, &sipCpp, sipType_QString,&a0, &a0State, sipType_QPoint, &a1, sipType_QPoint, &a2, sipType_QString,&a3, &a3State))
        {
            KCoreConfigSkeleton::ItemPoint*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addItemPoint(*a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            return sipConvertFromType(sipRes,sipType_KCoreConfigSkeleton_ItemPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCoreConfigSkeleton, sipName_addItemPoint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_addItemSize(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_addItemSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QSize* a1;
        const QSize& a2def = QSize();
        const QSize* a2 = &a2def;
        const QString& a3def = QString();
        const QString* a3 = &a3def;
        int a3State = 0;
        KCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J9|J9J1", &sipSelf, sipType_KCoreConfigSkeleton, &sipCpp, sipType_QString,&a0, &a0State, sipType_QSize, &a1, sipType_QSize, &a2, sipType_QString,&a3, &a3State))
        {
            KCoreConfigSkeleton::ItemSize*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addItemSize(*a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            return sipConvertFromType(sipRes,sipType_KCoreConfigSkeleton_ItemSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCoreConfigSkeleton, sipName_addItemSize, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_addItemDateTime(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_addItemDateTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QDateTime* a1;
        int a1State = 0;
        const QDateTime& a2def = QDateTime();
        const QDateTime* a2 = &a2def;
        int a2State = 0;
        const QString& a3def = QString();
        const QString* a3 = &a3def;
        int a3State = 0;
        KCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1|J1J1", &sipSelf, sipType_KCoreConfigSkeleton, &sipCpp, sipType_QString,&a0, &a0State, sipType_QDateTime, &a1, &a1State, sipType_QDateTime, &a2, &a2State, sipType_QString,&a3, &a3State))
        {
            KCoreConfigSkeleton::ItemDateTime*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addItemDateTime(*a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a1,sipType_QDateTime,a1State);
            sipReleaseType(const_cast<QDateTime *>(a2),sipType_QDateTime,a2State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            return sipConvertFromType(sipRes,sipType_KCoreConfigSkeleton_ItemDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCoreConfigSkeleton, sipName_addItemDateTime, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_addItemStringList(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_addItemStringList(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QStringList* a1;
        int a1State = 0;
        const QStringList& a2def = QStringList();
        const QStringList* a2 = &a2def;
        int a2State = 0;
        const QString& a3def = QString();
        const QString* a3 = &a3def;
        int a3State = 0;
        KCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1|J1J1", &sipSelf, sipType_KCoreConfigSkeleton, &sipCpp, sipType_QString,&a0, &a0State, sipType_QStringList,&a1, &a1State, sipType_QStringList,&a2, &a2State, sipType_QString,&a3, &a3State))
        {
            KCoreConfigSkeleton::ItemStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addItemStringList(*a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a1,sipType_QStringList,a1State);
            sipReleaseType(const_cast<QStringList *>(a2),sipType_QStringList,a2State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            return sipConvertFromType(sipRes,sipType_KCoreConfigSkeleton_ItemStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCoreConfigSkeleton, sipName_addItemStringList, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_addItemIntList(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_addItemIntList(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QList<int>* a1;
        int a1State = 0;
        const QList<int>& a2def = QList<int>();
        const QList<int>* a2 = &a2def;
        int a2State = 0;
        const QString& a3def = QString();
        const QString* a3 = &a3def;
        int a3State = 0;
        KCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1|J1J1", &sipSelf, sipType_KCoreConfigSkeleton, &sipCpp, sipType_QString,&a0, &a0State, sipType_QList_1800,&a1, &a1State, sipType_QList_1800,&a2, &a2State, sipType_QString,&a3, &a3State))
        {
            KCoreConfigSkeleton::ItemIntList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addItemIntList(*a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a1,sipType_QList_1800,a1State);
            sipReleaseType(const_cast<QList<int> *>(a2),sipType_QList_1800,a2State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            return sipConvertFromType(sipRes,sipType_KCoreConfigSkeleton_ItemIntList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCoreConfigSkeleton, sipName_addItemIntList, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_config(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_config(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton, &sipCpp))
        {
            KConfig*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->config();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KConfig,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCoreConfigSkeleton, sipName_config, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_setSharedConfig(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_setSharedConfig(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KSharedConfig::Ptr* a0;
        int a0State = 0;
        KCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCoreConfigSkeleton, &sipCpp, sipType_KSharedPtr_0100KSharedConfig,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSharedConfig(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KSharedPtr_0100KSharedConfig,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCoreConfigSkeleton, sipName_setSharedConfig, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_items(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_items(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton, &sipCpp))
        {
            KConfigSkeletonItem::List*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KConfigSkeletonItem::List(sipCpp->items());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0101KConfigSkeletonItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCoreConfigSkeleton, sipName_items, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_useDefaults(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_useDefaults(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        KCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KCoreConfigSkeleton, &sipCpp, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::useDefaults(a0) : sipCpp->useDefaults(a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCoreConfigSkeleton, sipName_useDefaults, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_usrUseDefaults(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_usrUseDefaults(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        KCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pb", &sipSelf, sipType_KCoreConfigSkeleton, &sipCpp, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::usrUseDefaults(a0) : sipCpp->usrUseDefaults(a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCoreConfigSkeleton, sipName_usrUseDefaults, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_usrSetDefaults(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_usrSetDefaults(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KCoreConfigSkeleton, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::usrSetDefaults() : sipCpp->usrSetDefaults());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCoreConfigSkeleton, sipName_usrSetDefaults, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_usrReadConfig(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_usrReadConfig(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KCoreConfigSkeleton, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::usrReadConfig() : sipCpp->usrReadConfig());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCoreConfigSkeleton, sipName_usrReadConfig, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_usrWriteConfig(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_usrWriteConfig(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KCoreConfigSkeleton, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::usrWriteConfig() : sipCpp->usrWriteConfig());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCoreConfigSkeleton, sipName_usrWriteConfig, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_isImmutable(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_isImmutable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const KCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCoreConfigSkeleton, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isImmutable(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCoreConfigSkeleton, sipName_isImmutable, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_findItem(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_findItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const KCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCoreConfigSkeleton, &sipCpp, sipType_QString,&a0, &a0State))
        {
            KConfigSkeletonItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->findItem(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_KConfigSkeletonItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCoreConfigSkeleton, sipName_findItem, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KCoreConfigSkeleton(void *, const sipTypeDef *);}
static void *cast_KCoreConfigSkeleton(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KCoreConfigSkeleton)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(KCoreConfigSkeleton *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KCoreConfigSkeleton(void *, int);}
static void release_KCoreConfigSkeleton(void *sipCppV,int)
{
    KCoreConfigSkeleton *sipCpp = reinterpret_cast<KCoreConfigSkeleton *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KCoreConfigSkeleton(sipSimpleWrapper *);}
static void dealloc_KCoreConfigSkeleton(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKCoreConfigSkeleton *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KCoreConfigSkeleton(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KCoreConfigSkeleton(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KCoreConfigSkeleton(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKCoreConfigSkeleton *sipCpp = 0;

    {
        const QString& a0def = QString();
        const QString* a0 = &a0def;
        int a0State = 0;
        QObject* a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|J1JH", sipType_QString,&a0, &a0State, sipType_QObject, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKCoreConfigSkeleton(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        KSharedConfig::Ptr* a0;
        int a0State = 0;
        QObject* a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1|JH", sipType_KSharedPtr_0100KSharedConfig,&a0, &a0State, sipType_QObject, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKCoreConfigSkeleton(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KSharedPtr_0100KSharedConfig,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KCoreConfigSkeleton[] = {{141, 0, 1}};


static PyMethodDef methods_KCoreConfigSkeleton[] = {
    {SIP_MLNAME_CAST(sipName_addItem), meth_KCoreConfigSkeleton_addItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addItemBool), meth_KCoreConfigSkeleton_addItemBool, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addItemDateTime), meth_KCoreConfigSkeleton_addItemDateTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addItemDouble), meth_KCoreConfigSkeleton_addItemDouble, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addItemInt), meth_KCoreConfigSkeleton_addItemInt, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addItemInt64), meth_KCoreConfigSkeleton_addItemInt64, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addItemIntList), meth_KCoreConfigSkeleton_addItemIntList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addItemLongLong), meth_KCoreConfigSkeleton_addItemLongLong, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addItemPassword), meth_KCoreConfigSkeleton_addItemPassword, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addItemPath), meth_KCoreConfigSkeleton_addItemPath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addItemPoint), meth_KCoreConfigSkeleton_addItemPoint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addItemProperty), meth_KCoreConfigSkeleton_addItemProperty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addItemRect), meth_KCoreConfigSkeleton_addItemRect, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addItemSize), meth_KCoreConfigSkeleton_addItemSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addItemString), meth_KCoreConfigSkeleton_addItemString, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addItemStringList), meth_KCoreConfigSkeleton_addItemStringList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addItemUInt), meth_KCoreConfigSkeleton_addItemUInt, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addItemUInt64), meth_KCoreConfigSkeleton_addItemUInt64, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addItemULongLong), meth_KCoreConfigSkeleton_addItemULongLong, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_config), meth_KCoreConfigSkeleton_config, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentGroup), meth_KCoreConfigSkeleton_currentGroup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_findItem), meth_KCoreConfigSkeleton_findItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isImmutable), meth_KCoreConfigSkeleton_isImmutable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_items), meth_KCoreConfigSkeleton_items, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readConfig), meth_KCoreConfigSkeleton_readConfig, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCurrentGroup), meth_KCoreConfigSkeleton_setCurrentGroup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefaults), meth_KCoreConfigSkeleton_setDefaults, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSharedConfig), meth_KCoreConfigSkeleton_setSharedConfig, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_useDefaults), meth_KCoreConfigSkeleton_useDefaults, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_usrReadConfig), meth_KCoreConfigSkeleton_usrReadConfig, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_usrSetDefaults), meth_KCoreConfigSkeleton_usrSetDefaults, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_usrUseDefaults), meth_KCoreConfigSkeleton_usrUseDefaults, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_usrWriteConfig), meth_KCoreConfigSkeleton_usrWriteConfig, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeConfig), meth_KCoreConfigSkeleton_writeConfig, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KCoreConfigSkeleton[] = {
    {"configChanged()", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KCoreConfigSkeleton = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KCoreConfigSkeleton,
        {0}
    },
    {
        sipNameNr_KCoreConfigSkeleton,
        {0, 0, 1},
        34, methods_KCoreConfigSkeleton,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KCoreConfigSkeleton,
    0,
    init_type_KCoreConfigSkeleton,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCoreConfigSkeleton,
    0,
    0,
    0,
    release_KCoreConfigSkeleton,
    cast_KCoreConfigSkeleton,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KCoreConfigSkeleton::staticMetaObject,
    0,
    signals_KCoreConfigSkeleton,
};

#line 136 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 13984 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"

#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 13988 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 13991 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 13994 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 36 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 13997 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"


class sipKConfigSkeletonItem : public KConfigSkeletonItem
{
public:
    sipKConfigSkeletonItem(const QString&,const QString&);
    virtual ~sipKConfigSkeletonItem();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void swapDefault();
    void setDefault();
    QVariant maxValue() const;
    QVariant minValue() const;
    QVariant property() const;
    bool isEqual(const QVariant&) const;
    void setProperty(const QVariant&);
    void readDefault(KConfig*);
    void writeConfig(KConfig*);
    void readConfig(KConfig*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKConfigSkeletonItem(const sipKConfigSkeletonItem &);
    sipKConfigSkeletonItem &operator = (const sipKConfigSkeletonItem &);

    char sipPyMethods[10];
};

sipKConfigSkeletonItem::sipKConfigSkeletonItem(const QString& a0,const QString& a1): KConfigSkeletonItem(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKConfigSkeletonItem::~sipKConfigSkeletonItem()
{
    sipCommonDtor(sipPySelf);
}

void sipKConfigSkeletonItem::swapDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_KConfigSkeletonItem,sipName_swapDefault);

    if (!sipMeth)
        return;

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKConfigSkeletonItem::setDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,sipName_KConfigSkeletonItem,sipName_setDefault);

    if (!sipMeth)
        return;

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

QVariant sipKConfigSkeletonItem::maxValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_maxValue);

    if (!sipMeth)
        return KConfigSkeletonItem::maxValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdecore_48(sipGILState, 0, sipPySelf, sipMeth);
}

QVariant sipKConfigSkeletonItem::minValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_minValue);

    if (!sipMeth)
        return KConfigSkeletonItem::minValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdecore_48(sipGILState, 0, sipPySelf, sipMeth);
}

QVariant sipKConfigSkeletonItem::property() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,sipName_KConfigSkeletonItem,sipName_property);

    if (!sipMeth)
        return QVariant();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdecore_48(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKConfigSkeletonItem::isEqual(const QVariant& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,sipName_KConfigSkeletonItem,sipName_isEqual);

    if (!sipMeth)
        return 0;

    extern bool sipVH_kdecore_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVariant&);

    return sipVH_kdecore_49(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigSkeletonItem::setProperty(const QVariant& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,sipName_KConfigSkeletonItem,sipName_setProperty);

    if (!sipMeth)
        return;

    typedef void (*sipVH_QtCore_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVariant&);

    ((sipVH_QtCore_2)(sipModuleAPI_kdecore_QtCore->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigSkeletonItem::readDefault(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,sipName_KConfigSkeletonItem,sipName_readDefault);

    if (!sipMeth)
        return;

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

    sipVH_kdecore_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigSkeletonItem::writeConfig(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,sipName_KConfigSkeletonItem,sipName_writeConfig);

    if (!sipMeth)
        return;

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

    sipVH_kdecore_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigSkeletonItem::readConfig(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,sipName_KConfigSkeletonItem,sipName_readConfig);

    if (!sipMeth)
        return;

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

    sipVH_kdecore_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KConfigSkeletonItem_setGroup(PyObject *, PyObject *);}
static PyObject *meth_KConfigSkeletonItem_setGroup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KConfigSkeletonItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KConfigSkeletonItem, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setGroup(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigSkeletonItem, sipName_setGroup, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigSkeletonItem_group(PyObject *, PyObject *);}
static PyObject *meth_KConfigSkeletonItem_group(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KConfigSkeletonItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KConfigSkeletonItem, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->group());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigSkeletonItem, sipName_group, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigSkeletonItem_setKey(PyObject *, PyObject *);}
static PyObject *meth_KConfigSkeletonItem_setKey(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KConfigSkeletonItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KConfigSkeletonItem, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setKey(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigSkeletonItem, sipName_setKey, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigSkeletonItem_key(PyObject *, PyObject *);}
static PyObject *meth_KConfigSkeletonItem_key(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KConfigSkeletonItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KConfigSkeletonItem, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->key());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigSkeletonItem, sipName_key, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigSkeletonItem_setName(PyObject *, PyObject *);}
static PyObject *meth_KConfigSkeletonItem_setName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KConfigSkeletonItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KConfigSkeletonItem, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setName(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigSkeletonItem, sipName_setName, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigSkeletonItem_name(PyObject *, PyObject *);}
static PyObject *meth_KConfigSkeletonItem_name(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KConfigSkeletonItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KConfigSkeletonItem, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->name());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigSkeletonItem, sipName_name, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigSkeletonItem_setLabel(PyObject *, PyObject *);}
static PyObject *meth_KConfigSkeletonItem_setLabel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KConfigSkeletonItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KConfigSkeletonItem, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLabel(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigSkeletonItem, sipName_setLabel, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigSkeletonItem_label(PyObject *, PyObject *);}
static PyObject *meth_KConfigSkeletonItem_label(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KConfigSkeletonItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KConfigSkeletonItem, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->label());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigSkeletonItem, sipName_label, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigSkeletonItem_setToolTip(PyObject *, PyObject *);}
static PyObject *meth_KConfigSkeletonItem_setToolTip(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KConfigSkeletonItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KConfigSkeletonItem, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setToolTip(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigSkeletonItem, sipName_setToolTip, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigSkeletonItem_toolTip(PyObject *, PyObject *);}
static PyObject *meth_KConfigSkeletonItem_toolTip(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KConfigSkeletonItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KConfigSkeletonItem, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->toolTip());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigSkeletonItem, sipName_toolTip, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigSkeletonItem_setWhatsThis(PyObject *, PyObject *);}
static PyObject *meth_KConfigSkeletonItem_setWhatsThis(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KConfigSkeletonItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KConfigSkeletonItem, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setWhatsThis(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigSkeletonItem, sipName_setWhatsThis, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigSkeletonItem_whatsThis(PyObject *, PyObject *);}
static PyObject *meth_KConfigSkeletonItem_whatsThis(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KConfigSkeletonItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KConfigSkeletonItem, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->whatsThis());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigSkeletonItem, sipName_whatsThis, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigSkeletonItem_readConfig(PyObject *, PyObject *);}
static PyObject *meth_KConfigSkeletonItem_readConfig(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        KConfig* a0;
        KConfigSkeletonItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KConfigSkeletonItem, &sipCpp, sipType_KConfig, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KConfigSkeletonItem, sipName_readConfig);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->readConfig(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_KConfigSkeletonItem, sipName_readConfig, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigSkeletonItem_writeConfig(PyObject *, PyObject *);}
static PyObject *meth_KConfigSkeletonItem_writeConfig(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        KConfig* a0;
        KConfigSkeletonItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KConfigSkeletonItem, &sipCpp, sipType_KConfig, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KConfigSkeletonItem, sipName_writeConfig);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->writeConfig(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_KConfigSkeletonItem, sipName_writeConfig, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigSkeletonItem_readDefault(PyObject *, PyObject *);}
static PyObject *meth_KConfigSkeletonItem_readDefault(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        KConfig* a0;
        KConfigSkeletonItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KConfigSkeletonItem, &sipCpp, sipType_KConfig, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KConfigSkeletonItem, sipName_readDefault);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->readDefault(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_KConfigSkeletonItem, sipName_readDefault, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigSkeletonItem_setProperty(PyObject *, PyObject *);}
static PyObject *meth_KConfigSkeletonItem_setProperty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const QVariant* a0;
        int a0State = 0;
        KConfigSkeletonItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KConfigSkeletonItem, &sipCpp, sipType_QVariant,&a0, &a0State))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KConfigSkeletonItem, sipName_setProperty);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setProperty(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigSkeletonItem, sipName_setProperty, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigSkeletonItem_isEqual(PyObject *, PyObject *);}
static PyObject *meth_KConfigSkeletonItem_isEqual(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const QVariant* a0;
        int a0State = 0;
        const KConfigSkeletonItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KConfigSkeletonItem, &sipCpp, sipType_QVariant,&a0, &a0State))
        {
            bool sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KConfigSkeletonItem, sipName_isEqual);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isEqual(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigSkeletonItem, sipName_isEqual, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigSkeletonItem_property(PyObject *, PyObject *);}
static PyObject *meth_KConfigSkeletonItem_property(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const KConfigSkeletonItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KConfigSkeletonItem, &sipCpp))
        {
            QVariant*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KConfigSkeletonItem, sipName_property);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->property());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigSkeletonItem, sipName_property, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigSkeletonItem_minValue(PyObject *, PyObject *);}
static PyObject *meth_KConfigSkeletonItem_minValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KConfigSkeletonItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KConfigSkeletonItem, &sipCpp))
        {
            QVariant*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((sipSelfWasArg ? sipCpp->KConfigSkeletonItem::minValue() : sipCpp->minValue()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigSkeletonItem, sipName_minValue, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigSkeletonItem_maxValue(PyObject *, PyObject *);}
static PyObject *meth_KConfigSkeletonItem_maxValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KConfigSkeletonItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KConfigSkeletonItem, &sipCpp))
        {
            QVariant*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((sipSelfWasArg ? sipCpp->KConfigSkeletonItem::maxValue() : sipCpp->maxValue()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigSkeletonItem, sipName_maxValue, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigSkeletonItem_setDefault(PyObject *, PyObject *);}
static PyObject *meth_KConfigSkeletonItem_setDefault(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        KConfigSkeletonItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KConfigSkeletonItem, &sipCpp))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KConfigSkeletonItem, sipName_setDefault);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDefault();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigSkeletonItem, sipName_setDefault, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigSkeletonItem_swapDefault(PyObject *, PyObject *);}
static PyObject *meth_KConfigSkeletonItem_swapDefault(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        KConfigSkeletonItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KConfigSkeletonItem, &sipCpp))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KConfigSkeletonItem, sipName_swapDefault);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->swapDefault();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigSkeletonItem, sipName_swapDefault, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigSkeletonItem_isImmutable(PyObject *, PyObject *);}
static PyObject *meth_KConfigSkeletonItem_isImmutable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KConfigSkeletonItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KConfigSkeletonItem, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isImmutable();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigSkeletonItem, sipName_isImmutable, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigSkeletonItem_readImmutability(PyObject *, PyObject *);}
static PyObject *meth_KConfigSkeletonItem_readImmutability(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KConfigGroup* a0;
        KConfigSkeletonItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9", &sipSelf, sipType_KConfigSkeletonItem, &sipCpp, sipType_KConfigGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->readImmutability(*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_KConfigSkeletonItem, sipName_readImmutability, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KConfigSkeletonItem(void *, const sipTypeDef *);}
static void *cast_KConfigSkeletonItem(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_KConfigSkeletonItem)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KConfigSkeletonItem(void *, int);}
static void release_KConfigSkeletonItem(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKConfigSkeletonItem *>(sipCppV);
    else
        delete reinterpret_cast<KConfigSkeletonItem *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KConfigSkeletonItem(sipSimpleWrapper *);}
static void dealloc_KConfigSkeletonItem(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKConfigSkeletonItem *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KConfigSkeletonItem(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KConfigSkeletonItem(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KConfigSkeletonItem(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipKConfigSkeletonItem *sipCpp = 0;

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKConfigSkeletonItem(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KConfigSkeletonItem[] = {
    {SIP_MLNAME_CAST(sipName_group), meth_KConfigSkeletonItem_group, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isEqual), meth_KConfigSkeletonItem_isEqual, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isImmutable), meth_KConfigSkeletonItem_isImmutable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_key), meth_KConfigSkeletonItem_key, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_label), meth_KConfigSkeletonItem_label, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_maxValue), meth_KConfigSkeletonItem_maxValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_minValue), meth_KConfigSkeletonItem_minValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_name), meth_KConfigSkeletonItem_name, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_property), meth_KConfigSkeletonItem_property, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readConfig), meth_KConfigSkeletonItem_readConfig, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readDefault), meth_KConfigSkeletonItem_readDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readImmutability), meth_KConfigSkeletonItem_readImmutability, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefault), meth_KConfigSkeletonItem_setDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setGroup), meth_KConfigSkeletonItem_setGroup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setKey), meth_KConfigSkeletonItem_setKey, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLabel), meth_KConfigSkeletonItem_setLabel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setName), meth_KConfigSkeletonItem_setName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setProperty), meth_KConfigSkeletonItem_setProperty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setToolTip), meth_KConfigSkeletonItem_setToolTip, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setWhatsThis), meth_KConfigSkeletonItem_setWhatsThis, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_swapDefault), meth_KConfigSkeletonItem_swapDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toolTip), meth_KConfigSkeletonItem_toolTip, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_whatsThis), meth_KConfigSkeletonItem_whatsThis, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeConfig), meth_KConfigSkeletonItem_writeConfig, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KConfigSkeletonItem = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_KConfigSkeletonItem,
        {0}
    },
    {
        sipNameNr_KConfigSkeletonItem,
        {0, 0, 1},
        24, methods_KConfigSkeletonItem,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KConfigSkeletonItem,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KConfigSkeletonItem,
    0,
    0,
    0,
    release_KConfigSkeletonItem,
    cast_KConfigSkeletonItem,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 15065 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 15069 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 15072 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 58 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/ksharedconfig.sip"
#include <ksharedconfig.h>
#line 15075 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 15078 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 15081 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qmap.sip"
#include <qmap.h>
#line 15084 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 77 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 15087 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 15090 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 15093 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 15096 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 15099 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 36 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 15102 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"


extern "C" {static PyObject *meth_KConfigGroup_isValid(PyObject *, PyObject *);}
static PyObject *meth_KConfigGroup_isValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KConfigGroup, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isValid();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigGroup, sipName_isValid, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigGroup_name(PyObject *, PyObject *);}
static PyObject *meth_KConfigGroup_name(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KConfigGroup, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->name());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigGroup, sipName_name, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigGroup_exists(PyObject *, PyObject *);}
static PyObject *meth_KConfigGroup_exists(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KConfigGroup, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->exists();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigGroup, sipName_exists, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigGroup_sync(PyObject *, PyObject *);}
static PyObject *meth_KConfigGroup_sync(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KConfigGroup, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sync();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigGroup, sipName_sync, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigGroup_markAsClean(PyObject *, PyObject *);}
static PyObject *meth_KConfigGroup_markAsClean(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KConfigGroup, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->markAsClean();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigGroup, sipName_markAsClean, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigGroup_accessMode(PyObject *, PyObject *);}
static PyObject *meth_KConfigGroup_accessMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KConfigGroup, &sipCpp))
        {
            KConfigBase::AccessMode sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->accessMode();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KConfigBase_AccessMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigGroup, sipName_accessMode, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigGroup_config(PyObject *, PyObject *);}
static PyObject *meth_KConfigGroup_config(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KConfigGroup, &sipCpp))
        {
            KConfig*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->config();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KConfig,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigGroup, sipName_config, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigGroup_changeGroup(PyObject *, PyObject *);}
static PyObject *meth_KConfigGroup_changeGroup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KConfigGroup, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->changeGroup(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const char* a0;
        PyObject *a0Keep;
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAA", &sipSelf, sipType_KConfigGroup, &sipCpp, &a0Keep, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->changeGroup(a0);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigGroup, sipName_changeGroup, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigGroup_copyTo(PyObject *, PyObject *);}
static PyObject *meth_KConfigGroup_copyTo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KConfigBase* a0;
        KConfigBase::WriteConfigFlags a1def = KConfigBase::Normal;
        KConfigBase::WriteConfigFlags* a1 = &a1def;
        int a1State = 0;
        const KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8|J1", &sipSelf, sipType_KConfigGroup, &sipCpp, sipType_KConfigBase, &a0, sipType_KConfigBase_WriteConfigFlags, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->copyTo(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_KConfigBase_WriteConfigFlags,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigGroup, sipName_copyTo, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigGroup_reparent(PyObject *, PyObject *);}
static PyObject *meth_KConfigGroup_reparent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KConfigBase* a0;
        KConfigBase::WriteConfigFlags a1def = KConfigBase::Normal;
        KConfigBase::WriteConfigFlags* a1 = &a1def;
        int a1State = 0;
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8|J1", &sipSelf, sipType_KConfigGroup, &sipCpp, sipType_KConfigBase, &a0, sipType_KConfigBase_WriteConfigFlags, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->reparent(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_KConfigBase_WriteConfigFlags,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigGroup, sipName_reparent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigGroup_parent(PyObject *, PyObject *);}
static PyObject *meth_KConfigGroup_parent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KConfigGroup, &sipCpp))
        {
            KConfigGroup*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KConfigGroup(sipCpp->parent());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KConfigGroup,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigGroup, sipName_parent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigGroup_groupList(PyObject *, PyObject *);}
static PyObject *meth_KConfigGroup_groupList(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KConfigGroup, &sipCpp))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->groupList());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigGroup, sipName_groupList, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigGroup_keyList(PyObject *, PyObject *);}
static PyObject *meth_KConfigGroup_keyList(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KConfigGroup, &sipCpp))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->keyList());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigGroup, sipName_keyList, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigGroup_deleteGroup(PyObject *, PyObject *);}
static PyObject *meth_KConfigGroup_deleteGroup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KConfigBase::WriteConfigFlags a0def = KConfigBase::Normal;
        KConfigBase::WriteConfigFlags* a0 = &a0def;
        int a0State = 0;
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J1", &sipSelf, sipType_KConfigGroup, &sipCpp, sipType_KConfigBase_WriteConfigFlags, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->deleteGroup(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KConfigBase_WriteConfigFlags,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigGroup, sipName_deleteGroup, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigGroup_readEntry(PyObject *, PyObject *);}
static PyObject *meth_KConfigGroup_readEntry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const QVariant* a1;
        int a1State = 0;
        const KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_KConfigGroup, &sipCpp, sipType_QString,&a0, &a0State, sipType_QVariant,&a1, &a1State))
        {
            QVariant*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->readEntry(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QVariant *>(a1),sipType_QVariant,a1State);

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    {
        const char* a0;
        PyObject *a0Keep;
        const QVariant* a1;
        int a1State = 0;
        const KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAAJ1", &sipSelf, sipType_KConfigGroup, &sipCpp, &a0Keep, &a0, sipType_QVariant,&a1, &a1State))
        {
            QVariant*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->readEntry(a0,*a1));
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);
            sipReleaseType(const_cast<QVariant *>(a1),sipType_QVariant,a1State);

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        const KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_KConfigGroup, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->readEntry(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        const char* a0;
        PyObject *a0Keep;
        const QString* a1;
        int a1State = 0;
        const KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAAJ1", &sipSelf, sipType_KConfigGroup, &sipCpp, &a0Keep, &a0, sipType_QString,&a1, &a1State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->readEntry(a0,*a1));
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const char* a1 = 0;
        PyObject *a1Keep = 0;
        const KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|AA", &sipSelf, sipType_KConfigGroup, &sipCpp, sipType_QString,&a0, &a0State, &a1Keep, &a1))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->readEntry(*a0,a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            Py_XDECREF(a1Keep);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        const char* a0;
        PyObject *a0Keep;
        const char* a1 = 0;
        PyObject *a1Keep = 0;
        const KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAA|AA", &sipSelf, sipType_KConfigGroup, &sipCpp, &a0Keep, &a0, &a1Keep, &a1))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->readEntry(a0,a1));
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);
            Py_XDECREF(a1Keep);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const QVariantList* a1;
        int a1State = 0;
        const KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_KConfigGroup, &sipCpp, sipType_QString,&a0, &a0State, sipType_QList_0100QVariant,&a1, &a1State))
        {
            QVariantList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariantList(sipCpp->readEntry(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QVariantList *>(a1),sipType_QList_0100QVariant,a1State);

            return sipConvertFromNewType(sipRes,sipType_QList_0100QVariant,NULL);
        }
    }

    {
        const char* a0;
        PyObject *a0Keep;
        const QVariantList* a1;
        int a1State = 0;
        const KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAAJ1", &sipSelf, sipType_KConfigGroup, &sipCpp, &a0Keep, &a0, sipType_QList_0100QVariant,&a1, &a1State))
        {
            QVariantList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariantList(sipCpp->readEntry(a0,*a1));
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);
            sipReleaseType(const_cast<QVariantList *>(a1),sipType_QList_0100QVariant,a1State);

            return sipConvertFromNewType(sipRes,sipType_QList_0100QVariant,NULL);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const QStringList* a1;
        int a1State = 0;
        const KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_KConfigGroup, &sipCpp, sipType_QString,&a0, &a0State, sipType_QStringList,&a1, &a1State))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->readEntry(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QStringList *>(a1),sipType_QStringList,a1State);

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    {
        const char* a0;
        PyObject *a0Keep;
        const QStringList* a1;
        int a1State = 0;
        const KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAAJ1", &sipSelf, sipType_KConfigGroup, &sipCpp, &a0Keep, &a0, sipType_QStringList,&a1, &a1State))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->readEntry(a0,*a1));
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);
            sipReleaseType(const_cast<QStringList *>(a1),sipType_QStringList,a1State);

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigGroup, sipName_readEntry, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigGroup_readXdgListEntry(PyObject *, PyObject *);}
static PyObject *meth_KConfigGroup_readXdgListEntry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const QStringList& a1def = QStringList();
        const QStringList* a1 = &a1def;
        int a1State = 0;
        const KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|J1", &sipSelf, sipType_KConfigGroup, &sipCpp, sipType_QString,&a0, &a0State, sipType_QStringList,&a1, &a1State))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->readXdgListEntry(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QStringList *>(a1),sipType_QStringList,a1State);

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    {
        const char* a0;
        PyObject *a0Keep;
        const QStringList& a1def = QStringList();
        const QStringList* a1 = &a1def;
        int a1State = 0;
        const KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAA|J1", &sipSelf, sipType_KConfigGroup, &sipCpp, &a0Keep, &a0, sipType_QStringList,&a1, &a1State))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->readXdgListEntry(a0,*a1));
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);
            sipReleaseType(const_cast<QStringList *>(a1),sipType_QStringList,a1State);

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigGroup, sipName_readXdgListEntry, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigGroup_readPathEntry(PyObject *, PyObject *);}
static PyObject *meth_KConfigGroup_readPathEntry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        const KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_KConfigGroup, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->readPathEntry(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        const char* a0;
        PyObject *a0Keep;
        const QString* a1;
        int a1State = 0;
        const KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAAJ1", &sipSelf, sipType_KConfigGroup, &sipCpp, &a0Keep, &a0, sipType_QString,&a1, &a1State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->readPathEntry(a0,*a1));
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const QStringList* a1;
        int a1State = 0;
        const KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_KConfigGroup, &sipCpp, sipType_QString,&a0, &a0State, sipType_QStringList,&a1, &a1State))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->readPathEntry(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QStringList *>(a1),sipType_QStringList,a1State);

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    {
        const char* a0;
        PyObject *a0Keep;
        const QStringList* a1;
        int a1State = 0;
        const KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAAJ1", &sipSelf, sipType_KConfigGroup, &sipCpp, &a0Keep, &a0, sipType_QStringList,&a1, &a1State))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->readPathEntry(a0,*a1));
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);
            sipReleaseType(const_cast<QStringList *>(a1),sipType_QStringList,a1State);

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigGroup, sipName_readPathEntry, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigGroup_readEntryUntranslated(PyObject *, PyObject *);}
static PyObject *meth_KConfigGroup_readEntryUntranslated(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;
        const KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|J1", &sipSelf, sipType_KConfigGroup, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->readEntryUntranslated(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        const char* a0;
        PyObject *a0Keep;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;
        const KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAA|J1", &sipSelf, sipType_KConfigGroup, &sipCpp, &a0Keep, &a0, sipType_QString,&a1, &a1State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->readEntryUntranslated(a0,*a1));
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigGroup, sipName_readEntryUntranslated, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigGroup_writeEntry(PyObject *, PyObject *);}
static PyObject *meth_KConfigGroup_writeEntry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const QVariant* a1;
        int a1State = 0;
        KConfigBase::WriteConfigFlags a2def = KConfigBase::Normal;
        KConfigBase::WriteConfigFlags* a2 = &a2def;
        int a2State = 0;
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1|J1", &sipSelf, sipType_KConfigGroup, &sipCpp, sipType_QString,&a0, &a0State, sipType_QVariant,&a1, &a1State, sipType_KConfigBase_WriteConfigFlags, &a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->writeEntry(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QVariant *>(a1),sipType_QVariant,a1State);
            sipReleaseType(a2,sipType_KConfigBase_WriteConfigFlags,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const char* a0;
        PyObject *a0Keep;
        const QVariant* a1;
        int a1State = 0;
        KConfigBase::WriteConfigFlags a2def = KConfigBase::Normal;
        KConfigBase::WriteConfigFlags* a2 = &a2def;
        int a2State = 0;
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAAJ1|J1", &sipSelf, sipType_KConfigGroup, &sipCpp, &a0Keep, &a0, sipType_QVariant,&a1, &a1State, sipType_KConfigBase_WriteConfigFlags, &a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->writeEntry(a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);
            sipReleaseType(const_cast<QVariant *>(a1),sipType_QVariant,a1State);
            sipReleaseType(a2,sipType_KConfigBase_WriteConfigFlags,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        KConfigBase::WriteConfigFlags a2def = KConfigBase::Normal;
        KConfigBase::WriteConfigFlags* a2 = &a2def;
        int a2State = 0;
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1|J1", &sipSelf, sipType_KConfigGroup, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_KConfigBase_WriteConfigFlags, &a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->writeEntry(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(a2,sipType_KConfigBase_WriteConfigFlags,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const char* a0;
        PyObject *a0Keep;
        const QString* a1;
        int a1State = 0;
        KConfigBase::WriteConfigFlags a2def = KConfigBase::Normal;
        KConfigBase::WriteConfigFlags* a2 = &a2def;
        int a2State = 0;
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAAJ1|J1", &sipSelf, sipType_KConfigGroup, &sipCpp, &a0Keep, &a0, sipType_QString,&a1, &a1State, sipType_KConfigBase_WriteConfigFlags, &a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->writeEntry(a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(a2,sipType_KConfigBase_WriteConfigFlags,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const QByteArray* a1;
        int a1State = 0;
        KConfigBase::WriteConfigFlags a2def = KConfigBase::Normal;
        KConfigBase::WriteConfigFlags* a2 = &a2def;
        int a2State = 0;
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1|J1", &sipSelf, sipType_KConfigGroup, &sipCpp, sipType_QString,&a0, &a0State, sipType_QByteArray, &a1, &a1State, sipType_KConfigBase_WriteConfigFlags, &a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->writeEntry(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QByteArray *>(a1),sipType_QByteArray,a1State);
            sipReleaseType(a2,sipType_KConfigBase_WriteConfigFlags,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const char* a0;
        PyObject *a0Keep;
        const QByteArray* a1;
        int a1State = 0;
        KConfigBase::WriteConfigFlags a2def = KConfigBase::Normal;
        KConfigBase::WriteConfigFlags* a2 = &a2def;
        int a2State = 0;
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAAJ1|J1", &sipSelf, sipType_KConfigGroup, &sipCpp, &a0Keep, &a0, sipType_QByteArray, &a1, &a1State, sipType_KConfigBase_WriteConfigFlags, &a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->writeEntry(a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);
            sipReleaseType(const_cast<QByteArray *>(a1),sipType_QByteArray,a1State);
            sipReleaseType(a2,sipType_KConfigBase_WriteConfigFlags,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const char* a1;
        PyObject *a1Keep;
        KConfigBase::WriteConfigFlags a2def = KConfigBase::Normal;
        KConfigBase::WriteConfigFlags* a2 = &a2def;
        int a2State = 0;
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1AA|J1", &sipSelf, sipType_KConfigGroup, &sipCpp, sipType_QString,&a0, &a0State, &a1Keep, &a1, sipType_KConfigBase_WriteConfigFlags, &a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->writeEntry(*a0,a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            Py_DECREF(a1Keep);
            sipReleaseType(a2,sipType_KConfigBase_WriteConfigFlags,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const char* a0;
        PyObject *a0Keep;
        const char* a1;
        PyObject *a1Keep;
        KConfigBase::WriteConfigFlags a2def = KConfigBase::Normal;
        KConfigBase::WriteConfigFlags* a2 = &a2def;
        int a2State = 0;
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAAAA|J1", &sipSelf, sipType_KConfigGroup, &sipCpp, &a0Keep, &a0, &a1Keep, &a1, sipType_KConfigBase_WriteConfigFlags, &a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->writeEntry(a0,a1,*a2);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);
            Py_DECREF(a1Keep);
            sipReleaseType(a2,sipType_KConfigBase_WriteConfigFlags,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const QStringList* a1;
        int a1State = 0;
        KConfigBase::WriteConfigFlags a2def = KConfigBase::Normal;
        KConfigBase::WriteConfigFlags* a2 = &a2def;
        int a2State = 0;
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1|J1", &sipSelf, sipType_KConfigGroup, &sipCpp, sipType_QString,&a0, &a0State, sipType_QStringList,&a1, &a1State, sipType_KConfigBase_WriteConfigFlags, &a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->writeEntry(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QStringList *>(a1),sipType_QStringList,a1State);
            sipReleaseType(a2,sipType_KConfigBase_WriteConfigFlags,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const char* a0;
        PyObject *a0Keep;
        const QStringList* a1;
        int a1State = 0;
        KConfigBase::WriteConfigFlags a2def = KConfigBase::Normal;
        KConfigBase::WriteConfigFlags* a2 = &a2def;
        int a2State = 0;
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAAJ1|J1", &sipSelf, sipType_KConfigGroup, &sipCpp, &a0Keep, &a0, sipType_QStringList,&a1, &a1State, sipType_KConfigBase_WriteConfigFlags, &a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->writeEntry(a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);
            sipReleaseType(const_cast<QStringList *>(a1),sipType_QStringList,a1State);
            sipReleaseType(a2,sipType_KConfigBase_WriteConfigFlags,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const QVariantList* a1;
        int a1State = 0;
        KConfigBase::WriteConfigFlags a2def = KConfigBase::Normal;
        KConfigBase::WriteConfigFlags* a2 = &a2def;
        int a2State = 0;
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1|J1", &sipSelf, sipType_KConfigGroup, &sipCpp, sipType_QString,&a0, &a0State, sipType_QList_0100QVariant,&a1, &a1State, sipType_KConfigBase_WriteConfigFlags, &a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->writeEntry(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QVariantList *>(a1),sipType_QList_0100QVariant,a1State);
            sipReleaseType(a2,sipType_KConfigBase_WriteConfigFlags,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const char* a0;
        PyObject *a0Keep;
        const QVariantList* a1;
        int a1State = 0;
        KConfigBase::WriteConfigFlags a2def = KConfigBase::Normal;
        KConfigBase::WriteConfigFlags* a2 = &a2def;
        int a2State = 0;
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAAJ1|J1", &sipSelf, sipType_KConfigGroup, &sipCpp, &a0Keep, &a0, sipType_QList_0100QVariant,&a1, &a1State, sipType_KConfigBase_WriteConfigFlags, &a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->writeEntry(a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);
            sipReleaseType(const_cast<QVariantList *>(a1),sipType_QList_0100QVariant,a1State);
            sipReleaseType(a2,sipType_KConfigBase_WriteConfigFlags,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigGroup, sipName_writeEntry, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigGroup_writeXdgListEntry(PyObject *, PyObject *);}
static PyObject *meth_KConfigGroup_writeXdgListEntry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const QStringList* a1;
        int a1State = 0;
        KConfigBase::WriteConfigFlags a2def = KConfigBase::Normal;
        KConfigBase::WriteConfigFlags* a2 = &a2def;
        int a2State = 0;
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1|J1", &sipSelf, sipType_KConfigGroup, &sipCpp, sipType_QString,&a0, &a0State, sipType_QStringList,&a1, &a1State, sipType_KConfigBase_WriteConfigFlags, &a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->writeXdgListEntry(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QStringList *>(a1),sipType_QStringList,a1State);
            sipReleaseType(a2,sipType_KConfigBase_WriteConfigFlags,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const char* a0;
        PyObject *a0Keep;
        const QStringList* a1;
        int a1State = 0;
        KConfigBase::WriteConfigFlags a2def = KConfigBase::Normal;
        KConfigBase::WriteConfigFlags* a2 = &a2def;
        int a2State = 0;
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAAJ1|J1", &sipSelf, sipType_KConfigGroup, &sipCpp, &a0Keep, &a0, sipType_QStringList,&a1, &a1State, sipType_KConfigBase_WriteConfigFlags, &a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->writeXdgListEntry(a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);
            sipReleaseType(const_cast<QStringList *>(a1),sipType_QStringList,a1State);
            sipReleaseType(a2,sipType_KConfigBase_WriteConfigFlags,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigGroup, sipName_writeXdgListEntry, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigGroup_writePathEntry(PyObject *, PyObject *);}
static PyObject *meth_KConfigGroup_writePathEntry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        KConfigBase::WriteConfigFlags a2def = KConfigBase::Normal;
        KConfigBase::WriteConfigFlags* a2 = &a2def;
        int a2State = 0;
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1|J1", &sipSelf, sipType_KConfigGroup, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_KConfigBase_WriteConfigFlags, &a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->writePathEntry(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(a2,sipType_KConfigBase_WriteConfigFlags,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const char* a0;
        PyObject *a0Keep;
        const QString* a1;
        int a1State = 0;
        KConfigBase::WriteConfigFlags a2def = KConfigBase::Normal;
        KConfigBase::WriteConfigFlags* a2 = &a2def;
        int a2State = 0;
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAAJ1|J1", &sipSelf, sipType_KConfigGroup, &sipCpp, &a0Keep, &a0, sipType_QString,&a1, &a1State, sipType_KConfigBase_WriteConfigFlags, &a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->writePathEntry(a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(a2,sipType_KConfigBase_WriteConfigFlags,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const QStringList* a1;
        int a1State = 0;
        KConfigBase::WriteConfigFlags a2def = KConfigBase::Normal;
        KConfigBase::WriteConfigFlags* a2 = &a2def;
        int a2State = 0;
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1|J1", &sipSelf, sipType_KConfigGroup, &sipCpp, sipType_QString,&a0, &a0State, sipType_QStringList,&a1, &a1State, sipType_KConfigBase_WriteConfigFlags, &a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->writePathEntry(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QStringList *>(a1),sipType_QStringList,a1State);
            sipReleaseType(a2,sipType_KConfigBase_WriteConfigFlags,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const char* a0;
        PyObject *a0Keep;
        const QStringList* a1;
        int a1State = 0;
        KConfigBase::WriteConfigFlags a2def = KConfigBase::Normal;
        KConfigBase::WriteConfigFlags* a2 = &a2def;
        int a2State = 0;
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAAJ1|J1", &sipSelf, sipType_KConfigGroup, &sipCpp, &a0Keep, &a0, sipType_QStringList,&a1, &a1State, sipType_KConfigBase_WriteConfigFlags, &a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->writePathEntry(a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);
            sipReleaseType(const_cast<QStringList *>(a1),sipType_QStringList,a1State);
            sipReleaseType(a2,sipType_KConfigBase_WriteConfigFlags,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigGroup, sipName_writePathEntry, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigGroup_deleteEntry(PyObject *, PyObject *);}
static PyObject *meth_KConfigGroup_deleteEntry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KConfigBase::WriteConfigFlags a1def = KConfigBase::Normal;
        KConfigBase::WriteConfigFlags* a1 = &a1def;
        int a1State = 0;
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|J1", &sipSelf, sipType_KConfigGroup, &sipCpp, sipType_QString,&a0, &a0State, sipType_KConfigBase_WriteConfigFlags, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->deleteEntry(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a1,sipType_KConfigBase_WriteConfigFlags,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const char* a0;
        PyObject *a0Keep;
        KConfigBase::WriteConfigFlags a1def = KConfigBase::Normal;
        KConfigBase::WriteConfigFlags* a1 = &a1def;
        int a1State = 0;
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAA|J1", &sipSelf, sipType_KConfigGroup, &sipCpp, &a0Keep, &a0, sipType_KConfigBase_WriteConfigFlags, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->deleteEntry(a0,*a1);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);
            sipReleaseType(a1,sipType_KConfigBase_WriteConfigFlags,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigGroup, sipName_deleteEntry, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigGroup_hasKey(PyObject *, PyObject *);}
static PyObject *meth_KConfigGroup_hasKey(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KConfigGroup, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasKey(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const char* a0;
        PyObject *a0Keep;
        const KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAA", &sipSelf, sipType_KConfigGroup, &sipCpp, &a0Keep, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasKey(a0);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigGroup, sipName_hasKey, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigGroup_isImmutable(PyObject *, PyObject *);}
static PyObject *meth_KConfigGroup_isImmutable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KConfigGroup, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isImmutable();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigGroup, sipName_isImmutable, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigGroup_isEntryImmutable(PyObject *, PyObject *);}
static PyObject *meth_KConfigGroup_isEntryImmutable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KConfigGroup, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isEntryImmutable(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const char* a0;
        PyObject *a0Keep;
        const KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAA", &sipSelf, sipType_KConfigGroup, &sipCpp, &a0Keep, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isEntryImmutable(a0);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigGroup, sipName_isEntryImmutable, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigGroup_revertToDefault(PyObject *, PyObject *);}
static PyObject *meth_KConfigGroup_revertToDefault(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KConfigGroup, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->revertToDefault(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const char* a0;
        PyObject *a0Keep;
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAA", &sipSelf, sipType_KConfigGroup, &sipCpp, &a0Keep, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->revertToDefault(a0);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigGroup, sipName_revertToDefault, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigGroup_hasDefault(PyObject *, PyObject *);}
static PyObject *meth_KConfigGroup_hasDefault(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KConfigGroup, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasDefault(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const char* a0;
        PyObject *a0Keep;
        const KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAA", &sipSelf, sipType_KConfigGroup, &sipCpp, &a0Keep, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasDefault(a0);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigGroup, sipName_hasDefault, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigGroup_entryMap(PyObject *, PyObject *);}
static PyObject *meth_KConfigGroup_entryMap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KConfigGroup, &sipCpp))
        {
            QMap<QString,QString>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QMap<QString,QString>(sipCpp->entryMap());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QMap_0100QString_0100QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigGroup, sipName_entryMap, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigGroup_hasGroupImpl(PyObject *, PyObject *);}
static PyObject *meth_KConfigGroup_hasGroupImpl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QByteArray* a0;
        int a0State = 0;
        const KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_KConfigGroup, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasGroupImpl(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigGroup, sipName_hasGroupImpl, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigGroup_groupImpl(PyObject *, PyObject *);}
static PyObject *meth_KConfigGroup_groupImpl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QByteArray* a0;
        int a0State = 0;
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_KConfigGroup, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            KConfigGroup*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KConfigGroup(sipCpp->groupImpl(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipConvertFromNewType(sipRes,sipType_KConfigGroup,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigGroup, sipName_groupImpl, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigGroup_deleteGroupImpl(PyObject *, PyObject *);}
static PyObject *meth_KConfigGroup_deleteGroupImpl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QByteArray* a0;
        int a0State = 0;
        KConfigBase::WriteConfigFlags* a1;
        int a1State = 0;
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1J1", &sipSelf, sipType_KConfigGroup, &sipCpp, sipType_QByteArray, &a0, &a0State, sipType_KConfigBase_WriteConfigFlags, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->deleteGroupImpl(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);
            sipReleaseType(a1,sipType_KConfigBase_WriteConfigFlags,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigGroup, sipName_deleteGroupImpl, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigGroup_isGroupImmutableImpl(PyObject *, PyObject *);}
static PyObject *meth_KConfigGroup_isGroupImmutableImpl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QByteArray* a0;
        int a0State = 0;
        const KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_KConfigGroup, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isGroupImmutableImpl(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigGroup, sipName_isGroupImmutableImpl, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KConfigGroup(void *, const sipTypeDef *);}
static void *cast_KConfigGroup(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KConfigGroup)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KConfigBase)->ctd_cast((KConfigBase *)(KConfigGroup *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KConfigGroup(void *, int);}
static void release_KConfigGroup(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KConfigGroup *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KConfigGroup(void *, SIP_SSIZE_T, const void *);}
static void assign_KConfigGroup(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KConfigGroup *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KConfigGroup *>(sipSrc);
}


extern "C" {static void *array_KConfigGroup(SIP_SSIZE_T);}
static void *array_KConfigGroup(SIP_SSIZE_T sipNrElem)
{
    return new KConfigGroup[sipNrElem];
}


extern "C" {static void *copy_KConfigGroup(const void *, SIP_SSIZE_T);}
static void *copy_KConfigGroup(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KConfigGroup(reinterpret_cast<const KConfigGroup *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KConfigGroup(sipSimpleWrapper *);}
static void dealloc_KConfigGroup(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KConfigGroup(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_KConfigGroup(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KConfigGroup(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KConfigGroup *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KConfigGroup();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        KConfigBase* a0;
        const QString* a1;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8J1", sipType_KConfigBase, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KConfigGroup(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipCpp;
        }
    }

    {
        KConfigBase* a0;
        const char* a1;
        PyObject *a1Keep;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8AA", sipType_KConfigBase, &a0, &a1Keep, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KConfigGroup(a0,a1);
            Py_END_ALLOW_THREADS
            Py_DECREF(a1Keep);

            return sipCpp;
        }
    }

    {
        const KSharedConfigPtr* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J1", sipType_KSharedConfigPtr,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KConfigGroup(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<KSharedConfigPtr *>(a0),sipType_KSharedConfigPtr,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipCpp;
        }
    }

    {
        const KSharedConfigPtr* a0;
        int a0State = 0;
        const char* a1;
        PyObject *a1Keep;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1AA", sipType_KSharedConfigPtr,&a0, &a0State, &a1Keep, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KConfigGroup(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<KSharedConfigPtr *>(a0),sipType_KSharedConfigPtr,a0State);
            Py_DECREF(a1Keep);

            return sipCpp;
        }
    }

    {
        const KConfigGroup* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_KConfigGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KConfigGroup(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KConfigGroup[] = {{36, 255, 1}};


static PyMethodDef methods_KConfigGroup[] = {
    {SIP_MLNAME_CAST(sipName_accessMode), meth_KConfigGroup_accessMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changeGroup), meth_KConfigGroup_changeGroup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_config), meth_KConfigGroup_config, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_copyTo), meth_KConfigGroup_copyTo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deleteEntry), meth_KConfigGroup_deleteEntry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deleteGroup), meth_KConfigGroup_deleteGroup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deleteGroupImpl), meth_KConfigGroup_deleteGroupImpl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_entryMap), meth_KConfigGroup_entryMap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_exists), meth_KConfigGroup_exists, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_groupImpl), meth_KConfigGroup_groupImpl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_groupList), meth_KConfigGroup_groupList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasDefault), meth_KConfigGroup_hasDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasGroupImpl), meth_KConfigGroup_hasGroupImpl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasKey), meth_KConfigGroup_hasKey, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isEntryImmutable), meth_KConfigGroup_isEntryImmutable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isGroupImmutableImpl), meth_KConfigGroup_isGroupImmutableImpl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isImmutable), meth_KConfigGroup_isImmutable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isValid), meth_KConfigGroup_isValid, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyList), meth_KConfigGroup_keyList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_markAsClean), meth_KConfigGroup_markAsClean, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_name), meth_KConfigGroup_name, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_parent), meth_KConfigGroup_parent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readEntry), meth_KConfigGroup_readEntry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readEntryUntranslated), meth_KConfigGroup_readEntryUntranslated, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readPathEntry), meth_KConfigGroup_readPathEntry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readXdgListEntry), meth_KConfigGroup_readXdgListEntry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_reparent), meth_KConfigGroup_reparent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_revertToDefault), meth_KConfigGroup_revertToDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sync), meth_KConfigGroup_sync, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeEntry), meth_KConfigGroup_writeEntry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writePathEntry), meth_KConfigGroup_writePathEntry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeXdgListEntry), meth_KConfigGroup_writeXdgListEntry, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KConfigGroup = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KConfigGroup,
        {0}
    },
    {
        sipNameNr_KConfigGroup,
        {0, 0, 1},
        32, methods_KConfigGroup,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KConfigGroup,
    0,
    init_type_KConfigGroup,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KConfigGroup,
    assign_KConfigGroup,
    array_KConfigGroup,
    copy_KConfigGroup,
    release_KConfigGroup,
    cast_KConfigGroup,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 17084 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 17088 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"


extern "C" {static int slot_KConfigBase_WriteConfigFlags___bool__(PyObject *);}
static int slot_KConfigBase_WriteConfigFlags___bool__(PyObject *sipSelf)
{
    KConfigBase::WriteConfigFlags *sipCpp = reinterpret_cast<KConfigBase::WriteConfigFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KConfigBase_WriteConfigFlags));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 370 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KConfigBase::WriteConfigFlags::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 17110 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KConfigBase_WriteConfigFlags___ne__(PyObject *,PyObject *);}
static PyObject *slot_KConfigBase_WriteConfigFlags___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KConfigBase::WriteConfigFlags *sipCpp = reinterpret_cast<KConfigBase::WriteConfigFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KConfigBase_WriteConfigFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KConfigBase::WriteConfigFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KConfigBase_WriteConfigFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 361 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KConfigBase::WriteConfigFlags::Int() != a0->operator KConfigBase::WriteConfigFlags::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 17144 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
            sipReleaseType(const_cast<KConfigBase::WriteConfigFlags *>(a0),sipType_KConfigBase_WriteConfigFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdecore,ne_slot,sipType_KConfigBase_WriteConfigFlags,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KConfigBase_WriteConfigFlags___eq__(PyObject *,PyObject *);}
static PyObject *slot_KConfigBase_WriteConfigFlags___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KConfigBase::WriteConfigFlags *sipCpp = reinterpret_cast<KConfigBase::WriteConfigFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KConfigBase_WriteConfigFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KConfigBase::WriteConfigFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KConfigBase_WriteConfigFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 352 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KConfigBase::WriteConfigFlags::Int() == a0->operator KConfigBase::WriteConfigFlags::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 17184 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
            sipReleaseType(const_cast<KConfigBase::WriteConfigFlags *>(a0),sipType_KConfigBase_WriteConfigFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdecore,eq_slot,sipType_KConfigBase_WriteConfigFlags,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KConfigBase_WriteConfigFlags___invert__(PyObject *);}
static PyObject *slot_KConfigBase_WriteConfigFlags___invert__(PyObject *sipSelf)
{
    KConfigBase::WriteConfigFlags *sipCpp = reinterpret_cast<KConfigBase::WriteConfigFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KConfigBase_WriteConfigFlags));

    if (!sipCpp)
        return 0;


    {
        {
            KConfigBase::WriteConfigFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KConfigBase::WriteConfigFlags(~(*sipCpp));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KConfigBase_WriteConfigFlags,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KConfigBase_WriteConfigFlags___and__(PyObject *,PyObject *);}
static PyObject *slot_KConfigBase_WriteConfigFlags___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KConfigBase::WriteConfigFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KConfigBase_WriteConfigFlags, &a0, &a0State, &a1))
        {
            KConfigBase::WriteConfigFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KConfigBase::WriteConfigFlags((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KConfigBase_WriteConfigFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_KConfigBase_WriteConfigFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdecore,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KConfigBase_WriteConfigFlags___xor__(PyObject *,PyObject *);}
static PyObject *slot_KConfigBase_WriteConfigFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KConfigBase::WriteConfigFlags* a0;
        int a0State = 0;
        KConfigBase::WriteConfigFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KConfigBase_WriteConfigFlags, &a0, &a0State, sipType_KConfigBase_WriteConfigFlags, &a1, &a1State))
        {
            KConfigBase::WriteConfigFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KConfigBase::WriteConfigFlags((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KConfigBase_WriteConfigFlags,a0State);
            sipReleaseType(a1,sipType_KConfigBase_WriteConfigFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_KConfigBase_WriteConfigFlags,NULL);
        }
    }

    {
        KConfigBase::WriteConfigFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KConfigBase_WriteConfigFlags, &a0, &a0State, &a1))
        {
            KConfigBase::WriteConfigFlags*sipRes = 0;

#line 346 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KConfigBase::WriteConfigFlags(*a0 ^ a1);
#line 17293 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
            sipReleaseType(a0,sipType_KConfigBase_WriteConfigFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_KConfigBase_WriteConfigFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdecore,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KConfigBase_WriteConfigFlags___or__(PyObject *,PyObject *);}
static PyObject *slot_KConfigBase_WriteConfigFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KConfigBase::WriteConfigFlags* a0;
        int a0State = 0;
        KConfigBase::WriteConfigFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KConfigBase_WriteConfigFlags, &a0, &a0State, sipType_KConfigBase_WriteConfigFlags, &a1, &a1State))
        {
            KConfigBase::WriteConfigFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KConfigBase::WriteConfigFlags((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KConfigBase_WriteConfigFlags,a0State);
            sipReleaseType(a1,sipType_KConfigBase_WriteConfigFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_KConfigBase_WriteConfigFlags,NULL);
        }
    }

    {
        KConfigBase::WriteConfigFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KConfigBase_WriteConfigFlags, &a0, &a0State, &a1))
        {
            KConfigBase::WriteConfigFlags*sipRes = 0;

#line 341 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KConfigBase::WriteConfigFlags(*a0 | a1);
#line 17345 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
            sipReleaseType(a0,sipType_KConfigBase_WriteConfigFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_KConfigBase_WriteConfigFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdecore,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KConfigBase_WriteConfigFlags___int__(PyObject *);}
static PyObject *slot_KConfigBase_WriteConfigFlags___int__(PyObject *sipSelf)
{
    KConfigBase::WriteConfigFlags *sipCpp = reinterpret_cast<KConfigBase::WriteConfigFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KConfigBase_WriteConfigFlags));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KConfigBase_WriteConfigFlags___ixor__(PyObject *,PyObject *);}
static PyObject *slot_KConfigBase_WriteConfigFlags___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KConfigBase_WriteConfigFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KConfigBase::WriteConfigFlags *sipCpp = reinterpret_cast<KConfigBase::WriteConfigFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KConfigBase_WriteConfigFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KConfigBase::WriteConfigFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KConfigBase_WriteConfigFlags, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KConfigBase::WriteConfigFlags::operator^=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KConfigBase_WriteConfigFlags,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KConfigBase_WriteConfigFlags___ior__(PyObject *,PyObject *);}
static PyObject *slot_KConfigBase_WriteConfigFlags___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KConfigBase_WriteConfigFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KConfigBase::WriteConfigFlags *sipCpp = reinterpret_cast<KConfigBase::WriteConfigFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KConfigBase_WriteConfigFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KConfigBase::WriteConfigFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KConfigBase_WriteConfigFlags, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KConfigBase::WriteConfigFlags::operator|=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KConfigBase_WriteConfigFlags,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KConfigBase_WriteConfigFlags___iand__(PyObject *,PyObject *);}
static PyObject *slot_KConfigBase_WriteConfigFlags___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KConfigBase_WriteConfigFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KConfigBase::WriteConfigFlags *sipCpp = reinterpret_cast<KConfigBase::WriteConfigFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KConfigBase_WriteConfigFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KConfigBase::WriteConfigFlags::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KConfigBase_WriteConfigFlags(void *, const sipTypeDef *);}
static void *cast_KConfigBase_WriteConfigFlags(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_KConfigBase_WriteConfigFlags)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KConfigBase_WriteConfigFlags(void *, int);}
static void release_KConfigBase_WriteConfigFlags(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KConfigBase::WriteConfigFlags *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KConfigBase_WriteConfigFlags(void *, SIP_SSIZE_T, const void *);}
static void assign_KConfigBase_WriteConfigFlags(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KConfigBase::WriteConfigFlags *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KConfigBase::WriteConfigFlags *>(sipSrc);
}


extern "C" {static void *array_KConfigBase_WriteConfigFlags(SIP_SSIZE_T);}
static void *array_KConfigBase_WriteConfigFlags(SIP_SSIZE_T sipNrElem)
{
    return new KConfigBase::WriteConfigFlags[sipNrElem];
}


extern "C" {static void *copy_KConfigBase_WriteConfigFlags(const void *, SIP_SSIZE_T);}
static void *copy_KConfigBase_WriteConfigFlags(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KConfigBase::WriteConfigFlags(reinterpret_cast<const KConfigBase::WriteConfigFlags *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KConfigBase_WriteConfigFlags(sipSimpleWrapper *);}
static void dealloc_KConfigBase_WriteConfigFlags(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KConfigBase_WriteConfigFlags(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_KConfigBase_WriteConfigFlags(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KConfigBase_WriteConfigFlags(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KConfigBase::WriteConfigFlags *sipCpp = 0;

    {
        const KConfigBase::WriteConfigFlags* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_KConfigBase_WriteConfigFlags, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KConfigBase::WriteConfigFlags(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<KConfigBase::WriteConfigFlags *>(a0),sipType_KConfigBase_WriteConfigFlags,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KConfigBase::WriteConfigFlags(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KConfigBase::WriteConfigFlags();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_KConfigBase_WriteConfigFlags(PyObject *, void **, int *, PyObject *);}
static int convertTo_KConfigBase_WriteConfigFlags(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    KConfigBase::WriteConfigFlags **sipCppPtr = reinterpret_cast<KConfigBase::WriteConfigFlags **>(sipCppPtrV);

#line 379 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KConfigBase::WriteConfigFlags is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KConfigBase_WriteConfigFlag)) ||
            sipCanConvertToType(sipPy, sipType_KConfigBase_WriteConfigFlags, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KConfigBase_WriteConfigFlag)))
{
    *sipCppPtr = new KConfigBase::WriteConfigFlags(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KConfigBase::WriteConfigFlags *>(sipConvertToType(sipPy, sipType_KConfigBase_WriteConfigFlags, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 17640 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KConfigBase_WriteConfigFlags[] = {
    {(void *)slot_KConfigBase_WriteConfigFlags___bool__, bool_slot},
    {(void *)slot_KConfigBase_WriteConfigFlags___ne__, ne_slot},
    {(void *)slot_KConfigBase_WriteConfigFlags___eq__, eq_slot},
    {(void *)slot_KConfigBase_WriteConfigFlags___invert__, invert_slot},
    {(void *)slot_KConfigBase_WriteConfigFlags___and__, and_slot},
    {(void *)slot_KConfigBase_WriteConfigFlags___xor__, xor_slot},
    {(void *)slot_KConfigBase_WriteConfigFlags___or__, or_slot},
    {(void *)slot_KConfigBase_WriteConfigFlags___int__, int_slot},
    {(void *)slot_KConfigBase_WriteConfigFlags___ixor__, ixor_slot},
    {(void *)slot_KConfigBase_WriteConfigFlags___ior__, ior_slot},
    {(void *)slot_KConfigBase_WriteConfigFlags___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KConfigBase_WriteConfigFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KConfigBase__WriteConfigFlags,
        {0}
    },
    {
        sipNameNr_WriteConfigFlags,
        {36, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    slots_KConfigBase_WriteConfigFlags,
    init_type_KConfigBase_WriteConfigFlags,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KConfigBase_WriteConfigFlags,
    assign_KConfigBase_WriteConfigFlags,
    array_KConfigBase_WriteConfigFlags,
    copy_KConfigBase_WriteConfigFlags,
    release_KConfigBase_WriteConfigFlags,
    cast_KConfigBase_WriteConfigFlags,
    convertTo_KConfigBase_WriteConfigFlags,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0
};

#line 36 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 17716 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"

#line 36 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 17720 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"


extern "C" {static int slot_KConfig_OpenFlags___bool__(PyObject *);}
static int slot_KConfig_OpenFlags___bool__(PyObject *sipSelf)
{
    KConfig::OpenFlags *sipCpp = reinterpret_cast<KConfig::OpenFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KConfig_OpenFlags));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 370 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KConfig::OpenFlags::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 17742 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KConfig_OpenFlags___ne__(PyObject *,PyObject *);}
static PyObject *slot_KConfig_OpenFlags___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KConfig::OpenFlags *sipCpp = reinterpret_cast<KConfig::OpenFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KConfig_OpenFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KConfig::OpenFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KConfig_OpenFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 361 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KConfig::OpenFlags::Int() != a0->operator KConfig::OpenFlags::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 17776 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
            sipReleaseType(const_cast<KConfig::OpenFlags *>(a0),sipType_KConfig_OpenFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdecore,ne_slot,sipType_KConfig_OpenFlags,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KConfig_OpenFlags___eq__(PyObject *,PyObject *);}
static PyObject *slot_KConfig_OpenFlags___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KConfig::OpenFlags *sipCpp = reinterpret_cast<KConfig::OpenFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KConfig_OpenFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KConfig::OpenFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KConfig_OpenFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 352 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KConfig::OpenFlags::Int() == a0->operator KConfig::OpenFlags::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 17816 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
            sipReleaseType(const_cast<KConfig::OpenFlags *>(a0),sipType_KConfig_OpenFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdecore,eq_slot,sipType_KConfig_OpenFlags,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KConfig_OpenFlags___invert__(PyObject *);}
static PyObject *slot_KConfig_OpenFlags___invert__(PyObject *sipSelf)
{
    KConfig::OpenFlags *sipCpp = reinterpret_cast<KConfig::OpenFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KConfig_OpenFlags));

    if (!sipCpp)
        return 0;


    {
        {
            KConfig::OpenFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KConfig::OpenFlags(~(*sipCpp));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KConfig_OpenFlags,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KConfig_OpenFlags___and__(PyObject *,PyObject *);}
static PyObject *slot_KConfig_OpenFlags___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KConfig::OpenFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KConfig_OpenFlags, &a0, &a0State, &a1))
        {
            KConfig::OpenFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KConfig::OpenFlags((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KConfig_OpenFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_KConfig_OpenFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdecore,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KConfig_OpenFlags___xor__(PyObject *,PyObject *);}
static PyObject *slot_KConfig_OpenFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KConfig::OpenFlags* a0;
        int a0State = 0;
        KConfig::OpenFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KConfig_OpenFlags, &a0, &a0State, sipType_KConfig_OpenFlags, &a1, &a1State))
        {
            KConfig::OpenFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KConfig::OpenFlags((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KConfig_OpenFlags,a0State);
            sipReleaseType(a1,sipType_KConfig_OpenFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_KConfig_OpenFlags,NULL);
        }
    }

    {
        KConfig::OpenFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KConfig_OpenFlags, &a0, &a0State, &a1))
        {
            KConfig::OpenFlags*sipRes = 0;

#line 346 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KConfig::OpenFlags(*a0 ^ a1);
#line 17925 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
            sipReleaseType(a0,sipType_KConfig_OpenFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_KConfig_OpenFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdecore,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KConfig_OpenFlags___or__(PyObject *,PyObject *);}
static PyObject *slot_KConfig_OpenFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KConfig::OpenFlags* a0;
        int a0State = 0;
        KConfig::OpenFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KConfig_OpenFlags, &a0, &a0State, sipType_KConfig_OpenFlags, &a1, &a1State))
        {
            KConfig::OpenFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KConfig::OpenFlags((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KConfig_OpenFlags,a0State);
            sipReleaseType(a1,sipType_KConfig_OpenFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_KConfig_OpenFlags,NULL);
        }
    }

    {
        KConfig::OpenFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KConfig_OpenFlags, &a0, &a0State, &a1))
        {
            KConfig::OpenFlags*sipRes = 0;

#line 341 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KConfig::OpenFlags(*a0 | a1);
#line 17977 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
            sipReleaseType(a0,sipType_KConfig_OpenFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_KConfig_OpenFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdecore,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KConfig_OpenFlags___int__(PyObject *);}
static PyObject *slot_KConfig_OpenFlags___int__(PyObject *sipSelf)
{
    KConfig::OpenFlags *sipCpp = reinterpret_cast<KConfig::OpenFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KConfig_OpenFlags));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KConfig_OpenFlags___ixor__(PyObject *,PyObject *);}
static PyObject *slot_KConfig_OpenFlags___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KConfig_OpenFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KConfig::OpenFlags *sipCpp = reinterpret_cast<KConfig::OpenFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KConfig_OpenFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KConfig::OpenFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KConfig_OpenFlags, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KConfig::OpenFlags::operator^=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KConfig_OpenFlags,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KConfig_OpenFlags___ior__(PyObject *,PyObject *);}
static PyObject *slot_KConfig_OpenFlags___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KConfig_OpenFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KConfig::OpenFlags *sipCpp = reinterpret_cast<KConfig::OpenFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KConfig_OpenFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KConfig::OpenFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KConfig_OpenFlags, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KConfig::OpenFlags::operator|=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KConfig_OpenFlags,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KConfig_OpenFlags___iand__(PyObject *,PyObject *);}
static PyObject *slot_KConfig_OpenFlags___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KConfig_OpenFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KConfig::OpenFlags *sipCpp = reinterpret_cast<KConfig::OpenFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KConfig_OpenFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KConfig::OpenFlags::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KConfig_OpenFlags(void *, const sipTypeDef *);}
static void *cast_KConfig_OpenFlags(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_KConfig_OpenFlags)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KConfig_OpenFlags(void *, int);}
static void release_KConfig_OpenFlags(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KConfig::OpenFlags *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KConfig_OpenFlags(void *, SIP_SSIZE_T, const void *);}
static void assign_KConfig_OpenFlags(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KConfig::OpenFlags *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KConfig::OpenFlags *>(sipSrc);
}


extern "C" {static void *array_KConfig_OpenFlags(SIP_SSIZE_T);}
static void *array_KConfig_OpenFlags(SIP_SSIZE_T sipNrElem)
{
    return new KConfig::OpenFlags[sipNrElem];
}


extern "C" {static void *copy_KConfig_OpenFlags(const void *, SIP_SSIZE_T);}
static void *copy_KConfig_OpenFlags(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KConfig::OpenFlags(reinterpret_cast<const KConfig::OpenFlags *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KConfig_OpenFlags(sipSimpleWrapper *);}
static void dealloc_KConfig_OpenFlags(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KConfig_OpenFlags(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_KConfig_OpenFlags(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KConfig_OpenFlags(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KConfig::OpenFlags *sipCpp = 0;

    {
        const KConfig::OpenFlags* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_KConfig_OpenFlags, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KConfig::OpenFlags(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<KConfig::OpenFlags *>(a0),sipType_KConfig_OpenFlags,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KConfig::OpenFlags(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KConfig::OpenFlags();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_KConfig_OpenFlags(PyObject *, void **, int *, PyObject *);}
static int convertTo_KConfig_OpenFlags(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    KConfig::OpenFlags **sipCppPtr = reinterpret_cast<KConfig::OpenFlags **>(sipCppPtrV);

#line 379 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KConfig::OpenFlags is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KConfig_OpenFlag)) ||
            sipCanConvertToType(sipPy, sipType_KConfig_OpenFlags, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KConfig_OpenFlag)))
{
    *sipCppPtr = new KConfig::OpenFlags(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KConfig::OpenFlags *>(sipConvertToType(sipPy, sipType_KConfig_OpenFlags, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 18272 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KConfig_OpenFlags[] = {
    {(void *)slot_KConfig_OpenFlags___bool__, bool_slot},
    {(void *)slot_KConfig_OpenFlags___ne__, ne_slot},
    {(void *)slot_KConfig_OpenFlags___eq__, eq_slot},
    {(void *)slot_KConfig_OpenFlags___invert__, invert_slot},
    {(void *)slot_KConfig_OpenFlags___and__, and_slot},
    {(void *)slot_KConfig_OpenFlags___xor__, xor_slot},
    {(void *)slot_KConfig_OpenFlags___or__, or_slot},
    {(void *)slot_KConfig_OpenFlags___int__, int_slot},
    {(void *)slot_KConfig_OpenFlags___ixor__, ixor_slot},
    {(void *)slot_KConfig_OpenFlags___ior__, ior_slot},
    {(void *)slot_KConfig_OpenFlags___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KConfig_OpenFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KConfig__OpenFlags,
        {0}
    },
    {
        sipNameNr_OpenFlags,
        {33, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    slots_KConfig_OpenFlags,
    init_type_KConfig_OpenFlags,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KConfig_OpenFlags,
    assign_KConfig_OpenFlags,
    array_KConfig_OpenFlags,
    copy_KConfig_OpenFlags,
    release_KConfig_OpenFlags,
    cast_KConfig_OpenFlags,
    convertTo_KConfig_OpenFlags,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0
};

#line 36 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 18348 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"

#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 18352 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 36 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 18355 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kcomponentdata.sip"
#include <kcomponentdata.h>
#line 18358 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 18361 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 18364 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 18367 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qmap.sip"
#include <qmap.h>
#line 18370 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 77 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 18373 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 18376 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 18379 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"


class sipKConfig : public KConfig
{
public:
    sipKConfig(const QString&,KConfig::OpenFlags,const char*);
    sipKConfig(const KComponentData&,const QString&,KConfig::OpenFlags,const char*);
    sipKConfig(const QString&,const QString&,const char*);
    virtual ~sipKConfig();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool isImmutable() const;
    KConfigBase::AccessMode accessMode() const;
    void markAsClean();
    void sync();
    QStringList groupList() const;
    bool isGroupImmutableImpl(const QByteArray&) const;
    void deleteGroupImpl(const QByteArray&,KConfigBase::WriteConfigFlags);
    KConfigGroup groupImpl(const QByteArray&);
    bool hasGroupImpl(const QByteArray&) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKConfig(const sipKConfig &);
    sipKConfig &operator = (const sipKConfig &);

    char sipPyMethods[9];
};

sipKConfig::sipKConfig(const QString& a0,KConfig::OpenFlags a1,const char*a2): KConfig(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKConfig::sipKConfig(const KComponentData& a0,const QString& a1,KConfig::OpenFlags a2,const char*a3): KConfig(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKConfig::sipKConfig(const QString& a0,const QString& a1,const char*a2): KConfig(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKConfig::~sipKConfig()
{
    sipCommonDtor(sipPySelf);
}

bool sipKConfig::isImmutable() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_isImmutable);

    if (!sipMeth)
        return KConfig::isImmutable();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_kdecore_QtCore->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth);
}

KConfigBase::AccessMode sipKConfig::accessMode() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_accessMode);

    if (!sipMeth)
        return KConfig::accessMode();

    extern KConfigBase::AccessMode sipVH_kdecore_52(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdecore_52(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKConfig::markAsClean()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_markAsClean);

    if (!sipMeth)
    {
        KConfig::markAsClean();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKConfig::sync()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_sync);

    if (!sipMeth)
    {
        KConfig::sync();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

QStringList sipKConfig::groupList() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_groupList);

    if (!sipMeth)
        return KConfig::groupList();

    typedef QStringList (*sipVH_QtCore_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_27)(sipModuleAPI_kdecore_QtCore->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKConfig::isGroupImmutableImpl(const QByteArray& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_isGroupImmutableImpl);

    if (!sipMeth)
        return KConfig::isGroupImmutableImpl(a0);

    extern bool sipVH_kdecore_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&);

    return sipVH_kdecore_34(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfig::deleteGroupImpl(const QByteArray& a0,KConfigBase::WriteConfigFlags a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_deleteGroupImpl);

    if (!sipMeth)
    {
        KConfig::deleteGroupImpl(a0,a1);
        return;
    }

    extern void sipVH_kdecore_50(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,KConfigBase::WriteConfigFlags);

    sipVH_kdecore_50(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

KConfigGroup sipKConfig::groupImpl(const QByteArray& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_groupImpl);

    if (!sipMeth)
        return KConfig::groupImpl(a0);

    extern KConfigGroup sipVH_kdecore_51(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&);

    return sipVH_kdecore_51(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKConfig::hasGroupImpl(const QByteArray& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_hasGroupImpl);

    if (!sipMeth)
        return KConfig::hasGroupImpl(a0);

    extern bool sipVH_kdecore_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&);

    return sipVH_kdecore_34(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KConfig_componentData(PyObject *, PyObject *);}
static PyObject *meth_KConfig_componentData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KConfig *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KConfig, &sipCpp))
        {
            KComponentData*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KComponentData(sipCpp->componentData());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KComponentData,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfig, sipName_componentData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfig_name(PyObject *, PyObject *);}
static PyObject *meth_KConfig_name(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KConfig *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KConfig, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->name());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfig, sipName_name, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfig_sync(PyObject *, PyObject *);}
static PyObject *meth_KConfig_sync(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KConfig *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KConfig, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KConfig::sync() : sipCpp->sync());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfig, sipName_sync, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfig_markAsClean(PyObject *, PyObject *);}
static PyObject *meth_KConfig_markAsClean(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KConfig *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KConfig, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KConfig::markAsClean() : sipCpp->markAsClean());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfig, sipName_markAsClean, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfig_accessMode(PyObject *, PyObject *);}
static PyObject *meth_KConfig_accessMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KConfig *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KConfig, &sipCpp))
        {
            KConfigBase::AccessMode sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KConfig::accessMode() : sipCpp->accessMode());
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KConfigBase_AccessMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfig, sipName_accessMode, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfig_isConfigWritable(PyObject *, PyObject *);}
static PyObject *meth_KConfig_isConfigWritable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KConfig *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KConfig, &sipCpp, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isConfigWritable(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfig, sipName_isConfigWritable, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfig_copyTo(PyObject *, PyObject *);}
static PyObject *meth_KConfig_copyTo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KConfig* a1 = 0;
        const KConfig *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|J8", &sipSelf, sipType_KConfig, &sipCpp, sipType_QString,&a0, &a0State, sipType_KConfig, &a1))
        {
            KConfig*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->copyTo(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_KConfig,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfig, sipName_copyTo, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfig_checkUpdate(PyObject *, PyObject *);}
static PyObject *meth_KConfig_checkUpdate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        KConfig *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_KConfig, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->checkUpdate(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfig, sipName_checkUpdate, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfig_reparseConfiguration(PyObject *, PyObject *);}
static PyObject *meth_KConfig_reparseConfiguration(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KConfig *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KConfig, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->reparseConfiguration();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfig, sipName_reparseConfiguration, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfig_addConfigSources(PyObject *, PyObject *);}
static PyObject *meth_KConfig_addConfigSources(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QStringList* a0;
        int a0State = 0;
        KConfig *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KConfig, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addConfigSources(*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_KConfig, sipName_addConfigSources, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfig_locale(PyObject *, PyObject *);}
static PyObject *meth_KConfig_locale(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KConfig *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KConfig, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->locale());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfig, sipName_locale, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfig_setLocale(PyObject *, PyObject *);}
static PyObject *meth_KConfig_setLocale(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KConfig *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KConfig, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->setLocale(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfig, sipName_setLocale, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfig_setReadDefaults(PyObject *, PyObject *);}
static PyObject *meth_KConfig_setReadDefaults(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KConfig *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KConfig, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setReadDefaults(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_KConfig, sipName_setReadDefaults, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfig_readDefaults(PyObject *, PyObject *);}
static PyObject *meth_KConfig_readDefaults(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KConfig *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KConfig, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->readDefaults();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfig, sipName_readDefaults, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfig_isImmutable(PyObject *, PyObject *);}
static PyObject *meth_KConfig_isImmutable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KConfig *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KConfig, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KConfig::isImmutable() : sipCpp->isImmutable());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfig, sipName_isImmutable, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfig_setForceGlobal(PyObject *, PyObject *);}
static PyObject *meth_KConfig_setForceGlobal(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KConfig *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KConfig, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setForceGlobal(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_KConfig, sipName_setForceGlobal, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfig_forceGlobal(PyObject *, PyObject *);}
static PyObject *meth_KConfig_forceGlobal(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KConfig *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KConfig, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->forceGlobal();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfig, sipName_forceGlobal, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfig_groupList(PyObject *, PyObject *);}
static PyObject *meth_KConfig_groupList(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KConfig *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KConfig, &sipCpp))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList((sipSelfWasArg ? sipCpp->KConfig::groupList() : sipCpp->groupList()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfig, sipName_groupList, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfig_entryMap(PyObject *, PyObject *);}
static PyObject *meth_KConfig_entryMap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString& a0def = QString();
        const QString* a0 = &a0def;
        int a0State = 0;
        const KConfig *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J1", &sipSelf, sipType_KConfig, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QMap<QString,QString>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QMap<QString,QString>(sipCpp->entryMap(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QMap_0100QString_0100QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfig, sipName_entryMap, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfig_hasGroupImpl(PyObject *, PyObject *);}
static PyObject *meth_KConfig_hasGroupImpl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        const KConfig *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_KConfig, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KConfig::hasGroupImpl(*a0) : sipCpp->hasGroupImpl(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfig, sipName_hasGroupImpl, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfig_groupImpl(PyObject *, PyObject *);}
static PyObject *meth_KConfig_groupImpl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        KConfig *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_KConfig, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            KConfigGroup*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KConfigGroup((sipSelfWasArg ? sipCpp->KConfig::groupImpl(*a0) : sipCpp->groupImpl(*a0)));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipConvertFromNewType(sipRes,sipType_KConfigGroup,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfig, sipName_groupImpl, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfig_deleteGroupImpl(PyObject *, PyObject *);}
static PyObject *meth_KConfig_deleteGroupImpl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        KConfigBase::WriteConfigFlags a1def = KConfigBase::Normal;
        KConfigBase::WriteConfigFlags* a1 = &a1def;
        int a1State = 0;
        KConfig *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1|J1", &sipSelf, sipType_KConfig, &sipCpp, sipType_QByteArray, &a0, &a0State, sipType_KConfigBase_WriteConfigFlags, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KConfig::deleteGroupImpl(*a0,*a1) : sipCpp->deleteGroupImpl(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);
            sipReleaseType(a1,sipType_KConfigBase_WriteConfigFlags,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfig, sipName_deleteGroupImpl, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfig_isGroupImmutableImpl(PyObject *, PyObject *);}
static PyObject *meth_KConfig_isGroupImmutableImpl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        const KConfig *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_KConfig, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KConfig::isGroupImmutableImpl(*a0) : sipCpp->isGroupImmutableImpl(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfig, sipName_isGroupImmutableImpl, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KConfig(void *, const sipTypeDef *);}
static void *cast_KConfig(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KConfig)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KConfigBase)->ctd_cast((KConfigBase *)(KConfig *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KConfig(void *, int);}
static void release_KConfig(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKConfig *>(sipCppV);
    else
        delete reinterpret_cast<KConfig *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KConfig(sipSimpleWrapper *);}
static void dealloc_KConfig(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKConfig *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KConfig(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KConfig(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KConfig(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipKConfig *sipCpp = 0;

    {
        const QString& a0def = QString();
        const QString* a0 = &a0def;
        int a0State = 0;
        KConfig::OpenFlags a1def = KConfig::FullConfig;
        KConfig::OpenFlags* a1 = &a1def;
        int a1State = 0;
        const char* a2 = "config";
        PyObject *a2Keep = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|J1J1AA", sipType_QString,&a0, &a0State, sipType_KConfig_OpenFlags, &a1, &a1State, &a2Keep, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKConfig(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a1,sipType_KConfig_OpenFlags,a1State);
            Py_XDECREF(a2Keep);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const KComponentData* a0;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;
        KConfig::OpenFlags a2def = KConfig::FullConfig;
        KConfig::OpenFlags* a2 = &a2def;
        int a2State = 0;
        const char* a3 = "config";
        PyObject *a3Keep = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9|J1J1AA", sipType_KComponentData, &a0, sipType_QString,&a1, &a1State, sipType_KConfig_OpenFlags, &a2, &a2State, &a3Keep, &a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKConfig(*a0,*a1,*a2,a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(a2,sipType_KConfig_OpenFlags,a2State);
            Py_XDECREF(a3Keep);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        const char* a2 = "config";
        PyObject *a2Keep = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J1|AA", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, &a2Keep, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKConfig(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            Py_XDECREF(a2Keep);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KConfig[] = {{36, 255, 1}};


static PyMethodDef methods_KConfig[] = {
    {SIP_MLNAME_CAST(sipName_accessMode), meth_KConfig_accessMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addConfigSources), meth_KConfig_addConfigSources, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_checkUpdate), meth_KConfig_checkUpdate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_componentData), meth_KConfig_componentData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_copyTo), meth_KConfig_copyTo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deleteGroupImpl), meth_KConfig_deleteGroupImpl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_entryMap), meth_KConfig_entryMap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_forceGlobal), meth_KConfig_forceGlobal, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_groupImpl), meth_KConfig_groupImpl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_groupList), meth_KConfig_groupList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasGroupImpl), meth_KConfig_hasGroupImpl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isConfigWritable), meth_KConfig_isConfigWritable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isGroupImmutableImpl), meth_KConfig_isGroupImmutableImpl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isImmutable), meth_KConfig_isImmutable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_locale), meth_KConfig_locale, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_markAsClean), meth_KConfig_markAsClean, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_name), meth_KConfig_name, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readDefaults), meth_KConfig_readDefaults, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_reparseConfiguration), meth_KConfig_reparseConfiguration, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setForceGlobal), meth_KConfig_setForceGlobal, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLocale), meth_KConfig_setLocale, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setReadDefaults), meth_KConfig_setReadDefaults, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sync), meth_KConfig_sync, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KConfig[] = {
    {sipName_CascadeConfig, static_cast<int>(KConfig::CascadeConfig), 34},
    {sipName_FullConfig, static_cast<int>(KConfig::FullConfig), 34},
    {sipName_IncludeGlobals, static_cast<int>(KConfig::IncludeGlobals), 34},
    {sipName_NoCascade, static_cast<int>(KConfig::NoCascade), 34},
    {sipName_NoGlobals, static_cast<int>(KConfig::NoGlobals), 34},
    {sipName_SimpleConfig, static_cast<int>(KConfig::SimpleConfig), 34},
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KConfig = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KConfig,
        {0}
    },
    {
        sipNameNr_KConfig,
        {0, 0, 1},
        23, methods_KConfig,
        6, enummembers_KConfig,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KConfig,
    0,
    init_type_KConfig,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KConfig,
    0,
    0,
    0,
    release_KConfig,
    cast_KConfig,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 19463 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"

#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 19467 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 19470 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 19473 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 19476 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 19479 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.i686/build/sip/kdecore/sipkdecorepart6.cpp"


extern "C" {static PyObject *meth_KConfigBase_groupList(PyObject *, PyObject *);}
static PyObject *meth_KConfigBase_groupList(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const KConfigBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KConfigBase, &sipCpp))
        {
            QStringList*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KConfigBase, sipName_groupList);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->groupList());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigBase, sipName_groupList, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigBase_hasGroup(PyObject *, PyObject *);}
static PyObject *meth_KConfigBase_hasGroup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const KConfigBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KConfigBase, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasGroup(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const char* a0;
        PyObject *a0Keep;
        const KConfigBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAA", &sipSelf, sipType_KConfigBase, &sipCpp, &a0Keep, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasGroup(a0);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QByteArray* a0;
        int a0State = 0;
        const KConfigBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KConfigBase, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasGroup(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigBase, sipName_hasGroup, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigBase_group(PyObject *, PyObject *);}
static PyObject *meth_KConfigBase_group(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QByteArray* a0;
        int a0State = 0;
        KConfigBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KConfigBase, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            KConfigGroup*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KConfigGroup(sipCpp->group(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipConvertFromNewType(sipRes,sipType_KConfigGroup,NULL);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        KConfigBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KConfigBase, &sipCpp, sipType_QString,&a0, &a0State))
        {
            KConfigGroup*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KConfigGroup(sipCpp->group(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_KConfigGroup,NULL);
        }
    }

    {
        const char* a0;
        PyObject *a0Keep;
        KConfigBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAA", &sipSelf, sipType_KConfigBase, &sipCpp, &a0Keep, &a0))
        {
            KConfigGroup*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KConfigGroup(sipCpp->group(a0));
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);

            return sipConvertFromNewType(sipRes,sipType_KConfigGroup,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigBase, sipName_group, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigBase_deleteGroup(PyObject *, PyObject *);}
static PyObject *meth_KConfigBase_deleteGroup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QByteArray* a0;
        int a0State = 0;
        KConfigBase::WriteConfigFlags a1def = KConfigBase::Normal;
        KConfigBase::WriteConfigFlags* a1 = &a1def;
        int a1State = 0;
        KConfigBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|J1", &sipSelf, sipType_KConfigBase, &sipCpp, sipType_QByteArray, &a0, &a0State, sipType_KConfigBase_WriteConfigFlags, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->deleteGroup(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);
            sipReleaseType(a1,sipType_KConfigBase_WriteConfigFlags,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        KConfigBase::WriteConfigFlags a1def = KConfigBase::Normal;
        KConfigBase::WriteConfigFlags* a1 = &a1def;
        int a1State = 0;
        KConfigBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|J1", &sipSelf, sipType_KConfigBase, &sipCpp, sipType_QString,&a0, &a0State, sipType_KConfigBase_WriteConfigFlags, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->deleteGroup(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a1,sipType_KConfigBase_WriteConfigFlags,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const char* a0;
        PyObject *a0Keep;
        KConfigBase::WriteConfigFlags a1def = KConfigBase::Normal;
        KConfigBase::WriteConfigFlags* a1 = &a1def;
        int a1State = 0;
        KConfigBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAA|J1", &sipSelf, sipType_KConfigBase, &sipCpp, &a0Keep, &a0, sipType_KConfigBase_WriteConfigFlags, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->deleteGroup(a0,*a1);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);
            sipReleaseType(a1,sipType_KConfigBase_WriteConfigFlags,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigBase, sipName_deleteGroup, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigBase_sync(PyObject *, PyObject *);}
static PyObject *meth_KConfigBase_sync(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        KConfigBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KConfigBase, &sipCpp))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KConfigBase, sipName_sync);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->sync();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigBase, sipName_sync, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigBase_markAsClean(PyObject *, PyObject *);}
static PyObject *meth_KConfigBase_markAsClean(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        KConfigBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KConfigBase, &sipCpp))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KConfigBase, sipName_markAsClean);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->markAsClean();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigBase, sipName_markAsClean, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigBase_accessMode(PyObject *, PyObject *);}
static PyObject *meth_KConfigBase_accessMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const KConfigBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KConfigBase, &sipCpp))
        {
            KConfigBase::AccessMode sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KConfigBase, sipName_accessMode);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->accessMode();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KConfigBase_AccessMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigBase, sipName_accessMode, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigBase_isImmutable(PyObject *, PyObject *);}
static PyObject *meth_KConfigBase_isImmutable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const KConfigBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KConfigBase, &sipCpp))
        {
            bool sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KConfigBase, sipName_isImmutable);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isImmutable();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigBase, sipName_isImmutable, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigBase_isGroupImmutable(PyObject *, PyObject *);}
static PyObject *meth_KConfigBase_isGroupImmutable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QByteArray* a0;
        int a0State = 0;
        const KConfigBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KConfigBase, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isGroupImmutable(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const KConfigBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KConfigBase, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isGroupImmutable(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const char* a0;
        PyObject *a0Keep;
        const KConfigBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAA", &sipSelf, sipType_KConfigBase, &sipCpp, &a0Keep, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isGroupImmutable(a0);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigBase, sipName_isGroupImmutable, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigBase_hasGroupImpl(PyObject *, PyObject *);}
static PyObject *meth_KConfigBase_hasGroupImpl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const QByteArray* a0;
        int a0State = 0;
        const KConfigBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_KConfigBase, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            bool sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KConfigBase, sipName_hasGroupImpl);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasGroupImpl(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigBase, sipName_hasGroupImpl, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigBase_groupImpl(PyObject *, PyObject *);}
static PyObject *meth_KConfigBase_groupImpl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const QByteArray* a0;
        int a0State = 0;
        KConfigBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_KConfigBase, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            KConfigGroup*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KConfigBase, sipName_groupImpl);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KConfigGroup(sipCpp->groupImpl(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipConvertFromNewType(sipRes,sipType_KConfigGroup,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigBase, sipName_groupImpl, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigBase_deleteGroupImpl(PyObject *, PyObject *);}
static PyObject *meth_KConfigBase_deleteGroupImpl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const QByteArray* a0;
        int a0State = 0;
        KConfigBase::WriteConfigFlags a1def = KConfigBase::Normal;
        KConfigBase::WriteConfigFlags* a1 = &a1def;
        int a1State = 0;
        KConfigBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1|J1", &sipSelf, sipType_KConfigBase, &sipCpp, sipType_QByteArray, &a0, &a0State, sipType_KConfigBase_WriteConfigFlags, &a1, &a1State))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KConfigBase, sipName_deleteGroupImpl);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->deleteGroupImpl(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);
            sipReleaseType(a1,sipType_KConfigBase_WriteConfigFlags,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigBase, sipName_deleteGroupImpl, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigBase_isGroupImmutableImpl(PyObject *, PyObject *);}
static PyObject *meth_KConfigBase_isGroupImmutableImpl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const QByteArray* a0;
        int a0State = 0;
        const KConfigBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_KConfigBase, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            bool sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KConfigBase, sipName_isGroupImmutableImpl);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isGroupImmutableImpl(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigBase, sipName_isGroupImmutableImpl, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KConfigBase(void *, const sipTypeDef *);}
static void *cast_KConfigBase(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_KConfigBase)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KConfigBase(void *, int);}
static void release_KConfigBase(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KConfigBase *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KConfigBase(sipSimpleWrapper *);}
static void dealloc_KConfigBase(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KConfigBase(sipGetAddress(sipSelf),0);
    }
}


static PyMethodDef methods_KConfigBase[] = {
    {SIP_MLNAME_CAST(sipName_accessMode), meth_KConfigBase_accessMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deleteGroup), meth_KConfigBase_deleteGroup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deleteGroupImpl), meth_KConfigBase_deleteGroupImpl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_group), meth_KConfigBase_group, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_groupImpl), meth_KConfigBase_groupImpl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_groupList), meth_KConfigBase_groupList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasGroup), meth_KConfigBase_hasGroup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasGroupImpl), meth_KConfigBase_hasGroupImpl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isGroupImmutable), meth_KConfigBase_isGroupImmutable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isGroupImmutableImpl), meth_KConfigBase_isGroupImmutableImpl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isImmutable), meth_KConfigBase_isImmutable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_markAsClean), meth_KConfigBase_markAsClean, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sync), meth_KConfigBase_sync, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KConfigBase[] = {
    {sipName_Global, static_cast<int>(KConfigBase::Global), 38},
    {sipName_Localized, static_cast<int>(KConfigBase::Localized), 38},
    {sipName_NoAccess, static_cast<int>(KConfigBase::NoAccess), 37},
    {sipName_Normal, static_cast<int>(KConfigBase::Normal), 38},
    {sipName_Persistent, static_cast<int>(KConfigBase::Persistent), 38},
    {sipName_ReadOnly, static_cast<int>(KConfigBase::ReadOnly), 37},
    {sipName_ReadWrite, static_cast<int>(KConfigBase::ReadWrite), 37},
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KConfigBase = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_KConfigBase,
        {0}
    },
    {
        sipNameNr_KConfigBase,
        {0, 0, 1},
        13, methods_KConfigBase,
        7, enummembers_KConfigBase,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KConfigBase,
    0,
    0,
    0,
    release_KConfigBase,
    cast_KConfigBase,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};
