/*
 * Module code.
 *
 * Generated by SIP 4.11.2 on Wed Feb  9 17:25:56 2011
 */

#include "sipAPIkdecore.h"

#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 12 "sipkdecorepart6.cpp"

#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 16 "sipkdecorepart6.cpp"
#line 36 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 19 "sipkdecorepart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 22 "sipkdecorepart6.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 25 "sipkdecorepart6.cpp"


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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_readImmutability(const KConfigGroup&);

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

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::setDefaultValue(const double& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

    sipVH_kdecore_41(sipGILState,meth,a0);
}

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

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

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

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

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

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

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

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

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

    sipVH_kdecore_35(sipGILState,meth,a0);
}

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

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

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

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

    sipVH_kdecore_35(sipGILState,meth,a0);
}

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

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

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

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

    sipVH_kdecore_35(sipGILState,meth,a0);
}

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

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

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

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

    ((sipVH_QtCore_2)(sipModuleAPI_kdecore_QtCore->em_virthandlers[2]))(sipGILState,meth,a0);
}

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

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

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

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

    return sipVH_kdecore_49(sipGILState,meth,a0);
}

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

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

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

    extern QVariant sipVH_kdecore_48(sip_gilstate_t,PyObject *);

    return sipVH_kdecore_48(sipGILState,meth);
}

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

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

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

    extern QVariant sipVH_kdecore_48(sip_gilstate_t,PyObject *);

    return sipVH_kdecore_48(sipGILState,meth);
}

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

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

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

    extern QVariant sipVH_kdecore_48(sip_gilstate_t,PyObject *);

    return sipVH_kdecore_48(sipGILState,meth);
}

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

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_swapDefault);

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

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

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipKCoreConfigSkeleton_ItemDouble::sipProtect_readImmutability(const KConfigGroup& a0)
{
    KConfigSkeletonItem::readImmutability(a0);
}


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

    {
        const KConfigGroup * a0;
        sipKCoreConfigSkeleton_ItemDouble *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KCoreConfigSkeleton_ItemDouble, &sipCpp, sipType_KConfigGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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_ItemDouble, sipName_readImmutability, NULL);

    return NULL;
}


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

    {
        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));

    {
        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));

    {
        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_KCoreConfigSkeleton_ItemDouble(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_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 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/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 779 "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[] = {{40, 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_readImmutability), meth_KCoreConfigSkeleton_ItemDouble_readImmutability, 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,
        {41, 255, 0},
        16, 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_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
};

#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 869 "sipkdecorepart6.cpp"

#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 873 "sipkdecorepart6.cpp"
#line 36 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 876 "sipkdecorepart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 879 "sipkdecorepart6.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 882 "sipkdecorepart6.cpp"


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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_readImmutability(const KConfigGroup&);

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

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::setDefaultValue(const quint64& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

    sipVH_kdecore_42(sipGILState,meth,a0);
}

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

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

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

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

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

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

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

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

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

    sipVH_kdecore_35(sipGILState,meth,a0);
}

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

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

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

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

    sipVH_kdecore_35(sipGILState,meth,a0);
}

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

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

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

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

    sipVH_kdecore_35(sipGILState,meth,a0);
}

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

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

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

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

    ((sipVH_QtCore_2)(sipModuleAPI_kdecore_QtCore->em_virthandlers[2]))(sipGILState,meth,a0);
}

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

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

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

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

    return sipVH_kdecore_49(sipGILState,meth,a0);
}

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

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

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

    extern QVariant sipVH_kdecore_48(sip_gilstate_t,PyObject *);

    return sipVH_kdecore_48(sipGILState,meth);
}

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

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

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

    extern QVariant sipVH_kdecore_48(sip_gilstate_t,PyObject *);

    return sipVH_kdecore_48(sipGILState,meth);
}

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

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

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

    extern QVariant sipVH_kdecore_48(sip_gilstate_t,PyObject *);

    return sipVH_kdecore_48(sipGILState,meth);
}

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

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_swapDefault);

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

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

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipKCoreConfigSkeleton_ItemULongLong::sipProtect_readImmutability(const KConfigGroup& a0)
{
    KConfigSkeletonItem::readImmutability(a0);
}


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

    {
        const KConfigGroup * a0;
        sipKCoreConfigSkeleton_ItemULongLong *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KCoreConfigSkeleton_ItemULongLong, &sipCpp, sipType_KConfigGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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_ItemULongLong, sipName_readImmutability, NULL);

    return NULL;
}


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

    {
        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));

    {
        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));

    {
        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_KCoreConfigSkeleton_ItemULongLong(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_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 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/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 1636 "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[] = {{40, 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_readImmutability), meth_KCoreConfigSkeleton_ItemULongLong_readImmutability, 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,
        {41, 255, 0},
        16, 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_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
};

#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 1726 "sipkdecorepart6.cpp"

#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 1730 "sipkdecorepart6.cpp"
#line 36 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 1733 "sipkdecorepart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 1736 "sipkdecorepart6.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 1739 "sipkdecorepart6.cpp"


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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_readImmutability(const KConfigGroup&);

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

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::setDefaultValue(const quint32& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

    sipVH_kdecore_43(sipGILState,meth,a0);
}

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

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

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

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

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

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

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

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

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

    sipVH_kdecore_35(sipGILState,meth,a0);
}

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

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

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

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

    sipVH_kdecore_35(sipGILState,meth,a0);
}

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

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

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

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

    sipVH_kdecore_35(sipGILState,meth,a0);
}

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

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

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

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

    ((sipVH_QtCore_2)(sipModuleAPI_kdecore_QtCore->em_virthandlers[2]))(sipGILState,meth,a0);
}

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

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

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

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

    return sipVH_kdecore_49(sipGILState,meth,a0);
}

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

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

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

    extern QVariant sipVH_kdecore_48(sip_gilstate_t,PyObject *);

    return sipVH_kdecore_48(sipGILState,meth);
}

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

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

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

    extern QVariant sipVH_kdecore_48(sip_gilstate_t,PyObject *);

    return sipVH_kdecore_48(sipGILState,meth);
}

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

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

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

    extern QVariant sipVH_kdecore_48(sip_gilstate_t,PyObject *);

    return sipVH_kdecore_48(sipGILState,meth);
}

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

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_swapDefault);

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

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

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipKCoreConfigSkeleton_ItemUInt::sipProtect_readImmutability(const KConfigGroup& a0)
{
    KConfigSkeletonItem::readImmutability(a0);
}


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

    {
        const KConfigGroup * a0;
        sipKCoreConfigSkeleton_ItemUInt *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KCoreConfigSkeleton_ItemUInt, &sipCpp, sipType_KConfigGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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_ItemUInt, sipName_readImmutability, NULL);

    return NULL;
}


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

    {
        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));

    {
        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));

    {
        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_KCoreConfigSkeleton_ItemUInt(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_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 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/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 2493 "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[] = {{40, 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_readImmutability), meth_KCoreConfigSkeleton_ItemUInt_readImmutability, 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,
        {41, 255, 0},
        16, 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_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
};

#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 2583 "sipkdecorepart6.cpp"

#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 2587 "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_KCoreConfigSkeleton_ItemEnum_Choice2(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_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 *);}
static PyObject *varget_KCoreConfigSkeleton_ItemEnum_Choice2_label(void *sipSelf, 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 *);}
static PyObject *varget_KCoreConfigSkeleton_ItemEnum_Choice2_name(void *sipSelf, 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 *);}
static PyObject *varget_KCoreConfigSkeleton_ItemEnum_Choice2_toolTip(void *sipSelf, 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 *);}
static PyObject *varget_KCoreConfigSkeleton_ItemEnum_Choice2_whatsThis(void *sipSelf, 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[] = {
    {sipName_label, varget_KCoreConfigSkeleton_ItemEnum_Choice2_label, varset_KCoreConfigSkeleton_ItemEnum_Choice2_label, 0},
    {sipName_name, varget_KCoreConfigSkeleton_ItemEnum_Choice2_name, varset_KCoreConfigSkeleton_ItemEnum_Choice2_name, 0},
    {sipName_toolTip, varget_KCoreConfigSkeleton_ItemEnum_Choice2_toolTip, varset_KCoreConfigSkeleton_ItemEnum_Choice2_toolTip, 0},
    {sipName_whatsThis, varget_KCoreConfigSkeleton_ItemEnum_Choice2_whatsThis, varset_KCoreConfigSkeleton_ItemEnum_Choice2_whatsThis, 0},
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KCoreConfigSkeleton_ItemEnum_Choice2 = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCoreConfigSkeleton__ItemEnum__Choice2,
        {0}
    },
    {
        sipNameNr_Choice2,
        {45, 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_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
};

#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 2872 "sipkdecorepart6.cpp"

#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 2876 "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_KCoreConfigSkeleton_ItemEnum_Choice(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_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 *);}
static PyObject *varget_KCoreConfigSkeleton_ItemEnum_Choice_label(void *sipSelf, 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 *);}
static PyObject *varget_KCoreConfigSkeleton_ItemEnum_Choice_name(void *sipSelf, 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 *);}
static PyObject *varget_KCoreConfigSkeleton_ItemEnum_Choice_whatsThis(void *sipSelf, 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[] = {
    {sipName_label, varget_KCoreConfigSkeleton_ItemEnum_Choice_label, varset_KCoreConfigSkeleton_ItemEnum_Choice_label, 0},
    {sipName_name, varget_KCoreConfigSkeleton_ItemEnum_Choice_name, varset_KCoreConfigSkeleton_ItemEnum_Choice_name, 0},
    {sipName_whatsThis, varget_KCoreConfigSkeleton_ItemEnum_Choice_whatsThis, varset_KCoreConfigSkeleton_ItemEnum_Choice_whatsThis, 0},
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KCoreConfigSkeleton_ItemEnum_Choice = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCoreConfigSkeleton__ItemEnum__Choice,
        {0}
    },
    {
        sipNameNr_Choice,
        {45, 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_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
};

#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 3126 "sipkdecorepart6.cpp"

#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 3130 "sipkdecorepart6.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 3133 "sipkdecorepart6.cpp"
#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 3136 "sipkdecorepart6.cpp"
#line 36 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 3139 "sipkdecorepart6.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 3142 "sipkdecorepart6.cpp"
#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 3145 "sipkdecorepart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 3148 "sipkdecorepart6.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 3151 "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 public method for every protected method visible from
     * this class.
     */
    void sipProtect_readImmutability(const KConfigGroup&);

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[11];
};

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::setDefaultValue(const qint32& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemEnum::setDefaultValue(a0);
        return;
    }

    extern void sipVH_kdecore_44(sip_gilstate_t,PyObject *,const int&);

    sipVH_kdecore_44(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemEnum::setDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemEnum::setDefault();
        return;
    }

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

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipKCoreConfigSkeleton_ItemEnum::writeConfig(KConfig *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemEnum::writeConfig(a0);
        return;
    }

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

    sipVH_kdecore_35(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemEnum::readConfig(KConfig *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemEnum::readConfig(a0);
        return;
    }

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

    sipVH_kdecore_35(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemEnum::readDefault(KConfig *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemEnum::readDefault(a0);
        return;
    }

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

    sipVH_kdecore_35(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemEnum::setProperty(const QVariant& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemInt::setProperty(a0);
        return;
    }

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

    ((sipVH_QtCore_2)(sipModuleAPI_kdecore_QtCore->em_virthandlers[2]))(sipGILState,meth,a0);
}

bool sipKCoreConfigSkeleton_ItemEnum::isEqual(const QVariant& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KCoreConfigSkeleton::ItemInt::isEqual(a0);

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

    return sipVH_kdecore_49(sipGILState,meth,a0);
}

QVariant sipKCoreConfigSkeleton_ItemEnum::property() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KCoreConfigSkeleton::ItemInt::property();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t,PyObject *);

    return sipVH_kdecore_48(sipGILState,meth);
}

QVariant sipKCoreConfigSkeleton_ItemEnum::minValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KCoreConfigSkeleton::ItemInt::minValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t,PyObject *);

    return sipVH_kdecore_48(sipGILState,meth);
}

QVariant sipKCoreConfigSkeleton_ItemEnum::maxValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KCoreConfigSkeleton::ItemInt::maxValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t,PyObject *);

    return sipVH_kdecore_48(sipGILState,meth);
}

void sipKCoreConfigSkeleton_ItemEnum::swapDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_swapDefault);

    if (!meth)
    {
        KCoreConfigSkeleton::ItemEnum::swapDefault();
        return;
    }

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

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipKCoreConfigSkeleton_ItemEnum::sipProtect_readImmutability(const KConfigGroup& a0)
{
    KConfigSkeletonItem::readImmutability(a0);
}


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

    {
        const KConfigGroup * a0;
        sipKCoreConfigSkeleton_ItemEnum *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KCoreConfigSkeleton_ItemEnum, &sipCpp, sipType_KConfigGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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_ItemEnum, sipName_readImmutability, NULL);

    return NULL;
}


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

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

    {
        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_KCoreConfigSkeleton_ItemEnum(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_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 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/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 3762 "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[] = {{48, 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_readImmutability), meth_KCoreConfigSkeleton_ItemEnum_readImmutability, 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,
        {41, 255, 0},
        11, 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_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
};

#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 3848 "sipkdecorepart6.cpp"

#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 3852 "sipkdecorepart6.cpp"
#line 36 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 3855 "sipkdecorepart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 3858 "sipkdecorepart6.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 3861 "sipkdecorepart6.cpp"


class sipKCoreConfigSkeleton_ItemLongLong : public KCoreConfigSkeleton::ItemLongLong
{
public:
    sipKCoreConfigSkeleton_ItemLongLong(const QString&,const QString&,qint64&,qint64);
    virtual ~sipKCoreConfigSkeleton_ItemLongLong();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_readImmutability(const KConfigGroup&);

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

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::setDefaultValue(const qint64& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemLongLong::setDefaultValue(a0);
        return;
    }

    extern void sipVH_kdecore_45(sip_gilstate_t,PyObject *,const PY_LONG_LONG&);

    sipVH_kdecore_45(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemLongLong::setDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemLongLong::setDefault();
        return;
    }

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

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipKCoreConfigSkeleton_ItemLongLong::writeConfig(KConfig *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemLongLong::writeConfig(a0);
        return;
    }

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

    sipVH_kdecore_35(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemLongLong::readConfig(KConfig *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemLongLong::readConfig(a0);
        return;
    }

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

    sipVH_kdecore_35(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemLongLong::readDefault(KConfig *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemLongLong::readDefault(a0);
        return;
    }

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

    sipVH_kdecore_35(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemLongLong::setProperty(const QVariant& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemLongLong::setProperty(a0);
        return;
    }

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

    ((sipVH_QtCore_2)(sipModuleAPI_kdecore_QtCore->em_virthandlers[2]))(sipGILState,meth,a0);
}

bool sipKCoreConfigSkeleton_ItemLongLong::isEqual(const QVariant& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KCoreConfigSkeleton::ItemLongLong::isEqual(a0);

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

    return sipVH_kdecore_49(sipGILState,meth,a0);
}

QVariant sipKCoreConfigSkeleton_ItemLongLong::property() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KCoreConfigSkeleton::ItemLongLong::property();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t,PyObject *);

    return sipVH_kdecore_48(sipGILState,meth);
}

QVariant sipKCoreConfigSkeleton_ItemLongLong::minValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KCoreConfigSkeleton::ItemLongLong::minValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t,PyObject *);

    return sipVH_kdecore_48(sipGILState,meth);
}

