/*
 * Module code.
 *
 * Generated by SIP 4.8.2 on Sun Oct 11 19:57:25 2009
 */

#include "sipAPIkdecore.h"

#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 12 "sipkdecorepart7.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 16 "sipkdecorepart7.cpp"
#line 35 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 19 "sipkdecorepart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 22 "sipkdecorepart7.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 25 "sipkdecorepart7.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)
{
    typedef void (*sipVH_QtCore_29)(sip_gilstate_t,PyObject *,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_29)(sipModuleAPI_kdecore_QtCore->em_virthandlers[29]))(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemPath::setDefault()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKCoreConfigSkeleton_ItemPath::readConfig(KConfig *a0)
{
    extern void sipVH_kdecore_48(sip_gilstate_t,PyObject *,KConfig *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemPath::writeConfig(KConfig *a0)
{
    extern void sipVH_kdecore_48(sip_gilstate_t,PyObject *,KConfig *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemPath::readDefault(KConfig *a0)
{
    extern void sipVH_kdecore_48(sip_gilstate_t,PyObject *,KConfig *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemPath::setProperty(const QVariant& a0)
{
    extern void sipVH_kdecore_60(sip_gilstate_t,PyObject *,const QVariant&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    sipVH_kdecore_60(sipGILState,meth,a0);
}

bool sipKCoreConfigSkeleton_ItemPath::isEqual(const QVariant& a0) const
{
    extern bool sipVH_kdecore_63(sip_gilstate_t,PyObject *,const QVariant&);

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

    return sipVH_kdecore_63(sipGILState,meth,a0);
}

QVariant sipKCoreConfigSkeleton_ItemPath::property() const
{
    extern QVariant sipVH_kdecore_62(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return sipVH_kdecore_62(sipGILState,meth);
}

QVariant sipKCoreConfigSkeleton_ItemPath::minValue() const
{
    extern QVariant sipVH_kdecore_62(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return sipVH_kdecore_62(sipGILState,meth);
}

QVariant sipKCoreConfigSkeleton_ItemPath::maxValue() const
{
    extern QVariant sipVH_kdecore_62(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return sipVH_kdecore_62(sipGILState,meth);
}

void sipKCoreConfigSkeleton_ItemPath::swapDefault()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_5)(sipModuleAPI_kdecore_QtCore->em_virthandlers[5]))(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)
{
    int sipArgsParsed = 0;

    {
        const KConfigGroup * a0;
        sipKCoreConfigSkeleton_ItemPath *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&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(sipArgsParsed,sipName_ItemPath,sipName_readImmutability);

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        KCoreConfigSkeleton::ItemPath *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_ItemPath,sipName_setValue);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemPath *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_ItemPath,sipName_value);

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        KCoreConfigSkeleton::ItemPath *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_ItemPath,sipName_setDefaultValue);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemPath *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_ItemPath,sipName_setDefault);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_ItemPath,sipName_readDefault);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemPath *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_ItemPath,sipName_swapDefault);

    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 state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & 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 *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

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


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

    if (!sipCpp)
    {
        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 (sipParseArgs(sipArgsParsed,sipArgs,"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);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KCoreConfigSkeleton_ItemPath[] = {{50, 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 pyqt4Type_kdecore_KCoreConfigSkeleton_ItemPath = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCoreConfigSkeleton__ItemPath,
        {0}
    },
    sipNameNr_ItemPath,
    -1,
    -1,
    {33, 255, 0},
    supers_KCoreConfigSkeleton_ItemPath,
    0,
    7, methods_KCoreConfigSkeleton_ItemPath,
    0, 0,
    0, 0,
    init_KCoreConfigSkeleton_ItemPath,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCoreConfigSkeleton_ItemPath,
    release_KCoreConfigSkeleton_ItemPath,
    cast_KCoreConfigSkeleton_ItemPath,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 609 "sipkdecorepart7.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 613 "sipkdecorepart7.cpp"
#line 35 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 616 "sipkdecorepart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 619 "sipkdecorepart7.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 622 "sipkdecorepart7.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)
{
    typedef void (*sipVH_QtCore_29)(sip_gilstate_t,PyObject *,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_29)(sipModuleAPI_kdecore_QtCore->em_virthandlers[29]))(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemPassword::setDefault()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKCoreConfigSkeleton_ItemPassword::readConfig(KConfig *a0)
{
    extern void sipVH_kdecore_48(sip_gilstate_t,PyObject *,KConfig *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemPassword::writeConfig(KConfig *a0)
{
    extern void sipVH_kdecore_48(sip_gilstate_t,PyObject *,KConfig *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemPassword::readDefault(KConfig *a0)
{
    extern void sipVH_kdecore_48(sip_gilstate_t,PyObject *,KConfig *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemPassword::setProperty(const QVariant& a0)
{
    extern void sipVH_kdecore_60(sip_gilstate_t,PyObject *,const QVariant&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    sipVH_kdecore_60(sipGILState,meth,a0);
}

bool sipKCoreConfigSkeleton_ItemPassword::isEqual(const QVariant& a0) const
{
    extern bool sipVH_kdecore_63(sip_gilstate_t,PyObject *,const QVariant&);

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

    return sipVH_kdecore_63(sipGILState,meth,a0);
}

QVariant sipKCoreConfigSkeleton_ItemPassword::property() const
{
    extern QVariant sipVH_kdecore_62(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return sipVH_kdecore_62(sipGILState,meth);
}

QVariant sipKCoreConfigSkeleton_ItemPassword::minValue() const
{
    extern QVariant sipVH_kdecore_62(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return sipVH_kdecore_62(sipGILState,meth);
}

QVariant sipKCoreConfigSkeleton_ItemPassword::maxValue() const
{
    extern QVariant sipVH_kdecore_62(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return sipVH_kdecore_62(sipGILState,meth);
}

void sipKCoreConfigSkeleton_ItemPassword::swapDefault()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_5)(sipModuleAPI_kdecore_QtCore->em_virthandlers[5]))(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)
{
    int sipArgsParsed = 0;

    {
        const KConfigGroup * a0;
        sipKCoreConfigSkeleton_ItemPassword *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&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(sipArgsParsed,sipName_ItemPassword,sipName_readImmutability);

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        KCoreConfigSkeleton::ItemPassword *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_ItemPassword,sipName_setValue);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemPassword *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_ItemPassword,sipName_value);

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        KCoreConfigSkeleton::ItemPassword *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_ItemPassword,sipName_setDefaultValue);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemPassword *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_ItemPassword,sipName_setDefault);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_ItemPassword,sipName_readDefault);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemPassword *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_ItemPassword,sipName_swapDefault);

    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 state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & 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 *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

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


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

    if (!sipCpp)
    {
        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 (sipParseArgs(sipArgsParsed,sipArgs,"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);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KCoreConfigSkeleton_ItemPassword[] = {{50, 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 pyqt4Type_kdecore_KCoreConfigSkeleton_ItemPassword = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCoreConfigSkeleton__ItemPassword,
        {0}
    },
    sipNameNr_ItemPassword,
    -1,
    -1,
    {33, 255, 0},
    supers_KCoreConfigSkeleton_ItemPassword,
    0,
    7, methods_KCoreConfigSkeleton_ItemPassword,
    0, 0,
    0, 0,
    init_KCoreConfigSkeleton_ItemPassword,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCoreConfigSkeleton_ItemPassword,
    release_KCoreConfigSkeleton_ItemPassword,
    cast_KCoreConfigSkeleton_ItemPassword,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 1206 "sipkdecorepart7.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 1210 "sipkdecorepart7.cpp"
#line 35 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 1213 "sipkdecorepart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 1216 "sipkdecorepart7.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 1219 "sipkdecorepart7.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)
{
    typedef void (*sipVH_QtCore_29)(sip_gilstate_t,PyObject *,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_29)(sipModuleAPI_kdecore_QtCore->em_virthandlers[29]))(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemString::setDefault()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKCoreConfigSkeleton_ItemString::readConfig(KConfig *a0)
{
    extern void sipVH_kdecore_48(sip_gilstate_t,PyObject *,KConfig *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemString::writeConfig(KConfig *a0)
{
    extern void sipVH_kdecore_48(sip_gilstate_t,PyObject *,KConfig *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemString::readDefault(KConfig *a0)
{
    extern void sipVH_kdecore_48(sip_gilstate_t,PyObject *,KConfig *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemString::setProperty(const QVariant& a0)
{
    extern void sipVH_kdecore_60(sip_gilstate_t,PyObject *,const QVariant&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    sipVH_kdecore_60(sipGILState,meth,a0);
}

bool sipKCoreConfigSkeleton_ItemString::isEqual(const QVariant& a0) const
{
    extern bool sipVH_kdecore_63(sip_gilstate_t,PyObject *,const QVariant&);

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

    return sipVH_kdecore_63(sipGILState,meth,a0);
}

QVariant sipKCoreConfigSkeleton_ItemString::property() const
{
    extern QVariant sipVH_kdecore_62(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return sipVH_kdecore_62(sipGILState,meth);
}

QVariant sipKCoreConfigSkeleton_ItemString::minValue() const
{
    extern QVariant sipVH_kdecore_62(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return sipVH_kdecore_62(sipGILState,meth);
}

QVariant sipKCoreConfigSkeleton_ItemString::maxValue() const
{
    extern QVariant sipVH_kdecore_62(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return sipVH_kdecore_62(sipGILState,meth);
}

void sipKCoreConfigSkeleton_ItemString::swapDefault()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_5)(sipModuleAPI_kdecore_QtCore->em_virthandlers[5]))(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)
{
    int sipArgsParsed = 0;

    {
        const KConfigGroup * a0;
        sipKCoreConfigSkeleton_ItemString *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&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(sipArgsParsed,sipName_ItemString,sipName_readImmutability);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_ItemString,sipName_writeConfig);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_ItemString,sipName_readConfig);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_ItemString,sipName_setProperty);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_ItemString,sipName_isEqual);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemString *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_ItemString,sipName_property);

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        KCoreConfigSkeleton::ItemString *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_ItemString,sipName_setValue);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemString *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_ItemString,sipName_value);

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        KCoreConfigSkeleton::ItemString *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_ItemString,sipName_setDefaultValue);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemString *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_ItemString,sipName_setDefault);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_ItemString,sipName_readDefault);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemString *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_ItemString,sipName_swapDefault);

    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 state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & 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 *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

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


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

    if (!sipCpp)
    {
        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 (sipParseArgs(sipArgsParsed,sipArgs,"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);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KCoreConfigSkeleton_ItemString[] = {{32, 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, 51},
    {sipName_Password, KCoreConfigSkeleton::ItemString::Password, 51},
    {sipName_Path, KCoreConfigSkeleton::ItemString::Path, 51},
};


pyqt4ClassTypeDef pyqt4Type_kdecore_KCoreConfigSkeleton_ItemString = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCoreConfigSkeleton__ItemString,
        {0}
    },
    sipNameNr_ItemString,
    -1,
    -1,
    {33, 255, 0},
    supers_KCoreConfigSkeleton_ItemString,
    0,
    12, methods_KCoreConfigSkeleton_ItemString,
    3, enummembers_KCoreConfigSkeleton_ItemString,
    0, 0,
    init_KCoreConfigSkeleton_ItemString,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCoreConfigSkeleton_ItemString,
    release_KCoreConfigSkeleton_ItemString,
    cast_KCoreConfigSkeleton_ItemString,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 1962 "sipkdecorepart7.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 1966 "sipkdecorepart7.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 1969 "sipkdecorepart7.cpp"
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 1984 "sipkdecorepart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/klockfile.sip"
#include <klockfile.h>
#line 1987 "sipkdecorepart7.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kmimetype.sip"
#include <kmimetype.h>
#line 1990 "sipkdecorepart7.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservice.sip"
#include <kservice.h>
#line 1993 "sipkdecorepart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicegroup.sip"
#include <kservicegroup.h>
#line 1996 "sipkdecorepart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
#include <kservicetype.h>
#line 1999 "sipkdecorepart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksharedconfig.sip"
#include <ksharedconfig.h>
#line 2002 "sipkdecorepart7.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksycocaentry.sip"
#include <ksycocaentry.h>
#line 2005 "sipkdecorepart7.cpp"
#line 136 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 2008 "sipkdecorepart7.cpp"
#line 708 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <qlist.h>
#line 102 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservice.sip"
#include <qlist.h>
#line 81 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kmimetype.sip"
#include <qlist.h>
#line 61 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
#include <qlist.h>
#line 65 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksycocaentry.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 2061 "sipkdecorepart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kplugininfo.sip"
#include <kplugininfo.h>
#line 2064 "sipkdecorepart7.cpp"
#line 36 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kprotocolinfo.sip"
#include <kprotocolinfo.h>
#line 2067 "sipkdecorepart7.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 2070 "sipkdecorepart7.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 2073 "sipkdecorepart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kserviceaction.sip"
#include <kserviceaction.h>
#line 2076 "sipkdecorepart7.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 2079 "sipkdecorepart7.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 2082 "sipkdecorepart7.cpp"
#line 321 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 2085 "sipkdecorepart7.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 2088 "sipkdecorepart7.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kautosavefile.sip"
#include <kautosavefile.h>
#line 2091 "sipkdecorepart7.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 2094 "sipkdecorepart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 2097 "sipkdecorepart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kaboutdata.sip"
#include <kaboutdata.h>
#line 2100 "sipkdecorepart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 2103 "sipkdecorepart7.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/klocale.sip"
#include <klocale.h>
#line 2106 "sipkdecorepart7.cpp"
#line 57 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktcpsocket.sip"
#include <ktcpsocket.h>
#line 2109 "sipkdecorepart7.cpp"
#line 79 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktcpsocket.sip"
#include <ktcpsocket.h>
#line 2112 "sipkdecorepart7.cpp"
#line 83 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kuser.sip"
#include <kuser.h>
#line 2115 "sipkdecorepart7.cpp"
#line 34 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kuser.sip"
#include <kuser.h>
#line 2118 "sipkdecorepart7.cpp"
#line 35 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 2121 "sipkdecorepart7.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 2124 "sipkdecorepart7.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 2155 "sipkdecorepart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 2158 "sipkdecorepart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 2161 "sipkdecorepart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 2164 "sipkdecorepart7.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 2167 "sipkdecorepart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 2170 "sipkdecorepart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 2173 "sipkdecorepart7.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 2176 "sipkdecorepart7.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 2179 "sipkdecorepart7.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 2182 "sipkdecorepart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 2185 "sipkdecorepart7.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 2188 "sipkdecorepart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 2191 "sipkdecorepart7.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 2194 "sipkdecorepart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 2197 "sipkdecorepart7.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 2200 "sipkdecorepart7.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 2203 "sipkdecorepart7.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 2206 "sipkdecorepart7.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 2209 "sipkdecorepart7.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 2212 "sipkdecorepart7.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 2215 "sipkdecorepart7.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 2218 "sipkdecorepart7.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 2221 "sipkdecorepart7.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 2224 "sipkdecorepart7.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 2227 "sipkdecorepart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2230 "sipkdecorepart7.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2233 "sipkdecorepart7.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2236 "sipkdecorepart7.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2239 "sipkdecorepart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 2242 "sipkdecorepart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 2245 "sipkdecorepart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 2248 "sipkdecorepart7.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.
     */
    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()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKCoreConfigSkeleton::readConfig()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKCoreConfigSkeleton::writeConfig()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

bool sipKCoreConfigSkeleton::useDefaults(bool a0)
{
    typedef bool (*sipVH_QtGui_12)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

bool sipKCoreConfigSkeleton::usrUseDefaults(bool a0)
{
    typedef bool (*sipVH_QtGui_12)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKCoreConfigSkeleton::usrSetDefaults()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKCoreConfigSkeleton::usrReadConfig()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKCoreConfigSkeleton::usrWriteConfig()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKCoreConfigSkeleton::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKCoreConfigSkeleton::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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_receivers(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipKCoreConfigSkeleton *sipCpp;

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

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

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipKCoreConfigSkeleton *sipCpp;

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipKCoreConfigSkeleton *sipCpp;

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKCoreConfigSkeleton *sipCpp;

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

    return NULL;
}


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

    {
        char * a0;
        sipKCoreConfigSkeleton *sipCpp;

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

    return NULL;
}


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

    {
        char * a0;
        sipKCoreConfigSkeleton *sipCpp;

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KCoreConfigSkeleton,sipName_setDefaults);

    return NULL;
}


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

    {
        KCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KCoreConfigSkeleton,sipName_readConfig);

    return NULL;
}


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

    {
        KCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KCoreConfigSkeleton,sipName_writeConfig);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KCoreConfigSkeleton,sipName_setCurrentGroup);

    return NULL;
}


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

    {
        KCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KCoreConfigSkeleton,sipName_currentGroup);

    return NULL;
}


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

    {
        KConfigSkeletonItem * a0;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;
        KCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KCoreConfigSkeleton,sipName_addItem);

    return NULL;
}


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

    {
        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(&sipArgsParsed,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(sipArgsParsed,sipName_KCoreConfigSkeleton,sipName_addItemString);

    return NULL;
}


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

    {
        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(&sipArgsParsed,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(sipArgsParsed,sipName_KCoreConfigSkeleton,sipName_addItemPassword);

    return NULL;
}


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

    {
        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(&sipArgsParsed,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(sipArgsParsed,sipName_KCoreConfigSkeleton,sipName_addItemPath);

    return NULL;
}


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

    {
        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(&sipArgsParsed,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(sipArgsParsed,sipName_KCoreConfigSkeleton,sipName_addItemProperty);

    return NULL;
}


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

    {
        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(&sipArgsParsed,sipArgs,"BJ1b|bJ1",&sipSelf,sipType_KCoreConfigSkeleton,&sipCpp,sipType_QString,&a0,&a0State,&a1,&a2,sipType_QString,&a3,&a3State))
        {
            KCoreConfigSkeleton::ItemBool *sipRes = 0;

#line 843 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/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 3192 "sipkdecorepart7.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(sipArgsParsed,sipName_KCoreConfigSkeleton,sipName_addItemBool);

    return NULL;
}


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

    {
        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(&sipArgsParsed,sipArgs,"BJ1i|iJ1",&sipSelf,sipType_KCoreConfigSkeleton,&sipCpp,sipType_QString,&a0,&a0State,&a1,&a2,sipType_QString,&a3,&a3State))
        {
            KCoreConfigSkeleton::ItemInt *sipRes = 0;

#line 851 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/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 3232 "sipkdecorepart7.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(sipArgsParsed,sipName_KCoreConfigSkeleton,sipName_addItemInt);

    return NULL;
}


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

    {
        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(&sipArgsParsed,sipArgs,"BJ1u|uJ1",&sipSelf,sipType_KCoreConfigSkeleton,&sipCpp,sipType_QString,&a0,&a0State,&a1,&a2,sipType_QString,&a3,&a3State))
        {
            KCoreConfigSkeleton::ItemUInt *sipRes = 0;

#line 859 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/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 3272 "sipkdecorepart7.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(sipArgsParsed,sipName_KCoreConfigSkeleton,sipName_addItemUInt);

    return NULL;
}


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

    {
        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(&sipArgsParsed,sipArgs,"BJ1n|nJ1",&sipSelf,sipType_KCoreConfigSkeleton,&sipCpp,sipType_QString,&a0,&a0State,&a1,&a2,sipType_QString,&a3,&a3State))
        {
            KCoreConfigSkeleton::ItemLongLong *sipRes = 0;

#line 867 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/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 3312 "sipkdecorepart7.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(sipArgsParsed,sipName_KCoreConfigSkeleton,sipName_addItemLongLong);

    return NULL;
}


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

    {
        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(&sipArgsParsed,sipArgs,"BJ1n|nJ1",&sipSelf,sipType_KCoreConfigSkeleton,&sipCpp,sipType_QString,&a0,&a0State,&a1,&a2,sipType_QString,&a3,&a3State))
        {
            KCoreConfigSkeleton::ItemLongLong *sipRes = 0;

#line 875 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/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 3352 "sipkdecorepart7.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(sipArgsParsed,sipName_KCoreConfigSkeleton,sipName_addItemInt64);

    return NULL;
}


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

    {
        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(&sipArgsParsed,sipArgs,"BJ1o|oJ1",&sipSelf,sipType_KCoreConfigSkeleton,&sipCpp,sipType_QString,&a0,&a0State,&a1,&a2,sipType_QString,&a3,&a3State))
        {
            KCoreConfigSkeleton::ItemULongLong *sipRes = 0;

#line 883 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/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 3392 "sipkdecorepart7.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(sipArgsParsed,sipName_KCoreConfigSkeleton,sipName_addItemULongLong);

    return NULL;
}


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

    {
        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(&sipArgsParsed,sipArgs,"BJ1o|oJ1",&sipSelf,sipType_KCoreConfigSkeleton,&sipCpp,sipType_QString,&a0,&a0State,&a1,&a2,sipType_QString,&a3,&a3State))
        {
            KCoreConfigSkeleton::ItemULongLong *sipRes = 0;

#line 891 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/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 3432 "sipkdecorepart7.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(sipArgsParsed,sipName_KCoreConfigSkeleton,sipName_addItemUInt64);

    return NULL;
}


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

    {
        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(&sipArgsParsed,sipArgs,"BJ1d|dJ1",&sipSelf,sipType_KCoreConfigSkeleton,&sipCpp,sipType_QString,&a0,&a0State,&a1,&a2,sipType_QString,&a3,&a3State))
        {
            KCoreConfigSkeleton::ItemDouble *sipRes = 0;

#line 899 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/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 3472 "sipkdecorepart7.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(sipArgsParsed,sipName_KCoreConfigSkeleton,sipName_addItemDouble);

    return NULL;
}


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

    {
        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(&sipArgsParsed,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(sipArgsParsed,sipName_KCoreConfigSkeleton,sipName_addItemRect);

    return NULL;
}


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

    {
        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(&sipArgsParsed,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(sipArgsParsed,sipName_KCoreConfigSkeleton,sipName_addItemPoint);

    return NULL;
}


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

    {
        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(&sipArgsParsed,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(sipArgsParsed,sipName_KCoreConfigSkeleton,sipName_addItemSize);

    return NULL;
}


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

    {
        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(&sipArgsParsed,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(sipArgsParsed,sipName_KCoreConfigSkeleton,sipName_addItemDateTime);

    return NULL;
}


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

    {
        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(&sipArgsParsed,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(sipArgsParsed,sipName_KCoreConfigSkeleton,sipName_addItemStringList);

    return NULL;
}


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

    {
        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(&sipArgsParsed,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(sipArgsParsed,sipName_KCoreConfigSkeleton,sipName_addItemIntList);

    return NULL;
}


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

    {
        KCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KCoreConfigSkeleton,sipName_config);

    return NULL;
}


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

    {
        KSharedConfig::Ptr * a0;
        int a0State = 0;
        KCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KCoreConfigSkeleton,&sipCpp,sipType_KSharedPtr_0200KSharedConfig,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSharedConfig(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KSharedPtr_0200KSharedConfig,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCoreConfigSkeleton,&sipCpp))
        {
            KConfigSkeletonItem::List *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KConfigSkeletonItem::List(sipCpp->items());
            Py_END_ALLOW_THREADS

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

            return sipResObj;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KCoreConfigSkeleton,sipName_isImmutable);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KCoreConfigSkeleton,sipName_findItem);

    return NULL;
}


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

    {
        bool a0;
        KCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KCoreConfigSkeleton,sipName_useDefaults);

    return NULL;
}


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

    {
        bool a0;
        sipKCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&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(sipArgsParsed,sipName_KCoreConfigSkeleton,sipName_usrUseDefaults);

    return NULL;
}


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

    {
        sipKCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&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(sipArgsParsed,sipName_KCoreConfigSkeleton,sipName_usrSetDefaults);

    return NULL;
}


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

    {
        sipKCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&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(sipArgsParsed,sipName_KCoreConfigSkeleton,sipName_usrReadConfig);

    return NULL;
}


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

    {
        sipKCoreConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&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(sipArgsParsed,sipName_KCoreConfigSkeleton,sipName_usrWriteConfig);

    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 state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & 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 *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

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


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

    if (!sipCpp)
    {
        const QString& a0def = QString();
        const QString * a0 = &a0def;
        int a0State = 0;
        QObject * a1 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"|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);
        }
    }

    if (!sipCpp)
    {
        KSharedConfig::Ptr * a0;
        int a0State = 0;
        QObject * a1 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1|JH",sipType_KSharedPtr_0200KSharedConfig,&a0,&a0State,sipType_QObject,&a1,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKCoreConfigSkeleton(*a0,a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KSharedPtr_0200KSharedConfig,a0State);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KCoreConfigSkeleton[] = {{111, 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_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}
};


pyqt4ClassTypeDef pyqt4Type_kdecore_KCoreConfigSkeleton = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KCoreConfigSkeleton,
        {0}
    },
    sipNameNr_KCoreConfigSkeleton,
    -1,
    -1,
    {0, 0, 1},
    supers_KCoreConfigSkeleton,
    0,
    40, methods_KCoreConfigSkeleton,
    0, 0,
    0, 0,
    init_KCoreConfigSkeleton,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCoreConfigSkeleton,
    release_KCoreConfigSkeleton,
    cast_KCoreConfigSkeleton,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KCoreConfigSkeleton::staticMetaObject,
    0,
    pyqt4_signals_KCoreConfigSkeleton
};

#line 136 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 4207 "sipkdecorepart7.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 4211 "sipkdecorepart7.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 4214 "sipkdecorepart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 4217 "sipkdecorepart7.cpp"
#line 35 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 4220 "sipkdecorepart7.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)
{
    extern void sipVH_kdecore_48(sip_gilstate_t,PyObject *,KConfig *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return;

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKConfigSkeletonItem::writeConfig(KConfig *a0)
{
    extern void sipVH_kdecore_48(sip_gilstate_t,PyObject *,KConfig *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,sipName_KConfigSkeletonItem,sipName_writeConfig);

    if (!meth)
        return;

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKConfigSkeletonItem::readDefault(KConfig *a0)
{
    extern void sipVH_kdecore_48(sip_gilstate_t,PyObject *,KConfig *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,sipName_KConfigSkeletonItem,sipName_readDefault);

    if (!meth)
        return;

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKConfigSkeletonItem::setProperty(const QVariant& a0)
{
    extern void sipVH_kdecore_60(sip_gilstate_t,PyObject *,const QVariant&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,sipName_KConfigSkeletonItem,sipName_setProperty);

    if (!meth)
        return;

    sipVH_kdecore_60(sipGILState,meth,a0);
}

bool sipKConfigSkeletonItem::isEqual(const QVariant& a0) const
{
    extern bool sipVH_kdecore_63(sip_gilstate_t,PyObject *,const QVariant&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return 0;

    return sipVH_kdecore_63(sipGILState,meth,a0);
}

QVariant sipKConfigSkeletonItem::property() const
{
    extern QVariant sipVH_kdecore_62(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QVariant();

    return sipVH_kdecore_62(sipGILState,meth);
}

QVariant sipKConfigSkeletonItem::minValue() const
{
    extern QVariant sipVH_kdecore_62(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return sipVH_kdecore_62(sipGILState,meth);
}

QVariant sipKConfigSkeletonItem::maxValue() const
{
    extern QVariant sipVH_kdecore_62(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return sipVH_kdecore_62(sipGILState,meth);
}

void sipKConfigSkeletonItem::setDefault()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,sipName_KConfigSkeletonItem,sipName_setDefault);

    if (!meth)
        return;

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

void sipKConfigSkeletonItem::swapDefault()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,sipName_KConfigSkeletonItem,sipName_swapDefault);

    if (!meth)
        return;

    ((sipVH_QtCore_5)(sipModuleAPI_kdecore_QtCore->em_virthandlers[5]))(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)
{
    int sipArgsParsed = 0;

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KConfigSkeletonItem,sipName_setGroup);

    return NULL;
}


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

    {
        KConfigSkeletonItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KConfigSkeletonItem,sipName_group);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KConfigSkeletonItem,sipName_setKey);

    return NULL;
}


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

    {
        KConfigSkeletonItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KConfigSkeletonItem,sipName_key);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KConfigSkeletonItem,sipName_setName);

    return NULL;
}


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

    {
        KConfigSkeletonItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KConfigSkeletonItem,sipName_name);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KConfigSkeletonItem,sipName_setLabel);

    return NULL;
}


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

    {
        KConfigSkeletonItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KConfigSkeletonItem,sipName_label);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KConfigSkeletonItem,sipName_setToolTip);

    return NULL;
}


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

    {
        KConfigSkeletonItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KConfigSkeletonItem,sipName_toolTip);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KConfigSkeletonItem,sipName_setWhatsThis);

    return NULL;
}


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

    {
        KConfigSkeletonItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KConfigSkeletonItem,sipName_whatsThis);

    return NULL;
}


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

    {
        KConfig * a0;
        KConfigSkeletonItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KConfigSkeletonItem,&sipCpp,sipType_KConfig,&a0))
        {
            if (sipSelfWasArg)
            {
                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(sipArgsParsed,sipName_KConfigSkeletonItem,sipName_readConfig);

    return NULL;
}


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

    {
        KConfig * a0;
        KConfigSkeletonItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KConfigSkeletonItem,&sipCpp,sipType_KConfig,&a0))
        {
            if (sipSelfWasArg)
            {
                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(sipArgsParsed,sipName_KConfigSkeletonItem,sipName_writeConfig);

    return NULL;
}


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

    {
        KConfig * a0;
        KConfigSkeletonItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KConfigSkeletonItem,&sipCpp,sipType_KConfig,&a0))
        {
            if (sipSelfWasArg)
            {
                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(sipArgsParsed,sipName_KConfigSkeletonItem,sipName_readDefault);

    return NULL;
}


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

    {
        const QVariant * a0;
        int a0State = 0;
        KConfigSkeletonItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KConfigSkeletonItem,&sipCpp,sipType_QVariant,&a0,&a0State))
        {
            if (sipSelfWasArg)
            {
                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(sipArgsParsed,sipName_KConfigSkeletonItem,sipName_setProperty);

    return NULL;
}


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

    {
        const QVariant * a0;
        int a0State = 0;
        KConfigSkeletonItem *sipCpp;

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

            if (sipSelfWasArg)
            {
                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(sipArgsParsed,sipName_KConfigSkeletonItem,sipName_isEqual);

    return NULL;
}


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

    {
        KConfigSkeletonItem *sipCpp;

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

            if (sipSelfWasArg)
            {
                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(sipArgsParsed,sipName_KConfigSkeletonItem,sipName_property);

    return NULL;
}


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

    {
        KConfigSkeletonItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KConfigSkeletonItem,sipName_minValue);

    return NULL;
}


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

    {
        KConfigSkeletonItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KConfigSkeletonItem,sipName_maxValue);

    return NULL;
}


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

    {
        KConfigSkeletonItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KConfigSkeletonItem,&sipCpp))
        {
            if (sipSelfWasArg)
            {
                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(sipArgsParsed,sipName_KConfigSkeletonItem,sipName_setDefault);

    return NULL;
}


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

    {
        KConfigSkeletonItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KConfigSkeletonItem,&sipCpp))
        {
            if (sipSelfWasArg)
            {
                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(sipArgsParsed,sipName_KConfigSkeletonItem,sipName_swapDefault);

    return NULL;
}


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

    {
        KConfigSkeletonItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KConfigSkeletonItem,sipName_isImmutable);

    return NULL;
}


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

    {
        const KConfigGroup * a0;
        sipKConfigSkeletonItem *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&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(sipArgsParsed,sipName_KConfigSkeletonItem,sipName_readImmutability);

    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 state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & 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 *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

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


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

    if (!sipCpp)
    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"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);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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 pyqt4Type_kdecore_KConfigSkeletonItem = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_KConfigSkeletonItem,
        {0}
    },
    sipNameNr_KConfigSkeletonItem,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {0, 0, 1},
    0,
    0,
    24, methods_KConfigSkeletonItem,
    0, 0,
    0, 0,
    init_KConfigSkeletonItem,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KConfigSkeletonItem,
    release_KConfigSkeletonItem,
    cast_KConfigSkeletonItem,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 5300 "sipkdecorepart7.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 5304 "sipkdecorepart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 5307 "sipkdecorepart7.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksharedconfig.sip"
#include <ksharedconfig.h>
#line 5310 "sipkdecorepart7.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 5313 "sipkdecorepart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 5316 "sipkdecorepart7.cpp"
#line 137 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
#include <qmap.h>
#line 43 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 43 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 5323 "sipkdecorepart7.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 5326 "sipkdecorepart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 5329 "sipkdecorepart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 5332 "sipkdecorepart7.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 5363 "sipkdecorepart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 5366 "sipkdecorepart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 5369 "sipkdecorepart7.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 5372 "sipkdecorepart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 5375 "sipkdecorepart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 5378 "sipkdecorepart7.cpp"
#line 35 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 5381 "sipkdecorepart7.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
{
    typedef QStringList (*sipVH_QtCore_23)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KConfigGroup::groupList();

    return ((sipVH_QtCore_23)(sipModuleAPI_kdecore_QtCore->em_virthandlers[23]))(sipGILState,meth);
}

void sipKConfigGroup::sync()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KConfigGroup::sync();
        return;
    }

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

void sipKConfigGroup::markAsClean()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KConfigGroup::markAsClean();
        return;
    }

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

KConfigBase::AccessMode sipKConfigGroup::accessMode() const
{
    extern KConfigBase::AccessMode sipVH_kdecore_67(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KConfigGroup::accessMode();

    return sipVH_kdecore_67(sipGILState,meth);
}

bool sipKConfigGroup::isImmutable() const
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KConfigGroup::isImmutable();

    return ((sipVH_QtCore_1)(sipModuleAPI_kdecore_QtCore->em_virthandlers[1]))(sipGILState,meth);
}

bool sipKConfigGroup::hasGroupImpl(const QByteArray& a0) const
{
    extern bool sipVH_kdecore_64(sip_gilstate_t,PyObject *,const QByteArray&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KConfigGroup::hasGroupImpl(a0);

    return sipVH_kdecore_64(sipGILState,meth,a0);
}

KConfigGroup sipKConfigGroup::groupImpl(const QByteArray& a0)
{
    extern KConfigGroup sipVH_kdecore_66(sip_gilstate_t,PyObject *,const QByteArray&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KConfigGroup::groupImpl(a0);

    return sipVH_kdecore_66(sipGILState,meth,a0);
}

void sipKConfigGroup::deleteGroupImpl(const QByteArray& a0,KConfigBase::WriteConfigFlags a1)
{
    extern void sipVH_kdecore_65(sip_gilstate_t,PyObject *,const QByteArray&,KConfigBase::WriteConfigFlags);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KConfigGroup::deleteGroupImpl(a0,a1);
        return;
    }

    sipVH_kdecore_65(sipGILState,meth,a0,a1);
}

bool sipKConfigGroup::isGroupImmutableImpl(const QByteArray& a0) const
{
    extern bool sipVH_kdecore_64(sip_gilstate_t,PyObject *,const QByteArray&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KConfigGroup::isGroupImmutableImpl(a0);

    return sipVH_kdecore_64(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)
{
    int sipArgsParsed = 0;

    {
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KConfigGroup,sipName_isValid);

    return NULL;
}


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

    {
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KConfigGroup,sipName_name);

    return NULL;
}


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

    {
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KConfigGroup,sipName_exists);

    return NULL;
}


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

    {
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KConfigGroup,sipName_sync);

    return NULL;
}


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

    {
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KConfigGroup,sipName_markAsClean);

    return NULL;
}


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

    {
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KConfigGroup,sipName_accessMode);

    return NULL;
}


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

    {
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KConfigGroup,sipName_config);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,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(&sipArgsParsed,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(sipArgsParsed,sipName_KConfigGroup,sipName_changeGroup);

    return NULL;
}


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

    {
        KConfigBase * a0;
        KConfigBase::WriteConfigFlags a1def = KConfigBase::Normal;
        KConfigBase::WriteConfigFlags * a1 = &a1def;
        int a1State = 0;
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KConfigGroup,sipName_copyTo);

    return NULL;
}


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

    {
        KConfigBase * a0;
        KConfigBase::WriteConfigFlags a1def = KConfigBase::Normal;
        KConfigBase::WriteConfigFlags * a1 = &a1def;
        int a1State = 0;
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KConfigGroup,sipName_reparent);

    return NULL;
}


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

    {
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KConfigGroup,sipName_parent);

    return NULL;
}


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

    {
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KConfigGroup,sipName_groupList);

    return NULL;
}


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

    {
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KConfigGroup,sipName_keyList);

    return NULL;
}


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

    {
        KConfigBase::WriteConfigFlags a0def = KConfigBase::Normal;
        KConfigBase::WriteConfigFlags * a0 = &a0def;
        int a0State = 0;
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KConfigGroup,sipName_deleteGroup);

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        const QVariant * a1;
        int a1State = 0;
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(&sipArgsParsed,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(&sipArgsParsed,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(&sipArgsParsed,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(&sipArgsParsed,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(&sipArgsParsed,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(&sipArgsParsed,sipArgs,"BJ1J1",&sipSelf,sipType_KConfigGroup,&sipCpp,sipType_QString,&a0,&a0State,sipType_QList_0200QVariant,&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_0200QVariant,a1State);

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

            return sipResObj;
        }
    }

    {
        const char * a0;
        PyObject *a0Keep;
        const QVariantList * a1;
        int a1State = 0;
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BAAJ1",&sipSelf,sipType_KConfigGroup,&sipCpp,&a0Keep,&a0,sipType_QList_0200QVariant,&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_0200QVariant,a1State);

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

            return sipResObj;
        }
    }

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

        if (sipParseArgs(&sipArgsParsed,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(&sipArgsParsed,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(sipArgsParsed,sipName_KConfigGroup,sipName_readEntry);

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        const QStringList& a1def = QStringList();
        const QStringList * a1 = &a1def;
        int a1State = 0;
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(&sipArgsParsed,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(sipArgsParsed,sipName_KConfigGroup,sipName_readXdgListEntry);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,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(&sipArgsParsed,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(&sipArgsParsed,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(&sipArgsParsed,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(sipArgsParsed,sipName_KConfigGroup,sipName_readPathEntry);

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(&sipArgsParsed,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(sipArgsParsed,sipName_KConfigGroup,sipName_readEntryUntranslated);

    return NULL;
}


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

    {
        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(&sipArgsParsed,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(&sipArgsParsed,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(&sipArgsParsed,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(&sipArgsParsed,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(&sipArgsParsed,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(&sipArgsParsed,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(&sipArgsParsed,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(&sipArgsParsed,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(&sipArgsParsed,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(&sipArgsParsed,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(&sipArgsParsed,sipArgs,"BJ1J1|J1",&sipSelf,sipType_KConfigGroup,&sipCpp,sipType_QString,&a0,&a0State,sipType_QList_0200QVariant,&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_0200QVariant,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(&sipArgsParsed,sipArgs,"BAAJ1|J1",&sipSelf,sipType_KConfigGroup,&sipCpp,&a0Keep,&a0,sipType_QList_0200QVariant,&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_0200QVariant,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(sipArgsParsed,sipName_KConfigGroup,sipName_writeEntry);

    return NULL;
}


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

    {
        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(&sipArgsParsed,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(&sipArgsParsed,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(sipArgsParsed,sipName_KConfigGroup,sipName_writeXdgListEntry);

    return NULL;
}


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

    {
        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(&sipArgsParsed,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(&sipArgsParsed,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(&sipArgsParsed,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(&sipArgsParsed,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(sipArgsParsed,sipName_KConfigGroup,sipName_writePathEntry);

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        KConfigBase::WriteConfigFlags a1def = KConfigBase::Normal;
        KConfigBase::WriteConfigFlags * a1 = &a1def;
        int a1State = 0;
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(&sipArgsParsed,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(sipArgsParsed,sipName_KConfigGroup,sipName_deleteEntry);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,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(&sipArgsParsed,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(sipArgsParsed,sipName_KConfigGroup,sipName_hasKey);

    return NULL;
}


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

    {
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KConfigGroup,sipName_isImmutable);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,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(&sipArgsParsed,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(sipArgsParsed,sipName_KConfigGroup,sipName_isEntryImmutable);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,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(&sipArgsParsed,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(sipArgsParsed,sipName_KConfigGroup,sipName_revertToDefault);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,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(&sipArgsParsed,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(sipArgsParsed,sipName_KConfigGroup,sipName_hasDefault);

    return NULL;
}


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

    {
        KConfigGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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

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

            return sipResObj;
        }
    }

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

    return NULL;
}


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

    {
        const QByteArray * a0;
        int a0State = 0;
        sipKConfigGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&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(sipArgsParsed,sipName_KConfigGroup,sipName_hasGroupImpl);

    return NULL;
}


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

    {
        const QByteArray * a0;
        int a0State = 0;
        sipKConfigGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&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(sipArgsParsed,sipName_KConfigGroup,sipName_groupImpl);

    return NULL;
}


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

    {
        const QByteArray * a0;
        int a0State = 0;
        KConfigBase::WriteConfigFlags * a1;
        int a1State = 0;
        sipKConfigGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1J1",&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(sipArgsParsed,sipName_KConfigGroup,sipName_deleteGroupImpl);

    return NULL;
}


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

    {
        const QByteArray * a0;
        int a0State = 0;
        sipKConfigGroup *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&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(sipArgsParsed,sipName_KConfigGroup,sipName_isGroupImmutableImpl);

    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 state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & 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 *, const void*);}
static void assign_KConfigGroup(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<KConfigGroup *>(sipDst) = *reinterpret_cast<const KConfigGroup *>(sipSrc);
}


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

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


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

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

    if (!sipCpp)
    {
        KConfigBase * a0;
        const QString * a1;
        int a1State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"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);
        }
    }

    if (!sipCpp)
    {
        KConfigBase * a0;
        const char * a1;
        PyObject *a1Keep;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J8AA",sipType_KConfigBase,&a0,&a1Keep,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKConfigGroup(a0,a1);
            Py_END_ALLOW_THREADS
            Py_DECREF(a1Keep);
        }
    }

    if (!sipCpp)
    {
        const KSharedConfigPtr * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"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);
        }
    }

    if (!sipCpp)
    {
        const KSharedConfigPtr * a0;
        int a0State = 0;
        const char * a1;
        PyObject *a1Keep;

        if (sipParseArgs(sipArgsParsed,sipArgs,"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);
        }
    }

    if (!sipCpp)
    {
        const KConfigGroup * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_KConfigGroup,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKConfigGroup(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KConfigGroup[] = {{27, 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 pyqt4Type_kdecore_KConfigGroup = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KConfigGroup,
        {0}
    },
    sipNameNr_KConfigGroup,
    -1,
    -1,
    {0, 0, 1},
    supers_KConfigGroup,
    0,
    32, methods_KConfigGroup,
    0, 0,
    0, 0,
    init_KConfigGroup,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KConfigGroup,
    release_KConfigGroup,
    cast_KConfigGroup,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_KConfigGroup,
    0,
    0,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 7659 "sipkdecorepart7.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 7663 "sipkdecorepart7.cpp"


extern "C" {static int slot_KConfigBase_WriteConfigFlags___bool__(PyObject *sipSelf);}
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 271 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != 0);
#line 7681 "sipkdecorepart7.cpp"

            return sipRes;
        }
    }
}


extern "C" {static PyObject *slot_KConfigBase_WriteConfigFlags___ne__(PyObject *sipSelf,PyObject *sipArg);}
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;

    int sipArgsParsed = 0;

    {
        const KConfigBase::WriteConfigFlags * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_KConfigBase_WriteConfigFlags,&a0,&a0State))
        {
            bool sipRes = 0;

#line 266 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != a0->operator int());
#line 7709 "sipkdecorepart7.cpp"

            sipReleaseType(const_cast<KConfigBase::WriteConfigFlags *>(a0),sipType_KConfigBase_WriteConfigFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kdecore,ne_slot,sipType_KConfigBase_WriteConfigFlags,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KConfigBase_WriteConfigFlags___eq__(PyObject *sipSelf,PyObject *sipArg);}
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;

    int sipArgsParsed = 0;

    {
        const KConfigBase::WriteConfigFlags * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_KConfigBase_WriteConfigFlags,&a0,&a0State))
        {
            bool sipRes = 0;

#line 261 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() == a0->operator int());
#line 7741 "sipkdecorepart7.cpp"

            sipReleaseType(const_cast<KConfigBase::WriteConfigFlags *>(a0),sipType_KConfigBase_WriteConfigFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kdecore,eq_slot,sipType_KConfigBase_WriteConfigFlags,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KConfigBase_WriteConfigFlags___invert__(PyObject *sipSelf);}
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 *sipArg0,PyObject *sipArg1);}
static PyObject *slot_KConfigBase_WriteConfigFlags___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    int sipArgsParsed = 0;

    {
        KConfigBase::WriteConfigFlags * a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipArgsParsed,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);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kdecore,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KConfigBase_WriteConfigFlags___xor__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_KConfigBase_WriteConfigFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    int sipArgsParsed = 0;

    {
        KConfigBase::WriteConfigFlags * a0;
        int a0State = 0;
        KConfigBase::WriteConfigFlags * a1;
        int a1State = 0;

        if (sipParsePair(&sipArgsParsed,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);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kdecore,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KConfigBase_WriteConfigFlags___or__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_KConfigBase_WriteConfigFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    int sipArgsParsed = 0;

    {
        KConfigBase::WriteConfigFlags * a0;
        int a0State = 0;
        KConfigBase::WriteConfigFlags * a1;
        int a1State = 0;

        if (sipParsePair(&sipArgsParsed,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);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kdecore,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KConfigBase_WriteConfigFlags___int__(PyObject *sipSelf);}
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 *sipSelf,PyObject *sipArg);}
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;

    int sipArgsParsed = 0;

    {
        KConfigBase::WriteConfigFlags * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,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;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KConfigBase_WriteConfigFlags___ior__(PyObject *sipSelf,PyObject *sipArg);}
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;

    int sipArgsParsed = 0;

    {
        KConfigBase::WriteConfigFlags * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,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;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KConfigBase_WriteConfigFlags___iand__(PyObject *sipSelf,PyObject *sipArg);}
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;

    int sipArgsParsed = 0;

    {
        int a0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1i",&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KConfigBase::WriteConfigFlags::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    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 *, const void*);}
static void assign_KConfigBase_WriteConfigFlags(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<KConfigBase::WriteConfigFlags *>(sipDst) = *reinterpret_cast<const KConfigBase::WriteConfigFlags *>(sipSrc);
}


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


extern "C" {static void *init_KConfigBase_WriteConfigFlags(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KConfigBase_WriteConfigFlags(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    KConfigBase::WriteConfigFlags *sipCpp = 0;

    if (!sipCpp)
    {
        const KConfigBase::WriteConfigFlags * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"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);
        }
    }

    if (!sipCpp)
    {
        int a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"i",&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KConfigBase::WriteConfigFlags(a0);
            Py_END_ALLOW_THREADS
        }
    }

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

    return sipCpp;
}


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 276 "/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 8112 "sipkdecorepart7.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 pyqt4Type_kdecore_KConfigBase_WriteConfigFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KConfigBase__WriteConfigFlags,
        {0}
    },
    sipNameNr_WriteConfigFlags,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {27, 255, 0},
    0,
    slots_KConfigBase_WriteConfigFlags,
    0, 0,
    0, 0,
    0, 0,
    init_KConfigBase_WriteConfigFlags,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KConfigBase_WriteConfigFlags,
    release_KConfigBase_WriteConfigFlags,
    cast_KConfigBase_WriteConfigFlags,
    convertTo_KConfigBase_WriteConfigFlags,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_KConfigBase_WriteConfigFlags,
    0,
    1,
    0
};

#line 35 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 8180 "sipkdecorepart7.cpp"

#line 35 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 8184 "sipkdecorepart7.cpp"


extern "C" {static int slot_KConfig_OpenFlags___bool__(PyObject *sipSelf);}
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 271 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != 0);
#line 8202 "sipkdecorepart7.cpp"

            return sipRes;
        }
    }
}


extern "C" {static PyObject *slot_KConfig_OpenFlags___ne__(PyObject *sipSelf,PyObject *sipArg);}
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;

    int sipArgsParsed = 0;

    {
        const KConfig::OpenFlags * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_KConfig_OpenFlags,&a0,&a0State))
        {
            bool sipRes = 0;

#line 266 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != a0->operator int());
#line 8230 "sipkdecorepart7.cpp"

            sipReleaseType(const_cast<KConfig::OpenFlags *>(a0),sipType_KConfig_OpenFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kdecore,ne_slot,sipType_KConfig_OpenFlags,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KConfig_OpenFlags___eq__(PyObject *sipSelf,PyObject *sipArg);}
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;

    int sipArgsParsed = 0;

    {
        const KConfig::OpenFlags * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_KConfig_OpenFlags,&a0,&a0State))
        {
            bool sipRes = 0;

#line 261 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() == a0->operator int());
#line 8262 "sipkdecorepart7.cpp"

            sipReleaseType(const_cast<KConfig::OpenFlags *>(a0),sipType_KConfig_OpenFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kdecore,eq_slot,sipType_KConfig_OpenFlags,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KConfig_OpenFlags___invert__(PyObject *sipSelf);}
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 *sipArg0,PyObject *sipArg1);}
static PyObject *slot_KConfig_OpenFlags___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    int sipArgsParsed = 0;

    {
        KConfig::OpenFlags * a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipArgsParsed,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);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kdecore,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KConfig_OpenFlags___xor__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_KConfig_OpenFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    int sipArgsParsed = 0;

    {
        KConfig::OpenFlags * a0;
        int a0State = 0;
        KConfig::OpenFlags * a1;
        int a1State = 0;

        if (sipParsePair(&sipArgsParsed,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);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kdecore,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KConfig_OpenFlags___or__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_KConfig_OpenFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    int sipArgsParsed = 0;

    {
        KConfig::OpenFlags * a0;
        int a0State = 0;
        KConfig::OpenFlags * a1;
        int a1State = 0;

        if (sipParsePair(&sipArgsParsed,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);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kdecore,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KConfig_OpenFlags___int__(PyObject *sipSelf);}
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 *sipSelf,PyObject *sipArg);}
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;

    int sipArgsParsed = 0;

    {
        KConfig::OpenFlags * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,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;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KConfig_OpenFlags___ior__(PyObject *sipSelf,PyObject *sipArg);}
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;

    int sipArgsParsed = 0;

    {
        KConfig::OpenFlags * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,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;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KConfig_OpenFlags___iand__(PyObject *sipSelf,PyObject *sipArg);}
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;

    int sipArgsParsed = 0;

    {
        int a0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1i",&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KConfig::OpenFlags::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    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 *, const void*);}
static void assign_KConfig_OpenFlags(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<KConfig::OpenFlags *>(sipDst) = *reinterpret_cast<const KConfig::OpenFlags *>(sipSrc);
}


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


extern "C" {static void *init_KConfig_OpenFlags(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KConfig_OpenFlags(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    KConfig::OpenFlags *sipCpp = 0;

    if (!sipCpp)
    {
        const KConfig::OpenFlags * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"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);
        }
    }

    if (!sipCpp)
    {
        int a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"i",&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KConfig::OpenFlags(a0);
            Py_END_ALLOW_THREADS
        }
    }

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

    return sipCpp;
}


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 276 "/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 8633 "sipkdecorepart7.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 pyqt4Type_kdecore_KConfig_OpenFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KConfig__OpenFlags,
        {0}
    },
    sipNameNr_OpenFlags,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {24, 255, 0},
    0,
    slots_KConfig_OpenFlags,
    0, 0,
    0, 0,
    0, 0,
    init_KConfig_OpenFlags,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KConfig_OpenFlags,
    release_KConfig_OpenFlags,
    cast_KConfig_OpenFlags,
    convertTo_KConfig_OpenFlags,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_KConfig_OpenFlags,
    0,
    1,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 8701 "sipkdecorepart7.cpp"

#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 8705 "sipkdecorepart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 8708 "sipkdecorepart7.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 8711 "sipkdecorepart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 8714 "sipkdecorepart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 8717 "sipkdecorepart7.cpp"


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

    {
        KConfigBase *sipCpp;

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

            if (sipSelfWasArg)
            {
                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(sipArgsParsed,sipName_KConfigBase,sipName_groupList);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,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(&sipArgsParsed,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(&sipArgsParsed,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(sipArgsParsed,sipName_KConfigBase,sipName_hasGroup);

    return NULL;
}


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

    {
        const QByteArray * a0;
        int a0State = 0;
        KConfigBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(&sipArgsParsed,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(&sipArgsParsed,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(sipArgsParsed,sipName_KConfigBase,sipName_group);

    return NULL;
}


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

    {
        const QByteArray * a0;
        int a0State = 0;
        KConfigBase::WriteConfigFlags a1def = KConfigBase::Normal;
        KConfigBase::WriteConfigFlags * a1 = &a1def;
        int a1State = 0;
        KConfigBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(&sipArgsParsed,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(&sipArgsParsed,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(sipArgsParsed,sipName_KConfigBase,sipName_deleteGroup);

    return NULL;
}


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

    {
        KConfigBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KConfigBase,&sipCpp))
        {
            if (sipSelfWasArg)
            {
                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(sipArgsParsed,sipName_KConfigBase,sipName_sync);

    return NULL;
}


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

    {
        KConfigBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KConfigBase,&sipCpp))
        {
            if (sipSelfWasArg)
            {
                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(sipArgsParsed,sipName_KConfigBase,sipName_markAsClean);

    return NULL;
}


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

    {
        KConfigBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KConfigBase,&sipCpp))
        {
            KConfigBase::AccessMode sipRes;

            if (sipSelfWasArg)
            {
                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(sipArgsParsed,sipName_KConfigBase,sipName_accessMode);

    return NULL;
}


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

    {
        KConfigBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KConfigBase,&sipCpp))
        {
            bool sipRes;

            if (sipSelfWasArg)
            {
                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(sipArgsParsed,sipName_KConfigBase,sipName_isImmutable);

    return NULL;
}


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

    {
        const QByteArray * a0;
        int a0State = 0;
        KConfigBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(&sipArgsParsed,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(&sipArgsParsed,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(sipArgsParsed,sipName_KConfigBase,sipName_isGroupImmutable);

    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(sipSelf->u.cppPtr,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, 29},
    {sipName_Localized, KConfigBase::Localized, 29},
    {sipName_NoAccess, KConfigBase::NoAccess, 28},
    {sipName_Normal, KConfigBase::Normal, 29},
    {sipName_Persistent, KConfigBase::Persistent, 29},
    {sipName_ReadOnly, KConfigBase::ReadOnly, 28},
    {sipName_ReadWrite, KConfigBase::ReadWrite, 28},
};


pyqt4ClassTypeDef pyqt4Type_kdecore_KConfigBase = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_KConfigBase,
        {0}
    },
    sipNameNr_KConfigBase,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {0, 0, 1},
    0,
    0,
    9, methods_KConfigBase,
    7, enummembers_KConfigBase,
    0, 0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KConfigBase,
    release_KConfigBase,
    cast_KConfigBase,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 35 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 9273 "sipkdecorepart7.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 9277 "sipkdecorepart7.cpp"
#line 35 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 9280 "sipkdecorepart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcomponentdata.sip"
#include <kcomponentdata.h>
#line 9283 "sipkdecorepart7.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 9286 "sipkdecorepart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 9289 "sipkdecorepart7.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 9292 "sipkdecorepart7.cpp"
#line 137 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
#include <qmap.h>
#line 43 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 43 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 9299 "sipkdecorepart7.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 9302 "sipkdecorepart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 9305 "sipkdecorepart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 9308 "sipkdecorepart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 9311 "sipkdecorepart7.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
{
    extern bool sipVH_kdecore_64(sip_gilstate_t,PyObject *,const QByteArray&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KConfig::hasGroupImpl(a0);

    return sipVH_kdecore_64(sipGILState,meth,a0);
}

KConfigGroup sipKConfig::groupImpl(const QByteArray& a0)
{
    extern KConfigGroup sipVH_kdecore_66(sip_gilstate_t,PyObject *,const QByteArray&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KConfig::groupImpl(a0);

    return sipVH_kdecore_66(sipGILState,meth,a0);
}

void sipKConfig::deleteGroupImpl(const QByteArray& a0,KConfigBase::WriteConfigFlags a1)
{
    extern void sipVH_kdecore_65(sip_gilstate_t,PyObject *,const QByteArray&,KConfigBase::WriteConfigFlags);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KConfig::deleteGroupImpl(a0,a1);
        return;
    }

    sipVH_kdecore_65(sipGILState,meth,a0,a1);
}

bool sipKConfig::isGroupImmutableImpl(const QByteArray& a0) const
{
    extern bool sipVH_kdecore_64(sip_gilstate_t,PyObject *,const QByteArray&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KConfig::isGroupImmutableImpl(a0);

    return sipVH_kdecore_64(sipGILState,meth,a0);
}

QStringList sipKConfig::groupList() const
{
    typedef QStringList (*sipVH_QtCore_23)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KConfig::groupList();

    return ((sipVH_QtCore_23)(sipModuleAPI_kdecore_QtCore->em_virthandlers[23]))(sipGILState,meth);
}

void sipKConfig::sync()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KConfig::sync();
        return;
    }

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

void sipKConfig::markAsClean()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KConfig::markAsClean();
        return;
    }

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

KConfigBase::AccessMode sipKConfig::accessMode() const
{
    extern KConfigBase::AccessMode sipVH_kdecore_67(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KConfig::accessMode();

    return sipVH_kdecore_67(sipGILState,meth);
}

bool sipKConfig::isImmutable() const
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KConfig::isImmutable();

    return ((sipVH_QtCore_1)(sipModuleAPI_kdecore_QtCore->em_virthandlers[1]))(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)
{
    int sipArgsParsed = 0;

    {
        KConfig *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KConfig,sipName_componentData);

    return NULL;
}


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

    {
        KConfig *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KConfig,sipName_name);

    return NULL;
}


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

    {
        KConfig *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KConfig,sipName_sync);

    return NULL;
}


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

    {
        KConfig *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KConfig,sipName_markAsClean);

    return NULL;
}


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

    {
        KConfig *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KConfig,sipName_accessMode);

    return NULL;
}


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

    {
        bool a0;
        KConfig *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KConfig,sipName_isConfigWritable);

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        KConfig * a1 = 0;
        KConfig *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KConfig,sipName_copyTo);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KConfig,sipName_checkUpdate);

    return NULL;
}


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

    {
        KConfig *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KConfig,sipName_reparseConfiguration);

    return NULL;
}


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

    {
        const QStringList * a0;
        int a0State = 0;
        KConfig *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KConfig,sipName_addConfigSources);

    return NULL;
}


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

    {
        KConfig *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KConfig,sipName_locale);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KConfig,sipName_setLocale);

    return NULL;
}


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

    {
        bool a0;
        KConfig *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KConfig,sipName_setReadDefaults);

    return NULL;
}


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

    {
        KConfig *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KConfig,sipName_readDefaults);

    return NULL;
}


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

    {
        KConfig *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KConfig,sipName_isImmutable);

    return NULL;
}


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

    {
        bool a0;
        KConfig *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KConfig,sipName_setForceGlobal);

    return NULL;
}


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

    {
        KConfig *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KConfig,sipName_forceGlobal);

    return NULL;
}


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

    {
        KConfig *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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(sipArgsParsed,sipName_KConfig,sipName_groupList);

    return NULL;
}


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

    {
        const QString& a0def = QString();
        const QString * a0 = &a0def;
        int a0State = 0;
        KConfig *sipCpp;

        if (sipParseArgs(&sipArgsParsed,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);

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

            return sipResObj;
        }
    }

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

    return NULL;
}


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

    {
        const QByteArray * a0;
        int a0State = 0;
        sipKConfig *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&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(sipArgsParsed,sipName_KConfig,sipName_hasGroupImpl);

    return NULL;
}


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

    {
        const QByteArray * a0;
        int a0State = 0;
        sipKConfig *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&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(sipArgsParsed,sipName_KConfig,sipName_groupImpl);

    return NULL;
}


extern "C" {static PyObject *meth_KConfig_deleteGroupImpl(PyObject *, PyObject *);}
static PyObject *meth_KConfig_deleteGroupImpl(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    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(&sipArgsParsed,sipArgs,"pJ1|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(sipArgsParsed,sipName_KConfig,sipName_deleteGroupImpl);

    return NULL;
}


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

    {
        const QByteArray * a0;
        int a0State = 0;
        sipKConfig *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&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(sipArgsParsed,sipName_KConfig,sipName_isGroupImmutableImpl);

    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 state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & 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 *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

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


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

    if (!sipCpp)
    {
        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 (sipParseArgs(sipArgsParsed,sipArgs,"|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);
        }
    }

    if (!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 (sipParseArgs(sipArgsParsed,sipArgs,"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);
        }
    }

    if (!sipCpp)
    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        const char * a2 = "config";
        PyObject *a2Keep = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"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);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KConfig[] = {{27, 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, 25},
    {sipName_FullConfig, KConfig::FullConfig, 25},
    {sipName_IncludeGlobals, KConfig::IncludeGlobals, 25},
    {sipName_NoCascade, KConfig::NoCascade, 25},
    {sipName_NoGlobals, KConfig::NoGlobals, 25},
    {sipName_SimpleConfig, KConfig::SimpleConfig, 25},
};


pyqt4ClassTypeDef pyqt4Type_kdecore_KConfig = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KConfig,
        {0}
    },
    sipNameNr_KConfig,
    -1,
    -1,
    {0, 0, 1},
    supers_KConfig,
    0,
    23, methods_KConfig,
    6, enummembers_KConfig,
    0, 0,
    init_KConfig,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KConfig,
    release_KConfig,
    cast_KConfig,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kfilterdev.sip"
#include <kfilterdev.h>
#line 10425 "sipkdecorepart7.cpp"

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kfilterbase.sip"
#include <kfilterbase.h>
#line 10429 "sipkdecorepart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 10432 "sipkdecorepart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 10435 "sipkdecorepart7.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 10438 "sipkdecorepart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 10441 "sipkdecorepart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10444 "sipkdecorepart7.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10447 "sipkdecorepart7.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10450 "sipkdecorepart7.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 10453 "sipkdecorepart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 10456 "sipkdecorepart7.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 10487 "sipkdecorepart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 10490 "sipkdecorepart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 10493 "sipkdecorepart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 10496 "sipkdecorepart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 10499 "sipkdecorepart7.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10502 "sipkdecorepart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 10505 "sipkdecorepart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 10508 "sipkdecorepart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 10511 "sipkdecorepart7.cpp"


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

    {
        QIODevice::OpenMode * a0;
        int a0State = 0;
        KFilterDev *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KFilterDev::open(*a0) : sipCpp->open(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_QIODevice_OpenMode,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KFilterDev *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KFilterDev,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFilterDev::close() : sipCpp->close());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QByteArray * a0;
        int a0State = 0;
        KFilterDev *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KFilterDev,&sipCpp,sipType_QByteArray,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setOrigFileName(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KFilterDev *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KFilterDev,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSkipHeaders();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        qint64 a0;
        KFilterDev *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bn",&sipSelf,sipType_KFilterDev,&sipCpp,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KFilterDev::seek(a0) : sipCpp->seek(a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KFilterDev *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KFilterDev,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KFilterDev::atEnd() : sipCpp->atEnd());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;
        bool a2 = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1|J1b",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,&a2))
        {
            QIODevice *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFilterDev::deviceForFile(*a0,*a1,a2);
            Py_END_ALLOW_THREADS

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

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

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

    return NULL;
}


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

    {
        QIODevice * a0;
        const QString * a1;
        int a1State = 0;
        bool a2 = 1;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J8J1|b",sipType_QIODevice,&a0,sipType_QString,&a1,&a1State,&a2))
        {
            QIODevice *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFilterDev::device(a0,*a1,a2);
            Py_END_ALLOW_THREADS

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

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

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

    return NULL;
}


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

    if (targetType == sipType_KFilterDev)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QIODevice)->ctd_cast((QIODevice *)(KFilterDev *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    delete reinterpret_cast<KFilterDev *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


static PyMethodDef methods_KFilterDev[] = {
    {SIP_MLNAME_CAST(sipName_atEnd), meth_KFilterDev_atEnd, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_close), meth_KFilterDev_close, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_device), meth_KFilterDev_device, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deviceForFile), meth_KFilterDev_deviceForFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_open), meth_KFilterDev_open, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_seek), meth_KFilterDev_seek, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOrigFileName), meth_KFilterDev_setOrigFileName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSkipHeaders), meth_KFilterDev_setSkipHeaders, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kdecore_KFilterDev = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFilterDev,
        {0}
    },
    sipNameNr_KFilterDev,
    -1,
    -1,
    {0, 0, 1},
    supers_KFilterDev,
    0,
    8, methods_KFilterDev,
    0, 0,
    0, 0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFilterDev,
    release_KFilterDev,
    cast_KFilterDev,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KFilterDev::staticMetaObject,
    0,
    0
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kfilterbase.sip"
#include <kfilterbase.h>
#line 10854 "sipkdecorepart7.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 10858 "sipkdecorepart7.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 10861 "sipkdecorepart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 10864 "sipkdecorepart7.cpp"


class sipKFilterBase : public KFilterBase
{
public:
    sipKFilterBase();
    virtual ~sipKFilterBase();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void init(int);
    int mode() const;
    void terminate();
    void reset();
    bool readHeader();
    bool writeHeader(const QByteArray&);
    void setOutBuffer(char *,uint);
    void setInBuffer(const char *,uint);
    bool inBufferEmpty() const;
    int inBufferAvailable() const;
    bool outBufferFull() const;
    int outBufferAvailable() const;
    KFilterBase::Result uncompress();
    KFilterBase::Result compress(bool);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[14];
};

sipKFilterBase::sipKFilterBase(): KFilterBase(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

void sipKFilterBase::init(int a0)
{
    typedef void (*sipVH_QtNetwork_1)(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_KFilterBase,sipName_init);

    if (!meth)
        return;

    ((sipVH_QtNetwork_1)(sipModuleAPI_kdecore_QtNetwork->em_virthandlers[1]))(sipGILState,meth,a0);
}

int sipKFilterBase::mode() const
{
    typedef int (*sipVH_QtCore_8)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,sipName_KFilterBase,sipName_mode);

    if (!meth)
        return 0;

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

void sipKFilterBase::terminate()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KFilterBase::terminate();
        return;
    }

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

void sipKFilterBase::reset()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KFilterBase::reset();
        return;
    }

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

bool sipKFilterBase::readHeader()
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,sipName_KFilterBase,sipName_readHeader);

    if (!meth)
        return 0;

    return ((sipVH_QtCore_1)(sipModuleAPI_kdecore_QtCore->em_virthandlers[1]))(sipGILState,meth);
}

bool sipKFilterBase::writeHeader(const QByteArray& a0)
{
    extern bool sipVH_kdecore_64(sip_gilstate_t,PyObject *,const QByteArray&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,sipName_KFilterBase,sipName_writeHeader);

    if (!meth)
        return 0;

    return sipVH_kdecore_64(sipGILState,meth,a0);
}

void sipKFilterBase::setOutBuffer(char *a0,uint a1)
{
    extern void sipVH_kdecore_73(sip_gilstate_t,PyObject *,char *,unsigned);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,sipName_KFilterBase,sipName_setOutBuffer);

    if (!meth)
        return;

    sipVH_kdecore_73(sipGILState,meth,a0,a1);
}

void sipKFilterBase::setInBuffer(const char *a0,uint a1)
{
    extern void sipVH_kdecore_72(sip_gilstate_t,PyObject *,const char *,unsigned);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,sipName_KFilterBase,sipName_setInBuffer);

    if (!meth)
        return;

    sipVH_kdecore_72(sipGILState,meth,a0,a1);
}

bool sipKFilterBase::inBufferEmpty() const
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KFilterBase::inBufferEmpty();

    return ((sipVH_QtCore_1)(sipModuleAPI_kdecore_QtCore->em_virthandlers[1]))(sipGILState,meth);
}

int sipKFilterBase::inBufferAvailable() const
{
    typedef int (*sipVH_QtCore_8)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return 0;

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

bool sipKFilterBase::outBufferFull() const
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KFilterBase::outBufferFull();

    return ((sipVH_QtCore_1)(sipModuleAPI_kdecore_QtCore->em_virthandlers[1]))(sipGILState,meth);
}

int sipKFilterBase::outBufferAvailable() const
{
    typedef int (*sipVH_QtCore_8)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return 0;

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

KFilterBase::Result sipKFilterBase::uncompress()
{
    extern KFilterBase::Result sipVH_kdecore_71(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,sipName_KFilterBase,sipName_uncompress);

    if (!meth)
        return (KFilterBase::Result)0;

    return sipVH_kdecore_71(sipGILState,meth);
}

KFilterBase::Result sipKFilterBase::compress(bool a0)
{
    extern KFilterBase::Result sipVH_kdecore_70(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,sipName_KFilterBase,sipName_compress);

    if (!meth)
        return (KFilterBase::Result)0;

    return sipVH_kdecore_70(sipGILState,meth,a0);
}


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

    {
        QIODevice * a0;
        bool a1 = 0;
        KFilterBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8|b",&sipSelf,sipType_KFilterBase,&sipCpp,sipType_QIODevice,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDevice(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KFilterBase *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->device();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        int a0;
        KFilterBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bi",&sipSelf,sipType_KFilterBase,&sipCpp,&a0))
        {
            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KFilterBase, sipName_init);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->init(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KFilterBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KFilterBase,&sipCpp))
        {
            int sipRes;

            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KFilterBase, sipName_mode);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->mode();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KFilterBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KFilterBase,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFilterBase::terminate() : sipCpp->terminate());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KFilterBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KFilterBase,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFilterBase::reset() : sipCpp->reset());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KFilterBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KFilterBase,&sipCpp))
        {
            bool sipRes;

            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KFilterBase, sipName_readHeader);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->readHeader();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const QByteArray * a0;
        int a0State = 0;
        KFilterBase *sipCpp;

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

            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KFilterBase, sipName_writeHeader);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->writeHeader(*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(sipArgsParsed,sipName_KFilterBase,sipName_writeHeader);

    return NULL;
}


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

    {
        char * a0;
        PyObject *a0Keep;
        uint a1;
        KFilterBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BAAu",&sipSelf,sipType_KFilterBase,&sipCpp,&a0Keep,&a0,&a1))
        {
            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KFilterBase, sipName_setOutBuffer);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setOutBuffer(a0,a1);
            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(sipArgsParsed,sipName_KFilterBase,sipName_setOutBuffer);

    return NULL;
}


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

    {
        const char * a0;
        PyObject *a0Keep;
        uint a1;
        KFilterBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BAAu",&sipSelf,sipType_KFilterBase,&sipCpp,&a0Keep,&a0,&a1))
        {
            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KFilterBase, sipName_setInBuffer);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setInBuffer(a0,a1);
            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(sipArgsParsed,sipName_KFilterBase,sipName_setInBuffer);

    return NULL;
}


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

    {
        KFilterBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KFilterBase,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KFilterBase::inBufferEmpty() : sipCpp->inBufferEmpty());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KFilterBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KFilterBase,&sipCpp))
        {
            int sipRes;

            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KFilterBase, sipName_inBufferAvailable);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->inBufferAvailable();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KFilterBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KFilterBase,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KFilterBase::outBufferFull() : sipCpp->outBufferFull());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KFilterBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KFilterBase,&sipCpp))
        {
            int sipRes;

            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KFilterBase, sipName_outBufferAvailable);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->outBufferAvailable();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KFilterBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KFilterBase,&sipCpp))
        {
            KFilterBase::Result sipRes;

            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KFilterBase, sipName_uncompress);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->uncompress();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KFilterBase_Result);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        KFilterBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_KFilterBase,&sipCpp,&a0))
        {
            KFilterBase::Result sipRes;

            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KFilterBase, sipName_compress);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->compress(a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KFilterBase_Result);
        }
    }

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

    return NULL;
}


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

    {
        KFilterBase::FilterFlags a0;
        KFilterBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BE",&sipSelf,sipType_KFilterBase,&sipCpp,sipType_KFilterBase_FilterFlags,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFilterFlags(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KFilterBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KFilterBase,&sipCpp))
        {
            KFilterBase::FilterFlags sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->filterFlags();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KFilterBase_FilterFlags);
        }
    }

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1",sipType_QString,&a0,&a0State))
        {
            KFilterBase *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFilterBase::findFilterByFileName(*a0);
            Py_END_ALLOW_THREADS

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

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

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1",sipType_QString,&a0,&a0State))
        {
            KFilterBase *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFilterBase::findFilterByMimeType(*a0);
            Py_END_ALLOW_THREADS

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

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

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

    return NULL;
}


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

    return NULL;
}


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

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKFilterBase *>(sipCppV);
    else
        delete reinterpret_cast<KFilterBase *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

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

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