QVariant sipKCoreConfigSkeleton_ItemLongLong::maxValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KCoreConfigSkeleton::ItemLongLong::maxValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t,PyObject *);

    return sipVH_kdecore_48(sipGILState,meth);
}

void sipKCoreConfigSkeleton_ItemLongLong::swapDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_swapDefault);

    if (!meth)
    {
        KCoreConfigSkeleton::ItemLongLong::swapDefault();
        return;
    }

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

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipKCoreConfigSkeleton_ItemLongLong::sipProtect_readImmutability(const KConfigGroup& a0)
{
    KConfigSkeletonItem::readImmutability(a0);
}


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

    {
        const KConfigGroup * a0;
        sipKCoreConfigSkeleton_ItemLongLong *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KCoreConfigSkeleton_ItemLongLong, &sipCpp, sipType_KConfigGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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_ItemLongLong, sipName_readImmutability, NULL);

    return NULL;
}


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

    {
        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));

    {
        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));

    {
        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_KCoreConfigSkeleton_ItemLongLong(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_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 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/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 4615 "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[] = {{40, 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_readImmutability), meth_KCoreConfigSkeleton_ItemLongLong_readImmutability, 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,
        {41, 255, 0},
        16, 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_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
};

#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 4705 "sipkdecorepart6.cpp"

#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 4709 "sipkdecorepart6.cpp"
#line 36 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 4712 "sipkdecorepart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 4715 "sipkdecorepart6.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 4718 "sipkdecorepart6.cpp"


class sipKCoreConfigSkeleton_ItemInt : public KCoreConfigSkeleton::ItemInt
{
public:
    sipKCoreConfigSkeleton_ItemInt(const QString&,const QString&,qint32&,qint32);
    virtual ~sipKCoreConfigSkeleton_ItemInt();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_readImmutability(const KConfigGroup&);

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

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::setDefaultValue(const qint32& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemInt::setDefaultValue(a0);
        return;
    }

    extern void sipVH_kdecore_44(sip_gilstate_t,PyObject *,const int&);

    sipVH_kdecore_44(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemInt::setDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemInt::setDefault();
        return;
    }

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

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipKCoreConfigSkeleton_ItemInt::writeConfig(KConfig *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemInt::writeConfig(a0);
        return;
    }

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

    sipVH_kdecore_35(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemInt::readConfig(KConfig *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemInt::readConfig(a0);
        return;
    }

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

    sipVH_kdecore_35(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemInt::readDefault(KConfig *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemInt::readDefault(a0);
        return;
    }

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

    sipVH_kdecore_35(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemInt::setProperty(const QVariant& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemInt::setProperty(a0);
        return;
    }

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

    ((sipVH_QtCore_2)(sipModuleAPI_kdecore_QtCore->em_virthandlers[2]))(sipGILState,meth,a0);
}

bool sipKCoreConfigSkeleton_ItemInt::isEqual(const QVariant& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KCoreConfigSkeleton::ItemInt::isEqual(a0);

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

    return sipVH_kdecore_49(sipGILState,meth,a0);
}

QVariant sipKCoreConfigSkeleton_ItemInt::property() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KCoreConfigSkeleton::ItemInt::property();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t,PyObject *);

    return sipVH_kdecore_48(sipGILState,meth);
}

QVariant sipKCoreConfigSkeleton_ItemInt::minValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KCoreConfigSkeleton::ItemInt::minValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t,PyObject *);

    return sipVH_kdecore_48(sipGILState,meth);
}

QVariant sipKCoreConfigSkeleton_ItemInt::maxValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KCoreConfigSkeleton::ItemInt::maxValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t,PyObject *);

    return sipVH_kdecore_48(sipGILState,meth);
}

void sipKCoreConfigSkeleton_ItemInt::swapDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_swapDefault);

    if (!meth)
    {
        KCoreConfigSkeleton::ItemInt::swapDefault();
        return;
    }

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

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipKCoreConfigSkeleton_ItemInt::sipProtect_readImmutability(const KConfigGroup& a0)
{
    KConfigSkeletonItem::readImmutability(a0);
}


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

    {
        const KConfigGroup * a0;
        sipKCoreConfigSkeleton_ItemInt *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KCoreConfigSkeleton_ItemInt, &sipCpp, sipType_KConfigGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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_ItemInt, sipName_readImmutability, NULL);

    return NULL;
}


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

    {
        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));

    {
        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));

    {
        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_KCoreConfigSkeleton_ItemInt(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_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 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/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 5473 "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[] = {{40, 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_readImmutability), meth_KCoreConfigSkeleton_ItemInt_readImmutability, 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,
        {41, 255, 0},
        16, 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_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
};

#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 5563 "sipkdecorepart6.cpp"

#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 5567 "sipkdecorepart6.cpp"
#line 36 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 5570 "sipkdecorepart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 5573 "sipkdecorepart6.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 5576 "sipkdecorepart6.cpp"


class sipKCoreConfigSkeleton_ItemBool : public KCoreConfigSkeleton::ItemBool
{
public:
    sipKCoreConfigSkeleton_ItemBool(const QString&,const QString&,bool&,bool);
    virtual ~sipKCoreConfigSkeleton_ItemBool();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_readImmutability(const KConfigGroup&);

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

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::setDefaultValue(const bool& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemBool::setDefaultValue(a0);
        return;
    }

    extern void sipVH_kdecore_46(sip_gilstate_t,PyObject *,const bool&);

    sipVH_kdecore_46(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemBool::setDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemBool::setDefault();
        return;
    }

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

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipKCoreConfigSkeleton_ItemBool::writeConfig(KConfig *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemBool::writeConfig(a0);
        return;
    }

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

    sipVH_kdecore_35(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemBool::readConfig(KConfig *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemBool::readConfig(a0);
        return;
    }

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

    sipVH_kdecore_35(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemBool::readDefault(KConfig *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemBool::readDefault(a0);
        return;
    }

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

    sipVH_kdecore_35(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemBool::setProperty(const QVariant& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemBool::setProperty(a0);
        return;
    }

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

    ((sipVH_QtCore_2)(sipModuleAPI_kdecore_QtCore->em_virthandlers[2]))(sipGILState,meth,a0);
}

bool sipKCoreConfigSkeleton_ItemBool::isEqual(const QVariant& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KCoreConfigSkeleton::ItemBool::isEqual(a0);

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

    return sipVH_kdecore_49(sipGILState,meth,a0);
}

QVariant sipKCoreConfigSkeleton_ItemBool::property() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KCoreConfigSkeleton::ItemBool::property();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t,PyObject *);

    return sipVH_kdecore_48(sipGILState,meth);
}

QVariant sipKCoreConfigSkeleton_ItemBool::minValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KConfigSkeletonItem::minValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t,PyObject *);

    return sipVH_kdecore_48(sipGILState,meth);
}

QVariant sipKCoreConfigSkeleton_ItemBool::maxValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KConfigSkeletonItem::maxValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t,PyObject *);

    return sipVH_kdecore_48(sipGILState,meth);
}

void sipKCoreConfigSkeleton_ItemBool::swapDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_swapDefault);

    if (!meth)
    {
        KCoreConfigSkeleton::ItemBool::swapDefault();
        return;
    }

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

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipKCoreConfigSkeleton_ItemBool::sipProtect_readImmutability(const KConfigGroup& a0)
{
    KConfigSkeletonItem::readImmutability(a0);
}


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

    {
        const KConfigGroup * a0;
        sipKCoreConfigSkeleton_ItemBool *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KCoreConfigSkeleton_ItemBool, &sipCpp, sipType_KConfigGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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_ItemBool, sipName_readImmutability, NULL);

    return NULL;
}


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

    {
        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_KCoreConfigSkeleton_ItemBool(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_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 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/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 6221 "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[] = {{40, 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_readImmutability), meth_KCoreConfigSkeleton_ItemBool_readImmutability, 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,
        {41, 255, 0},
        12, 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_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
};

#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 6307 "sipkdecorepart6.cpp"

#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 6311 "sipkdecorepart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 6314 "sipkdecorepart6.cpp"
#line 36 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 6317 "sipkdecorepart6.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 6320 "sipkdecorepart6.cpp"


class sipKCoreConfigSkeleton_ItemProperty : public KCoreConfigSkeleton::ItemProperty
{
public:
    sipKCoreConfigSkeleton_ItemProperty(const QString&,const QString&,QVariant&,const QVariant&);
    virtual ~sipKCoreConfigSkeleton_ItemProperty();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_readImmutability(const KConfigGroup&);

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

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::setDefaultValue(const QVariant& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemProperty::setDefaultValue(a0);
        return;
    }

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

    ((sipVH_QtCore_2)(sipModuleAPI_kdecore_QtCore->em_virthandlers[2]))(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemProperty::setDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemProperty::setDefault();
        return;
    }

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

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipKCoreConfigSkeleton_ItemProperty::writeConfig(KConfig *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemProperty::writeConfig(a0);
        return;
    }

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

    sipVH_kdecore_35(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemProperty::readConfig(KConfig *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemProperty::readConfig(a0);
        return;
    }

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

    sipVH_kdecore_35(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemProperty::readDefault(KConfig *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemProperty::readDefault(a0);
        return;
    }

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

    sipVH_kdecore_35(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemProperty::setProperty(const QVariant& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemProperty::setProperty(a0);
        return;
    }

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

    ((sipVH_QtCore_2)(sipModuleAPI_kdecore_QtCore->em_virthandlers[2]))(sipGILState,meth,a0);
}

bool sipKCoreConfigSkeleton_ItemProperty::isEqual(const QVariant& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KCoreConfigSkeleton::ItemProperty::isEqual(a0);

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

    return sipVH_kdecore_49(sipGILState,meth,a0);
}

QVariant sipKCoreConfigSkeleton_ItemProperty::property() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KCoreConfigSkeleton::ItemProperty::property();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t,PyObject *);

    return sipVH_kdecore_48(sipGILState,meth);
}

QVariant sipKCoreConfigSkeleton_ItemProperty::minValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KConfigSkeletonItem::minValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t,PyObject *);

    return sipVH_kdecore_48(sipGILState,meth);
}

QVariant sipKCoreConfigSkeleton_ItemProperty::maxValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KConfigSkeletonItem::maxValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t,PyObject *);

    return sipVH_kdecore_48(sipGILState,meth);
}

void sipKCoreConfigSkeleton_ItemProperty::swapDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_swapDefault);

    if (!meth)
    {
        KCoreConfigSkeleton::ItemProperty::swapDefault();
        return;
    }

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

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipKCoreConfigSkeleton_ItemProperty::sipProtect_readImmutability(const KConfigGroup& a0)
{
    KConfigSkeletonItem::readImmutability(a0);
}


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

    {
        const KConfigGroup * a0;
        sipKCoreConfigSkeleton_ItemProperty *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KCoreConfigSkeleton_ItemProperty, &sipCpp, sipType_KConfigGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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_ItemProperty, sipName_readImmutability, NULL);

    return NULL;
}


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

    {
        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_KCoreConfigSkeleton_ItemProperty(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_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[] = {{40, 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_readImmutability), meth_KCoreConfigSkeleton_ItemProperty_readImmutability, 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,
        {41, 255, 0},
        12, 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_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
};

#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 7056 "sipkdecorepart6.cpp"

#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 7060 "sipkdecorepart6.cpp"
#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 7063 "sipkdecorepart6.cpp"
#line 36 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 7066 "sipkdecorepart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 7069 "sipkdecorepart6.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 7072 "sipkdecorepart6.cpp"


class sipKCoreConfigSkeleton_ItemUrl : public KCoreConfigSkeleton::ItemUrl
{
public:
    sipKCoreConfigSkeleton_ItemUrl(const QString&,const QString&,KUrl&,const KUrl&);
    virtual ~sipKCoreConfigSkeleton_ItemUrl();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_readImmutability(const KConfigGroup&);

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

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::setDefaultValue(const KUrl& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemUrl::setDefaultValue(a0);
        return;
    }

    extern void sipVH_kdecore_47(sip_gilstate_t,PyObject *,const KUrl&);

    sipVH_kdecore_47(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemUrl::setDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemUrl::setDefault();
        return;
    }

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

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipKCoreConfigSkeleton_ItemUrl::readConfig(KConfig *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemUrl::readConfig(a0);
        return;
    }

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

    sipVH_kdecore_35(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemUrl::writeConfig(KConfig *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemUrl::writeConfig(a0);
        return;
    }

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

    sipVH_kdecore_35(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemUrl::readDefault(KConfig *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemUrl::readDefault(a0);
        return;
    }

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

    sipVH_kdecore_35(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemUrl::setProperty(const QVariant& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemUrl::setProperty(a0);
        return;
    }

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

    ((sipVH_QtCore_2)(sipModuleAPI_kdecore_QtCore->em_virthandlers[2]))(sipGILState,meth,a0);
}

bool sipKCoreConfigSkeleton_ItemUrl::isEqual(const QVariant& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KCoreConfigSkeleton::ItemUrl::isEqual(a0);

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

    return sipVH_kdecore_49(sipGILState,meth,a0);
}

QVariant sipKCoreConfigSkeleton_ItemUrl::property() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KCoreConfigSkeleton::ItemUrl::property();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t,PyObject *);

    return sipVH_kdecore_48(sipGILState,meth);
}

QVariant sipKCoreConfigSkeleton_ItemUrl::minValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KConfigSkeletonItem::minValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t,PyObject *);

    return sipVH_kdecore_48(sipGILState,meth);
}

QVariant sipKCoreConfigSkeleton_ItemUrl::maxValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KConfigSkeletonItem::maxValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t,PyObject *);

    return sipVH_kdecore_48(sipGILState,meth);
}

void sipKCoreConfigSkeleton_ItemUrl::swapDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_swapDefault);

    if (!meth)
    {
        KCoreConfigSkeleton::ItemUrl::swapDefault();
        return;
    }

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

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipKCoreConfigSkeleton_ItemUrl::sipProtect_readImmutability(const KConfigGroup& a0)
{
    KConfigSkeletonItem::readImmutability(a0);
}


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

    {
        const KConfigGroup * a0;
        sipKCoreConfigSkeleton_ItemUrl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KCoreConfigSkeleton_ItemUrl, &sipCpp, sipType_KConfigGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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_ItemUrl, sipName_readImmutability, NULL);

    return NULL;
}


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

    {
        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_KCoreConfigSkeleton_ItemUrl(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_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[] = {{40, 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_readImmutability), meth_KCoreConfigSkeleton_ItemUrl_readImmutability, 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,
        {41, 255, 0},
        12, 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_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
};

#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 7800 "sipkdecorepart6.cpp"

#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 7804 "sipkdecorepart6.cpp"
#line 36 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 7807 "sipkdecorepart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 7810 "sipkdecorepart6.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 7813 "sipkdecorepart6.cpp"


class sipKCoreConfigSkeleton_ItemPath : public KCoreConfigSkeleton::ItemPath
{
public:
    sipKCoreConfigSkeleton_ItemPath(const QString&,const QString&,QString&,const QString&);
    virtual ~sipKCoreConfigSkeleton_ItemPath();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_readImmutability(const KConfigGroup&);

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

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::setDefaultValue(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemPath::setDefaultValue(a0);
        return;
    }

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

    ((sipVH_QtCore_33)(sipModuleAPI_kdecore_QtCore->em_virthandlers[33]))(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemPath::setDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemPath::setDefault();
        return;
    }

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

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipKCoreConfigSkeleton_ItemPath::readConfig(KConfig *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemString::readConfig(a0);
        return;
    }

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

    sipVH_kdecore_35(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemPath::writeConfig(KConfig *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemString::writeConfig(a0);
        return;
    }

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

    sipVH_kdecore_35(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemPath::readDefault(KConfig *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemPath::readDefault(a0);
        return;
    }

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

    sipVH_kdecore_35(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemPath::setProperty(const QVariant& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemString::setProperty(a0);
        return;
    }

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

    ((sipVH_QtCore_2)(sipModuleAPI_kdecore_QtCore->em_virthandlers[2]))(sipGILState,meth,a0);
}

bool sipKCoreConfigSkeleton_ItemPath::isEqual(const QVariant& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KCoreConfigSkeleton::ItemString::isEqual(a0);

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

    return sipVH_kdecore_49(sipGILState,meth,a0);
}

QVariant sipKCoreConfigSkeleton_ItemPath::property() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KCoreConfigSkeleton::ItemString::property();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t,PyObject *);

    return sipVH_kdecore_48(sipGILState,meth);
}

QVariant sipKCoreConfigSkeleton_ItemPath::minValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KConfigSkeletonItem::minValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t,PyObject *);

    return sipVH_kdecore_48(sipGILState,meth);
}

QVariant sipKCoreConfigSkeleton_ItemPath::maxValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KConfigSkeletonItem::maxValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t,PyObject *);

    return sipVH_kdecore_48(sipGILState,meth);
}

void sipKCoreConfigSkeleton_ItemPath::swapDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_swapDefault);

    if (!meth)
    {
        KCoreConfigSkeleton::ItemPath::swapDefault();
        return;
    }

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

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipKCoreConfigSkeleton_ItemPath::sipProtect_readImmutability(const KConfigGroup& a0)
{
    KConfigSkeletonItem::readImmutability(a0);
}


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

    {
        const KConfigGroup * a0;
        sipKCoreConfigSkeleton_ItemPath *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KCoreConfigSkeleton_ItemPath, &sipCpp, sipType_KConfigGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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_ItemPath, sipName_readImmutability, NULL);

    return NULL;
}


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_KCoreConfigSkeleton_ItemPath(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_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[] = {{58, 255, 1}};


static PyMethodDef methods_KCoreConfigSkeleton_ItemPath[] = {
    {SIP_MLNAME_CAST(sipName_readDefault), meth_KCoreConfigSkeleton_ItemPath_readDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readImmutability), meth_KCoreConfigSkeleton_ItemPath_readImmutability, 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,
        {41, 255, 0},
        7, 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_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
};

#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 8399 "sipkdecorepart6.cpp"

#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 8403 "sipkdecorepart6.cpp"
#line 36 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 8406 "sipkdecorepart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 8409 "sipkdecorepart6.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 8412 "sipkdecorepart6.cpp"


class sipKCoreConfigSkeleton_ItemPassword : public KCoreConfigSkeleton::ItemPassword
{
public:
    sipKCoreConfigSkeleton_ItemPassword(const QString&,const QString&,QString&,const QString&);
    virtual ~sipKCoreConfigSkeleton_ItemPassword();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_readImmutability(const KConfigGroup&);

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

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::setDefaultValue(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemPassword::setDefaultValue(a0);
        return;
    }

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

    ((sipVH_QtCore_33)(sipModuleAPI_kdecore_QtCore->em_virthandlers[33]))(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemPassword::setDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemPassword::setDefault();
        return;
    }

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

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipKCoreConfigSkeleton_ItemPassword::readConfig(KConfig *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemString::readConfig(a0);
        return;
    }

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

    sipVH_kdecore_35(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemPassword::writeConfig(KConfig *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemString::writeConfig(a0);
        return;
    }

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

    sipVH_kdecore_35(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemPassword::readDefault(KConfig *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemPassword::readDefault(a0);
        return;
    }

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

    sipVH_kdecore_35(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemPassword::setProperty(const QVariant& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemString::setProperty(a0);
        return;
    }

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

    ((sipVH_QtCore_2)(sipModuleAPI_kdecore_QtCore->em_virthandlers[2]))(sipGILState,meth,a0);
}

bool sipKCoreConfigSkeleton_ItemPassword::isEqual(const QVariant& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KCoreConfigSkeleton::ItemString::isEqual(a0);

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

    return sipVH_kdecore_49(sipGILState,meth,a0);
}

QVariant sipKCoreConfigSkeleton_ItemPassword::property() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KCoreConfigSkeleton::ItemString::property();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t,PyObject *);

    return sipVH_kdecore_48(sipGILState,meth);
}

QVariant sipKCoreConfigSkeleton_ItemPassword::minValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KConfigSkeletonItem::minValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t,PyObject *);

    return sipVH_kdecore_48(sipGILState,meth);
}

QVariant sipKCoreConfigSkeleton_ItemPassword::maxValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KConfigSkeletonItem::maxValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t,PyObject *);

    return sipVH_kdecore_48(sipGILState,meth);
}

void sipKCoreConfigSkeleton_ItemPassword::swapDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_swapDefault);

    if (!meth)
    {
        KCoreConfigSkeleton::ItemPassword::swapDefault();
        return;
    }

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

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipKCoreConfigSkeleton_ItemPassword::sipProtect_readImmutability(const KConfigGroup& a0)
{
    KConfigSkeletonItem::readImmutability(a0);
}


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

    {
        const KConfigGroup * a0;
        sipKCoreConfigSkeleton_ItemPassword *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KCoreConfigSkeleton_ItemPassword, &sipCpp, sipType_KConfigGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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_ItemPassword, sipName_readImmutability, NULL);

    return NULL;
}


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_KCoreConfigSkeleton_ItemPassword(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_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[] = {{58, 255, 1}};


static PyMethodDef methods_KCoreConfigSkeleton_ItemPassword[] = {
    {SIP_MLNAME_CAST(sipName_readDefault), meth_KCoreConfigSkeleton_ItemPassword_readDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readImmutability), meth_KCoreConfigSkeleton_ItemPassword_readImmutability, 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,
        {41, 255, 0},
        7, 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_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
};

#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 8998 "sipkdecorepart6.cpp"

#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 9002 "sipkdecorepart6.cpp"
#line 36 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 9005 "sipkdecorepart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 9008 "sipkdecorepart6.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 9011 "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 public method for every protected method visible from
     * this class.
     */
    void sipProtect_readImmutability(const KConfigGroup&);

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

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::setDefaultValue(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemString::setDefaultValue(a0);
        return;
    }

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

    ((sipVH_QtCore_33)(sipModuleAPI_kdecore_QtCore->em_virthandlers[33]))(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemString::setDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemString::setDefault();
        return;
    }

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

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipKCoreConfigSkeleton_ItemString::readConfig(KConfig *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemString::readConfig(a0);
        return;
    }

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

    sipVH_kdecore_35(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemString::writeConfig(KConfig *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemString::writeConfig(a0);
        return;
    }

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

    sipVH_kdecore_35(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemString::readDefault(KConfig *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemString::readDefault(a0);
        return;
    }

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

    sipVH_kdecore_35(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemString::setProperty(const QVariant& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::ItemString::setProperty(a0);
        return;
    }

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

    ((sipVH_QtCore_2)(sipModuleAPI_kdecore_QtCore->em_virthandlers[2]))(sipGILState,meth,a0);
}

bool sipKCoreConfigSkeleton_ItemString::isEqual(const QVariant& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KCoreConfigSkeleton::ItemString::isEqual(a0);

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

    return sipVH_kdecore_49(sipGILState,meth,a0);
}

QVariant sipKCoreConfigSkeleton_ItemString::property() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KCoreConfigSkeleton::ItemString::property();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t,PyObject *);

    return sipVH_kdecore_48(sipGILState,meth);
}

QVariant sipKCoreConfigSkeleton_ItemString::minValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KConfigSkeletonItem::minValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t,PyObject *);

    return sipVH_kdecore_48(sipGILState,meth);
}

QVariant sipKCoreConfigSkeleton_ItemString::maxValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KConfigSkeletonItem::maxValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t,PyObject *);

    return sipVH_kdecore_48(sipGILState,meth);
}

void sipKCoreConfigSkeleton_ItemString::swapDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_swapDefault);

    if (!meth)
    {
        KCoreConfigSkeleton::ItemString::swapDefault();
        return;
    }

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

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipKCoreConfigSkeleton_ItemString::sipProtect_readImmutability(const KConfigGroup& a0)
{
    KConfigSkeletonItem::readImmutability(a0);
}


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

    {
        const KConfigGroup * a0;
        sipKCoreConfigSkeleton_ItemString *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KCoreConfigSkeleton_ItemString, &sipCpp, sipType_KConfigGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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_ItemString, sipName_readImmutability, NULL);

    return NULL;
}


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

    {
        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_KCoreConfigSkeleton_ItemString(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_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[] = {{40, 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_readImmutability), meth_KCoreConfigSkeleton_ItemString_readImmutability, 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, KCoreConfigSkeleton::ItemString::Normal, 59},
    {sipName_Password, KCoreConfigSkeleton::ItemString::Password, 59},
    {sipName_Path, KCoreConfigSkeleton::ItemString::Path, 59},
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KCoreConfigSkeleton_ItemString = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCoreConfigSkeleton__ItemString,
        {0}
    },
    {
        sipNameNr_ItemString,
        {41, 255, 0},
        12, 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_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
};

#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 9754 "sipkdecorepart6.cpp"

#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 9758 "sipkdecorepart6.cpp"
#line 39 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 9761 "sipkdecorepart6.cpp"
#line 340 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 9764 "sipkdecorepart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/ksharedconfig.sip"
#include <ksharedconfig.h>
#line 9767 "sipkdecorepart6.cpp"
#line 136 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 9770 "sipkdecorepart6.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 9773 "sipkdecorepart6.cpp"
#line 36 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 9776 "sipkdecorepart6.cpp"
#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 9779 "sipkdecorepart6.cpp"
#line 632 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 9782 "sipkdecorepart6.cpp"
#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 9785 "sipkdecorepart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 9788 "sipkdecorepart6.cpp"
#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 9791 "sipkdecorepart6.cpp"
#line 343 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 9794 "sipkdecorepart6.cpp"
#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 9797 "sipkdecorepart6.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 9800 "sipkdecorepart6.cpp"
#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 9803 "sipkdecorepart6.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 9806 "sipkdecorepart6.cpp"
#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 9809 "sipkdecorepart6.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 9812 "sipkdecorepart6.cpp"
#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 9815 "sipkdecorepart6.cpp"
#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 9818 "sipkdecorepart6.cpp"
#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 9821 "sipkdecorepart6.cpp"
#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 9824 "sipkdecorepart6.cpp"
#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 9827 "sipkdecorepart6.cpp"
#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 9830 "sipkdecorepart6.cpp"
#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 9833 "sipkdecorepart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 9836 "sipkdecorepart6.cpp"
#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 9839 "sipkdecorepart6.cpp"
#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 9842 "sipkdecorepart6.cpp"
#line 188 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 9845 "sipkdecorepart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9848 "sipkdecorepart6.cpp"
#line 315 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9851 "sipkdecorepart6.cpp"
#line 303 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9854 "sipkdecorepart6.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 9857 "sipkdecorepart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 9860 "sipkdecorepart6.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9863 "sipkdecorepart6.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 9866 "sipkdecorepart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 9869 "sipkdecorepart6.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 9872 "sipkdecorepart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 9875 "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 public method for every protected method visible from
     * this class.
     */
    QObject * sipProtect_sender() const;
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    bool sipProtectVirt_usrUseDefaults(bool,bool);
    void sipProtectVirt_usrSetDefaults(bool);
    void sipProtectVirt_usrReadConfig(bool);
    void sipProtectVirt_usrWriteConfig(bool);

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

public:
    sipSimpleWrapper *sipPySelf;

private:
    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 && sip_kdecore_qt_metacast(sipPySelf,sipType_KCoreConfigSkeleton,_clname)) ? this : KCoreConfigSkeleton::qt_metacast(_clname);
}