static PyMethodDef methods_KFilterBase[] = {
    {SIP_MLNAME_CAST(sipName_compress), meth_KFilterBase_compress, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_device), meth_KFilterBase_device, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_filterFlags), meth_KFilterBase_filterFlags, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_findFilterByFileName), meth_KFilterBase_findFilterByFileName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_findFilterByMimeType), meth_KFilterBase_findFilterByMimeType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inBufferAvailable), meth_KFilterBase_inBufferAvailable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inBufferEmpty), meth_KFilterBase_inBufferEmpty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_init), meth_KFilterBase_init, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mode), meth_KFilterBase_mode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_outBufferAvailable), meth_KFilterBase_outBufferAvailable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_outBufferFull), meth_KFilterBase_outBufferFull, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readHeader), meth_KFilterBase_readHeader, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_reset), meth_KFilterBase_reset, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDevice), meth_KFilterBase_setDevice, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFilterFlags), meth_KFilterBase_setFilterFlags, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setInBuffer), meth_KFilterBase_setInBuffer, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOutBuffer), meth_KFilterBase_setOutBuffer, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_terminate), meth_KFilterBase_terminate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_uncompress), meth_KFilterBase_uncompress, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeHeader), meth_KFilterBase_writeHeader, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KFilterBase[] = {
    {sipName_End, KFilterBase::End, 73},
    {sipName_Error, KFilterBase::Error, 73},
    {sipName_NoHeaders, KFilterBase::NoHeaders, 72},
    {sipName_Ok, KFilterBase::Ok, 73},
    {sipName_WithHeaders, KFilterBase::WithHeaders, 72},
};