void sipKCoreConfigSkeleton::setDefaults()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::setDefaults();
        return;
    }

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

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipKCoreConfigSkeleton::readConfig()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::readConfig();
        return;
    }

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

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipKCoreConfigSkeleton::writeConfig()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::writeConfig();
        return;
    }

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

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

bool sipKCoreConfigSkeleton::useDefaults(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KCoreConfigSkeleton::useDefaults(a0);

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

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

bool sipKCoreConfigSkeleton::usrUseDefaults(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KCoreConfigSkeleton::usrUseDefaults(a0);

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

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

void sipKCoreConfigSkeleton::usrSetDefaults()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::usrSetDefaults();
        return;
    }

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

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipKCoreConfigSkeleton::usrReadConfig()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_usrReadConfig);

    if (!meth)
    {
        KCoreConfigSkeleton::usrReadConfig();
        return;
    }

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

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipKCoreConfigSkeleton::usrWriteConfig()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCoreConfigSkeleton::usrWriteConfig();
        return;
    }

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

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

bool sipKCoreConfigSkeleton::event(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

    return ((sipVH_QtCore_5)(sipModuleAPI_kdecore_QtCore->em_virthandlers[5]))(sipGILState,meth,a0);
}

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

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_eventFilter);

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

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

    return ((sipVH_QtCore_18)(sipModuleAPI_kdecore_QtCore->em_virthandlers[18]))(sipGILState,meth,a0,a1);
}

void sipKCoreConfigSkeleton::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

    ((sipVH_QtCore_9)(sipModuleAPI_kdecore_QtCore->em_virthandlers[9]))(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton::childEvent(QChildEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

    ((sipVH_QtCore_25)(sipModuleAPI_kdecore_QtCore->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton::customEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

    ((sipVH_QtCore_17)(sipModuleAPI_kdecore_QtCore->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton::connectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

void sipKCoreConfigSkeleton::disconnectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_disconnectNotify);

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

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

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

QObject * sipKCoreConfigSkeleton::sipProtect_sender() const
{
    return QObject::sender();
}

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

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

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

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

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

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

bool sipKCoreConfigSkeleton::sipProtectVirt_usrUseDefaults(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? KCoreConfigSkeleton::usrUseDefaults(a0) : usrUseDefaults(a0));
}

void sipKCoreConfigSkeleton::sipProtectVirt_usrSetDefaults(bool sipSelfWasArg)
{
    (sipSelfWasArg ? KCoreConfigSkeleton::usrSetDefaults() : usrSetDefaults());
}

void sipKCoreConfigSkeleton::sipProtectVirt_usrReadConfig(bool sipSelfWasArg)
{
    (sipSelfWasArg ? KCoreConfigSkeleton::usrReadConfig() : usrReadConfig());
}

void sipKCoreConfigSkeleton::sipProtectVirt_usrWriteConfig(bool sipSelfWasArg)
{
    (sipSelfWasArg ? KCoreConfigSkeleton::usrWriteConfig() : usrWriteConfig());
}


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

    {
        sipKCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton, &sipCpp))
        {
            QObject *sipRes = 0;

#line 529 "/usr/local/share/py-sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp->sender());
        #else
            sipRes = helper(sipCpp->sipProtect_sender());
        #endif
#line 10311 "sipkdecorepart6.cpp"

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

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

    return NULL;
}


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

    {
        char * a0;
        sipKCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KCoreConfigSkeleton, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 546 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp, a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 10353 "sipkdecorepart6.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipKCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCoreConfigSkeleton, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipKCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCoreConfigSkeleton, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCoreConfigSkeleton, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KCoreConfigSkeleton, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KCoreConfigSkeleton, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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;

    {
        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 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/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 10862 "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 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/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 10901 "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 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/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 10940 "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 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/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 10979 "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 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/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 11018 "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 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/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 11057 "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 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/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 11096 "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 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/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 11135 "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;

    {
        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;
        sipKCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KCoreConfigSkeleton, &sipCpp, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_usrUseDefaults(sipSelfWasArg,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));

    {
        sipKCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_usrSetDefaults(sipSelfWasArg);
            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));

    {
        sipKCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_usrReadConfig(sipSelfWasArg);
            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));

    {
        sipKCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_usrWriteConfig(sipSelfWasArg);
            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;
        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;
        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 sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKCoreConfigSkeleton *>(sipCppV);
    else
        delete reinterpret_cast<KCoreConfigSkeleton *>(sipCppV);

    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_KCoreConfigSkeleton(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_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[] = {{133, 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_childEvent), meth_KCoreConfigSkeleton_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_config), meth_KCoreConfigSkeleton_config, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KCoreConfigSkeleton_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentGroup), meth_KCoreConfigSkeleton_currentGroup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KCoreConfigSkeleton_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KCoreConfigSkeleton_disconnectNotify, 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_receivers), meth_KCoreConfigSkeleton_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), meth_KCoreConfigSkeleton_sender, 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_timerEvent), meth_KCoreConfigSkeleton_timerEvent, 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 PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KCoreConfigSkeleton[] = {
    {"configChanged()", 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},
        41, methods_KCoreConfigSkeleton,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KCoreConfigSkeleton,
    0,
    init_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
},
    &KCoreConfigSkeleton::staticMetaObject,
    0,
    pyqt4_signals_KCoreConfigSkeleton
};

#line 136 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 11864 "sipkdecorepart6.cpp"

#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 11868 "sipkdecorepart6.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 11871 "sipkdecorepart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 11874 "sipkdecorepart6.cpp"
#line 36 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 11877 "sipkdecorepart6.cpp"


class sipKConfigSkeletonItem : public KConfigSkeletonItem
{
public:
    sipKConfigSkeletonItem(const QString&,const QString&);
    virtual ~sipKConfigSkeletonItem();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_readImmutability(const KConfigGroup&);

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

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::readConfig(KConfig *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_KConfigSkeletonItem,sipName_readConfig);

    if (!meth)
        return;

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

    sipVH_kdecore_35(sipGILState,meth,a0);
}

void sipKConfigSkeletonItem::writeConfig(KConfig *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,sipName_KConfigSkeletonItem,sipName_writeConfig);

    if (!meth)
        return;

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

    sipVH_kdecore_35(sipGILState,meth,a0);
}

void sipKConfigSkeletonItem::readDefault(KConfig *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,sipName_KConfigSkeletonItem,sipName_readDefault);

    if (!meth)
        return;

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

    sipVH_kdecore_35(sipGILState,meth,a0);
}

void sipKConfigSkeletonItem::setProperty(const QVariant& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,sipName_KConfigSkeletonItem,sipName_setProperty);

    if (!meth)
        return;

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

    ((sipVH_QtCore_2)(sipModuleAPI_kdecore_QtCore->em_virthandlers[2]))(sipGILState,meth,a0);
}

bool sipKConfigSkeletonItem::isEqual(const QVariant& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return 0;

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

    return sipVH_kdecore_49(sipGILState,meth,a0);
}

QVariant sipKConfigSkeletonItem::property() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,sipName_KConfigSkeletonItem,sipName_property);

    if (!meth)
        return QVariant();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t,PyObject *);

    return sipVH_kdecore_48(sipGILState,meth);
}

QVariant sipKConfigSkeletonItem::minValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KConfigSkeletonItem::minValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t,PyObject *);

    return sipVH_kdecore_48(sipGILState,meth);
}

QVariant sipKConfigSkeletonItem::maxValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KConfigSkeletonItem::maxValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t,PyObject *);

    return sipVH_kdecore_48(sipGILState,meth);
}

void sipKConfigSkeletonItem::setDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,sipName_KConfigSkeletonItem,sipName_setDefault);

    if (!meth)
        return;

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

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipKConfigSkeletonItem::swapDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,sipName_KConfigSkeletonItem,sipName_swapDefault);

    if (!meth)
        return;

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

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipKConfigSkeletonItem::sipProtect_readImmutability(const KConfigGroup& a0)
{
    KConfigSkeletonItem::readImmutability(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;

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

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

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

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

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

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

    {
        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));

    {
        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));

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

    {
        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;
        sipKConfigSkeletonItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KConfigSkeletonItem, &sipCpp, sipType_KConfigGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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_KConfigSkeletonItem(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_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_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
};

#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 12953 "sipkdecorepart6.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 12957 "sipkdecorepart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 12960 "sipkdecorepart6.cpp"
#line 58 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/ksharedconfig.sip"
#include <ksharedconfig.h>
#line 12963 "sipkdecorepart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 12966 "sipkdecorepart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 12969 "sipkdecorepart6.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 12972 "sipkdecorepart6.cpp"
#line 82 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 12975 "sipkdecorepart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 12978 "sipkdecorepart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 12981 "sipkdecorepart6.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 12984 "sipkdecorepart6.cpp"
#line 130 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 12987 "sipkdecorepart6.cpp"
#line 36 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 12990 "sipkdecorepart6.cpp"


class sipKConfigGroup : public KConfigGroup
{
public:
    sipKConfigGroup();
    sipKConfigGroup(KConfigBase *,const QString&);
    sipKConfigGroup(KConfigBase *,const char *);
    sipKConfigGroup(const KSharedConfigPtr&,const QString&);
    sipKConfigGroup(const KSharedConfigPtr&,const char *);
    sipKConfigGroup(const KConfigGroup&);
    virtual ~sipKConfigGroup();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    bool sipProtectVirt_hasGroupImpl(bool,const QByteArray&) const;
    KConfigGroup sipProtectVirt_groupImpl(bool,const QByteArray&);
    void sipProtectVirt_deleteGroupImpl(bool,const QByteArray&,KConfigBase::WriteConfigFlags);
    bool sipProtectVirt_isGroupImmutableImpl(bool,const QByteArray&) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QStringList groupList() const;
    void sync();
    void markAsClean();
    KConfigBase::AccessMode accessMode() const;
    bool isImmutable() const;
    bool hasGroupImpl(const QByteArray&) const;
    KConfigGroup groupImpl(const QByteArray&);
    void deleteGroupImpl(const QByteArray&,KConfigBase::WriteConfigFlags);
    bool isGroupImmutableImpl(const QByteArray&) const;

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[9];
};

sipKConfigGroup::sipKConfigGroup(): KConfigGroup(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKConfigGroup::sipKConfigGroup(KConfigBase *a0,const QString& a1): KConfigGroup(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKConfigGroup::sipKConfigGroup(KConfigBase *a0,const char *a1): KConfigGroup(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKConfigGroup::sipKConfigGroup(const KSharedConfigPtr& a0,const QString& a1): KConfigGroup(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKConfigGroup::sipKConfigGroup(const KSharedConfigPtr& a0,const char *a1): KConfigGroup(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKConfigGroup::sipKConfigGroup(const KConfigGroup& a0): KConfigGroup(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

QStringList sipKConfigGroup::groupList() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KConfigGroup::groupList();

    typedef QStringList (*sipVH_QtCore_27)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_27)(sipModuleAPI_kdecore_QtCore->em_virthandlers[27]))(sipGILState,meth);
}

void sipKConfigGroup::sync()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KConfigGroup::sync();
        return;
    }

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

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipKConfigGroup::markAsClean()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KConfigGroup::markAsClean();
        return;
    }

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

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

KConfigBase::AccessMode sipKConfigGroup::accessMode() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KConfigGroup::accessMode();

    extern KConfigBase::AccessMode sipVH_kdecore_52(sip_gilstate_t,PyObject *);

    return sipVH_kdecore_52(sipGILState,meth);
}

bool sipKConfigGroup::isImmutable() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KConfigGroup::isImmutable();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_kdecore_QtCore->em_virthandlers[7]))(sipGILState,meth);
}

bool sipKConfigGroup::hasGroupImpl(const QByteArray& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KConfigGroup::hasGroupImpl(a0);

    extern bool sipVH_kdecore_34(sip_gilstate_t,PyObject *,const QByteArray&);

    return sipVH_kdecore_34(sipGILState,meth,a0);
}

KConfigGroup sipKConfigGroup::groupImpl(const QByteArray& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_groupImpl);

    if (!meth)
        return KConfigGroup::groupImpl(a0);

    extern KConfigGroup sipVH_kdecore_51(sip_gilstate_t,PyObject *,const QByteArray&);

    return sipVH_kdecore_51(sipGILState,meth,a0);
}

void sipKConfigGroup::deleteGroupImpl(const QByteArray& a0,KConfigBase::WriteConfigFlags a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KConfigGroup::deleteGroupImpl(a0,a1);
        return;
    }

    extern void sipVH_kdecore_50(sip_gilstate_t,PyObject *,const QByteArray&,KConfigBase::WriteConfigFlags);

    sipVH_kdecore_50(sipGILState,meth,a0,a1);
}

bool sipKConfigGroup::isGroupImmutableImpl(const QByteArray& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KConfigGroup::isGroupImmutableImpl(a0);

    extern bool sipVH_kdecore_34(sip_gilstate_t,PyObject *,const QByteArray&);

    return sipVH_kdecore_34(sipGILState,meth,a0);
}

bool sipKConfigGroup::sipProtectVirt_hasGroupImpl(bool sipSelfWasArg,const QByteArray& a0) const
{
    return (sipSelfWasArg ? KConfigGroup::hasGroupImpl(a0) : hasGroupImpl(a0));
}

KConfigGroup sipKConfigGroup::sipProtectVirt_groupImpl(bool sipSelfWasArg,const QByteArray& a0)
{
    return (sipSelfWasArg ? KConfigGroup::groupImpl(a0) : groupImpl(a0));
}

void sipKConfigGroup::sipProtectVirt_deleteGroupImpl(bool sipSelfWasArg,const QByteArray& a0,KConfigBase::WriteConfigFlags a1)
{
    (sipSelfWasArg ? KConfigGroup::deleteGroupImpl(a0,a1) : deleteGroupImpl(a0,a1));
}

bool sipKConfigGroup::sipProtectVirt_isGroupImmutableImpl(bool sipSelfWasArg,const QByteArray& a0) const
{
    return (sipSelfWasArg ? KConfigGroup::isGroupImmutableImpl(a0) : isGroupImmutableImpl(a0));
}


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

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

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

    {
        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;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KConfigGroup, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KConfigGroup::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_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;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KConfigGroup, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KConfigGroup::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_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;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KConfigGroup, &sipCpp))
        {
            KConfigBase::AccessMode sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KConfigGroup::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_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;
        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;

    {
        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;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KConfigGroup *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList((sipSelfWasArg ? sipCpp->KConfigGroup::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_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;

    {
        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;
        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;
        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;
        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;
        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;
        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;
        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;
        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;
        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;
        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;
        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;
        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;
        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;
        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;
        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;
        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;
        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;
        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;
        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;
        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;
        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;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KConfigGroup *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KConfigGroup::isImmutable() : 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;
        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;
        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;
        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;
        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;

    {
        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;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray * a0;
        int a0State = 0;
        sipKConfigGroup *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_hasGroupImpl(sipSelfWasArg,*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;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray * a0;
        int a0State = 0;
        sipKConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KConfigGroup, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            KConfigGroup *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KConfigGroup(sipCpp->sipProtectVirt_groupImpl(sipSelfWasArg,*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;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray * a0;
        int a0State = 0;
        KConfigBase::WriteConfigFlags * a1;
        int a1State = 0;
        sipKConfigGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_KConfigGroup, &sipCpp, sipType_QByteArray, &a0, &a0State, sipType_KConfigBase_WriteConfigFlags, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_deleteGroupImpl(sipSelfWasArg,*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;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray * a0;
        int a0State = 0;
        sipKConfigGroup *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_isGroupImmutableImpl(sipSelfWasArg,*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 sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKConfigGroup *>(sipCppV);
    else
        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 (sipIsDerived(sipSelf))
        reinterpret_cast<sipKConfigGroup *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

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

            sipCpp->sipPySelf = sipSelf;

            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 sipKConfigGroup(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            sipCpp->sipPySelf = sipSelf;

            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 sipKConfigGroup(a0,a1);
            Py_END_ALLOW_THREADS
            Py_DECREF(a1Keep);

            sipCpp->sipPySelf = sipSelf;

            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 sipKConfigGroup(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<KSharedConfigPtr *>(a0),sipType_KSharedConfigPtr,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            sipCpp->sipPySelf = sipSelf;

            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 sipKConfigGroup(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<KSharedConfigPtr *>(a0),sipType_KSharedConfigPtr,a0State);
            Py_DECREF(a1Keep);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const KConfigGroup * a0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KConfigGroup[] = {{35, 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_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
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 15241 "sipkdecorepart6.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 15245 "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 336 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != 0);
#line 15263 "sipkdecorepart6.cpp"

            return sipRes;
        }
    }
}


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 331 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != a0->operator int());
#line 15291 "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 326 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() == a0->operator int());
#line 15327 "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);
        }
    }
}


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 320 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = new KConfigBase::WriteConfigFlags(*a0 ^ a1);
#line 15434 "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 315 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = new KConfigBase::WriteConfigFlags(*a0 | a1);
#line 15486 "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);
        }
    }
}


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_KConfigBase_WriteConfigFlags(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_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 341 "/usr/local/share/py-sip/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(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 15779 "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,
        {35, 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_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,
    1,
    0
};

#line 36 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 15852 "sipkdecorepart6.cpp"

#line 36 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 15856 "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 336 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != 0);
#line 15874 "sipkdecorepart6.cpp"

            return sipRes;
        }
    }
}


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 331 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != a0->operator int());
#line 15902 "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 326 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() == a0->operator int());
#line 15938 "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);
        }
    }
}


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 320 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = new KConfig::OpenFlags(*a0 ^ a1);
#line 16045 "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 315 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = new KConfig::OpenFlags(*a0 | a1);
#line 16097 "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);
        }
    }
}


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_KConfig_OpenFlags(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_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 341 "/usr/local/share/py-sip/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(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 16390 "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,
        {32, 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_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,
    1,
    0
};

#line 36 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 16463 "sipkdecorepart6.cpp"

#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 16467 "sipkdecorepart6.cpp"
#line 36 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 16470 "sipkdecorepart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kcomponentdata.sip"
#include <kcomponentdata.h>
#line 16473 "sipkdecorepart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 16476 "sipkdecorepart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 16479 "sipkdecorepart6.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 16482 "sipkdecorepart6.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 16485 "sipkdecorepart6.cpp"
#line 82 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 16488 "sipkdecorepart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 16491 "sipkdecorepart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 16494 "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 public method for every protected method visible from
     * this class.
     */
    bool sipProtectVirt_hasGroupImpl(bool,const QByteArray&) const;
    KConfigGroup sipProtectVirt_groupImpl(bool,const QByteArray&);
    void sipProtectVirt_deleteGroupImpl(bool,const QByteArray&,KConfigBase::WriteConfigFlags);
    bool sipProtectVirt_isGroupImmutableImpl(bool,const QByteArray&) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool hasGroupImpl(const QByteArray&) const;
    KConfigGroup groupImpl(const QByteArray&);
    void deleteGroupImpl(const QByteArray&,KConfigBase::WriteConfigFlags);
    bool isGroupImmutableImpl(const QByteArray&) const;
    QStringList groupList() const;
    void sync();
    void markAsClean();
    KConfigBase::AccessMode accessMode() const;
    bool isImmutable() 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::hasGroupImpl(const QByteArray& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KConfig::hasGroupImpl(a0);

    extern bool sipVH_kdecore_34(sip_gilstate_t,PyObject *,const QByteArray&);

    return sipVH_kdecore_34(sipGILState,meth,a0);
}

KConfigGroup sipKConfig::groupImpl(const QByteArray& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KConfig::groupImpl(a0);

    extern KConfigGroup sipVH_kdecore_51(sip_gilstate_t,PyObject *,const QByteArray&);

    return sipVH_kdecore_51(sipGILState,meth,a0);
}

void sipKConfig::deleteGroupImpl(const QByteArray& a0,KConfigBase::WriteConfigFlags a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KConfig::deleteGroupImpl(a0,a1);
        return;
    }

    extern void sipVH_kdecore_50(sip_gilstate_t,PyObject *,const QByteArray&,KConfigBase::WriteConfigFlags);

    sipVH_kdecore_50(sipGILState,meth,a0,a1);
}

bool sipKConfig::isGroupImmutableImpl(const QByteArray& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KConfig::isGroupImmutableImpl(a0);

    extern bool sipVH_kdecore_34(sip_gilstate_t,PyObject *,const QByteArray&);

    return sipVH_kdecore_34(sipGILState,meth,a0);
}

QStringList sipKConfig::groupList() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KConfig::groupList();

    typedef QStringList (*sipVH_QtCore_27)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_27)(sipModuleAPI_kdecore_QtCore->em_virthandlers[27]))(sipGILState,meth);
}

void sipKConfig::sync()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KConfig::sync();
        return;
    }

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

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipKConfig::markAsClean()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_markAsClean);

    if (!meth)
    {
        KConfig::markAsClean();
        return;
    }

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

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

KConfigBase::AccessMode sipKConfig::accessMode() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KConfig::accessMode();

    extern KConfigBase::AccessMode sipVH_kdecore_52(sip_gilstate_t,PyObject *);

    return sipVH_kdecore_52(sipGILState,meth);
}

bool sipKConfig::isImmutable() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KConfig::isImmutable();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_kdecore_QtCore->em_virthandlers[7]))(sipGILState,meth);
}

bool sipKConfig::sipProtectVirt_hasGroupImpl(bool sipSelfWasArg,const QByteArray& a0) const
{
    return (sipSelfWasArg ? KConfig::hasGroupImpl(a0) : hasGroupImpl(a0));
}

KConfigGroup sipKConfig::sipProtectVirt_groupImpl(bool sipSelfWasArg,const QByteArray& a0)
{
    return (sipSelfWasArg ? KConfig::groupImpl(a0) : groupImpl(a0));
}

void sipKConfig::sipProtectVirt_deleteGroupImpl(bool sipSelfWasArg,const QByteArray& a0,KConfigBase::WriteConfigFlags a1)
{
    (sipSelfWasArg ? KConfig::deleteGroupImpl(a0,a1) : deleteGroupImpl(a0,a1));
}