pyqt4ClassTypeDef pyqt4Type_kdecore_KFilterBase = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_KFilterBase,
        {0}
    },
    sipNameNr_KFilterBase,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {0, 0, 1},
    0,
    0,
    20, methods_KFilterBase,
    5, enummembers_KFilterBase,
    0, 0,
    init_KFilterBase,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFilterBase,
    release_KFilterBase,
    cast_KFilterBase,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 708 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <qlist.h>
#line 102 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservice.sip"
#include <qlist.h>
#line 81 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kmimetype.sip"
#include <qlist.h>
#line 61 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
#include <qlist.h>
#line 65 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksycocaentry.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 11950 "sipkdecorepart7.cpp"

#line 136 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 11954 "sipkdecorepart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kplugininfo.sip"
#include <kplugininfo.h>
#line 11957 "sipkdecorepart7.cpp"
#line 36 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kprotocolinfo.sip"
#include <kprotocolinfo.h>
#line 11960 "sipkdecorepart7.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 11963 "sipkdecorepart7.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 11966 "sipkdecorepart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kserviceaction.sip"
#include <kserviceaction.h>
#line 11969 "sipkdecorepart7.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 11972 "sipkdecorepart7.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 11975 "sipkdecorepart7.cpp"
#line 321 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 11978 "sipkdecorepart7.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 11981 "sipkdecorepart7.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kautosavefile.sip"
#include <kautosavefile.h>
#line 11984 "sipkdecorepart7.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 11987 "sipkdecorepart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 11990 "sipkdecorepart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kaboutdata.sip"
#include <kaboutdata.h>
#line 11993 "sipkdecorepart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 11996 "sipkdecorepart7.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/klocale.sip"
#include <klocale.h>
#line 11999 "sipkdecorepart7.cpp"
#line 57 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktcpsocket.sip"
#include <ktcpsocket.h>
#line 12002 "sipkdecorepart7.cpp"
#line 79 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktcpsocket.sip"
#include <ktcpsocket.h>
#line 12005 "sipkdecorepart7.cpp"
#line 83 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kuser.sip"
#include <kuser.h>
#line 12008 "sipkdecorepart7.cpp"
#line 34 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kuser.sip"
#include <kuser.h>
#line 12011 "sipkdecorepart7.cpp"
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 12026 "sipkdecorepart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/klockfile.sip"
#include <klockfile.h>
#line 12029 "sipkdecorepart7.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kmimetype.sip"
#include <kmimetype.h>
#line 12032 "sipkdecorepart7.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservice.sip"
#include <kservice.h>
#line 12035 "sipkdecorepart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicegroup.sip"
#include <kservicegroup.h>
#line 12038 "sipkdecorepart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
#include <kservicetype.h>
#line 12041 "sipkdecorepart7.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksharedconfig.sip"
#include <ksharedconfig.h>
#line 12044 "sipkdecorepart7.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksycocaentry.sip"
#include <ksycocaentry.h>
#line 12047 "sipkdecorepart7.cpp"


extern "C" {static void assign_QList_0200KUser(void *, const void*);}
static void assign_QList_0200KUser(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<QList<KUser> *>(sipDst) = *reinterpret_cast<const QList<KUser> *>(sipSrc);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_0200KUser(void *, int);}
static void release_QList_0200KUser(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<KUser> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QList_0200KUser(PyObject *, void **, int *, PyObject *);}
static int convertTo_QList_0200KUser(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QList<KUser> **sipCppPtr = reinterpret_cast<QList<KUser> **>(sipCppPtrV);

#line 74 "/usr/local/share/py-sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *itm = PySequence_ITEM(sipPy, i);
            bool ok = (itm && sipCanConvertToType(itm, sipType_KUser, SIP_NOT_NONE));

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<KUser> *ql = new QList<KUser>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        int state;
        KUser *t = reinterpret_cast<KUser *>(sipConvertToType(itm, sipType_KUser, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            sipReleaseType(t, sipType_KUser, state);

            delete ql;
            return 0;
        }

        ql->append(*t);

        sipReleaseType(t, sipType_KUser, state);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 12123 "sipkdecorepart7.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0200KUser(void *, PyObject *);}
static PyObject *convertFrom_QList_0200KUser(void *sipCppV,PyObject *sipTransferObj)
{
   QList<KUser> *sipCpp = reinterpret_cast<QList<KUser> *>(sipCppV);

#line 47 "/usr/local/share/py-sip/QtCore/qlist.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        KUser *t = new KUser(sipCpp->at(i));
        PyObject *tobj;

        if ((tobj = sipConvertFromNewType(t, sipType_KUser, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            delete t;

            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 12157 "sipkdecorepart7.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_kdecore_QList_0200KUser = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_15819,
        {0}
    },
    release_QList_0200KUser,
    convertTo_QList_0200KUser,
    convertFrom_QList_0200KUser
},
    assign_QList_0200KUser
};


extern "C" {static void assign_QList_0200KUserGroup(void *, const void*);}
static void assign_QList_0200KUserGroup(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<QList<KUserGroup> *>(sipDst) = *reinterpret_cast<const QList<KUserGroup> *>(sipSrc);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_0200KUserGroup(void *, int);}
static void release_QList_0200KUserGroup(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<KUserGroup> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QList_0200KUserGroup(PyObject *, void **, int *, PyObject *);}
static int convertTo_QList_0200KUserGroup(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QList<KUserGroup> **sipCppPtr = reinterpret_cast<QList<KUserGroup> **>(sipCppPtrV);

#line 74 "/usr/local/share/py-sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *itm = PySequence_ITEM(sipPy, i);
            bool ok = (itm && sipCanConvertToType(itm, sipType_KUserGroup, SIP_NOT_NONE));

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<KUserGroup> *ql = new QList<KUserGroup>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        int state;
        KUserGroup *t = reinterpret_cast<KUserGroup *>(sipConvertToType(itm, sipType_KUserGroup, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            sipReleaseType(t, sipType_KUserGroup, state);

            delete ql;
            return 0;
        }

        ql->append(*t);

        sipReleaseType(t, sipType_KUserGroup, state);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 12252 "sipkdecorepart7.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0200KUserGroup(void *, PyObject *);}
static PyObject *convertFrom_QList_0200KUserGroup(void *sipCppV,PyObject *sipTransferObj)
{
   QList<KUserGroup> *sipCpp = reinterpret_cast<QList<KUserGroup> *>(sipCppV);

#line 47 "/usr/local/share/py-sip/QtCore/qlist.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        KUserGroup *t = new KUserGroup(sipCpp->at(i));
        PyObject *tobj;

        if ((tobj = sipConvertFromNewType(t, sipType_KUserGroup, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            delete t;

            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 12286 "sipkdecorepart7.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_kdecore_QList_0200KUserGroup = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_8942,
        {0}
    },
    release_QList_0200KUserGroup,
    convertTo_QList_0200KUserGroup,
    convertFrom_QList_0200KUserGroup
},
    assign_QList_0200KUserGroup
};


extern "C" {static void assign_QList_0200KSslError(void *, const void*);}
static void assign_QList_0200KSslError(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<QList<KSslError> *>(sipDst) = *reinterpret_cast<const QList<KSslError> *>(sipSrc);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_0200KSslError(void *, int);}
static void release_QList_0200KSslError(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<KSslError> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QList_0200KSslError(PyObject *, void **, int *, PyObject *);}
static int convertTo_QList_0200KSslError(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QList<KSslError> **sipCppPtr = reinterpret_cast<QList<KSslError> **>(sipCppPtrV);

#line 74 "/usr/local/share/py-sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *itm = PySequence_ITEM(sipPy, i);
            bool ok = (itm && sipCanConvertToType(itm, sipType_KSslError, SIP_NOT_NONE));

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<KSslError> *ql = new QList<KSslError>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        int state;
        KSslError *t = reinterpret_cast<KSslError *>(sipConvertToType(itm, sipType_KSslError, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            sipReleaseType(t, sipType_KSslError, state);

            delete ql;
            return 0;
        }

        ql->append(*t);

        sipReleaseType(t, sipType_KSslError, state);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 12381 "sipkdecorepart7.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0200KSslError(void *, PyObject *);}
static PyObject *convertFrom_QList_0200KSslError(void *sipCppV,PyObject *sipTransferObj)
{
   QList<KSslError> *sipCpp = reinterpret_cast<QList<KSslError> *>(sipCppV);

#line 47 "/usr/local/share/py-sip/QtCore/qlist.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        KSslError *t = new KSslError(sipCpp->at(i));
        PyObject *tobj;

        if ((tobj = sipConvertFromNewType(t, sipType_KSslError, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            delete t;

            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 12415 "sipkdecorepart7.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_kdecore_QList_0200KSslError = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_9932,
        {0}
    },
    release_QList_0200KSslError,
    convertTo_QList_0200KSslError,
    convertFrom_QList_0200KSslError
},
    assign_QList_0200KSslError
};


extern "C" {static void assign_QList_0200KSslCipher(void *, const void*);}
static void assign_QList_0200KSslCipher(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<QList<KSslCipher> *>(sipDst) = *reinterpret_cast<const QList<KSslCipher> *>(sipSrc);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_0200KSslCipher(void *, int);}
static void release_QList_0200KSslCipher(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<KSslCipher> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QList_0200KSslCipher(PyObject *, void **, int *, PyObject *);}
static int convertTo_QList_0200KSslCipher(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QList<KSslCipher> **sipCppPtr = reinterpret_cast<QList<KSslCipher> **>(sipCppPtrV);

#line 74 "/usr/local/share/py-sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *itm = PySequence_ITEM(sipPy, i);
            bool ok = (itm && sipCanConvertToType(itm, sipType_KSslCipher, SIP_NOT_NONE));

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<KSslCipher> *ql = new QList<KSslCipher>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        int state;
        KSslCipher *t = reinterpret_cast<KSslCipher *>(sipConvertToType(itm, sipType_KSslCipher, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            sipReleaseType(t, sipType_KSslCipher, state);

            delete ql;
            return 0;
        }

        ql->append(*t);

        sipReleaseType(t, sipType_KSslCipher, state);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 12510 "sipkdecorepart7.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0200KSslCipher(void *, PyObject *);}
static PyObject *convertFrom_QList_0200KSslCipher(void *sipCppV,PyObject *sipTransferObj)
{
   QList<KSslCipher> *sipCpp = reinterpret_cast<QList<KSslCipher> *>(sipCppV);

#line 47 "/usr/local/share/py-sip/QtCore/qlist.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        KSslCipher *t = new KSslCipher(sipCpp->at(i));
        PyObject *tobj;

        if ((tobj = sipConvertFromNewType(t, sipType_KSslCipher, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            delete t;

            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 12544 "sipkdecorepart7.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_kdecore_QList_0200KSslCipher = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_8960,
        {0}
    },
    release_QList_0200KSslCipher,
    convertTo_QList_0200KSslCipher,
    convertFrom_QList_0200KSslCipher
},
    assign_QList_0200KSslCipher
};


extern "C" {static void assign_QList_0500KLocale_DigitSet(void *, const void*);}
static void assign_QList_0500KLocale_DigitSet(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<QList<KLocale::DigitSet> *>(sipDst) = *reinterpret_cast<const QList<KLocale::DigitSet> *>(sipSrc);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_0500KLocale_DigitSet(void *, int);}
static void release_QList_0500KLocale_DigitSet(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<KLocale::DigitSet> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QList_0500KLocale_DigitSet(PyObject *, void **, int *, PyObject *);}
static int convertTo_QList_0500KLocale_DigitSet(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QList<KLocale::DigitSet> **sipCppPtr = reinterpret_cast<QList<KLocale::DigitSet> **>(sipCppPtrV);

#line 74 "/usr/local/share/py-sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *itm = PySequence_ITEM(sipPy, i);
            bool ok = (itm && sipCanConvertToType(itm, sipType_KLocale_DigitSet, SIP_NOT_NONE));

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<KLocale::DigitSet> *ql = new QList<KLocale::DigitSet>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        int state;
        KLocale::DigitSet *t = reinterpret_cast<KLocale::DigitSet *>(sipConvertToType(itm, sipType_KLocale_DigitSet, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            sipReleaseType(t, sipType_KLocale_DigitSet, state);

            delete ql;
            return 0;
        }

        ql->append(*t);

        sipReleaseType(t, sipType_KLocale_DigitSet, state);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 12639 "sipkdecorepart7.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0500KLocale_DigitSet(void *, PyObject *);}
static PyObject *convertFrom_QList_0500KLocale_DigitSet(void *sipCppV,PyObject *sipTransferObj)
{
   QList<KLocale::DigitSet> *sipCpp = reinterpret_cast<QList<KLocale::DigitSet> *>(sipCppV);

#line 47 "/usr/local/share/py-sip/QtCore/qlist.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        KLocale::DigitSet *t = new KLocale::DigitSet(sipCpp->at(i));
        PyObject *tobj;

        if ((tobj = sipConvertFromNewType(t, sipType_KLocale_DigitSet, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            delete t;

            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 12673 "sipkdecorepart7.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_kdecore_QList_0500KLocale_DigitSet = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_3273,
        {0}
    },
    release_QList_0500KLocale_DigitSet,
    convertTo_QList_0500KLocale_DigitSet,
    convertFrom_QList_0500KLocale_DigitSet
},
    assign_QList_0500KLocale_DigitSet
};


extern "C" {static void assign_QList_0200QStringList(void *, const void*);}
static void assign_QList_0200QStringList(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<QList<QStringList> *>(sipDst) = *reinterpret_cast<const QList<QStringList> *>(sipSrc);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_0200QStringList(void *, int);}
static void release_QList_0200QStringList(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<QStringList> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QList_0200QStringList(PyObject *, void **, int *, PyObject *);}
static int convertTo_QList_0200QStringList(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QList<QStringList> **sipCppPtr = reinterpret_cast<QList<QStringList> **>(sipCppPtrV);

#line 74 "/usr/local/share/py-sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *itm = PySequence_ITEM(sipPy, i);
            bool ok = (itm && sipCanConvertToType(itm, sipType_QStringList, SIP_NOT_NONE));

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<QStringList> *ql = new QList<QStringList>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        int state;
        QStringList *t = reinterpret_cast<QStringList *>(sipConvertToType(itm, sipType_QStringList, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            sipReleaseType(t, sipType_QStringList, state);

            delete ql;
            return 0;
        }

        ql->append(*t);

        sipReleaseType(t, sipType_QStringList, state);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 12768 "sipkdecorepart7.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0200QStringList(void *, PyObject *);}
static PyObject *convertFrom_QList_0200QStringList(void *sipCppV,PyObject *sipTransferObj)
{
   QList<QStringList> *sipCpp = reinterpret_cast<QList<QStringList> *>(sipCppV);

#line 47 "/usr/local/share/py-sip/QtCore/qlist.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        QStringList *t = new QStringList(sipCpp->at(i));
        PyObject *tobj;

        if ((tobj = sipConvertFromNewType(t, sipType_QStringList, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            delete t;

            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 12802 "sipkdecorepart7.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_kdecore_QList_0200QStringList = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_7726,
        {0}
    },
    release_QList_0200QStringList,
    convertTo_QList_0200QStringList,
    convertFrom_QList_0200QStringList
},
    assign_QList_0200QStringList
};


extern "C" {static void assign_QList_0200KAboutLicense(void *, const void*);}
static void assign_QList_0200KAboutLicense(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<QList<KAboutLicense> *>(sipDst) = *reinterpret_cast<const QList<KAboutLicense> *>(sipSrc);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_0200KAboutLicense(void *, int);}
static void release_QList_0200KAboutLicense(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<KAboutLicense> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QList_0200KAboutLicense(PyObject *, void **, int *, PyObject *);}
static int convertTo_QList_0200KAboutLicense(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QList<KAboutLicense> **sipCppPtr = reinterpret_cast<QList<KAboutLicense> **>(sipCppPtrV);

#line 74 "/usr/local/share/py-sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *itm = PySequence_ITEM(sipPy, i);
            bool ok = (itm && sipCanConvertToType(itm, sipType_KAboutLicense, SIP_NOT_NONE));

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<KAboutLicense> *ql = new QList<KAboutLicense>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        int state;
        KAboutLicense *t = reinterpret_cast<KAboutLicense *>(sipConvertToType(itm, sipType_KAboutLicense, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            sipReleaseType(t, sipType_KAboutLicense, state);

            delete ql;
            return 0;
        }

        ql->append(*t);

        sipReleaseType(t, sipType_KAboutLicense, state);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 12897 "sipkdecorepart7.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0200KAboutLicense(void *, PyObject *);}
static PyObject *convertFrom_QList_0200KAboutLicense(void *sipCppV,PyObject *sipTransferObj)
{
   QList<KAboutLicense> *sipCpp = reinterpret_cast<QList<KAboutLicense> *>(sipCppV);

#line 47 "/usr/local/share/py-sip/QtCore/qlist.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        KAboutLicense *t = new KAboutLicense(sipCpp->at(i));
        PyObject *tobj;

        if ((tobj = sipConvertFromNewType(t, sipType_KAboutLicense, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            delete t;

            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 12931 "sipkdecorepart7.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_kdecore_QList_0200KAboutLicense = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_6049,
        {0}
    },
    release_QList_0200KAboutLicense,
    convertTo_QList_0200KAboutLicense,
    convertFrom_QList_0200KAboutLicense
},
    assign_QList_0200KAboutLicense
};


extern "C" {static void assign_QList_0200KAboutPerson(void *, const void*);}
static void assign_QList_0200KAboutPerson(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<QList<KAboutPerson> *>(sipDst) = *reinterpret_cast<const QList<KAboutPerson> *>(sipSrc);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_0200KAboutPerson(void *, int);}
static void release_QList_0200KAboutPerson(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<KAboutPerson> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QList_0200KAboutPerson(PyObject *, void **, int *, PyObject *);}
static int convertTo_QList_0200KAboutPerson(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QList<KAboutPerson> **sipCppPtr = reinterpret_cast<QList<KAboutPerson> **>(sipCppPtrV);

#line 74 "/usr/local/share/py-sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *itm = PySequence_ITEM(sipPy, i);
            bool ok = (itm && sipCanConvertToType(itm, sipType_KAboutPerson, SIP_NOT_NONE));

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<KAboutPerson> *ql = new QList<KAboutPerson>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        int state;
        KAboutPerson *t = reinterpret_cast<KAboutPerson *>(sipConvertToType(itm, sipType_KAboutPerson, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            sipReleaseType(t, sipType_KAboutPerson, state);

            delete ql;
            return 0;
        }

        ql->append(*t);

        sipReleaseType(t, sipType_KAboutPerson, state);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 13026 "sipkdecorepart7.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0200KAboutPerson(void *, PyObject *);}
static PyObject *convertFrom_QList_0200KAboutPerson(void *sipCppV,PyObject *sipTransferObj)
{
   QList<KAboutPerson> *sipCpp = reinterpret_cast<QList<KAboutPerson> *>(sipCppV);

#line 47 "/usr/local/share/py-sip/QtCore/qlist.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        KAboutPerson *t = new KAboutPerson(sipCpp->at(i));
        PyObject *tobj;

        if ((tobj = sipConvertFromNewType(t, sipType_KAboutPerson, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            delete t;

            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 13060 "sipkdecorepart7.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_kdecore_QList_0200KAboutPerson = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_6826,
        {0}
    },
    release_QList_0200KAboutPerson,
    convertTo_QList_0200KAboutPerson,
    convertFrom_QList_0200KAboutPerson
},
    assign_QList_0200KAboutPerson
};


extern "C" {static void assign_QList_0201KJob(void *, const void*);}
static void assign_QList_0201KJob(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<QList<KJob *> *>(sipDst) = *reinterpret_cast<const QList<KJob *> *>(sipSrc);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_0201KJob(void *, int);}
static void release_QList_0201KJob(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<KJob *> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QList_0201KJob(PyObject *, void **, int *, PyObject *);}
static int convertTo_QList_0201KJob(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QList<KJob *> **sipCppPtr = reinterpret_cast<QList<KJob *> **>(sipCppPtrV);

#line 159 "/usr/local/share/py-sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *itm = PySequence_ITEM(sipPy, i);
            bool ok = (itm && sipCanConvertToType(itm, sipType_KJob, 0));

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<KJob *> *ql = new QList<KJob *>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        KJob *t = reinterpret_cast<KJob *>(sipConvertToType(itm, sipType_KJob, sipTransferObj, 0, 0, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            delete ql;
            return 0;
        }

        ql->append(t);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 13150 "sipkdecorepart7.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0201KJob(void *, PyObject *);}
static PyObject *convertFrom_QList_0201KJob(void *sipCppV,PyObject *sipTransferObj)
{
   QList<KJob *> *sipCpp = reinterpret_cast<QList<KJob *> *>(sipCppV);

#line 134 "/usr/local/share/py-sip/QtCore/qlist.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        KJob *t = sipCpp->at(i);
        PyObject *tobj;

        if ((tobj = sipConvertFromType(t, sipType_KJob, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 13182 "sipkdecorepart7.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_kdecore_QList_0201KJob = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_15832,
        {0}
    },
    release_QList_0201KJob,
    convertTo_QList_0201KJob,
    convertFrom_QList_0201KJob
},
    assign_QList_0201KJob
};


extern "C" {static void assign_QList_0200KUrl(void *, const void*);}
static void assign_QList_0200KUrl(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<QList<KUrl> *>(sipDst) = *reinterpret_cast<const QList<KUrl> *>(sipSrc);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_0200KUrl(void *, int);}
static void release_QList_0200KUrl(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<KUrl> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QList_0200KUrl(PyObject *, void **, int *, PyObject *);}
static int convertTo_QList_0200KUrl(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QList<KUrl> **sipCppPtr = reinterpret_cast<QList<KUrl> **>(sipCppPtrV);

#line 74 "/usr/local/share/py-sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *itm = PySequence_ITEM(sipPy, i);
            bool ok = (itm && sipCanConvertToType(itm, sipType_KUrl, SIP_NOT_NONE));

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<KUrl> *ql = new QList<KUrl>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        int state;
        KUrl *t = reinterpret_cast<KUrl *>(sipConvertToType(itm, sipType_KUrl, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            sipReleaseType(t, sipType_KUrl, state);

            delete ql;
            return 0;
        }

        ql->append(*t);

        sipReleaseType(t, sipType_KUrl, state);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 13277 "sipkdecorepart7.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0200KUrl(void *, PyObject *);}
static PyObject *convertFrom_QList_0200KUrl(void *sipCppV,PyObject *sipTransferObj)
{
   QList<KUrl> *sipCpp = reinterpret_cast<QList<KUrl> *>(sipCppV);

#line 47 "/usr/local/share/py-sip/QtCore/qlist.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        KUrl *t = new KUrl(sipCpp->at(i));
        PyObject *tobj;

        if ((tobj = sipConvertFromNewType(t, sipType_KUrl, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            delete t;

            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 13311 "sipkdecorepart7.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_kdecore_QList_0200KUrl = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_17106,
        {0}
    },
    release_QList_0200KUrl,
    convertTo_QList_0200KUrl,
    convertFrom_QList_0200KUrl
},
    assign_QList_0200KUrl
};


extern "C" {static void assign_QList_0201KAutoSaveFile(void *, const void*);}
static void assign_QList_0201KAutoSaveFile(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<QList<KAutoSaveFile *> *>(sipDst) = *reinterpret_cast<const QList<KAutoSaveFile *> *>(sipSrc);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_0201KAutoSaveFile(void *, int);}
static void release_QList_0201KAutoSaveFile(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<KAutoSaveFile *> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QList_0201KAutoSaveFile(PyObject *, void **, int *, PyObject *);}
static int convertTo_QList_0201KAutoSaveFile(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QList<KAutoSaveFile *> **sipCppPtr = reinterpret_cast<QList<KAutoSaveFile *> **>(sipCppPtrV);

#line 159 "/usr/local/share/py-sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *itm = PySequence_ITEM(sipPy, i);
            bool ok = (itm && sipCanConvertToType(itm, sipType_KAutoSaveFile, 0));

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<KAutoSaveFile *> *ql = new QList<KAutoSaveFile *>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        KAutoSaveFile *t = reinterpret_cast<KAutoSaveFile *>(sipConvertToType(itm, sipType_KAutoSaveFile, sipTransferObj, 0, 0, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            delete ql;
            return 0;
        }

        ql->append(t);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 13401 "sipkdecorepart7.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0201KAutoSaveFile(void *, PyObject *);}
static PyObject *convertFrom_QList_0201KAutoSaveFile(void *sipCppV,PyObject *sipTransferObj)
{
   QList<KAutoSaveFile *> *sipCpp = reinterpret_cast<QList<KAutoSaveFile *> *>(sipCppV);

#line 134 "/usr/local/share/py-sip/QtCore/qlist.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        KAutoSaveFile *t = sipCpp->at(i);
        PyObject *tobj;

        if ((tobj = sipConvertFromType(t, sipType_KAutoSaveFile, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 13433 "sipkdecorepart7.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_kdecore_QList_0201KAutoSaveFile = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_5104,
        {0}
    },
    release_QList_0201KAutoSaveFile,
    convertTo_QList_0201KAutoSaveFile,
    convertFrom_QList_0201KAutoSaveFile
},
    assign_QList_0201KAutoSaveFile
};


extern "C" {static void assign_QList_0200KTimeZone_LeapSeconds(void *, const void*);}
static void assign_QList_0200KTimeZone_LeapSeconds(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<QList<KTimeZone::LeapSeconds> *>(sipDst) = *reinterpret_cast<const QList<KTimeZone::LeapSeconds> *>(sipSrc);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_0200KTimeZone_LeapSeconds(void *, int);}
static void release_QList_0200KTimeZone_LeapSeconds(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<KTimeZone::LeapSeconds> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QList_0200KTimeZone_LeapSeconds(PyObject *, void **, int *, PyObject *);}
static int convertTo_QList_0200KTimeZone_LeapSeconds(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QList<KTimeZone::LeapSeconds> **sipCppPtr = reinterpret_cast<QList<KTimeZone::LeapSeconds> **>(sipCppPtrV);

#line 74 "/usr/local/share/py-sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *itm = PySequence_ITEM(sipPy, i);
            bool ok = (itm && sipCanConvertToType(itm, sipType_KTimeZone_LeapSeconds, SIP_NOT_NONE));

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<KTimeZone::LeapSeconds> *ql = new QList<KTimeZone::LeapSeconds>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        int state;
        KTimeZone::LeapSeconds *t = reinterpret_cast<KTimeZone::LeapSeconds *>(sipConvertToType(itm, sipType_KTimeZone_LeapSeconds, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            sipReleaseType(t, sipType_KTimeZone_LeapSeconds, state);

            delete ql;
            return 0;
        }

        ql->append(*t);

        sipReleaseType(t, sipType_KTimeZone_LeapSeconds, state);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 13528 "sipkdecorepart7.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0200KTimeZone_LeapSeconds(void *, PyObject *);}
static PyObject *convertFrom_QList_0200KTimeZone_LeapSeconds(void *sipCppV,PyObject *sipTransferObj)
{
   QList<KTimeZone::LeapSeconds> *sipCpp = reinterpret_cast<QList<KTimeZone::LeapSeconds> *>(sipCppV);

#line 47 "/usr/local/share/py-sip/QtCore/qlist.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        KTimeZone::LeapSeconds *t = new KTimeZone::LeapSeconds(sipCpp->at(i));
        PyObject *tobj;

        if ((tobj = sipConvertFromNewType(t, sipType_KTimeZone_LeapSeconds, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            delete t;

            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 13562 "sipkdecorepart7.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_kdecore_QList_0200KTimeZone_LeapSeconds = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_1357,
        {0}
    },
    release_QList_0200KTimeZone_LeapSeconds,
    convertTo_QList_0200KTimeZone_LeapSeconds,
    convertFrom_QList_0200KTimeZone_LeapSeconds
},
    assign_QList_0200KTimeZone_LeapSeconds
};


extern "C" {static void assign_QList_0200QDateTime(void *, const void*);}
static void assign_QList_0200QDateTime(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<QList<QDateTime> *>(sipDst) = *reinterpret_cast<const QList<QDateTime> *>(sipSrc);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_0200QDateTime(void *, int);}
static void release_QList_0200QDateTime(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<QDateTime> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QList_0200QDateTime(PyObject *, void **, int *, PyObject *);}
static int convertTo_QList_0200QDateTime(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QList<QDateTime> **sipCppPtr = reinterpret_cast<QList<QDateTime> **>(sipCppPtrV);

#line 74 "/usr/local/share/py-sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *itm = PySequence_ITEM(sipPy, i);
            bool ok = (itm && sipCanConvertToType(itm, sipType_QDateTime, SIP_NOT_NONE));

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<QDateTime> *ql = new QList<QDateTime>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        int state;
        QDateTime *t = reinterpret_cast<QDateTime *>(sipConvertToType(itm, sipType_QDateTime, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            sipReleaseType(t, sipType_QDateTime, state);

            delete ql;
            return 0;
        }

        ql->append(*t);

        sipReleaseType(t, sipType_QDateTime, state);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 13657 "sipkdecorepart7.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0200QDateTime(void *, PyObject *);}
static PyObject *convertFrom_QList_0200QDateTime(void *sipCppV,PyObject *sipTransferObj)
{
   QList<QDateTime> *sipCpp = reinterpret_cast<QList<QDateTime> *>(sipCppV);

#line 47 "/usr/local/share/py-sip/QtCore/qlist.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        QDateTime *t = new QDateTime(sipCpp->at(i));
        PyObject *tobj;

        if ((tobj = sipConvertFromNewType(t, sipType_QDateTime, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            delete t;

            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 13691 "sipkdecorepart7.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_kdecore_QList_0200QDateTime = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_9949,
        {0}
    },
    release_QList_0200QDateTime,
    convertTo_QList_0200QDateTime,
    convertFrom_QList_0200QDateTime
},
    assign_QList_0200QDateTime
};


extern "C" {static void assign_QList_0200KTimeZone_Transition(void *, const void*);}
static void assign_QList_0200KTimeZone_Transition(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<QList<KTimeZone::Transition> *>(sipDst) = *reinterpret_cast<const QList<KTimeZone::Transition> *>(sipSrc);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_0200KTimeZone_Transition(void *, int);}
static void release_QList_0200KTimeZone_Transition(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<KTimeZone::Transition> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QList_0200KTimeZone_Transition(PyObject *, void **, int *, PyObject *);}
static int convertTo_QList_0200KTimeZone_Transition(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QList<KTimeZone::Transition> **sipCppPtr = reinterpret_cast<QList<KTimeZone::Transition> **>(sipCppPtrV);

#line 74 "/usr/local/share/py-sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *itm = PySequence_ITEM(sipPy, i);
            bool ok = (itm && sipCanConvertToType(itm, sipType_KTimeZone_Transition, SIP_NOT_NONE));

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<KTimeZone::Transition> *ql = new QList<KTimeZone::Transition>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        int state;
        KTimeZone::Transition *t = reinterpret_cast<KTimeZone::Transition *>(sipConvertToType(itm, sipType_KTimeZone_Transition, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            sipReleaseType(t, sipType_KTimeZone_Transition, state);

            delete ql;
            return 0;
        }

        ql->append(*t);

        sipReleaseType(t, sipType_KTimeZone_Transition, state);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 13786 "sipkdecorepart7.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0200KTimeZone_Transition(void *, PyObject *);}
static PyObject *convertFrom_QList_0200KTimeZone_Transition(void *sipCppV,PyObject *sipTransferObj)
{
   QList<KTimeZone::Transition> *sipCpp = reinterpret_cast<QList<KTimeZone::Transition> *>(sipCppV);

#line 47 "/usr/local/share/py-sip/QtCore/qlist.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        KTimeZone::Transition *t = new KTimeZone::Transition(sipCpp->at(i));
        PyObject *tobj;

        if ((tobj = sipConvertFromNewType(t, sipType_KTimeZone_Transition, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            delete t;

            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 13820 "sipkdecorepart7.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_kdecore_QList_0200KTimeZone_Transition = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_1867,
        {0}
    },
    release_QList_0200KTimeZone_Transition,
    convertTo_QList_0200KTimeZone_Transition,
    convertFrom_QList_0200KTimeZone_Transition
},
    assign_QList_0200KTimeZone_Transition
};


extern "C" {static void assign_QList_0200KTimeZone_Phase(void *, const void*);}
static void assign_QList_0200KTimeZone_Phase(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<QList<KTimeZone::Phase> *>(sipDst) = *reinterpret_cast<const QList<KTimeZone::Phase> *>(sipSrc);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_0200KTimeZone_Phase(void *, int);}
static void release_QList_0200KTimeZone_Phase(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<KTimeZone::Phase> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QList_0200KTimeZone_Phase(PyObject *, void **, int *, PyObject *);}
static int convertTo_QList_0200KTimeZone_Phase(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QList<KTimeZone::Phase> **sipCppPtr = reinterpret_cast<QList<KTimeZone::Phase> **>(sipCppPtrV);

#line 74 "/usr/local/share/py-sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *itm = PySequence_ITEM(sipPy, i);
            bool ok = (itm && sipCanConvertToType(itm, sipType_KTimeZone_Phase, SIP_NOT_NONE));

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<KTimeZone::Phase> *ql = new QList<KTimeZone::Phase>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        int state;
        KTimeZone::Phase *t = reinterpret_cast<KTimeZone::Phase *>(sipConvertToType(itm, sipType_KTimeZone_Phase, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            sipReleaseType(t, sipType_KTimeZone_Phase, state);

            delete ql;
            return 0;
        }

        ql->append(*t);

        sipReleaseType(t, sipType_KTimeZone_Phase, state);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 13915 "sipkdecorepart7.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0200KTimeZone_Phase(void *, PyObject *);}
static PyObject *convertFrom_QList_0200KTimeZone_Phase(void *sipCppV,PyObject *sipTransferObj)
{
   QList<KTimeZone::Phase> *sipCpp = reinterpret_cast<QList<KTimeZone::Phase> *>(sipCppV);

#line 47 "/usr/local/share/py-sip/QtCore/qlist.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        KTimeZone::Phase *t = new KTimeZone::Phase(sipCpp->at(i));
        PyObject *tobj;

        if ((tobj = sipConvertFromNewType(t, sipType_KTimeZone_Phase, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            delete t;

            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 13949 "sipkdecorepart7.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_kdecore_QList_0200KTimeZone_Phase = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_3773,
        {0}
    },
    release_QList_0200KTimeZone_Phase,
    convertTo_QList_0200KTimeZone_Phase,
    convertFrom_QList_0200KTimeZone_Phase
},
    assign_QList_0200KTimeZone_Phase
};


extern "C" {static void assign_QList_0200KServiceAction(void *, const void*);}
static void assign_QList_0200KServiceAction(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<QList<KServiceAction> *>(sipDst) = *reinterpret_cast<const QList<KServiceAction> *>(sipSrc);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_0200KServiceAction(void *, int);}
static void release_QList_0200KServiceAction(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<KServiceAction> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QList_0200KServiceAction(PyObject *, void **, int *, PyObject *);}
static int convertTo_QList_0200KServiceAction(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QList<KServiceAction> **sipCppPtr = reinterpret_cast<QList<KServiceAction> **>(sipCppPtrV);

#line 74 "/usr/local/share/py-sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *itm = PySequence_ITEM(sipPy, i);
            bool ok = (itm && sipCanConvertToType(itm, sipType_KServiceAction, SIP_NOT_NONE));

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<KServiceAction> *ql = new QList<KServiceAction>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        int state;
        KServiceAction *t = reinterpret_cast<KServiceAction *>(sipConvertToType(itm, sipType_KServiceAction, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            sipReleaseType(t, sipType_KServiceAction, state);

            delete ql;
            return 0;
        }

        ql->append(*t);

        sipReleaseType(t, sipType_KServiceAction, state);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 14044 "sipkdecorepart7.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0200KServiceAction(void *, PyObject *);}
static PyObject *convertFrom_QList_0200KServiceAction(void *sipCppV,PyObject *sipTransferObj)
{
   QList<KServiceAction> *sipCpp = reinterpret_cast<QList<KServiceAction> *>(sipCppV);

#line 47 "/usr/local/share/py-sip/QtCore/qlist.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        KServiceAction *t = new KServiceAction(sipCpp->at(i));
        PyObject *tobj;

        if ((tobj = sipConvertFromNewType(t, sipType_KServiceAction, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            delete t;

            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 14078 "sipkdecorepart7.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_kdecore_QList_0200KServiceAction = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_5126,
        {0}
    },
    release_QList_0200KServiceAction,
    convertTo_QList_0200KServiceAction,
    convertFrom_QList_0200KServiceAction
},
    assign_QList_0200KServiceAction
};


extern "C" {static void assign_QList_0200KCoreConfigSkeleton_ItemEnum_Choice2(void *, const void*);}
static void assign_QList_0200KCoreConfigSkeleton_ItemEnum_Choice2(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<QList<KCoreConfigSkeleton::ItemEnum::Choice2> *>(sipDst) = *reinterpret_cast<const QList<KCoreConfigSkeleton::ItemEnum::Choice2> *>(sipSrc);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_0200KCoreConfigSkeleton_ItemEnum_Choice2(void *, int);}
static void release_QList_0200KCoreConfigSkeleton_ItemEnum_Choice2(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<KCoreConfigSkeleton::ItemEnum::Choice2> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QList_0200KCoreConfigSkeleton_ItemEnum_Choice2(PyObject *, void **, int *, PyObject *);}
static int convertTo_QList_0200KCoreConfigSkeleton_ItemEnum_Choice2(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QList<KCoreConfigSkeleton::ItemEnum::Choice2> **sipCppPtr = reinterpret_cast<QList<KCoreConfigSkeleton::ItemEnum::Choice2> **>(sipCppPtrV);

#line 74 "/usr/local/share/py-sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *itm = PySequence_ITEM(sipPy, i);
            bool ok = (itm && sipCanConvertToType(itm, sipType_KCoreConfigSkeleton_ItemEnum_Choice2, SIP_NOT_NONE));

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<KCoreConfigSkeleton::ItemEnum::Choice2> *ql = new QList<KCoreConfigSkeleton::ItemEnum::Choice2>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        int state;
        KCoreConfigSkeleton::ItemEnum::Choice2 *t = reinterpret_cast<KCoreConfigSkeleton::ItemEnum::Choice2 *>(sipConvertToType(itm, sipType_KCoreConfigSkeleton_ItemEnum_Choice2, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            sipReleaseType(t, sipType_KCoreConfigSkeleton_ItemEnum_Choice2, state);

            delete ql;
            return 0;
        }

        ql->append(*t);

        sipReleaseType(t, sipType_KCoreConfigSkeleton_ItemEnum_Choice2, state);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 14173 "sipkdecorepart7.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0200KCoreConfigSkeleton_ItemEnum_Choice2(void *, PyObject *);}
static PyObject *convertFrom_QList_0200KCoreConfigSkeleton_ItemEnum_Choice2(void *sipCppV,PyObject *sipTransferObj)
{
   QList<KCoreConfigSkeleton::ItemEnum::Choice2> *sipCpp = reinterpret_cast<QList<KCoreConfigSkeleton::ItemEnum::Choice2> *>(sipCppV);

#line 47 "/usr/local/share/py-sip/QtCore/qlist.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        KCoreConfigSkeleton::ItemEnum::Choice2 *t = new KCoreConfigSkeleton::ItemEnum::Choice2(sipCpp->at(i));
        PyObject *tobj;

        if ((tobj = sipConvertFromNewType(t, sipType_KCoreConfigSkeleton_ItemEnum_Choice2, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            delete t;

            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 14207 "sipkdecorepart7.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_kdecore_QList_0200KCoreConfigSkeleton_ItemEnum_Choice2 = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_0,
        {0}
    },
    release_QList_0200KCoreConfigSkeleton_ItemEnum_Choice2,
    convertTo_QList_0200KCoreConfigSkeleton_ItemEnum_Choice2,
    convertFrom_QList_0200KCoreConfigSkeleton_ItemEnum_Choice2
},
    assign_QList_0200KCoreConfigSkeleton_ItemEnum_Choice2
};


extern "C" {static void assign_QList_0200KCoreConfigSkeleton_ItemEnum_Choice(void *, const void*);}
static void assign_QList_0200KCoreConfigSkeleton_ItemEnum_Choice(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<QList<KCoreConfigSkeleton::ItemEnum::Choice> *>(sipDst) = *reinterpret_cast<const QList<KCoreConfigSkeleton::ItemEnum::Choice> *>(sipSrc);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_0200KCoreConfigSkeleton_ItemEnum_Choice(void *, int);}
static void release_QList_0200KCoreConfigSkeleton_ItemEnum_Choice(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<KCoreConfigSkeleton::ItemEnum::Choice> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QList_0200KCoreConfigSkeleton_ItemEnum_Choice(PyObject *, void **, int *, PyObject *);}
static int convertTo_QList_0200KCoreConfigSkeleton_ItemEnum_Choice(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QList<KCoreConfigSkeleton::ItemEnum::Choice> **sipCppPtr = reinterpret_cast<QList<KCoreConfigSkeleton::ItemEnum::Choice> **>(sipCppPtrV);

#line 74 "/usr/local/share/py-sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *itm = PySequence_ITEM(sipPy, i);
            bool ok = (itm && sipCanConvertToType(itm, sipType_KCoreConfigSkeleton_ItemEnum_Choice, SIP_NOT_NONE));

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<KCoreConfigSkeleton::ItemEnum::Choice> *ql = new QList<KCoreConfigSkeleton::ItemEnum::Choice>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        int state;
        KCoreConfigSkeleton::ItemEnum::Choice *t = reinterpret_cast<KCoreConfigSkeleton::ItemEnum::Choice *>(sipConvertToType(itm, sipType_KCoreConfigSkeleton_ItemEnum_Choice, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            sipReleaseType(t, sipType_KCoreConfigSkeleton_ItemEnum_Choice, state);

            delete ql;
            return 0;
        }

        ql->append(*t);

        sipReleaseType(t, sipType_KCoreConfigSkeleton_ItemEnum_Choice, state);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 14302 "sipkdecorepart7.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0200KCoreConfigSkeleton_ItemEnum_Choice(void *, PyObject *);}
static PyObject *convertFrom_QList_0200KCoreConfigSkeleton_ItemEnum_Choice(void *sipCppV,PyObject *sipTransferObj)
{
   QList<KCoreConfigSkeleton::ItemEnum::Choice> *sipCpp = reinterpret_cast<QList<KCoreConfigSkeleton::ItemEnum::Choice> *>(sipCppV);

#line 47 "/usr/local/share/py-sip/QtCore/qlist.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        KCoreConfigSkeleton::ItemEnum::Choice *t = new KCoreConfigSkeleton::ItemEnum::Choice(sipCpp->at(i));
        PyObject *tobj;

        if ((tobj = sipConvertFromNewType(t, sipType_KCoreConfigSkeleton_ItemEnum_Choice, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            delete t;

            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 14336 "sipkdecorepart7.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_kdecore_QList_0200KCoreConfigSkeleton_ItemEnum_Choice = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_46,
        {0}
    },
    release_QList_0200KCoreConfigSkeleton_ItemEnum_Choice,
    convertTo_QList_0200KCoreConfigSkeleton_ItemEnum_Choice,
    convertFrom_QList_0200KCoreConfigSkeleton_ItemEnum_Choice
},
    assign_QList_0200KCoreConfigSkeleton_ItemEnum_Choice
};


extern "C" {static void assign_QList_0200KProtocolInfo_ExtraField(void *, const void*);}
static void assign_QList_0200KProtocolInfo_ExtraField(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<QList<KProtocolInfo::ExtraField> *>(sipDst) = *reinterpret_cast<const QList<KProtocolInfo::ExtraField> *>(sipSrc);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_0200KProtocolInfo_ExtraField(void *, int);}
static void release_QList_0200KProtocolInfo_ExtraField(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<KProtocolInfo::ExtraField> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QList_0200KProtocolInfo_ExtraField(PyObject *, void **, int *, PyObject *);}
static int convertTo_QList_0200KProtocolInfo_ExtraField(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QList<KProtocolInfo::ExtraField> **sipCppPtr = reinterpret_cast<QList<KProtocolInfo::ExtraField> **>(sipCppPtrV);

#line 74 "/usr/local/share/py-sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *itm = PySequence_ITEM(sipPy, i);
            bool ok = (itm && sipCanConvertToType(itm, sipType_KProtocolInfo_ExtraField, SIP_NOT_NONE));

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<KProtocolInfo::ExtraField> *ql = new QList<KProtocolInfo::ExtraField>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        int state;
        KProtocolInfo::ExtraField *t = reinterpret_cast<KProtocolInfo::ExtraField *>(sipConvertToType(itm, sipType_KProtocolInfo_ExtraField, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            sipReleaseType(t, sipType_KProtocolInfo_ExtraField, state);

            delete ql;
            return 0;
        }

        ql->append(*t);

        sipReleaseType(t, sipType_KProtocolInfo_ExtraField, state);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 14431 "sipkdecorepart7.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0200KProtocolInfo_ExtraField(void *, PyObject *);}
static PyObject *convertFrom_QList_0200KProtocolInfo_ExtraField(void *sipCppV,PyObject *sipTransferObj)
{
   QList<KProtocolInfo::ExtraField> *sipCpp = reinterpret_cast<QList<KProtocolInfo::ExtraField> *>(sipCppV);

#line 47 "/usr/local/share/py-sip/QtCore/qlist.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        KProtocolInfo::ExtraField *t = new KProtocolInfo::ExtraField(sipCpp->at(i));
        PyObject *tobj;

        if ((tobj = sipConvertFromNewType(t, sipType_KProtocolInfo_ExtraField, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            delete t;

            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 14465 "sipkdecorepart7.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_kdecore_QList_0200KProtocolInfo_ExtraField = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_747,
        {0}
    },
    release_QList_0200KProtocolInfo_ExtraField,
    convertTo_QList_0200KProtocolInfo_ExtraField,
    convertFrom_QList_0200KProtocolInfo_ExtraField
},
    assign_QList_0200KProtocolInfo_ExtraField
};


extern "C" {static void assign_QList_0200KPluginInfo(void *, const void*);}
static void assign_QList_0200KPluginInfo(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<QList<KPluginInfo> *>(sipDst) = *reinterpret_cast<const QList<KPluginInfo> *>(sipSrc);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_0200KPluginInfo(void *, int);}
static void release_QList_0200KPluginInfo(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<KPluginInfo> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QList_0200KPluginInfo(PyObject *, void **, int *, PyObject *);}
static int convertTo_QList_0200KPluginInfo(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QList<KPluginInfo> **sipCppPtr = reinterpret_cast<QList<KPluginInfo> **>(sipCppPtrV);

#line 74 "/usr/local/share/py-sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *itm = PySequence_ITEM(sipPy, i);
            bool ok = (itm && sipCanConvertToType(itm, sipType_KPluginInfo, SIP_NOT_NONE));

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<KPluginInfo> *ql = new QList<KPluginInfo>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        int state;
        KPluginInfo *t = reinterpret_cast<KPluginInfo *>(sipConvertToType(itm, sipType_KPluginInfo, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            sipReleaseType(t, sipType_KPluginInfo, state);

            delete ql;
            return 0;
        }

        ql->append(*t);

        sipReleaseType(t, sipType_KPluginInfo, state);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 14560 "sipkdecorepart7.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0200KPluginInfo(void *, PyObject *);}
static PyObject *convertFrom_QList_0200KPluginInfo(void *sipCppV,PyObject *sipTransferObj)
{
   QList<KPluginInfo> *sipCpp = reinterpret_cast<QList<KPluginInfo> *>(sipCppV);

#line 47 "/usr/local/share/py-sip/QtCore/qlist.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        KPluginInfo *t = new KPluginInfo(sipCpp->at(i));
        PyObject *tobj;

        if ((tobj = sipConvertFromNewType(t, sipType_KPluginInfo, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            delete t;

            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 14594 "sipkdecorepart7.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_kdecore_QList_0200KPluginInfo = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_7745,
        {0}
    },
    release_QList_0200KPluginInfo,
    convertTo_QList_0200KPluginInfo,
    convertFrom_QList_0200KPluginInfo
},
    assign_QList_0200KPluginInfo
};


extern "C" {static void assign_QList_0201KConfigSkeletonItem(void *, const void*);}
static void assign_QList_0201KConfigSkeletonItem(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<QList<KConfigSkeletonItem *> *>(sipDst) = *reinterpret_cast<const QList<KConfigSkeletonItem *> *>(sipSrc);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_0201KConfigSkeletonItem(void *, int);}
static void release_QList_0201KConfigSkeletonItem(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<KConfigSkeletonItem *> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QList_0201KConfigSkeletonItem(PyObject *, void **, int *, PyObject *);}
static int convertTo_QList_0201KConfigSkeletonItem(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QList<KConfigSkeletonItem *> **sipCppPtr = reinterpret_cast<QList<KConfigSkeletonItem *> **>(sipCppPtrV);

#line 159 "/usr/local/share/py-sip/QtCore/qlist.sip"
    SIP_SSIZE_T len;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0)
            return 0;

        for (SIP_SSIZE_T i = 0; i < len; ++i)
        {
            PyObject *itm = PySequence_ITEM(sipPy, i);
            bool ok = (itm && sipCanConvertToType(itm, sipType_KConfigSkeletonItem, 0));

            Py_XDECREF(itm);

            if (!ok)
                return 0;
        }

        return 1;
    }

    QList<KConfigSkeletonItem *> *ql = new QList<KConfigSkeletonItem *>;
    len = PySequence_Size(sipPy);
 
    for (SIP_SSIZE_T i = 0; i < len; ++i)
    {
        PyObject *itm = PySequence_ITEM(sipPy, i);
        KConfigSkeletonItem *t = reinterpret_cast<KConfigSkeletonItem *>(sipConvertToType(itm, sipType_KConfigSkeletonItem, sipTransferObj, 0, 0, sipIsErr));

        Py_DECREF(itm);
 
        if (*sipIsErr)
        {
            delete ql;
            return 0;
        }

        ql->append(t);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 14684 "sipkdecorepart7.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0201KConfigSkeletonItem(void *, PyObject *);}
static PyObject *convertFrom_QList_0201KConfigSkeletonItem(void *sipCppV,PyObject *sipTransferObj)
{
   QList<KConfigSkeletonItem *> *sipCpp = reinterpret_cast<QList<KConfigSkeletonItem *> *>(sipCppV);

#line 134 "/usr/local/share/py-sip/QtCore/qlist.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        KConfigSkeletonItem *t = sipCpp->at(i);
        PyObject *tobj;

        if ((tobj = sipConvertFromType(t, sipType_KConfigSkeletonItem, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 14716 "sipkdecorepart7.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_kdecore_QList_0201KConfigSkeletonItem = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_2331,
        {0}
    },
    release_QList_0201KConfigSkeletonItem,
    convertTo_QList_0201KConfigSkeletonItem,
    convertFrom_QList_0201KConfigSkeletonItem
},
    assign_QList_0201KConfigSkeletonItem
};


extern "C" {static void assign_QList_27000600KSharedPtr_0200KSycocaEntry(void *, const void*);}
static void assign_QList_27000600KSharedPtr_0200KSycocaEntry(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<QList<KSycocaEntry::Ptr> *>(sipDst) = *reinterpret_cast<const QList<KSycocaEntry::Ptr> *>(sipSrc);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_27000600KSharedPtr_0200KSycocaEntry(void *, int);}
static void release_QList_27000600KSharedPtr_0200KSycocaEntry(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<KSycocaEntry::Ptr> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QList_27000600KSharedPtr_0200KSycocaEntry(PyObject *, void **, int *, PyObject *);}
static int convertTo_QList_27000600KSharedPtr_0200KSycocaEntry(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QList<KSycocaEntry::Ptr> **sipCppPtr = reinterpret_cast<QList<KSycocaEntry::Ptr> **>(sipCppPtrV);

#line 96 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksycocaentry.sip"
    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PyList_Check(sipPy))
            return 0;

        for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i)
            if (!sipCanConvertToInstance(PyList_GET_ITEM(sipPy, i), sipClass_KSycocaEntry, SIP_NOT_NONE))
                return 0;

        return 1;
    }

    QList<KSycocaEntry::Ptr> *ql = new QList<KSycocaEntry::Ptr>;
 
    for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i)
    {
        int state;
        KSycocaEntry *t = reinterpret_cast<KSycocaEntry *>(sipConvertToInstance(PyList_GET_ITEM(sipPy, i), sipClass_KSycocaEntry, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));
 
        if (*sipIsErr)
        {
            sipReleaseInstance(t, sipClass_KSycocaEntry, state);

            delete ql;
            return 0;
        }

        KSharedPtr<KSycocaEntry> *tptr = new KSharedPtr<KSycocaEntry> (t);

        ql->append(*tptr);

        sipReleaseInstance(t, sipClass_KSycocaEntry, state);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 14800 "sipkdecorepart7.cpp"
}


extern "C" {static PyObject *convertFrom_QList_27000600KSharedPtr_0200KSycocaEntry(void *, PyObject *);}
static PyObject *convertFrom_QList_27000600KSharedPtr_0200KSycocaEntry(void *sipCppV,PyObject *sipTransferObj)
{
   QList<KSycocaEntry::Ptr> *sipCpp = reinterpret_cast<QList<KSycocaEntry::Ptr> *>(sipCppV);

#line 69 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksycocaentry.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        KSycocaEntry::Ptr *t = new KSycocaEntry::Ptr (sipCpp->at(i));
        PyObject *tobj;

        if ((tobj = sipConvertFromNewInstance(t->data(), sipClass_KSycocaEntry, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            delete t;

            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 14834 "sipkdecorepart7.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_kdecore_QList_27000600KSharedPtr_0200KSycocaEntry = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_3423,
        {0}
    },
    release_QList_27000600KSharedPtr_0200KSycocaEntry,
    convertTo_QList_27000600KSharedPtr_0200KSycocaEntry,
    convertFrom_QList_27000600KSharedPtr_0200KSycocaEntry
},
    assign_QList_27000600KSharedPtr_0200KSycocaEntry
};


extern "C" {static void assign_QList_27000600KSharedPtr_0200KServiceType(void *, const void*);}
static void assign_QList_27000600KSharedPtr_0200KServiceType(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<QList<KServiceType::Ptr> *>(sipDst) = *reinterpret_cast<const QList<KServiceType::Ptr> *>(sipSrc);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_27000600KSharedPtr_0200KServiceType(void *, int);}
static void release_QList_27000600KSharedPtr_0200KServiceType(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<KServiceType::Ptr> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QList_27000600KSharedPtr_0200KServiceType(PyObject *, void **, int *, PyObject *);}
static int convertTo_QList_27000600KSharedPtr_0200KServiceType(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QList<KServiceType::Ptr> **sipCppPtr = reinterpret_cast<QList<KServiceType::Ptr> **>(sipCppPtrV);

#line 92 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PyList_Check(sipPy))
            return 0;

        for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i)
            if (!sipCanConvertToInstance(PyList_GET_ITEM(sipPy, i), sipClass_KServiceType, SIP_NOT_NONE))
                return 0;

        return 1;
    }

    QList<KServiceType::Ptr> *ql = new QList<KServiceType::Ptr>;
 
    for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i)
    {
        int state;
        KServiceType *t = reinterpret_cast<KServiceType *>(sipConvertToInstance(PyList_GET_ITEM(sipPy, i), sipClass_KServiceType, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));
 
        if (*sipIsErr)
        {
            sipReleaseInstance(t, sipClass_KServiceType, state);

            delete ql;
            return 0;
        }

        KSharedPtr<KServiceType> *tptr = new KSharedPtr<KServiceType> (t);

        ql->append(*tptr);

        sipReleaseInstance(t, sipClass_KServiceType, state);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 14918 "sipkdecorepart7.cpp"
}


extern "C" {static PyObject *convertFrom_QList_27000600KSharedPtr_0200KServiceType(void *, PyObject *);}
static PyObject *convertFrom_QList_27000600KSharedPtr_0200KServiceType(void *sipCppV,PyObject *sipTransferObj)
{
   QList<KServiceType::Ptr> *sipCpp = reinterpret_cast<QList<KServiceType::Ptr> *>(sipCppV);

#line 65 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        KServiceType::Ptr *t = new KServiceType::Ptr (sipCpp->at(i));
        PyObject *tobj;

        if ((tobj = sipConvertFromNewInstance(t->data(), sipClass_KServiceType, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            delete t;

            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 14952 "sipkdecorepart7.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_kdecore_QList_27000600KSharedPtr_0200KServiceType = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_3473,
        {0}
    },
    release_QList_27000600KSharedPtr_0200KServiceType,
    convertTo_QList_27000600KSharedPtr_0200KServiceType,
    convertFrom_QList_27000600KSharedPtr_0200KServiceType
},
    assign_QList_27000600KSharedPtr_0200KServiceType
};


extern "C" {static void assign_QList_27000600KSharedPtr_0200KMimeType(void *, const void*);}
static void assign_QList_27000600KSharedPtr_0200KMimeType(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<QList<KMimeType::Ptr> *>(sipDst) = *reinterpret_cast<const QList<KMimeType::Ptr> *>(sipSrc);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_27000600KSharedPtr_0200KMimeType(void *, int);}
static void release_QList_27000600KSharedPtr_0200KMimeType(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<KMimeType::Ptr> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QList_27000600KSharedPtr_0200KMimeType(PyObject *, void **, int *, PyObject *);}
static int convertTo_QList_27000600KSharedPtr_0200KMimeType(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QList<KMimeType::Ptr> **sipCppPtr = reinterpret_cast<QList<KMimeType::Ptr> **>(sipCppPtrV);

#line 112 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kmimetype.sip"
    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PyList_Check(sipPy))
            return 0;

        for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i)
            if (!sipCanConvertToInstance(PyList_GET_ITEM(sipPy, i), sipClass_KMimeType, SIP_NOT_NONE))
                return 0;

        return 1;
    }

    QList<KMimeType::Ptr> *ql = new QList<KMimeType::Ptr>;
 
    for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i)
    {
        int state;
        KMimeType *t = reinterpret_cast<KMimeType *>(sipConvertToInstance(PyList_GET_ITEM(sipPy, i), sipClass_KMimeType, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));
 
        if (*sipIsErr)
        {
            sipReleaseInstance(t, sipClass_KMimeType, state);

            delete ql;
            return 0;
        }

        KSharedPtr<KMimeType> *tptr = new KSharedPtr<KMimeType> (t);

        ql->append(*tptr);

        sipReleaseInstance(t, sipClass_KMimeType, state);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 15036 "sipkdecorepart7.cpp"
}


extern "C" {static PyObject *convertFrom_QList_27000600KSharedPtr_0200KMimeType(void *, PyObject *);}
static PyObject *convertFrom_QList_27000600KSharedPtr_0200KMimeType(void *sipCppV,PyObject *sipTransferObj)
{
   QList<KMimeType::Ptr> *sipCpp = reinterpret_cast<QList<KMimeType::Ptr> *>(sipCppV);

#line 85 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kmimetype.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        KMimeType::Ptr *t = new KMimeType::Ptr (sipCpp->at(i));
        PyObject *tobj;

        if ((tobj = sipConvertFromNewInstance(t->data(), sipClass_KMimeType, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            delete t;

            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 15070 "sipkdecorepart7.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_kdecore_QList_27000600KSharedPtr_0200KMimeType = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_5324,
        {0}
    },
    release_QList_27000600KSharedPtr_0200KMimeType,
    convertTo_QList_27000600KSharedPtr_0200KMimeType,
    convertFrom_QList_27000600KSharedPtr_0200KMimeType
},
    assign_QList_27000600KSharedPtr_0200KMimeType
};


extern "C" {static void assign_QList_27000600KSharedPtr_0200KService(void *, const void*);}
static void assign_QList_27000600KSharedPtr_0200KService(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<QList<KService::Ptr> *>(sipDst) = *reinterpret_cast<const QList<KService::Ptr> *>(sipSrc);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_27000600KSharedPtr_0200KService(void *, int);}
static void release_QList_27000600KSharedPtr_0200KService(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<KService::Ptr> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QList_27000600KSharedPtr_0200KService(PyObject *, void **, int *, PyObject *);}
static int convertTo_QList_27000600KSharedPtr_0200KService(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QList<KService::Ptr> **sipCppPtr = reinterpret_cast<QList<KService::Ptr> **>(sipCppPtrV);

#line 133 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservice.sip"
    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PyList_Check(sipPy))
            return 0;

        for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i)
            if (!sipCanConvertToInstance(PyList_GET_ITEM(sipPy, i), sipClass_KService, SIP_NOT_NONE))
                return 0;

        return 1;
    }

    QList<KService::Ptr> *ql = new QList<KService::Ptr>;
 
    for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i)
    {
        int state;
        KService *t = reinterpret_cast<KService *>(sipConvertToInstance(PyList_GET_ITEM(sipPy, i), sipClass_KService, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));
 
        if (*sipIsErr)
        {
            sipReleaseInstance(t, sipClass_KService, state);

            delete ql;
            return 0;
        }

        KSharedPtr<KService> *tptr = new KSharedPtr<KService> (t);

        ql->append(*tptr);

        sipReleaseInstance(t, sipClass_KService, state);
    }
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 15154 "sipkdecorepart7.cpp"
}


extern "C" {static PyObject *convertFrom_QList_27000600KSharedPtr_0200KService(void *, PyObject *);}
static PyObject *convertFrom_QList_27000600KSharedPtr_0200KService(void *sipCppV,PyObject *sipTransferObj)
{
   QList<KService::Ptr> *sipCpp = reinterpret_cast<QList<KService::Ptr> *>(sipCppV);

#line 106 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservice.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        KService::Ptr *t = new KService::Ptr (sipCpp->at(i));
        PyObject *tobj;

        if ((tobj = sipConvertFromNewInstance(t->data(), sipClass_KService, sipTransferObj)) == NULL)
        {
            Py_DECREF(l);
            delete t;

            return NULL;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 15188 "sipkdecorepart7.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_kdecore_QList_27000600KSharedPtr_0200KService = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_6595,
        {0}
    },
    release_QList_27000600KSharedPtr_0200KService,
    convertTo_QList_27000600KSharedPtr_0200KService,
    convertFrom_QList_27000600KSharedPtr_0200KService
},
    assign_QList_27000600KSharedPtr_0200KService
};


extern "C" {static void assign_QList_1900(void *, const void*);}
static void assign_QList_1900(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<QList<uint> *>(sipDst) = *reinterpret_cast<const QList<uint> *>(sipSrc);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_1900(void *, int);}
static void release_QList_1900(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<uint> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QList_1900(PyObject *, void **, int *, PyObject *);}
static int convertTo_QList_1900(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QList<uint> **sipCppPtr = reinterpret_cast<QList<uint> **>(sipCppPtrV);

#line 737 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
        return PyList_Check(sipPy);

    QList<uint> *ql = new QList<uint>;
 
    for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i)
        ql->append(PyInt_AsLong(PyList_GET_ITEM(sipPy, i)));
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 15246 "sipkdecorepart7.cpp"
}


extern "C" {static PyObject *convertFrom_QList_1900(void *, PyObject *);}
static PyObject *convertFrom_QList_1900(void *sipCppV,PyObject *)
{
   QList<uint> *sipCpp = reinterpret_cast<QList<uint> *>(sipCppV);

#line 712 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        PyObject *pobj;

        if ((pobj = PyInt_FromLong(sipCpp->value(i))) == NULL)
        {
            Py_DECREF(l);

            return NULL;
        }

        PyList_SET_ITEM(l, i, pobj);
    }

    return l;
#line 15278 "sipkdecorepart7.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_kdecore_QList_1900 = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_18594,
        {0}
    },
    release_QList_1900,
    convertTo_QList_1900,
    convertFrom_QList_1900
},
    assign_QList_1900
};




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

    return NULL;
}


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


pyqt4ClassTypeDef pyqt4Type_kdecore_KShared = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KShared,
        {0}
    },
    sipNameNr_KShared,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {0, 0, 1},
    0,
    0,
    0, 0,
    0, 0,
    0, 0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    release_KShared,
    cast_KShared,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};