bool sipKConfig::sipProtectVirt_isGroupImmutableImpl(bool sipSelfWasArg,const QByteArray& a0) const
{
    return (sipSelfWasArg ? KConfig::isGroupImmutableImpl(a0) : isGroupImmutableImpl(a0));
}


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

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

    {
        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));

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

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

    {
        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));

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

    {
        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));

    {
        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;
        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;
        sipKConfig *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_hasGroupImpl(sipSelfWasArg,*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;
        sipKConfig *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KConfig, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            KConfigGroup *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KConfigGroup(sipCpp->sipProtectVirt_groupImpl(sipSelfWasArg,*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;
        sipKConfig *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|J1", &sipSelf, sipType_KConfig, &sipCpp, sipType_QByteArray, &a0, &a0State, sipType_KConfigBase_WriteConfigFlags, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_deleteGroupImpl(sipSelfWasArg,*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;
        sipKConfig *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_isGroupImmutableImpl(sipSelfWasArg,*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_KConfig(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_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[] = {{35, 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, KConfig::CascadeConfig, 33},
    {sipName_FullConfig, KConfig::FullConfig, 33},
    {sipName_IncludeGlobals, KConfig::IncludeGlobals, 33},
    {sipName_NoCascade, KConfig::NoCascade, 33},
    {sipName_NoGlobals, KConfig::NoGlobals, 33},
    {sipName_SimpleConfig, KConfig::SimpleConfig, 33},
};


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

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 17604 "sipkdecorepart6.cpp"

#line 42 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 17608 "sipkdecorepart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 17611 "sipkdecorepart6.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 17614 "sipkdecorepart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 17617 "sipkdecorepart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 17620 "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;

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

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

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


/* 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_group), meth_KConfigBase_group, 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_isGroupImmutable), meth_KConfigBase_isGroupImmutable, 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, KConfigBase::Global, 37},
    {sipName_Localized, KConfigBase::Localized, 37},
    {sipName_NoAccess, KConfigBase::NoAccess, 36},
    {sipName_Normal, KConfigBase::Normal, 37},
    {sipName_Persistent, KConfigBase::Persistent, 37},
    {sipName_ReadOnly, KConfigBase::ReadOnly, 36},
    {sipName_ReadWrite, KConfigBase::ReadWrite, 36},
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KConfigBase = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_KConfigBase,
        {0}
    },
    {
        sipNameNr_KConfigBase,
        {0, 0, 1},
        9, 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
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kcompositejob.sip"
#include <kcompositejob.h>
#line 18172 "sipkdecorepart6.cpp"

#line 39 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 18176 "sipkdecorepart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 18179 "sipkdecorepart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 18182 "sipkdecorepart6.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 18185 "sipkdecorepart6.cpp"
#line 673 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/typedefs.sip"
#include <qpair.h>
#line 18188 "sipkdecorepart6.cpp"
#line 82 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 18191 "sipkdecorepart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 18194 "sipkdecorepart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kjobuidelegate.sip"
#include <kjobuidelegate.h>
#line 18197 "sipkdecorepart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 18200 "sipkdecorepart6.cpp"
#line 315 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 18203 "sipkdecorepart6.cpp"
#line 303 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 18206 "sipkdecorepart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 18209 "sipkdecorepart6.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 18212 "sipkdecorepart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 18215 "sipkdecorepart6.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 18218 "sipkdecorepart6.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 18221 "sipkdecorepart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 18224 "sipkdecorepart6.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 18227 "sipkdecorepart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 18230 "sipkdecorepart6.cpp"


class sipKCompositeJob : public KCompositeJob
{
public:
    sipKCompositeJob(QObject *);
    virtual ~sipKCompositeJob();

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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject * sipProtect_sender() const;
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    bool sipProtectVirt_doKill(bool);
    bool sipProtectVirt_doSuspend(bool);
    bool sipProtectVirt_doResume(bool);
    void sipProtect_setCapabilities(KJob::Capabilities);
    void sipProtect_setError(int);
    void sipProtect_setErrorText(const QString&);
    void sipProtect_setProcessedAmount(KJob::Unit,qulonglong);
    void sipProtect_setTotalAmount(KJob::Unit,qulonglong);
    void sipProtect_setPercent(unsigned long);
    void sipProtect_emitResult();
    void sipProtect_emitPercent(qulonglong,qulonglong);
    void sipProtect_emitSpeed(unsigned long);
    bool sipProtectVirt_addSubjob(bool,KJob *);
    bool sipProtectVirt_removeSubjob(bool,KJob *);
    bool sipProtect_hasSubjobs();
    const QList<KJob *>& sipProtect_subjobs() const;
    void sipProtect_clearSubjobs();
    void sipProtectVirt_slotResult(bool,KJob *);
    void sipProtectVirt_slotInfoMessage(bool,KJob *,const QString&,const QString&);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool addSubjob(KJob *);
    bool removeSubjob(KJob *);
    void slotResult(KJob *);
    void slotInfoMessage(KJob *,const QString&,const QString&);
    void start();
    bool doKill();
    bool doSuspend();
    bool doResume();
    QString errorString() const;
    bool event(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[16];
};

sipKCompositeJob::sipKCompositeJob(QObject *a0): KCompositeJob(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKCompositeJob::metaObject() const
{
    return sip_kdecore_qt_metaobject(sipPySelf,sipType_KCompositeJob);
}

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

    if (_id >= 0)
        _id = sip_kdecore_qt_metacall(sipPySelf,sipType_KCompositeJob,_c,_id,_a);

    return _id;
}

void *sipKCompositeJob::qt_metacast(const char *_clname)
{
    return (sip_kdecore_qt_metacast && sip_kdecore_qt_metacast(sipPySelf,sipType_KCompositeJob,_clname)) ? this : KCompositeJob::qt_metacast(_clname);
}

bool sipKCompositeJob::addSubjob(KJob *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KCompositeJob::addSubjob(a0);

    extern bool sipVH_kdecore_53(sip_gilstate_t,PyObject *,KJob *);

    return sipVH_kdecore_53(sipGILState,meth,a0);
}

bool sipKCompositeJob::removeSubjob(KJob *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KCompositeJob::removeSubjob(a0);

    extern bool sipVH_kdecore_53(sip_gilstate_t,PyObject *,KJob *);

    return sipVH_kdecore_53(sipGILState,meth,a0);
}

void sipKCompositeJob::slotResult(KJob *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCompositeJob::slotResult(a0);
        return;
    }

    extern void sipVH_kdecore_27(sip_gilstate_t,PyObject *,KJob *);

    sipVH_kdecore_27(sipGILState,meth,a0);
}

void sipKCompositeJob::slotInfoMessage(KJob *a0,const QString& a1,const QString& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCompositeJob::slotInfoMessage(a0,a1,a2);
        return;
    }

    extern void sipVH_kdecore_23(sip_gilstate_t,PyObject *,KJob *,const QString&,const QString&);

    sipVH_kdecore_23(sipGILState,meth,a0,a1,a2);
}

void sipKCompositeJob::start()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,sipName_KCompositeJob,sipName_start);

    if (!meth)
        return;

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

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

bool sipKCompositeJob::doKill()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KJob::doKill();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_kdecore_QtCore->em_virthandlers[7]))(sipGILState,meth);
}

bool sipKCompositeJob::doSuspend()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_doSuspend);

    if (!meth)
        return KJob::doSuspend();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_kdecore_QtCore->em_virthandlers[7]))(sipGILState,meth);
}

bool sipKCompositeJob::doResume()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KJob::doResume();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_kdecore_QtCore->em_virthandlers[7]))(sipGILState,meth);
}

QString sipKCompositeJob::errorString() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KJob::errorString();

    typedef QString (*sipVH_QtCore_62)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_62)(sipModuleAPI_kdecore_QtCore->em_virthandlers[62]))(sipGILState,meth);
}

bool sipKCompositeJob::event(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

    return ((sipVH_QtCore_5)(sipModuleAPI_kdecore_QtCore->em_virthandlers[5]))(sipGILState,meth,a0);
}

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

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_eventFilter);

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

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

    return ((sipVH_QtCore_18)(sipModuleAPI_kdecore_QtCore->em_virthandlers[18]))(sipGILState,meth,a0,a1);
}

void sipKCompositeJob::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

    ((sipVH_QtCore_9)(sipModuleAPI_kdecore_QtCore->em_virthandlers[9]))(sipGILState,meth,a0);
}

void sipKCompositeJob::childEvent(QChildEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

    ((sipVH_QtCore_25)(sipModuleAPI_kdecore_QtCore->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipKCompositeJob::customEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

    ((sipVH_QtCore_17)(sipModuleAPI_kdecore_QtCore->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipKCompositeJob::connectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_connectNotify);

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

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

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

void sipKCompositeJob::disconnectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_disconnectNotify);

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

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

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

QObject * sipKCompositeJob::sipProtect_sender() const
{
    return QObject::sender();
}

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

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

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

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

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

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

bool sipKCompositeJob::sipProtectVirt_doKill(bool sipSelfWasArg)
{
    return (sipSelfWasArg ? KJob::doKill() : doKill());
}

bool sipKCompositeJob::sipProtectVirt_doSuspend(bool sipSelfWasArg)
{
    return (sipSelfWasArg ? KJob::doSuspend() : doSuspend());
}

bool sipKCompositeJob::sipProtectVirt_doResume(bool sipSelfWasArg)
{
    return (sipSelfWasArg ? KJob::doResume() : doResume());
}

void sipKCompositeJob::sipProtect_setCapabilities(KJob::Capabilities a0)
{
    KJob::setCapabilities(a0);
}

void sipKCompositeJob::sipProtect_setError(int a0)
{
    KJob::setError(a0);
}

void sipKCompositeJob::sipProtect_setErrorText(const QString& a0)
{
    KJob::setErrorText(a0);
}

void sipKCompositeJob::sipProtect_setProcessedAmount(KJob::Unit a0,qulonglong a1)
{
    KJob::setProcessedAmount(a0,a1);
}

void sipKCompositeJob::sipProtect_setTotalAmount(KJob::Unit a0,qulonglong a1)
{
    KJob::setTotalAmount(a0,a1);
}

void sipKCompositeJob::sipProtect_setPercent(unsigned long a0)
{
    KJob::setPercent(a0);
}

void sipKCompositeJob::sipProtect_emitResult()
{
    KJob::emitResult();
}

void sipKCompositeJob::sipProtect_emitPercent(qulonglong a0,qulonglong a1)
{
    KJob::emitPercent(a0,a1);
}

void sipKCompositeJob::sipProtect_emitSpeed(unsigned long a0)
{
    KJob::emitSpeed(a0);
}

bool sipKCompositeJob::sipProtectVirt_addSubjob(bool sipSelfWasArg,KJob *a0)
{
    return (sipSelfWasArg ? KCompositeJob::addSubjob(a0) : addSubjob(a0));
}

bool sipKCompositeJob::sipProtectVirt_removeSubjob(bool sipSelfWasArg,KJob *a0)
{
    return (sipSelfWasArg ? KCompositeJob::removeSubjob(a0) : removeSubjob(a0));
}

bool sipKCompositeJob::sipProtect_hasSubjobs()
{
    return KCompositeJob::hasSubjobs();
}

const QList<KJob *>& sipKCompositeJob::sipProtect_subjobs() const
{
    return KCompositeJob::subjobs();
}

void sipKCompositeJob::sipProtect_clearSubjobs()
{
    KCompositeJob::clearSubjobs();
}

void sipKCompositeJob::sipProtectVirt_slotResult(bool sipSelfWasArg,KJob *a0)
{
    (sipSelfWasArg ? KCompositeJob::slotResult(a0) : slotResult(a0));
}

void sipKCompositeJob::sipProtectVirt_slotInfoMessage(bool sipSelfWasArg,KJob *a0,const QString& a1,const QString& a2)
{
    (sipSelfWasArg ? KCompositeJob::slotInfoMessage(a0,a1,a2) : slotInfoMessage(a0,a1,a2));
}


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

    {
        sipKCompositeJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCompositeJob, &sipCpp))
        {
            QObject *sipRes = 0;

#line 529 "/usr/local/share/py-sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp->sender());
        #else
            sipRes = helper(sipCpp->sipProtect_sender());
        #endif
#line 18754 "sipkdecorepart6.cpp"

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

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

    return NULL;
}


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

    {
        char * a0;
        sipKCompositeJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KCompositeJob, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 546 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp, a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 18796 "sipkdecorepart6.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipKCompositeJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCompositeJob, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipKCompositeJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCompositeJob, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKCompositeJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCompositeJob, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKCompositeJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KCompositeJob, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKCompositeJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KCompositeJob, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipKCompositeJob *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_doKill(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipKCompositeJob *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_doSuspend(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipKCompositeJob *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_doResume(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KJob::Capabilities * a0;
        int a0State = 0;
        sipKCompositeJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCompositeJob, &sipCpp, sipType_KJob_Capabilities, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setCapabilities(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KJob_Capabilities,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        sipKCompositeJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KCompositeJob, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setError(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_KCompositeJob, sipName_setError, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCompositeJob, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setErrorText(*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_KCompositeJob, sipName_setErrorText, NULL);

    return NULL;
}


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

    {
        KJob::Unit a0;
        qulonglong a1;
        sipKCompositeJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEo", &sipSelf, sipType_KCompositeJob, &sipCpp, sipType_KJob_Unit, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setProcessedAmount(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KJob::Unit a0;
        qulonglong a1;
        sipKCompositeJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEo", &sipSelf, sipType_KCompositeJob, &sipCpp, sipType_KJob_Unit, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setTotalAmount(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        unsigned long a0;
        sipKCompositeJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bm", &sipSelf, sipType_KCompositeJob, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setPercent(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_KCompositeJob, sipName_setPercent, NULL);

    return NULL;
}


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

    {
        sipKCompositeJob *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        qulonglong a0;
        qulonglong a1;
        sipKCompositeJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Boo", &sipSelf, sipType_KCompositeJob, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_emitPercent(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        unsigned long a0;
        sipKCompositeJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bm", &sipSelf, sipType_KCompositeJob, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_emitSpeed(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_KCompositeJob, sipName_emitSpeed, NULL);

    return NULL;
}


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

    {
        KJob * a0;
        sipKCompositeJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCompositeJob, &sipCpp, sipType_KJob, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_addSubjob(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KJob * a0;
        sipKCompositeJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCompositeJob, &sipCpp, sipType_KJob, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_removeSubjob(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipKCompositeJob *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_hasSubjobs();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipKCompositeJob *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<KJob *>(sipCpp->sipProtect_subjobs());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        sipKCompositeJob *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KJob * a0;
        sipKCompositeJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCompositeJob, &sipCpp, sipType_KJob, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_slotResult(sipSelfWasArg,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_KCompositeJob, sipName_slotResult, NULL);

    return NULL;
}


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

    {
        KJob * a0;
        const QString * a1;
        int a1State = 0;
        const QString * a2;
        int a2State = 0;
        sipKCompositeJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J1J1", &sipSelf, sipType_KCompositeJob, &sipCpp, sipType_KJob, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_slotInfoMessage(sipSelfWasArg,a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KCompositeJob)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KJob)->ctd_cast((KJob *)(KCompositeJob *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKCompositeJob *>(sipCppV);
    else
        delete reinterpret_cast<KCompositeJob *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        QObject * a0 = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KCompositeJob[] = {
    {SIP_MLNAME_CAST(sipName_addSubjob), meth_KCompositeJob_addSubjob, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KCompositeJob_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clearSubjobs), meth_KCompositeJob_clearSubjobs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KCompositeJob_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KCompositeJob_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KCompositeJob_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doKill), meth_KCompositeJob_doKill, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doResume), meth_KCompositeJob_doResume, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doSuspend), meth_KCompositeJob_doSuspend, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_emitPercent), meth_KCompositeJob_emitPercent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_emitResult), meth_KCompositeJob_emitResult, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_emitSpeed), meth_KCompositeJob_emitSpeed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasSubjobs), meth_KCompositeJob_hasSubjobs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KCompositeJob_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeSubjob), meth_KCompositeJob_removeSubjob, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), meth_KCompositeJob_sender, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCapabilities), meth_KCompositeJob_setCapabilities, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setError), meth_KCompositeJob_setError, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setErrorText), meth_KCompositeJob_setErrorText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPercent), meth_KCompositeJob_setPercent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setProcessedAmount), meth_KCompositeJob_setProcessedAmount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTotalAmount), meth_KCompositeJob_setTotalAmount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotInfoMessage), meth_KCompositeJob_slotInfoMessage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotResult), meth_KCompositeJob_slotResult, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_subjobs), meth_KCompositeJob_subjobs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KCompositeJob_timerEvent, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KCompositeJob = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KCompositeJob,
        {0}
    },
    {
        sipNameNr_KCompositeJob,
        {0, 0, 1},
        26, methods_KCompositeJob,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KCompositeJob,
    0,
    init_KCompositeJob,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCompositeJob,
    0,
    0,
    0,
    release_KCompositeJob,
    cast_KCompositeJob,
    0,
    0,
    0
},
    &KCompositeJob::staticMetaObject,
    0,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 19636 "sipkdecorepart6.cpp"

#line 39 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 19640 "sipkdecorepart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 19643 "sipkdecorepart6.cpp"
#line 673 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/typedefs.sip"
#include <qpair.h>
#line 19646 "sipkdecorepart6.cpp"
#line 82 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 19649 "sipkdecorepart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 19652 "sipkdecorepart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kjobuidelegate.sip"
#include <kjobuidelegate.h>
#line 19655 "sipkdecorepart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 19658 "sipkdecorepart6.cpp"
#line 315 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 19661 "sipkdecorepart6.cpp"
#line 303 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 19664 "sipkdecorepart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 19667 "sipkdecorepart6.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 19670 "sipkdecorepart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 19673 "sipkdecorepart6.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 19676 "sipkdecorepart6.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 19679 "sipkdecorepart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 19682 "sipkdecorepart6.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 19685 "sipkdecorepart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 19688 "sipkdecorepart6.cpp"


class sipKJob : public KJob
{
public:
    sipKJob(QObject *);
    virtual ~sipKJob();

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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject * sipProtect_sender() const;
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    bool sipProtectVirt_doKill(bool);
    bool sipProtectVirt_doSuspend(bool);
    bool sipProtectVirt_doResume(bool);
    void sipProtect_setCapabilities(KJob::Capabilities);
    void sipProtect_setError(int);
    void sipProtect_setErrorText(const QString&);
    void sipProtect_setProcessedAmount(KJob::Unit,qulonglong);
    void sipProtect_setTotalAmount(KJob::Unit,qulonglong);
    void sipProtect_setPercent(unsigned long);
    void sipProtect_emitResult();
    void sipProtect_emitPercent(qulonglong,qulonglong);
    void sipProtect_emitSpeed(unsigned long);

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[12];
};

sipKJob::sipKJob(QObject *a0): KJob(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKJob::metaObject() const
{
    return sip_kdecore_qt_metaobject(sipPySelf,sipType_KJob);
}

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

    if (_id >= 0)
        _id = sip_kdecore_qt_metacall(sipPySelf,sipType_KJob,_c,_id,_a);

    return _id;
}

void *sipKJob::qt_metacast(const char *_clname)
{
    return (sip_kdecore_qt_metacast && sip_kdecore_qt_metacast(sipPySelf,sipType_KJob,_clname)) ? this : KJob::qt_metacast(_clname);
}

void sipKJob::start()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_KJob,sipName_start);

    if (!meth)
        return;

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

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

bool sipKJob::doKill()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KJob::doKill();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_kdecore_QtCore->em_virthandlers[7]))(sipGILState,meth);
}

bool sipKJob::doSuspend()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KJob::doSuspend();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_kdecore_QtCore->em_virthandlers[7]))(sipGILState,meth);
}

bool sipKJob::doResume()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KJob::doResume();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_kdecore_QtCore->em_virthandlers[7]))(sipGILState,meth);
}

QString sipKJob::errorString() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KJob::errorString();

    typedef QString (*sipVH_QtCore_62)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_62)(sipModuleAPI_kdecore_QtCore->em_virthandlers[62]))(sipGILState,meth);
}

bool sipKJob::event(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

    return ((sipVH_QtCore_5)(sipModuleAPI_kdecore_QtCore->em_virthandlers[5]))(sipGILState,meth,a0);
}

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

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_eventFilter);

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

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

    return ((sipVH_QtCore_18)(sipModuleAPI_kdecore_QtCore->em_virthandlers[18]))(sipGILState,meth,a0,a1);
}

void sipKJob::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

    ((sipVH_QtCore_9)(sipModuleAPI_kdecore_QtCore->em_virthandlers[9]))(sipGILState,meth,a0);
}

void sipKJob::childEvent(QChildEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

    ((sipVH_QtCore_25)(sipModuleAPI_kdecore_QtCore->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipKJob::customEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

    ((sipVH_QtCore_17)(sipModuleAPI_kdecore_QtCore->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipKJob::connectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_connectNotify);

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

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

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

void sipKJob::disconnectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_disconnectNotify);

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

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

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

QObject * sipKJob::sipProtect_sender() const
{
    return QObject::sender();
}

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

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

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

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

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

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

bool sipKJob::sipProtectVirt_doKill(bool sipSelfWasArg)
{
    return (sipSelfWasArg ? KJob::doKill() : doKill());
}

bool sipKJob::sipProtectVirt_doSuspend(bool sipSelfWasArg)
{
    return (sipSelfWasArg ? KJob::doSuspend() : doSuspend());
}

bool sipKJob::sipProtectVirt_doResume(bool sipSelfWasArg)
{
    return (sipSelfWasArg ? KJob::doResume() : doResume());
}

void sipKJob::sipProtect_setCapabilities(KJob::Capabilities a0)
{
    KJob::setCapabilities(a0);
}

void sipKJob::sipProtect_setError(int a0)
{
    KJob::setError(a0);
}

void sipKJob::sipProtect_setErrorText(const QString& a0)
{
    KJob::setErrorText(a0);
}

void sipKJob::sipProtect_setProcessedAmount(KJob::Unit a0,qulonglong a1)
{
    KJob::setProcessedAmount(a0,a1);
}

void sipKJob::sipProtect_setTotalAmount(KJob::Unit a0,qulonglong a1)
{
    KJob::setTotalAmount(a0,a1);
}

void sipKJob::sipProtect_setPercent(unsigned long a0)
{
    KJob::setPercent(a0);
}

void sipKJob::sipProtect_emitResult()
{
    KJob::emitResult();
}

void sipKJob::sipProtect_emitPercent(qulonglong a0,qulonglong a1)
{
    KJob::emitPercent(a0,a1);
}

void sipKJob::sipProtect_emitSpeed(unsigned long a0)
{
    KJob::emitSpeed(a0);
}


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

    {
        sipKJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KJob, &sipCpp))
        {
            QObject *sipRes = 0;

#line 529 "/usr/local/share/py-sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp->sender());
        #else
            sipRes = helper(sipCpp->sipProtect_sender());
        #endif
#line 20100 "sipkdecorepart6.cpp"

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

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

    return NULL;
}


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

    {
        char * a0;
        sipKJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KJob, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 546 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp, a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 20142 "sipkdecorepart6.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipKJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KJob, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipKJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KJob, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KJob, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KJob, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KJob, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KJobUiDelegate * a0;
        KJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KJob, &sipCpp, sipType_KJobUiDelegate, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setUiDelegate(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_KJob, sipName_setUiDelegate, NULL);

    return NULL;
}


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

    {
        KJob *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->uiDelegate();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KJob, &sipCpp))
        {
            KJob::Capabilities *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KJob::Capabilities(sipCpp->capabilities());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KJob *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isSuspended();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KJob, &sipCpp))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KJob, sipName_start);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->start();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KJob::KillVerbosity a0 = KJob::Quietly;
        KJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|E", &sipSelf, sipType_KJob, &sipCpp, sipType_KJob_KillVerbosity, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->kill(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KJob *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->suspend();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KJob *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->resume();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipKJob *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_doKill(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipKJob *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_doSuspend(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipKJob *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_doResume(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KJob::Capabilities * a0;
        int a0State = 0;
        sipKJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KJob, &sipCpp, sipType_KJob_Capabilities, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setCapabilities(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KJob_Capabilities,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KJob *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->exec();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KJob *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->error();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KJob *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KJob *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString((sipSelfWasArg ? sipCpp->KJob::errorString() : sipCpp->errorString()));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KJob::Unit a0;
        KJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KJob, &sipCpp, sipType_KJob_Unit, &a0))
        {
            qulonglong sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->processedAmount(a0);
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLongLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KJob::Unit a0;
        KJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KJob, &sipCpp, sipType_KJob_Unit, &a0))
        {
            qulonglong sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->totalAmount(a0);
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLongLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KJob, &sipCpp))
        {
            unsigned long sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->percent();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        KJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KJob, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAutoDelete(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_KJob, sipName_setAutoDelete, NULL);

    return NULL;
}


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

    {
        KJob *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isAutoDelete();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        sipKJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KJob, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setError(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_KJob, sipName_setError, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KJob, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setErrorText(*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_KJob, sipName_setErrorText, NULL);

    return NULL;
}


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

    {
        KJob::Unit a0;
        qulonglong a1;
        sipKJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEo", &sipSelf, sipType_KJob, &sipCpp, sipType_KJob_Unit, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setProcessedAmount(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KJob::Unit a0;
        qulonglong a1;
        sipKJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEo", &sipSelf, sipType_KJob, &sipCpp, sipType_KJob_Unit, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setTotalAmount(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        unsigned long a0;
        sipKJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bm", &sipSelf, sipType_KJob, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setPercent(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_KJob, sipName_setPercent, NULL);

    return NULL;
}


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

    {
        sipKJob *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        qulonglong a0;
        qulonglong a1;
        sipKJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Boo", &sipSelf, sipType_KJob, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_emitPercent(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        unsigned long a0;
        sipKJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bm", &sipSelf, sipType_KJob, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_emitSpeed(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_KJob, sipName_emitSpeed, NULL);

    return NULL;
}


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

    if (targetType == sipType_KJob)
        return ptr;

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

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKJob *>(sipCppV);
    else
        delete reinterpret_cast<KJob *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        QObject * a0 = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KJob[] = {
    {SIP_MLNAME_CAST(sipName_capabilities), meth_KJob_capabilities, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KJob_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KJob_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KJob_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KJob_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doKill), meth_KJob_doKill, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doResume), meth_KJob_doResume, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doSuspend), meth_KJob_doSuspend, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_emitPercent), meth_KJob_emitPercent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_emitResult), meth_KJob_emitResult, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_emitSpeed), meth_KJob_emitSpeed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_error), meth_KJob_error, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_errorString), meth_KJob_errorString, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_errorText), meth_KJob_errorText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_exec_), meth_KJob_exec_, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isAutoDelete), meth_KJob_isAutoDelete, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isSuspended), meth_KJob_isSuspended, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_kill), meth_KJob_kill, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_percent), meth_KJob_percent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_processedAmount), meth_KJob_processedAmount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KJob_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resume), meth_KJob_resume, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), meth_KJob_sender, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAutoDelete), meth_KJob_setAutoDelete, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCapabilities), meth_KJob_setCapabilities, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setError), meth_KJob_setError, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setErrorText), meth_KJob_setErrorText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPercent), meth_KJob_setPercent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setProcessedAmount), meth_KJob_setProcessedAmount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTotalAmount), meth_KJob_setTotalAmount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUiDelegate), meth_KJob_setUiDelegate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_start), meth_KJob_start, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_suspend), meth_KJob_suspend, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KJob_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_totalAmount), meth_KJob_totalAmount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_uiDelegate), meth_KJob_uiDelegate, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KJob[] = {
    {sipName_Bytes, KJob::Bytes, 92},
    {sipName_Directories, KJob::Directories, 92},
    {sipName_EmitResult, KJob::EmitResult, 91},
    {sipName_Files, KJob::Files, 92},
    {sipName_Killable, KJob::Killable, 90},
    {sipName_KilledJobError, KJob::KilledJobError, -1},
    {sipName_NoCapabilities, KJob::NoCapabilities, 90},
    {sipName_NoError, KJob::NoError, -1},
    {sipName_Quietly, KJob::Quietly, 91},
    {sipName_Suspendable, KJob::Suspendable, 90},
    {sipName_UserDefinedError, KJob::UserDefinedError, -1},
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KJob[] = {
    {"warning(KJob *,QString,QString)", 0, 0},
    {"warning(KJob *,QString)", 0, 0},
    {"infoMessage(KJob *,QString,QString)", 0, 0},
    {"infoMessage(KJob *,QString)", 0, 0},
    {"description(KJob *,QString,QPair<QString,QString>,QPair<QString,QString>)", 0, 0},
    {"description(KJob *,QString,QPair<QString,QString>)", 0, 0},
    {"description(KJob *,QString)", 0, 0},
    {"result(KJob *)", 0, 0},
    {0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KJob = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KJob,
        {0}
    },
    {
        sipNameNr_KJob,
        {0, 0, 1},
        36, methods_KJob,
        11, enummembers_KJob,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KJob,
    0,
    init_KJob,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KJob,
    0,
    0,
    0,
    release_KJob,
    cast_KJob,
    0,
    0,
    0
},
    &KJob::staticMetaObject,
    0,
    pyqt4_signals_KJob
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kcomponentdata.sip"
#include <kcomponentdata.h>
#line 21289 "sipkdecorepart6.cpp"

#line 42 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 21293 "sipkdecorepart6.cpp"
#line 54 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kaboutdata.sip"
#include <kaboutdata.h>
#line 21296 "sipkdecorepart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 21299 "sipkdecorepart6.cpp"
#line 340 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 21302 "sipkdecorepart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/ksharedconfig.sip"
#include <ksharedconfig.h>
#line 21305 "sipkdecorepart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kstandarddirs.sip"
#include <kstandarddirs.h>
#line 21308 "sipkdecorepart6.cpp"


class sipKComponentData : public KComponentData
{
public:
    sipKComponentData();
    sipKComponentData(const KComponentData&);
    sipKComponentData(const QByteArray&,const QByteArray&,KComponentData::MainComponentRegistration);
    sipKComponentData(const KAboutData&,KComponentData::MainComponentRegistration);
    sipKComponentData(const KAboutData *,KComponentData::MainComponentRegistration);
    ~sipKComponentData();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_setConfigName(const QString&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKComponentData(const sipKComponentData &);
    sipKComponentData &operator = (const sipKComponentData &);
};

sipKComponentData::sipKComponentData(): KComponentData(), sipPySelf(0)
{
}

sipKComponentData::sipKComponentData(const KComponentData& a0): KComponentData(a0), sipPySelf(0)
{
}

sipKComponentData::sipKComponentData(const QByteArray& a0,const QByteArray& a1,KComponentData::MainComponentRegistration a2): KComponentData(a0,a1,a2), sipPySelf(0)
{
}

sipKComponentData::sipKComponentData(const KAboutData& a0,KComponentData::MainComponentRegistration a1): KComponentData(a0,a1), sipPySelf(0)
{
}

sipKComponentData::sipKComponentData(const KAboutData *a0,KComponentData::MainComponentRegistration a1): KComponentData(a0,a1), sipPySelf(0)
{
}

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

void sipKComponentData::sipProtect_setConfigName(const QString& a0)
{
    KComponentData::setConfigName(a0);
}


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

    {
        KComponentData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KComponentData, &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_KComponentData, sipName_isValid, NULL);

    return NULL;
}


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

    {
        KComponentData *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->dirs();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KComponentData *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KSharedConfig::Ptr(sipCpp->config());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KComponentData *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->aboutData();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KComponentData *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KComponentData *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KComponentData, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setConfigName(*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_KComponentData, sipName_setConfigName, NULL);

    return NULL;
}


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

    {
        const KAboutData * a0;
        KComponentData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KComponentData, &sipCpp, sipType_KAboutData, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAboutData(*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_KComponentData, sipName_setAboutData, NULL);

    return NULL;
}


extern "C" {static PyObject *slot_KComponentData___ne__(PyObject *,PyObject *);}
static PyObject *slot_KComponentData___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KComponentData *sipCpp = reinterpret_cast<KComponentData *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KComponentData));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KComponentData * a0;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdecore,ne_slot,sipType_KComponentData,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KComponentData___eq__(PyObject *,PyObject *);}
static PyObject *slot_KComponentData___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KComponentData *sipCpp = reinterpret_cast<KComponentData *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KComponentData));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KComponentData * a0;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdecore,eq_slot,sipType_KComponentData,sipSelf,sipArg);
}


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

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKComponentData *>(sipCppV);
    else
        delete reinterpret_cast<KComponentData *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


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


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

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


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const KComponentData * a0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QByteArray * a0;
        int a0State = 0;
        const QByteArray& a1def = QByteArray();
        const QByteArray * a1 = &a1def;
        int a1State = 0;
        KComponentData::MainComponentRegistration a2 = KComponentData::RegisterAsMainComponent;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1|J1E", sipType_QByteArray, &a0, &a0State, sipType_QByteArray, &a1, &a1State, sipType_KComponentData_MainComponentRegistration, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKComponentData(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);
            sipReleaseType(const_cast<QByteArray *>(a1),sipType_QByteArray,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const KAboutData * a0;
        KComponentData::MainComponentRegistration a1 = KComponentData::RegisterAsMainComponent;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9|E", sipType_KAboutData, &a0, sipType_KComponentData_MainComponentRegistration, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKComponentData(*a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const KAboutData * a0;
        KComponentData::MainComponentRegistration a1 = KComponentData::RegisterAsMainComponent;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8|E", sipType_KAboutData, &a0, sipType_KComponentData_MainComponentRegistration, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKComponentData(a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KComponentData[] = {
    {SIP_MLNAME_CAST(sipName_aboutData), meth_KComponentData_aboutData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_catalogName), meth_KComponentData_catalogName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_componentName), meth_KComponentData_componentName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_config), meth_KComponentData_config, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dirs), meth_KComponentData_dirs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isValid), meth_KComponentData_isValid, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAboutData), meth_KComponentData_setAboutData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setConfigName), meth_KComponentData_setConfigName, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KComponentData[] = {
    {sipName_RegisterAsMainComponent, KComponentData::RegisterAsMainComponent, 30},
    {sipName_SkipMainComponentRegistration, KComponentData::SkipMainComponentRegistration, 30},
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KComponentData = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KComponentData,
        {0}
    },
    {
        sipNameNr_KComponentData,
        {0, 0, 1},
        8, methods_KComponentData,
        2, enummembers_KComponentData,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    slots_KComponentData,
    init_KComponentData,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KComponentData,
    assign_KComponentData,
    array_KComponentData,
    copy_KComponentData,
    release_KComponentData,
    cast_KComponentData,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 45 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kcmdlineargs.sip"
#include <kcmdlineargs.h>
#include <qapplication.h>
extern char **pyArgvToC(PyObject *argvlist,int *argcp);
extern void updatePyArgv(PyObject *argvlist,int argc,char **argv);
#line 21883 "sipkdecorepart6.cpp"

#line 45 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kcmdlineargs.sip"
#include <kcmdlineargs.h>
#include <qapplication.h>
extern char **pyArgvToC(PyObject *argvlist,int *argcp);
extern void updatePyArgv(PyObject *argvlist,int argc,char **argv);
#line 21890 "sipkdecorepart6.cpp"


extern "C" {static int slot_KCmdLineArgs_StdCmdLineArgs___bool__(PyObject *);}
static int slot_KCmdLineArgs_StdCmdLineArgs___bool__(PyObject *sipSelf)
{
    KCmdLineArgs::StdCmdLineArgs *sipCpp = reinterpret_cast<KCmdLineArgs::StdCmdLineArgs *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KCmdLineArgs_StdCmdLineArgs));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 336 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != 0);
#line 21908 "sipkdecorepart6.cpp"

            return sipRes;
        }
    }
}


extern "C" {static PyObject *slot_KCmdLineArgs_StdCmdLineArgs___ne__(PyObject *,PyObject *);}
static PyObject *slot_KCmdLineArgs_StdCmdLineArgs___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KCmdLineArgs::StdCmdLineArgs *sipCpp = reinterpret_cast<KCmdLineArgs::StdCmdLineArgs *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KCmdLineArgs_StdCmdLineArgs));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KCmdLineArgs::StdCmdLineArgs * a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KCmdLineArgs_StdCmdLineArgs, &a0, &a0State))
        {
            bool sipRes = 0;

#line 331 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != a0->operator int());
#line 21936 "sipkdecorepart6.cpp"
            sipReleaseType(const_cast<KCmdLineArgs::StdCmdLineArgs *>(a0),sipType_KCmdLineArgs_StdCmdLineArgs,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdecore,ne_slot,sipType_KCmdLineArgs_StdCmdLineArgs,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KCmdLineArgs_StdCmdLineArgs___eq__(PyObject *,PyObject *);}
static PyObject *slot_KCmdLineArgs_StdCmdLineArgs___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KCmdLineArgs::StdCmdLineArgs *sipCpp = reinterpret_cast<KCmdLineArgs::StdCmdLineArgs *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KCmdLineArgs_StdCmdLineArgs));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KCmdLineArgs::StdCmdLineArgs * a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KCmdLineArgs_StdCmdLineArgs, &a0, &a0State))
        {
            bool sipRes = 0;

#line 326 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() == a0->operator int());
#line 21972 "sipkdecorepart6.cpp"
            sipReleaseType(const_cast<KCmdLineArgs::StdCmdLineArgs *>(a0),sipType_KCmdLineArgs_StdCmdLineArgs,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdecore,eq_slot,sipType_KCmdLineArgs_StdCmdLineArgs,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KCmdLineArgs_StdCmdLineArgs___invert__(PyObject *);}
static PyObject *slot_KCmdLineArgs_StdCmdLineArgs___invert__(PyObject *sipSelf)
{
    KCmdLineArgs::StdCmdLineArgs *sipCpp = reinterpret_cast<KCmdLineArgs::StdCmdLineArgs *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KCmdLineArgs_StdCmdLineArgs));

    if (!sipCpp)
        return 0;


    {
        {
            KCmdLineArgs::StdCmdLineArgs *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KCmdLineArgs::StdCmdLineArgs(~(*sipCpp));
            Py_END_ALLOW_THREADS

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


extern "C" {static PyObject *slot_KCmdLineArgs_StdCmdLineArgs___and__(PyObject *,PyObject *);}
static PyObject *slot_KCmdLineArgs_StdCmdLineArgs___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KCmdLineArgs::StdCmdLineArgs * a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KCmdLineArgs_StdCmdLineArgs, &a0, &a0State, &a1))
        {
            KCmdLineArgs::StdCmdLineArgs *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KCmdLineArgs::StdCmdLineArgs((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KCmdLineArgs_StdCmdLineArgs,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdecore,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KCmdLineArgs_StdCmdLineArgs___xor__(PyObject *,PyObject *);}
static PyObject *slot_KCmdLineArgs_StdCmdLineArgs___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KCmdLineArgs::StdCmdLineArgs * a0;
        int a0State = 0;
        KCmdLineArgs::StdCmdLineArgs * a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KCmdLineArgs_StdCmdLineArgs, &a0, &a0State, sipType_KCmdLineArgs_StdCmdLineArgs, &a1, &a1State))
        {
            KCmdLineArgs::StdCmdLineArgs *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KCmdLineArgs::StdCmdLineArgs((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KCmdLineArgs_StdCmdLineArgs,a0State);
            sipReleaseType(a1,sipType_KCmdLineArgs_StdCmdLineArgs,a1State);

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

    {
        KCmdLineArgs::StdCmdLineArgs * a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KCmdLineArgs_StdCmdLineArgs, &a0, &a0State, &a1))
        {
            KCmdLineArgs::StdCmdLineArgs *sipRes = 0;

#line 320 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = new KCmdLineArgs::StdCmdLineArgs(*a0 ^ a1);
#line 22079 "sipkdecorepart6.cpp"
            sipReleaseType(a0,sipType_KCmdLineArgs_StdCmdLineArgs,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdecore,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KCmdLineArgs_StdCmdLineArgs___or__(PyObject *,PyObject *);}
static PyObject *slot_KCmdLineArgs_StdCmdLineArgs___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KCmdLineArgs::StdCmdLineArgs * a0;
        int a0State = 0;
        KCmdLineArgs::StdCmdLineArgs * a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KCmdLineArgs_StdCmdLineArgs, &a0, &a0State, sipType_KCmdLineArgs_StdCmdLineArgs, &a1, &a1State))
        {
            KCmdLineArgs::StdCmdLineArgs *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KCmdLineArgs::StdCmdLineArgs((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KCmdLineArgs_StdCmdLineArgs,a0State);
            sipReleaseType(a1,sipType_KCmdLineArgs_StdCmdLineArgs,a1State);

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

    {
        KCmdLineArgs::StdCmdLineArgs * a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KCmdLineArgs_StdCmdLineArgs, &a0, &a0State, &a1))
        {
            KCmdLineArgs::StdCmdLineArgs *sipRes = 0;

#line 315 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = new KCmdLineArgs::StdCmdLineArgs(*a0 | a1);
#line 22131 "sipkdecorepart6.cpp"
            sipReleaseType(a0,sipType_KCmdLineArgs_StdCmdLineArgs,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdecore,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KCmdLineArgs_StdCmdLineArgs___int__(PyObject *);}
static PyObject *slot_KCmdLineArgs_StdCmdLineArgs___int__(PyObject *sipSelf)
{
    KCmdLineArgs::StdCmdLineArgs *sipCpp = reinterpret_cast<KCmdLineArgs::StdCmdLineArgs *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KCmdLineArgs_StdCmdLineArgs));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }
}


extern "C" {static PyObject *slot_KCmdLineArgs_StdCmdLineArgs___ixor__(PyObject *,PyObject *);}
static PyObject *slot_KCmdLineArgs_StdCmdLineArgs___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KCmdLineArgs_StdCmdLineArgs)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KCmdLineArgs::StdCmdLineArgs *sipCpp = reinterpret_cast<KCmdLineArgs::StdCmdLineArgs *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KCmdLineArgs_StdCmdLineArgs));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KCmdLineArgs::StdCmdLineArgs * a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KCmdLineArgs_StdCmdLineArgs, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KCmdLineArgs::StdCmdLineArgs::operator^=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KCmdLineArgs_StdCmdLineArgs,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_KCmdLineArgs_StdCmdLineArgs___ior__(PyObject *,PyObject *);}
static PyObject *slot_KCmdLineArgs_StdCmdLineArgs___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KCmdLineArgs_StdCmdLineArgs)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KCmdLineArgs::StdCmdLineArgs *sipCpp = reinterpret_cast<KCmdLineArgs::StdCmdLineArgs *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KCmdLineArgs_StdCmdLineArgs));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KCmdLineArgs::StdCmdLineArgs * a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KCmdLineArgs_StdCmdLineArgs, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KCmdLineArgs::StdCmdLineArgs::operator|=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KCmdLineArgs_StdCmdLineArgs,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_KCmdLineArgs_StdCmdLineArgs___iand__(PyObject *,PyObject *);}
static PyObject *slot_KCmdLineArgs_StdCmdLineArgs___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KCmdLineArgs_StdCmdLineArgs)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KCmdLineArgs::StdCmdLineArgs *sipCpp = reinterpret_cast<KCmdLineArgs::StdCmdLineArgs *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KCmdLineArgs_StdCmdLineArgs));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KCmdLineArgs::StdCmdLineArgs::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_KCmdLineArgs_StdCmdLineArgs(void *, const sipTypeDef *);}
static void *cast_KCmdLineArgs_StdCmdLineArgs(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_KCmdLineArgs_StdCmdLineArgs)
        return ptr;

    return NULL;
}


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

    delete reinterpret_cast<KCmdLineArgs::StdCmdLineArgs *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KCmdLineArgs_StdCmdLineArgs(void *, SIP_SSIZE_T, const void *);}
static void assign_KCmdLineArgs_StdCmdLineArgs(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KCmdLineArgs::StdCmdLineArgs *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KCmdLineArgs::StdCmdLineArgs *>(sipSrc);
}


extern "C" {static void *array_KCmdLineArgs_StdCmdLineArgs(SIP_SSIZE_T);}
static void *array_KCmdLineArgs_StdCmdLineArgs(SIP_SSIZE_T sipNrElem)
{
    return new KCmdLineArgs::StdCmdLineArgs[sipNrElem];
}


extern "C" {static void *copy_KCmdLineArgs_StdCmdLineArgs(const void *, SIP_SSIZE_T);}
static void *copy_KCmdLineArgs_StdCmdLineArgs(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KCmdLineArgs::StdCmdLineArgs(reinterpret_cast<const KCmdLineArgs::StdCmdLineArgs *>(sipSrc)[sipSrcIdx]);
}


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


extern "C" {static void *init_KCmdLineArgs_StdCmdLineArgs(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_KCmdLineArgs_StdCmdLineArgs(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KCmdLineArgs::StdCmdLineArgs *sipCpp = 0;

    {
        const KCmdLineArgs::StdCmdLineArgs * a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_KCmdLineArgs_StdCmdLineArgs, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KCmdLineArgs::StdCmdLineArgs(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<KCmdLineArgs::StdCmdLineArgs *>(a0),sipType_KCmdLineArgs_StdCmdLineArgs,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KCmdLineArgs::StdCmdLineArgs(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

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

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_KCmdLineArgs_StdCmdLineArgs(PyObject *, void **, int *, PyObject *);}
static int convertTo_KCmdLineArgs_StdCmdLineArgs(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    KCmdLineArgs::StdCmdLineArgs **sipCppPtr = reinterpret_cast<KCmdLineArgs::StdCmdLineArgs **>(sipCppPtrV);

#line 341 "/usr/local/share/py-sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KCmdLineArgs::StdCmdLineArgs is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KCmdLineArgs_StdCmdLineArg)) ||
            sipCanConvertToType(sipPy, sipType_KCmdLineArgs_StdCmdLineArgs, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KCmdLineArgs_StdCmdLineArg)))
{
    *sipCppPtr = new KCmdLineArgs::StdCmdLineArgs(SIPLong_AsLong(sipPy));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KCmdLineArgs::StdCmdLineArgs *>(sipConvertToType(sipPy, sipType_KCmdLineArgs_StdCmdLineArgs, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 22424 "sipkdecorepart6.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KCmdLineArgs_StdCmdLineArgs[] = {
    {(void *)slot_KCmdLineArgs_StdCmdLineArgs___bool__, bool_slot},
    {(void *)slot_KCmdLineArgs_StdCmdLineArgs___ne__, ne_slot},
    {(void *)slot_KCmdLineArgs_StdCmdLineArgs___eq__, eq_slot},
    {(void *)slot_KCmdLineArgs_StdCmdLineArgs___invert__, invert_slot},
    {(void *)slot_KCmdLineArgs_StdCmdLineArgs___and__, and_slot},
    {(void *)slot_KCmdLineArgs_StdCmdLineArgs___xor__, xor_slot},
    {(void *)slot_KCmdLineArgs_StdCmdLineArgs___or__, or_slot},
    {(void *)slot_KCmdLineArgs_StdCmdLineArgs___int__, int_slot},
    {(void *)slot_KCmdLineArgs_StdCmdLineArgs___ixor__, ixor_slot},
    {(void *)slot_KCmdLineArgs_StdCmdLineArgs___ior__, ior_slot},
    {(void *)slot_KCmdLineArgs_StdCmdLineArgs___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KCmdLineArgs_StdCmdLineArgs = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCmdLineArgs__StdCmdLineArgs,
        {0}
    },
    {
        sipNameNr_StdCmdLineArgs,
        {25, 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_KCmdLineArgs_StdCmdLineArgs,
    init_KCmdLineArgs_StdCmdLineArgs,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCmdLineArgs_StdCmdLineArgs,
    assign_KCmdLineArgs_StdCmdLineArgs,
    array_KCmdLineArgs_StdCmdLineArgs,
    copy_KCmdLineArgs_StdCmdLineArgs,
    release_KCmdLineArgs_StdCmdLineArgs,
    cast_KCmdLineArgs_StdCmdLineArgs,
    convertTo_KCmdLineArgs_StdCmdLineArgs,
    0,
    0
},
    0,
    1,
    0
};
