/*
 * 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 "sipkdecorepart6.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 16 "sipkdecorepart6.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 47 "sipkdecorepart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 50 "sipkdecorepart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 53 "sipkdecorepart6.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 56 "sipkdecorepart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 59 "sipkdecorepart6.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 62 "sipkdecorepart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 65 "sipkdecorepart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 68 "sipkdecorepart6.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 71 "sipkdecorepart6.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 74 "sipkdecorepart6.cpp"


class sipKCoreConfigSkeleton_ItemIntList : public KCoreConfigSkeleton::ItemIntList
{
public:
    sipKCoreConfigSkeleton_ItemIntList(const QString&,const QString&,QList<int>&,const QList<int>&);
    virtual ~sipKCoreConfigSkeleton_ItemIntList();

    /*
     * 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 QList<int>&);
    void setDefault();
    void writeConfig(KConfig *);
    void readConfig(KConfig *);
    void readDefault(KConfig *);
    void setProperty(const QVariant&);
    bool isEqual(const QVariant&) const;
    QVariant property() const;
    QVariant minValue() const;
    QVariant maxValue() const;
    void swapDefault();

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[11];
};

sipKCoreConfigSkeleton_ItemIntList::sipKCoreConfigSkeleton_ItemIntList(const QString& a0,const QString& a1,QList<int>& a2,const QList<int>& a3): KCoreConfigSkeleton::ItemIntList(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

void sipKCoreConfigSkeleton_ItemIntList::setDefaultValue(const QList<int>& a0)
{
    extern void sipVH_kdecore_49(sip_gilstate_t,PyObject *,const QList<int>&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    sipVH_kdecore_49(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemIntList::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::ItemIntList::setDefault();
        return;
    }

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

void sipKCoreConfigSkeleton_ItemIntList::writeConfig(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_writeConfig);

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

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemIntList::readConfig(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_readConfig);

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

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemIntList::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::ItemIntList::readDefault(a0);
        return;
    }

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemIntList::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::ItemIntList::setProperty(a0);
        return;
    }

    sipVH_kdecore_60(sipGILState,meth,a0);
}

bool sipKCoreConfigSkeleton_ItemIntList::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::ItemIntList::isEqual(a0);

    return sipVH_kdecore_63(sipGILState,meth,a0);
}

QVariant sipKCoreConfigSkeleton_ItemIntList::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::ItemIntList::property();

    return sipVH_kdecore_62(sipGILState,meth);
}

QVariant sipKCoreConfigSkeleton_ItemIntList::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_ItemIntList::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_ItemIntList::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::ItemIntList::swapDefault();
        return;
    }

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

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


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

    {
        const KConfigGroup * a0;
        sipKCoreConfigSkeleton_ItemIntList *sipCpp;

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KCoreConfigSkeleton_ItemIntList,&sipCpp,sipType_KConfig,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemIntList::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_ItemIntList,sipName_readConfig);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KCoreConfigSkeleton_ItemIntList,&sipCpp,sipType_QVariant,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemIntList::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_ItemIntList,sipName_setProperty);

    return NULL;
}


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

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemIntList::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_ItemIntList,sipName_isEqual);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemIntList *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemIntList::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_ItemIntList,sipName_property);

    return NULL;
}


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

    {
        const QList<int> * a0;
        int a0State = 0;
        KCoreConfigSkeleton::ItemIntList *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KCoreConfigSkeleton_ItemIntList,&sipCpp,sipType_QList_1800,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setValue(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QList<int> *>(a0),sipType_QList_1800,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemIntList *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCoreConfigSkeleton_ItemIntList,&sipCpp))
        {
            QList<int> *sipRes;

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

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_QList_1800,NULL);

            return sipResObj;
        }
    }

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

    return NULL;
}


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

    {
        const QList<int> * a0;
        int a0State = 0;
        KCoreConfigSkeleton::ItemIntList *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KCoreConfigSkeleton_ItemIntList,&sipCpp,sipType_QList_1800,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemIntList::setDefaultValue(*a0) : sipCpp->setDefaultValue(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QList<int> *>(a0),sipType_QList_1800,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemIntList *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCoreConfigSkeleton_ItemIntList,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemIntList::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_ItemIntList,sipName_setDefault);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KCoreConfigSkeleton_ItemIntList,&sipCpp,sipType_KConfig,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemIntList::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_ItemIntList,sipName_writeConfig);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KCoreConfigSkeleton_ItemIntList,&sipCpp,sipType_KConfig,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemIntList::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_ItemIntList,sipName_readDefault);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemIntList *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCoreConfigSkeleton_ItemIntList,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemIntList::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_ItemIntList,sipName_swapDefault);

    return NULL;
}


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

    if (targetType == sipType_KCoreConfigSkeleton_ItemIntList)
        return ptr;

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

    return NULL;
}


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

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKCoreConfigSkeleton_ItemIntList *>(sipCppV);
    else
        delete reinterpret_cast<KCoreConfigSkeleton::ItemIntList *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

    if (!sipCpp)
    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        QList<int> * a2;
        int a2State = 0;
        const QList<int>& a3def = QList<int>();
        const QList<int> * a3 = &a3def;
        int a3State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1J1J1|J1",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,sipType_QList_1800,&a2,&a2State,sipType_QList_1800,&a3,&a3State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKCoreConfigSkeleton_ItemIntList(*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_QList_1800,a2State);
            sipReleaseType(const_cast<QList<int> *>(a3),sipType_QList_1800,a3State);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KCoreConfigSkeleton_ItemIntList[] = {{32, 255, 1}};


static PyMethodDef methods_KCoreConfigSkeleton_ItemIntList[] = {
    {SIP_MLNAME_CAST(sipName_isEqual), meth_KCoreConfigSkeleton_ItemIntList_isEqual, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_property), meth_KCoreConfigSkeleton_ItemIntList_property, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readConfig), meth_KCoreConfigSkeleton_ItemIntList_readConfig, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readDefault), meth_KCoreConfigSkeleton_ItemIntList_readDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readImmutability), meth_KCoreConfigSkeleton_ItemIntList_readImmutability, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefault), meth_KCoreConfigSkeleton_ItemIntList_setDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefaultValue), meth_KCoreConfigSkeleton_ItemIntList_setDefaultValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setProperty), meth_KCoreConfigSkeleton_ItemIntList_setProperty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setValue), meth_KCoreConfigSkeleton_ItemIntList_setValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_swapDefault), meth_KCoreConfigSkeleton_ItemIntList_swapDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_value), meth_KCoreConfigSkeleton_ItemIntList_value, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeConfig), meth_KCoreConfigSkeleton_ItemIntList_writeConfig, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kdecore_KCoreConfigSkeleton_ItemIntList = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCoreConfigSkeleton__ItemIntList,
        {0}
    },
    sipNameNr_ItemIntList,
    -1,
    -1,
    {33, 255, 0},
    supers_KCoreConfigSkeleton_ItemIntList,
    0,
    12, methods_KCoreConfigSkeleton_ItemIntList,
    0, 0,
    0, 0,
    init_KCoreConfigSkeleton_ItemIntList,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCoreConfigSkeleton_ItemIntList,
    release_KCoreConfigSkeleton_ItemIntList,
    cast_KCoreConfigSkeleton_ItemIntList,
    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 812 "sipkdecorepart6.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 816 "sipkdecorepart6.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 819 "sipkdecorepart6.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 822 "sipkdecorepart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 825 "sipkdecorepart6.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 828 "sipkdecorepart6.cpp"


class sipKCoreConfigSkeleton_ItemUrlList : public KCoreConfigSkeleton::ItemUrlList
{
public:
    sipKCoreConfigSkeleton_ItemUrlList(const QString&,const QString&,KUrl::List&,const KUrl::List&);
    virtual ~sipKCoreConfigSkeleton_ItemUrlList();

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

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void setDefaultValue(const KUrl::List&);
    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_ItemUrlList(const sipKCoreConfigSkeleton_ItemUrlList &);
    sipKCoreConfigSkeleton_ItemUrlList &operator = (const sipKCoreConfigSkeleton_ItemUrlList &);

    char sipPyMethods[11];
};

sipKCoreConfigSkeleton_ItemUrlList::sipKCoreConfigSkeleton_ItemUrlList(const QString& a0,const QString& a1,KUrl::List& a2,const KUrl::List& a3): KCoreConfigSkeleton::ItemUrlList(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

void sipKCoreConfigSkeleton_ItemUrlList::setDefaultValue(const KUrl::List& a0)
{
    extern void sipVH_kdecore_50(sip_gilstate_t,PyObject *,const KUrl::List&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    sipVH_kdecore_50(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemUrlList::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::ItemUrlList::setDefault();
        return;
    }

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

void sipKCoreConfigSkeleton_ItemUrlList::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::ItemUrlList::readConfig(a0);
        return;
    }

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemUrlList::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::ItemUrlList::writeConfig(a0);
        return;
    }

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemUrlList::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::ItemUrlList::readDefault(a0);
        return;
    }

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemUrlList::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::ItemUrlList::setProperty(a0);
        return;
    }

    sipVH_kdecore_60(sipGILState,meth,a0);
}

bool sipKCoreConfigSkeleton_ItemUrlList::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::ItemUrlList::isEqual(a0);

    return sipVH_kdecore_63(sipGILState,meth,a0);
}

QVariant sipKCoreConfigSkeleton_ItemUrlList::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::ItemUrlList::property();

    return sipVH_kdecore_62(sipGILState,meth);
}

QVariant sipKCoreConfigSkeleton_ItemUrlList::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_ItemUrlList::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_ItemUrlList::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::ItemUrlList::swapDefault();
        return;
    }

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

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


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

    {
        const KConfigGroup * a0;
        sipKCoreConfigSkeleton_ItemUrlList *sipCpp;

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KCoreConfigSkeleton_ItemUrlList,&sipCpp,sipType_KConfig,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemUrlList::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_ItemUrlList,sipName_readConfig);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KCoreConfigSkeleton_ItemUrlList,&sipCpp,sipType_KConfig,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemUrlList::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_ItemUrlList,sipName_writeConfig);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KCoreConfigSkeleton_ItemUrlList,&sipCpp,sipType_QVariant,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemUrlList::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_ItemUrlList,sipName_setProperty);

    return NULL;
}


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

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemUrlList::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_ItemUrlList,sipName_isEqual);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemUrlList *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemUrlList::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_ItemUrlList,sipName_property);

    return NULL;
}


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

    {
        const KUrl::List * a0;
        KCoreConfigSkeleton::ItemUrlList *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KCoreConfigSkeleton_ItemUrlList,&sipCpp,sipType_KUrl_List,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setValue(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemUrlList *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KUrl::List * a0;
        KCoreConfigSkeleton::ItemUrlList *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KCoreConfigSkeleton_ItemUrlList,&sipCpp,sipType_KUrl_List,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemUrlList::setDefaultValue(*a0) : sipCpp->setDefaultValue(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemUrlList *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCoreConfigSkeleton_ItemUrlList,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemUrlList::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_ItemUrlList,sipName_setDefault);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KCoreConfigSkeleton_ItemUrlList,&sipCpp,sipType_KConfig,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemUrlList::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_ItemUrlList,sipName_readDefault);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemUrlList *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCoreConfigSkeleton_ItemUrlList,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemUrlList::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_ItemUrlList,sipName_swapDefault);

    return NULL;
}


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

    if (targetType == sipType_KCoreConfigSkeleton_ItemUrlList)
        return ptr;

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

    return NULL;
}


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

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKCoreConfigSkeleton_ItemUrlList *>(sipCppV);
    else
        delete reinterpret_cast<KCoreConfigSkeleton::ItemUrlList *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

    if (!sipCpp)
    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        KUrl::List * a2;
        const KUrl::List& a3def = KUrl::List();
        const KUrl::List * a3 = &a3def;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1J1J9|J9",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,sipType_KUrl_List,&a2,sipType_KUrl_List,&a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKCoreConfigSkeleton_ItemUrlList(*a0,*a1,*a2,*a3);
            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;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KCoreConfigSkeleton_ItemUrlList[] = {{32, 255, 1}};


static PyMethodDef methods_KCoreConfigSkeleton_ItemUrlList[] = {
    {SIP_MLNAME_CAST(sipName_isEqual), meth_KCoreConfigSkeleton_ItemUrlList_isEqual, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_property), meth_KCoreConfigSkeleton_ItemUrlList_property, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readConfig), meth_KCoreConfigSkeleton_ItemUrlList_readConfig, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readDefault), meth_KCoreConfigSkeleton_ItemUrlList_readDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readImmutability), meth_KCoreConfigSkeleton_ItemUrlList_readImmutability, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefault), meth_KCoreConfigSkeleton_ItemUrlList_setDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefaultValue), meth_KCoreConfigSkeleton_ItemUrlList_setDefaultValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setProperty), meth_KCoreConfigSkeleton_ItemUrlList_setProperty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setValue), meth_KCoreConfigSkeleton_ItemUrlList_setValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_swapDefault), meth_KCoreConfigSkeleton_ItemUrlList_swapDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_value), meth_KCoreConfigSkeleton_ItemUrlList_value, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeConfig), meth_KCoreConfigSkeleton_ItemUrlList_writeConfig, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kdecore_KCoreConfigSkeleton_ItemUrlList = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCoreConfigSkeleton__ItemUrlList,
        {0}
    },
    sipNameNr_ItemUrlList,
    -1,
    -1,
    {33, 255, 0},
    supers_KCoreConfigSkeleton_ItemUrlList,
    0,
    12, methods_KCoreConfigSkeleton_ItemUrlList,
    0, 0,
    0, 0,
    init_KCoreConfigSkeleton_ItemUrlList,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCoreConfigSkeleton_ItemUrlList,
    release_KCoreConfigSkeleton_ItemUrlList,
    cast_KCoreConfigSkeleton_ItemUrlList,
    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 1554 "sipkdecorepart6.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 1558 "sipkdecorepart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 1561 "sipkdecorepart6.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 1564 "sipkdecorepart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 1567 "sipkdecorepart6.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 1570 "sipkdecorepart6.cpp"


class sipKCoreConfigSkeleton_ItemPathList : public KCoreConfigSkeleton::ItemPathList
{
public:
    sipKCoreConfigSkeleton_ItemPathList(const QString&,const QString&,QStringList&,const QStringList&);
    virtual ~sipKCoreConfigSkeleton_ItemPathList();

    /*
     * 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 QStringList&);
    void setDefault();
    void writeConfig(KConfig *);
    void readConfig(KConfig *);
    void readDefault(KConfig *);
    void setProperty(const QVariant&);
    bool isEqual(const QVariant&) const;
    QVariant property() const;
    QVariant minValue() const;
    QVariant maxValue() const;
    void swapDefault();

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[11];
};

sipKCoreConfigSkeleton_ItemPathList::sipKCoreConfigSkeleton_ItemPathList(const QString& a0,const QString& a1,QStringList& a2,const QStringList& a3): KCoreConfigSkeleton::ItemPathList(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

void sipKCoreConfigSkeleton_ItemPathList::setDefaultValue(const QStringList& a0)
{
    extern void sipVH_kdecore_51(sip_gilstate_t,PyObject *,const QStringList&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    sipVH_kdecore_51(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemPathList::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::ItemStringList::setDefault();
        return;
    }

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

void sipKCoreConfigSkeleton_ItemPathList::writeConfig(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_writeConfig);

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

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemPathList::readConfig(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_readConfig);

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

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemPathList::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::ItemStringList::readDefault(a0);
        return;
    }

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemPathList::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::ItemStringList::setProperty(a0);
        return;
    }

    sipVH_kdecore_60(sipGILState,meth,a0);
}

bool sipKCoreConfigSkeleton_ItemPathList::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::ItemStringList::isEqual(a0);

    return sipVH_kdecore_63(sipGILState,meth,a0);
}

QVariant sipKCoreConfigSkeleton_ItemPathList::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::ItemStringList::property();

    return sipVH_kdecore_62(sipGILState,meth);
}

QVariant sipKCoreConfigSkeleton_ItemPathList::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_ItemPathList::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_ItemPathList::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::ItemStringList::swapDefault();
        return;
    }

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

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


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

    {
        const KConfigGroup * a0;
        sipKCoreConfigSkeleton_ItemPathList *sipCpp;

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KCoreConfigSkeleton_ItemPathList,&sipCpp,sipType_KConfig,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemPathList::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_ItemPathList,sipName_readConfig);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KCoreConfigSkeleton_ItemPathList,&sipCpp,sipType_KConfig,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemPathList::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_ItemPathList,sipName_writeConfig);

    return NULL;
}


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

    if (targetType == sipType_KCoreConfigSkeleton_ItemPathList)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KCoreConfigSkeleton_ItemStringList)->ctd_cast((KCoreConfigSkeleton::ItemStringList *)(KCoreConfigSkeleton::ItemPathList *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKCoreConfigSkeleton_ItemPathList *>(sipCppV);
    else
        delete reinterpret_cast<KCoreConfigSkeleton::ItemPathList *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

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

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1J1J1|J1",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,sipType_QStringList,&a2,&a2State,sipType_QStringList,&a3,&a3State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKCoreConfigSkeleton_ItemPathList(*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_QStringList,a2State);
            sipReleaseType(const_cast<QStringList *>(a3),sipType_QStringList,a3State);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KCoreConfigSkeleton_ItemPathList[] = {{52, 255, 1}};


static PyMethodDef methods_KCoreConfigSkeleton_ItemPathList[] = {
    {SIP_MLNAME_CAST(sipName_readConfig), meth_KCoreConfigSkeleton_ItemPathList_readConfig, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readImmutability), meth_KCoreConfigSkeleton_ItemPathList_readImmutability, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeConfig), meth_KCoreConfigSkeleton_ItemPathList_writeConfig, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kdecore_KCoreConfigSkeleton_ItemPathList = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCoreConfigSkeleton__ItemPathList,
        {0}
    },
    sipNameNr_ItemPathList,
    -1,
    -1,
    {33, 255, 0},
    supers_KCoreConfigSkeleton_ItemPathList,
    0,
    3, methods_KCoreConfigSkeleton_ItemPathList,
    0, 0,
    0, 0,
    init_KCoreConfigSkeleton_ItemPathList,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCoreConfigSkeleton_ItemPathList,
    release_KCoreConfigSkeleton_ItemPathList,
    cast_KCoreConfigSkeleton_ItemPathList,
    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 2036 "sipkdecorepart6.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 2040 "sipkdecorepart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 2043 "sipkdecorepart6.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 2046 "sipkdecorepart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 2049 "sipkdecorepart6.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 2052 "sipkdecorepart6.cpp"


class sipKCoreConfigSkeleton_ItemStringList : public KCoreConfigSkeleton::ItemStringList
{
public:
    sipKCoreConfigSkeleton_ItemStringList(const QString&,const QString&,QStringList&,const QStringList&);
    virtual ~sipKCoreConfigSkeleton_ItemStringList();

    /*
     * 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 QStringList&);
    void setDefault();
    void writeConfig(KConfig *);
    void readConfig(KConfig *);
    void readDefault(KConfig *);
    void setProperty(const QVariant&);
    bool isEqual(const QVariant&) const;
    QVariant property() const;
    QVariant minValue() const;
    QVariant maxValue() const;
    void swapDefault();

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[11];
};

sipKCoreConfigSkeleton_ItemStringList::sipKCoreConfigSkeleton_ItemStringList(const QString& a0,const QString& a1,QStringList& a2,const QStringList& a3): KCoreConfigSkeleton::ItemStringList(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

void sipKCoreConfigSkeleton_ItemStringList::setDefaultValue(const QStringList& a0)
{
    extern void sipVH_kdecore_51(sip_gilstate_t,PyObject *,const QStringList&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    sipVH_kdecore_51(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemStringList::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::ItemStringList::setDefault();
        return;
    }

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

void sipKCoreConfigSkeleton_ItemStringList::writeConfig(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_writeConfig);

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

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemStringList::readConfig(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_readConfig);

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

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemStringList::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::ItemStringList::readDefault(a0);
        return;
    }

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemStringList::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::ItemStringList::setProperty(a0);
        return;
    }

    sipVH_kdecore_60(sipGILState,meth,a0);
}

bool sipKCoreConfigSkeleton_ItemStringList::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::ItemStringList::isEqual(a0);

    return sipVH_kdecore_63(sipGILState,meth,a0);
}

QVariant sipKCoreConfigSkeleton_ItemStringList::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::ItemStringList::property();

    return sipVH_kdecore_62(sipGILState,meth);
}

QVariant sipKCoreConfigSkeleton_ItemStringList::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_ItemStringList::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_ItemStringList::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::ItemStringList::swapDefault();
        return;
    }

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

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


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

    {
        const KConfigGroup * a0;
        sipKCoreConfigSkeleton_ItemStringList *sipCpp;

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KCoreConfigSkeleton_ItemStringList,&sipCpp,sipType_KConfig,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemStringList::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_ItemStringList,sipName_readConfig);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KCoreConfigSkeleton_ItemStringList,&sipCpp,sipType_QVariant,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemStringList::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_ItemStringList,sipName_setProperty);

    return NULL;
}


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

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemStringList::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_ItemStringList,sipName_isEqual);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemStringList *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemStringList::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_ItemStringList,sipName_property);

    return NULL;
}


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

    {
        const QStringList * a0;
        int a0State = 0;
        KCoreConfigSkeleton::ItemStringList *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KCoreConfigSkeleton_ItemStringList,&sipCpp,sipType_QStringList,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setValue(*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_ItemStringList,sipName_setValue);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemStringList *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const QStringList * a0;
        int a0State = 0;
        KCoreConfigSkeleton::ItemStringList *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KCoreConfigSkeleton_ItemStringList,&sipCpp,sipType_QStringList,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemStringList::setDefaultValue(*a0) : sipCpp->setDefaultValue(*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_ItemStringList,sipName_setDefaultValue);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemStringList *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCoreConfigSkeleton_ItemStringList,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemStringList::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_ItemStringList,sipName_setDefault);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KCoreConfigSkeleton_ItemStringList,&sipCpp,sipType_KConfig,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemStringList::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_ItemStringList,sipName_writeConfig);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KCoreConfigSkeleton_ItemStringList,&sipCpp,sipType_KConfig,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemStringList::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_ItemStringList,sipName_readDefault);

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemStringList *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCoreConfigSkeleton_ItemStringList,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemStringList::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_ItemStringList,sipName_swapDefault);

    return NULL;
}


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

    if (targetType == sipType_KCoreConfigSkeleton_ItemStringList)
        return ptr;

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

    return NULL;
}


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

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKCoreConfigSkeleton_ItemStringList *>(sipCppV);
    else
        delete reinterpret_cast<KCoreConfigSkeleton::ItemStringList *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

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

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1J1J1|J1",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,sipType_QStringList,&a2,&a2State,sipType_QStringList,&a3,&a3State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKCoreConfigSkeleton_ItemStringList(*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_QStringList,a2State);
            sipReleaseType(const_cast<QStringList *>(a3),sipType_QStringList,a3State);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KCoreConfigSkeleton_ItemStringList[] = {{32, 255, 1}};


static PyMethodDef methods_KCoreConfigSkeleton_ItemStringList[] = {
    {SIP_MLNAME_CAST(sipName_isEqual), meth_KCoreConfigSkeleton_ItemStringList_isEqual, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_property), meth_KCoreConfigSkeleton_ItemStringList_property, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readConfig), meth_KCoreConfigSkeleton_ItemStringList_readConfig, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readDefault), meth_KCoreConfigSkeleton_ItemStringList_readDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readImmutability), meth_KCoreConfigSkeleton_ItemStringList_readImmutability, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefault), meth_KCoreConfigSkeleton_ItemStringList_setDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefaultValue), meth_KCoreConfigSkeleton_ItemStringList_setDefaultValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setProperty), meth_KCoreConfigSkeleton_ItemStringList_setProperty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setValue), meth_KCoreConfigSkeleton_ItemStringList_setValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_swapDefault), meth_KCoreConfigSkeleton_ItemStringList_swapDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_value), meth_KCoreConfigSkeleton_ItemStringList_value, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeConfig), meth_KCoreConfigSkeleton_ItemStringList_writeConfig, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kdecore_KCoreConfigSkeleton_ItemStringList = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCoreConfigSkeleton__ItemStringList,
        {0}
    },
    sipNameNr_ItemStringList,
    -1,
    -1,
    {33, 255, 0},
    supers_KCoreConfigSkeleton_ItemStringList,
    0,
    12, methods_KCoreConfigSkeleton_ItemStringList,
    0, 0,
    0, 0,
    init_KCoreConfigSkeleton_ItemStringList,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCoreConfigSkeleton_ItemStringList,
    release_KCoreConfigSkeleton_ItemStringList,
    cast_KCoreConfigSkeleton_ItemStringList,
    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 2788 "sipkdecorepart6.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 2792 "sipkdecorepart6.cpp"
#line 321 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 2795 "sipkdecorepart6.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 2798 "sipkdecorepart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 2801 "sipkdecorepart6.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 2804 "sipkdecorepart6.cpp"


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

    /*
     * 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 QDateTime&);
    void setDefault();
    void writeConfig(KConfig *);
    void readConfig(KConfig *);
    void readDefault(KConfig *);
    void setProperty(const QVariant&);
    bool isEqual(const QVariant&) const;
    QVariant property() const;
    QVariant minValue() const;
    QVariant maxValue() const;
    void swapDefault();

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[11];
};

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

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

void sipKCoreConfigSkeleton_ItemDateTime::setDefaultValue(const QDateTime& a0)
{
    typedef void (*sipVH_QtNetwork_0)(sip_gilstate_t,PyObject *,const QDateTime&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKCoreConfigSkeleton_ItemDateTime::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::ItemDateTime::setDefault();
        return;
    }

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

void sipKCoreConfigSkeleton_ItemDateTime::writeConfig(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_writeConfig);

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

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemDateTime::readConfig(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_readConfig);

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

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemDateTime::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::ItemDateTime::readDefault(a0);
        return;
    }

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemDateTime::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::ItemDateTime::setProperty(a0);
        return;
    }

    sipVH_kdecore_60(sipGILState,meth,a0);
}

bool sipKCoreConfigSkeleton_ItemDateTime::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::ItemDateTime::isEqual(a0);

    return sipVH_kdecore_63(sipGILState,meth,a0);
}

QVariant sipKCoreConfigSkeleton_ItemDateTime::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::ItemDateTime::property();

    return sipVH_kdecore_62(sipGILState,meth);
}

QVariant sipKCoreConfigSkeleton_ItemDateTime::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_ItemDateTime::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_ItemDateTime::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::ItemDateTime::swapDefault();
        return;
    }

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

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


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

    {
        const KConfigGroup * a0;
        sipKCoreConfigSkeleton_ItemDateTime *sipCpp;

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KCoreConfigSkeleton_ItemDateTime,&sipCpp,sipType_KConfig,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemDateTime::readConfig(a0) : sipCpp->readConfig(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemDateTime::isEqual(*a0) : sipCpp->isEqual(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemDateTime *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KCoreConfigSkeleton_ItemDateTime,&sipCpp,sipType_QDateTime,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setValue(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QDateTime *>(a0),sipType_QDateTime,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemDateTime *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            sipReleaseType(const_cast<QDateTime *>(a0),sipType_QDateTime,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemDateTime *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KCoreConfigSkeleton_ItemDateTime,&sipCpp,sipType_KConfig,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemDateTime::writeConfig(a0) : sipCpp->writeConfig(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KCoreConfigSkeleton_ItemDateTime,&sipCpp,sipType_KConfig,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemDateTime::readDefault(a0) : sipCpp->readDefault(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemDateTime *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KCoreConfigSkeleton_ItemDateTime)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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

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


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

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

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1J1J1|J1",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,sipType_QDateTime,&a2,&a2State,sipType_QDateTime,&a3,&a3State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKCoreConfigSkeleton_ItemDateTime(*a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(a2,sipType_QDateTime,a2State);
            sipReleaseType(const_cast<QDateTime *>(a3),sipType_QDateTime,a3State);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


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


pyqt4ClassTypeDef pyqt4Type_kdecore_KCoreConfigSkeleton_ItemDateTime = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCoreConfigSkeleton__ItemDateTime,
        {0}
    },
    sipNameNr_ItemDateTime,
    -1,
    -1,
    {33, 255, 0},
    supers_KCoreConfigSkeleton_ItemDateTime,
    0,
    12, methods_KCoreConfigSkeleton_ItemDateTime,
    0, 0,
    0, 0,
    init_KCoreConfigSkeleton_ItemDateTime,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCoreConfigSkeleton_ItemDateTime,
    release_KCoreConfigSkeleton_ItemDateTime,
    cast_KCoreConfigSkeleton_ItemDateTime,
    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 3540 "sipkdecorepart6.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 3544 "sipkdecorepart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 3547 "sipkdecorepart6.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 3550 "sipkdecorepart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 3553 "sipkdecorepart6.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 3556 "sipkdecorepart6.cpp"


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

    /*
     * 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 QSize&);
    void setDefault();
    void writeConfig(KConfig *);
    void readConfig(KConfig *);
    void readDefault(KConfig *);
    void setProperty(const QVariant&);
    bool isEqual(const QVariant&) const;
    QVariant property() const;
    QVariant minValue() const;
    QVariant maxValue() const;
    void swapDefault();

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[11];
};

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

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

void sipKCoreConfigSkeleton_ItemSize::setDefaultValue(const QSize& a0)
{
    extern void sipVH_kdecore_52(sip_gilstate_t,PyObject *,const QSize&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    sipVH_kdecore_52(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemSize::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::ItemSize::setDefault();
        return;
    }

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

void sipKCoreConfigSkeleton_ItemSize::writeConfig(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_writeConfig);

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

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemSize::readConfig(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_readConfig);

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

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemSize::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::ItemSize::readDefault(a0);
        return;
    }

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemSize::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::ItemSize::setProperty(a0);
        return;
    }

    sipVH_kdecore_60(sipGILState,meth,a0);
}

bool sipKCoreConfigSkeleton_ItemSize::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::ItemSize::isEqual(a0);

    return sipVH_kdecore_63(sipGILState,meth,a0);
}

QVariant sipKCoreConfigSkeleton_ItemSize::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::ItemSize::property();

    return sipVH_kdecore_62(sipGILState,meth);
}

QVariant sipKCoreConfigSkeleton_ItemSize::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_ItemSize::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_ItemSize::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::ItemSize::swapDefault();
        return;
    }

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

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


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

    {
        const KConfigGroup * a0;
        sipKCoreConfigSkeleton_ItemSize *sipCpp;

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KCoreConfigSkeleton_ItemSize,&sipCpp,sipType_KConfig,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemSize::readConfig(a0) : sipCpp->readConfig(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemSize::isEqual(*a0) : sipCpp->isEqual(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemSize *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KCoreConfigSkeleton_ItemSize,&sipCpp,sipType_QSize,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setValue(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemSize *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KCoreConfigSkeleton_ItemSize,&sipCpp,sipType_QSize,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemSize::setDefaultValue(*a0) : sipCpp->setDefaultValue(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemSize *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KCoreConfigSkeleton_ItemSize,&sipCpp,sipType_KConfig,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemSize::writeConfig(a0) : sipCpp->writeConfig(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KCoreConfigSkeleton_ItemSize,&sipCpp,sipType_KConfig,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemSize::readDefault(a0) : sipCpp->readDefault(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemSize *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KCoreConfigSkeleton_ItemSize)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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

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


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

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

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1J1J9|J9",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,sipType_QSize,&a2,sipType_QSize,&a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKCoreConfigSkeleton_ItemSize(*a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


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


pyqt4ClassTypeDef pyqt4Type_kdecore_KCoreConfigSkeleton_ItemSize = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCoreConfigSkeleton__ItemSize,
        {0}
    },
    sipNameNr_ItemSize,
    -1,
    -1,
    {33, 255, 0},
    supers_KCoreConfigSkeleton_ItemSize,
    0,
    12, methods_KCoreConfigSkeleton_ItemSize,
    0, 0,
    0, 0,
    init_KCoreConfigSkeleton_ItemSize,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCoreConfigSkeleton_ItemSize,
    release_KCoreConfigSkeleton_ItemSize,
    cast_KCoreConfigSkeleton_ItemSize,
    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 4282 "sipkdecorepart6.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 4286 "sipkdecorepart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 4289 "sipkdecorepart6.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 4292 "sipkdecorepart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 4295 "sipkdecorepart6.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 4298 "sipkdecorepart6.cpp"


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

    /*
     * 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 QPoint&);
    void setDefault();
    void writeConfig(KConfig *);
    void readConfig(KConfig *);
    void readDefault(KConfig *);
    void setProperty(const QVariant&);
    bool isEqual(const QVariant&) const;
    QVariant property() const;
    QVariant minValue() const;
    QVariant maxValue() const;
    void swapDefault();

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[11];
};

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

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

void sipKCoreConfigSkeleton_ItemPoint::setDefaultValue(const QPoint& a0)
{
    extern void sipVH_kdecore_53(sip_gilstate_t,PyObject *,const QPoint&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    sipVH_kdecore_53(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemPoint::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::ItemPoint::setDefault();
        return;
    }

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

void sipKCoreConfigSkeleton_ItemPoint::writeConfig(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_writeConfig);

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

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemPoint::readConfig(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_readConfig);

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

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemPoint::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::ItemPoint::readDefault(a0);
        return;
    }

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemPoint::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::ItemPoint::setProperty(a0);
        return;
    }

    sipVH_kdecore_60(sipGILState,meth,a0);
}

bool sipKCoreConfigSkeleton_ItemPoint::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::ItemPoint::isEqual(a0);

    return sipVH_kdecore_63(sipGILState,meth,a0);
}

QVariant sipKCoreConfigSkeleton_ItemPoint::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::ItemPoint::property();

    return sipVH_kdecore_62(sipGILState,meth);
}

QVariant sipKCoreConfigSkeleton_ItemPoint::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_ItemPoint::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_ItemPoint::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::ItemPoint::swapDefault();
        return;
    }

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

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


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

    {
        const KConfigGroup * a0;
        sipKCoreConfigSkeleton_ItemPoint *sipCpp;

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KCoreConfigSkeleton_ItemPoint,&sipCpp,sipType_KConfig,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemPoint::readConfig(a0) : sipCpp->readConfig(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemPoint::isEqual(*a0) : sipCpp->isEqual(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemPoint *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KCoreConfigSkeleton_ItemPoint,&sipCpp,sipType_QPoint,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setValue(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemPoint *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KCoreConfigSkeleton_ItemPoint,&sipCpp,sipType_QPoint,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemPoint::setDefaultValue(*a0) : sipCpp->setDefaultValue(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemPoint *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KCoreConfigSkeleton_ItemPoint,&sipCpp,sipType_KConfig,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemPoint::writeConfig(a0) : sipCpp->writeConfig(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KCoreConfigSkeleton_ItemPoint,&sipCpp,sipType_KConfig,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemPoint::readDefault(a0) : sipCpp->readDefault(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemPoint *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KCoreConfigSkeleton_ItemPoint)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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

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


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

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

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1J1J9|J9",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,sipType_QPoint,&a2,sipType_QPoint,&a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKCoreConfigSkeleton_ItemPoint(*a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


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


pyqt4ClassTypeDef pyqt4Type_kdecore_KCoreConfigSkeleton_ItemPoint = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCoreConfigSkeleton__ItemPoint,
        {0}
    },
    sipNameNr_ItemPoint,
    -1,
    -1,
    {33, 255, 0},
    supers_KCoreConfigSkeleton_ItemPoint,
    0,
    12, methods_KCoreConfigSkeleton_ItemPoint,
    0, 0,
    0, 0,
    init_KCoreConfigSkeleton_ItemPoint,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCoreConfigSkeleton_ItemPoint,
    release_KCoreConfigSkeleton_ItemPoint,
    cast_KCoreConfigSkeleton_ItemPoint,
    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 5024 "sipkdecorepart6.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 5028 "sipkdecorepart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 5031 "sipkdecorepart6.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 5034 "sipkdecorepart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 5037 "sipkdecorepart6.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 5040 "sipkdecorepart6.cpp"


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

    /*
     * 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 QRect&);
    void setDefault();
    void writeConfig(KConfig *);
    void readConfig(KConfig *);
    void readDefault(KConfig *);
    void setProperty(const QVariant&);
    bool isEqual(const QVariant&) const;
    QVariant property() const;
    QVariant minValue() const;
    QVariant maxValue() const;
    void swapDefault();

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[11];
};

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

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

void sipKCoreConfigSkeleton_ItemRect::setDefaultValue(const QRect& a0)
{
    typedef void (*sipVH_QtGui_101)(sip_gilstate_t,PyObject *,const QRect&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtGui_101)(sipModuleAPI_kdecore_QtGui->em_virthandlers[101]))(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemRect::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::ItemRect::setDefault();
        return;
    }

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

void sipKCoreConfigSkeleton_ItemRect::writeConfig(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_writeConfig);

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

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemRect::readConfig(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_readConfig);

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

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemRect::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::ItemRect::readDefault(a0);
        return;
    }

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemRect::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::ItemRect::setProperty(a0);
        return;
    }

    sipVH_kdecore_60(sipGILState,meth,a0);
}

bool sipKCoreConfigSkeleton_ItemRect::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::ItemRect::isEqual(a0);

    return sipVH_kdecore_63(sipGILState,meth,a0);
}

QVariant sipKCoreConfigSkeleton_ItemRect::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::ItemRect::property();

    return sipVH_kdecore_62(sipGILState,meth);
}

QVariant sipKCoreConfigSkeleton_ItemRect::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_ItemRect::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_ItemRect::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::ItemRect::swapDefault();
        return;
    }

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

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


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

    {
        const KConfigGroup * a0;
        sipKCoreConfigSkeleton_ItemRect *sipCpp;

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KCoreConfigSkeleton_ItemRect,&sipCpp,sipType_KConfig,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemRect::readConfig(a0) : sipCpp->readConfig(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemRect::isEqual(*a0) : sipCpp->isEqual(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemRect *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KCoreConfigSkeleton_ItemRect,&sipCpp,sipType_QRect,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setValue(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemRect *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KCoreConfigSkeleton_ItemRect,&sipCpp,sipType_QRect,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemRect::setDefaultValue(*a0) : sipCpp->setDefaultValue(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemRect *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KCoreConfigSkeleton_ItemRect,&sipCpp,sipType_KConfig,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemRect::writeConfig(a0) : sipCpp->writeConfig(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KCoreConfigSkeleton_ItemRect,&sipCpp,sipType_KConfig,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemRect::readDefault(a0) : sipCpp->readDefault(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemRect *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KCoreConfigSkeleton_ItemRect)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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

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


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

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

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1J1J9|J9",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,sipType_QRect,&a2,sipType_QRect,&a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKCoreConfigSkeleton_ItemRect(*a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


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


pyqt4ClassTypeDef pyqt4Type_kdecore_KCoreConfigSkeleton_ItemRect = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCoreConfigSkeleton__ItemRect,
        {0}
    },
    sipNameNr_ItemRect,
    -1,
    -1,
    {33, 255, 0},
    supers_KCoreConfigSkeleton_ItemRect,
    0,
    12, methods_KCoreConfigSkeleton_ItemRect,
    0, 0,
    0, 0,
    init_KCoreConfigSkeleton_ItemRect,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCoreConfigSkeleton_ItemRect,
    release_KCoreConfigSkeleton_ItemRect,
    cast_KCoreConfigSkeleton_ItemRect,
    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 5766 "sipkdecorepart6.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 5770 "sipkdecorepart6.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 5773 "sipkdecorepart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 5776 "sipkdecorepart6.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 5779 "sipkdecorepart6.cpp"


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

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[11];
};

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

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

void sipKCoreConfigSkeleton_ItemDouble::setDefaultValue(const double& a0)
{
    extern void sipVH_kdecore_54(sip_gilstate_t,PyObject *,const double&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    sipVH_kdecore_54(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemDouble::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::ItemDouble::setDefault();
        return;
    }

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

void sipKCoreConfigSkeleton_ItemDouble::writeConfig(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_writeConfig);

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

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemDouble::readConfig(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_readConfig);

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

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemDouble::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::ItemDouble::readDefault(a0);
        return;
    }

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemDouble::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::ItemDouble::setProperty(a0);
        return;
    }

    sipVH_kdecore_60(sipGILState,meth,a0);
}

bool sipKCoreConfigSkeleton_ItemDouble::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::ItemDouble::isEqual(a0);

    return sipVH_kdecore_63(sipGILState,meth,a0);
}

QVariant sipKCoreConfigSkeleton_ItemDouble::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::ItemDouble::property();

    return sipVH_kdecore_62(sipGILState,meth);
}

QVariant sipKCoreConfigSkeleton_ItemDouble::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 KCoreConfigSkeleton::ItemDouble::minValue();

    return sipVH_kdecore_62(sipGILState,meth);
}

QVariant sipKCoreConfigSkeleton_ItemDouble::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 KCoreConfigSkeleton::ItemDouble::maxValue();

    return sipVH_kdecore_62(sipGILState,meth);
}

void sipKCoreConfigSkeleton_ItemDouble::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::ItemDouble::swapDefault();
        return;
    }

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

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


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

    {
        const KConfigGroup * a0;
        sipKCoreConfigSkeleton_ItemDouble *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KCoreConfigSkeleton_ItemDouble,&sipCpp,sipType_KConfigGroup,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_readImmutability(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KCoreConfigSkeleton_ItemDouble,&sipCpp,sipType_KConfig,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemDouble::readConfig(a0) : sipCpp->readConfig(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemDouble::isEqual(*a0) : sipCpp->isEqual(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemDouble *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemDouble *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemDouble *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        double a0;
        KCoreConfigSkeleton::ItemDouble *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bd",&sipSelf,sipType_KCoreConfigSkeleton_ItemDouble,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMinValue(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        double a0;
        KCoreConfigSkeleton::ItemDouble *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bd",&sipSelf,sipType_KCoreConfigSkeleton_ItemDouble,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMaxValue(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        double a0;
        KCoreConfigSkeleton::ItemDouble *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bd",&sipSelf,sipType_KCoreConfigSkeleton_ItemDouble,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setValue(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemDouble *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->value();
            Py_END_ALLOW_THREADS

            return PyFloat_FromDouble(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        double a0;
        KCoreConfigSkeleton::ItemDouble *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bd",&sipSelf,sipType_KCoreConfigSkeleton_ItemDouble,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemDouble::setDefaultValue(a0) : sipCpp->setDefaultValue(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemDouble *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KCoreConfigSkeleton_ItemDouble,&sipCpp,sipType_KConfig,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemDouble::writeConfig(a0) : sipCpp->writeConfig(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KCoreConfigSkeleton_ItemDouble,&sipCpp,sipType_KConfig,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemDouble::readDefault(a0) : sipCpp->readDefault(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemDouble *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KCoreConfigSkeleton_ItemDouble)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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

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


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

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

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1J1d|d",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,&a2,&a3))
        {
#line 613 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
    Py_BEGIN_ALLOW_THREADS
//    sipCpp = new sipKCoreConfigSkeleton_ItemDouble (PyItemDouble (*a0, *a1, a2, a3));
    sipCpp = new sipKCoreConfigSkeleton_ItemDouble (*a0, *a1, a2, a3);
    Py_END_ALLOW_THREADS
#line 6536 "sipkdecorepart6.cpp"

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


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


pyqt4ClassTypeDef pyqt4Type_kdecore_KCoreConfigSkeleton_ItemDouble = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCoreConfigSkeleton__ItemDouble,
        {0}
    },
    sipNameNr_ItemDouble,
    -1,
    -1,
    {33, 255, 0},
    supers_KCoreConfigSkeleton_ItemDouble,
    0,
    16, methods_KCoreConfigSkeleton_ItemDouble,
    0, 0,
    0, 0,
    init_KCoreConfigSkeleton_ItemDouble,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCoreConfigSkeleton_ItemDouble,
    release_KCoreConfigSkeleton_ItemDouble,
    cast_KCoreConfigSkeleton_ItemDouble,
    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 6621 "sipkdecorepart6.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 6625 "sipkdecorepart6.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 6628 "sipkdecorepart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 6631 "sipkdecorepart6.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 6634 "sipkdecorepart6.cpp"


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

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[11];
};

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

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

void sipKCoreConfigSkeleton_ItemULongLong::setDefaultValue(const quint64& a0)
{
    extern void sipVH_kdecore_55(sip_gilstate_t,PyObject *,const unsigned PY_LONG_LONG&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    sipVH_kdecore_55(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemULongLong::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::ItemULongLong::setDefault();
        return;
    }

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

void sipKCoreConfigSkeleton_ItemULongLong::writeConfig(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_writeConfig);

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

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemULongLong::readConfig(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_readConfig);

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

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemULongLong::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::ItemULongLong::readDefault(a0);
        return;
    }

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemULongLong::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::ItemULongLong::setProperty(a0);
        return;
    }

    sipVH_kdecore_60(sipGILState,meth,a0);
}

bool sipKCoreConfigSkeleton_ItemULongLong::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::ItemULongLong::isEqual(a0);

    return sipVH_kdecore_63(sipGILState,meth,a0);
}

QVariant sipKCoreConfigSkeleton_ItemULongLong::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::ItemULongLong::property();

    return sipVH_kdecore_62(sipGILState,meth);
}

QVariant sipKCoreConfigSkeleton_ItemULongLong::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 KCoreConfigSkeleton::ItemULongLong::minValue();

    return sipVH_kdecore_62(sipGILState,meth);
}

QVariant sipKCoreConfigSkeleton_ItemULongLong::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 KCoreConfigSkeleton::ItemULongLong::maxValue();

    return sipVH_kdecore_62(sipGILState,meth);
}

void sipKCoreConfigSkeleton_ItemULongLong::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::ItemULongLong::swapDefault();
        return;
    }

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

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


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

    {
        const KConfigGroup * a0;
        sipKCoreConfigSkeleton_ItemULongLong *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KCoreConfigSkeleton_ItemULongLong,&sipCpp,sipType_KConfigGroup,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_readImmutability(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KCoreConfigSkeleton_ItemULongLong,&sipCpp,sipType_KConfig,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemULongLong::readConfig(a0) : sipCpp->readConfig(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemULongLong::isEqual(*a0) : sipCpp->isEqual(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemULongLong *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemULongLong *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemULongLong *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        quint64 a0;
        KCoreConfigSkeleton::ItemULongLong *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bo",&sipSelf,sipType_KCoreConfigSkeleton_ItemULongLong,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMinValue(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        quint64 a0;
        KCoreConfigSkeleton::ItemULongLong *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bo",&sipSelf,sipType_KCoreConfigSkeleton_ItemULongLong,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMaxValue(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        quint64 a0;
        KCoreConfigSkeleton::ItemULongLong *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bo",&sipSelf,sipType_KCoreConfigSkeleton_ItemULongLong,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setValue(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemULongLong *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->value();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLongLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        quint64 a0;
        KCoreConfigSkeleton::ItemULongLong *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bo",&sipSelf,sipType_KCoreConfigSkeleton_ItemULongLong,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemULongLong::setDefaultValue(a0) : sipCpp->setDefaultValue(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemULongLong *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KCoreConfigSkeleton_ItemULongLong,&sipCpp,sipType_KConfig,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemULongLong::writeConfig(a0) : sipCpp->writeConfig(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KCoreConfigSkeleton_ItemULongLong,&sipCpp,sipType_KConfig,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemULongLong::readDefault(a0) : sipCpp->readDefault(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemULongLong *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KCoreConfigSkeleton_ItemULongLong)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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

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


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

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

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1J1o|o",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,&a2,&a3))
        {
#line 575 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
    Py_BEGIN_ALLOW_THREADS
//    sipCpp = new sipKCoreConfigSkeleton_ItemULongLong (PyItemULongLong (*a0, *a1, a2, a3));
    sipCpp = new sipKCoreConfigSkeleton_ItemULongLong (*a0, *a1, a2, a3);
    Py_END_ALLOW_THREADS
#line 7391 "sipkdecorepart6.cpp"

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


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


pyqt4ClassTypeDef pyqt4Type_kdecore_KCoreConfigSkeleton_ItemULongLong = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCoreConfigSkeleton__ItemULongLong,
        {0}
    },
    sipNameNr_ItemULongLong,
    -1,
    -1,
    {33, 255, 0},
    supers_KCoreConfigSkeleton_ItemULongLong,
    0,
    16, methods_KCoreConfigSkeleton_ItemULongLong,
    0, 0,
    0, 0,
    init_KCoreConfigSkeleton_ItemULongLong,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCoreConfigSkeleton_ItemULongLong,
    release_KCoreConfigSkeleton_ItemULongLong,
    cast_KCoreConfigSkeleton_ItemULongLong,
    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 7476 "sipkdecorepart6.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 7480 "sipkdecorepart6.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 7483 "sipkdecorepart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 7486 "sipkdecorepart6.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 7489 "sipkdecorepart6.cpp"


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

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[11];
};

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

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

void sipKCoreConfigSkeleton_ItemUInt::setDefaultValue(const quint32& a0)
{
    extern void sipVH_kdecore_56(sip_gilstate_t,PyObject *,const unsigned&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    sipVH_kdecore_56(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemUInt::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::ItemUInt::setDefault();
        return;
    }

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

void sipKCoreConfigSkeleton_ItemUInt::writeConfig(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_writeConfig);

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

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemUInt::readConfig(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_readConfig);

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

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemUInt::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::ItemUInt::readDefault(a0);
        return;
    }

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemUInt::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::ItemUInt::setProperty(a0);
        return;
    }

    sipVH_kdecore_60(sipGILState,meth,a0);
}

bool sipKCoreConfigSkeleton_ItemUInt::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::ItemUInt::isEqual(a0);

    return sipVH_kdecore_63(sipGILState,meth,a0);
}

QVariant sipKCoreConfigSkeleton_ItemUInt::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::ItemUInt::property();

    return sipVH_kdecore_62(sipGILState,meth);
}

QVariant sipKCoreConfigSkeleton_ItemUInt::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 KCoreConfigSkeleton::ItemUInt::minValue();

    return sipVH_kdecore_62(sipGILState,meth);
}

QVariant sipKCoreConfigSkeleton_ItemUInt::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 KCoreConfigSkeleton::ItemUInt::maxValue();

    return sipVH_kdecore_62(sipGILState,meth);
}

void sipKCoreConfigSkeleton_ItemUInt::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::ItemUInt::swapDefault();
        return;
    }

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

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


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

    {
        const KConfigGroup * a0;
        sipKCoreConfigSkeleton_ItemUInt *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KCoreConfigSkeleton_ItemUInt,&sipCpp,sipType_KConfigGroup,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_readImmutability(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KCoreConfigSkeleton_ItemUInt,&sipCpp,sipType_KConfig,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemUInt::readConfig(a0) : sipCpp->readConfig(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemUInt::isEqual(*a0) : sipCpp->isEqual(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemUInt *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemUInt *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemUInt *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        quint32 a0;
        KCoreConfigSkeleton::ItemUInt *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bu",&sipSelf,sipType_KCoreConfigSkeleton_ItemUInt,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMinValue(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        quint32 a0;
        KCoreConfigSkeleton::ItemUInt *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bu",&sipSelf,sipType_KCoreConfigSkeleton_ItemUInt,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMaxValue(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        quint32 a0;
        KCoreConfigSkeleton::ItemUInt *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bu",&sipSelf,sipType_KCoreConfigSkeleton_ItemUInt,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setValue(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemUInt *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCoreConfigSkeleton_ItemUInt,&sipCpp))
        {
            quint32 sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->value();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        quint32 a0;
        KCoreConfigSkeleton::ItemUInt *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bu",&sipSelf,sipType_KCoreConfigSkeleton_ItemUInt,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemUInt::setDefaultValue(a0) : sipCpp->setDefaultValue(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemUInt *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCoreConfigSkeleton_ItemUInt,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemUInt::setDefault() : sipCpp->setDefault());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KCoreConfigSkeleton_ItemUInt,&sipCpp,sipType_KConfig,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemUInt::writeConfig(a0) : sipCpp->writeConfig(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KCoreConfigSkeleton_ItemUInt,&sipCpp,sipType_KConfig,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemUInt::readDefault(a0) : sipCpp->readDefault(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemUInt *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCoreConfigSkeleton_ItemUInt,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemUInt::swapDefault() : sipCpp->swapDefault());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KCoreConfigSkeleton_ItemUInt)
        return ptr;

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

    return NULL;
}


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

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKCoreConfigSkeleton_ItemUInt *>(sipCppV);
    else
        delete reinterpret_cast<KCoreConfigSkeleton::ItemUInt *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

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

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1J1u|u",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,&a2,&a3))
        {
#line 539 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
    Py_BEGIN_ALLOW_THREADS
//    sipCpp = new sipKCoreConfigSkeleton_ItemUInt (PyItemUInt (*a0, *a1, a2, a3));
    sipCpp = new sipKCoreConfigSkeleton_ItemUInt (*a0, *a1, a2, a3);
    Py_END_ALLOW_THREADS
#line 8246 "sipkdecorepart6.cpp"

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KCoreConfigSkeleton_ItemUInt[] = {{32, 255, 1}};


static PyMethodDef methods_KCoreConfigSkeleton_ItemUInt[] = {
    {SIP_MLNAME_CAST(sipName_isEqual), meth_KCoreConfigSkeleton_ItemUInt_isEqual, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_maxValue), meth_KCoreConfigSkeleton_ItemUInt_maxValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_minValue), meth_KCoreConfigSkeleton_ItemUInt_minValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_property), meth_KCoreConfigSkeleton_ItemUInt_property, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readConfig), meth_KCoreConfigSkeleton_ItemUInt_readConfig, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readDefault), meth_KCoreConfigSkeleton_ItemUInt_readDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readImmutability), meth_KCoreConfigSkeleton_ItemUInt_readImmutability, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefault), meth_KCoreConfigSkeleton_ItemUInt_setDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefaultValue), meth_KCoreConfigSkeleton_ItemUInt_setDefaultValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMaxValue), meth_KCoreConfigSkeleton_ItemUInt_setMaxValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMinValue), meth_KCoreConfigSkeleton_ItemUInt_setMinValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setProperty), meth_KCoreConfigSkeleton_ItemUInt_setProperty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setValue), meth_KCoreConfigSkeleton_ItemUInt_setValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_swapDefault), meth_KCoreConfigSkeleton_ItemUInt_swapDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_value), meth_KCoreConfigSkeleton_ItemUInt_value, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeConfig), meth_KCoreConfigSkeleton_ItemUInt_writeConfig, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kdecore_KCoreConfigSkeleton_ItemUInt = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCoreConfigSkeleton__ItemUInt,
        {0}
    },
    sipNameNr_ItemUInt,
    -1,
    -1,
    {33, 255, 0},
    supers_KCoreConfigSkeleton_ItemUInt,
    0,
    16, methods_KCoreConfigSkeleton_ItemUInt,
    0, 0,
    0, 0,
    init_KCoreConfigSkeleton_ItemUInt,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCoreConfigSkeleton_ItemUInt,
    release_KCoreConfigSkeleton_ItemUInt,
    cast_KCoreConfigSkeleton_ItemUInt,
    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 8331 "sipkdecorepart6.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 8335 "sipkdecorepart6.cpp"


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

    return NULL;
}


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

    delete reinterpret_cast<KCoreConfigSkeleton::ItemEnum::Choice2 *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KCoreConfigSkeleton_ItemEnum_Choice2(void *, const void*);}
static void assign_KCoreConfigSkeleton_ItemEnum_Choice2(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<KCoreConfigSkeleton::ItemEnum::Choice2 *>(sipDst) = *reinterpret_cast<const KCoreConfigSkeleton::ItemEnum::Choice2 *>(sipSrc);
}


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


extern "C" {static void *init_KCoreConfigSkeleton_ItemEnum_Choice2(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KCoreConfigSkeleton_ItemEnum_Choice2(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    KCoreConfigSkeleton::ItemEnum::Choice2 *sipCpp = 0;

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KCoreConfigSkeleton::ItemEnum::Choice2();
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const KCoreConfigSkeleton::ItemEnum::Choice2 * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_KCoreConfigSkeleton_ItemEnum_Choice2,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KCoreConfigSkeleton::ItemEnum::Choice2(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    return sipCpp;
}


extern "C" {static PyObject *varget_KCoreConfigSkeleton_ItemEnum_Choice2_label(void *, PyObject *);}
static PyObject *varget_KCoreConfigSkeleton_ItemEnum_Choice2_label(void *sipSelf, PyObject *)
{
    QString *sipVal;
    KCoreConfigSkeleton::ItemEnum::Choice2 *sipCpp = reinterpret_cast<KCoreConfigSkeleton::ItemEnum::Choice2 *>(sipSelf);

    sipVal = &sipCpp->label;

    return sipConvertFromType(sipVal,sipType_QString, NULL);
}


extern "C" {static int varset_KCoreConfigSkeleton_ItemEnum_Choice2_label(void *, PyObject *, PyObject *);}
static int varset_KCoreConfigSkeleton_ItemEnum_Choice2_label(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString *sipVal;
    KCoreConfigSkeleton::ItemEnum::Choice2 *sipCpp = reinterpret_cast<KCoreConfigSkeleton::ItemEnum::Choice2 *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->label = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KCoreConfigSkeleton_ItemEnum_Choice2_name(void *, PyObject *);}
static PyObject *varget_KCoreConfigSkeleton_ItemEnum_Choice2_name(void *sipSelf, PyObject *)
{
    QString *sipVal;
    KCoreConfigSkeleton::ItemEnum::Choice2 *sipCpp = reinterpret_cast<KCoreConfigSkeleton::ItemEnum::Choice2 *>(sipSelf);

    sipVal = &sipCpp->name;

    return sipConvertFromType(sipVal,sipType_QString, NULL);
}


extern "C" {static int varset_KCoreConfigSkeleton_ItemEnum_Choice2_name(void *, PyObject *, PyObject *);}
static int varset_KCoreConfigSkeleton_ItemEnum_Choice2_name(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString *sipVal;
    KCoreConfigSkeleton::ItemEnum::Choice2 *sipCpp = reinterpret_cast<KCoreConfigSkeleton::ItemEnum::Choice2 *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->name = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KCoreConfigSkeleton_ItemEnum_Choice2_toolTip(void *, PyObject *);}
static PyObject *varget_KCoreConfigSkeleton_ItemEnum_Choice2_toolTip(void *sipSelf, PyObject *)
{
    QString *sipVal;
    KCoreConfigSkeleton::ItemEnum::Choice2 *sipCpp = reinterpret_cast<KCoreConfigSkeleton::ItemEnum::Choice2 *>(sipSelf);

    sipVal = &sipCpp->toolTip;

    return sipConvertFromType(sipVal,sipType_QString, NULL);
}


extern "C" {static int varset_KCoreConfigSkeleton_ItemEnum_Choice2_toolTip(void *, PyObject *, PyObject *);}
static int varset_KCoreConfigSkeleton_ItemEnum_Choice2_toolTip(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString *sipVal;
    KCoreConfigSkeleton::ItemEnum::Choice2 *sipCpp = reinterpret_cast<KCoreConfigSkeleton::ItemEnum::Choice2 *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->toolTip = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KCoreConfigSkeleton_ItemEnum_Choice2_whatsThis(void *, PyObject *);}
static PyObject *varget_KCoreConfigSkeleton_ItemEnum_Choice2_whatsThis(void *sipSelf, PyObject *)
{
    QString *sipVal;
    KCoreConfigSkeleton::ItemEnum::Choice2 *sipCpp = reinterpret_cast<KCoreConfigSkeleton::ItemEnum::Choice2 *>(sipSelf);

    sipVal = &sipCpp->whatsThis;

    return sipConvertFromType(sipVal,sipType_QString, NULL);
}


extern "C" {static int varset_KCoreConfigSkeleton_ItemEnum_Choice2_whatsThis(void *, PyObject *, PyObject *);}
static int varset_KCoreConfigSkeleton_ItemEnum_Choice2_whatsThis(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString *sipVal;
    KCoreConfigSkeleton::ItemEnum::Choice2 *sipCpp = reinterpret_cast<KCoreConfigSkeleton::ItemEnum::Choice2 *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->whatsThis = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}

sipVariableDef variables_KCoreConfigSkeleton_ItemEnum_Choice2[] = {
    {sipName_label, varget_KCoreConfigSkeleton_ItemEnum_Choice2_label, varset_KCoreConfigSkeleton_ItemEnum_Choice2_label, 0},
    {sipName_name, varget_KCoreConfigSkeleton_ItemEnum_Choice2_name, varset_KCoreConfigSkeleton_ItemEnum_Choice2_name, 0},
    {sipName_toolTip, varget_KCoreConfigSkeleton_ItemEnum_Choice2_toolTip, varset_KCoreConfigSkeleton_ItemEnum_Choice2_toolTip, 0},
    {sipName_whatsThis, varget_KCoreConfigSkeleton_ItemEnum_Choice2_whatsThis, varset_KCoreConfigSkeleton_ItemEnum_Choice2_whatsThis, 0},
};


pyqt4ClassTypeDef pyqt4Type_kdecore_KCoreConfigSkeleton_ItemEnum_Choice2 = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCoreConfigSkeleton__ItemEnum__Choice2,
        {0}
    },
    sipNameNr_Choice2,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {37, 255, 0},
    0,
    0,
    0, 0,
    0, 0,
    4, variables_KCoreConfigSkeleton_ItemEnum_Choice2,
    init_KCoreConfigSkeleton_ItemEnum_Choice2,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCoreConfigSkeleton_ItemEnum_Choice2,
    release_KCoreConfigSkeleton_ItemEnum_Choice2,
    cast_KCoreConfigSkeleton_ItemEnum_Choice2,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_KCoreConfigSkeleton_ItemEnum_Choice2,
    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 8599 "sipkdecorepart6.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 8603 "sipkdecorepart6.cpp"


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

    return NULL;
}


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

    delete reinterpret_cast<KCoreConfigSkeleton::ItemEnum::Choice *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KCoreConfigSkeleton_ItemEnum_Choice(void *, const void*);}
static void assign_KCoreConfigSkeleton_ItemEnum_Choice(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<KCoreConfigSkeleton::ItemEnum::Choice *>(sipDst) = *reinterpret_cast<const KCoreConfigSkeleton::ItemEnum::Choice *>(sipSrc);
}


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


extern "C" {static void *init_KCoreConfigSkeleton_ItemEnum_Choice(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KCoreConfigSkeleton_ItemEnum_Choice(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    KCoreConfigSkeleton::ItemEnum::Choice *sipCpp = 0;

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KCoreConfigSkeleton::ItemEnum::Choice();
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const KCoreConfigSkeleton::ItemEnum::Choice * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_KCoreConfigSkeleton_ItemEnum_Choice,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KCoreConfigSkeleton::ItemEnum::Choice(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    return sipCpp;
}


extern "C" {static PyObject *varget_KCoreConfigSkeleton_ItemEnum_Choice_label(void *, PyObject *);}
static PyObject *varget_KCoreConfigSkeleton_ItemEnum_Choice_label(void *sipSelf, PyObject *)
{
    QString *sipVal;
    KCoreConfigSkeleton::ItemEnum::Choice *sipCpp = reinterpret_cast<KCoreConfigSkeleton::ItemEnum::Choice *>(sipSelf);

    sipVal = &sipCpp->label;

    return sipConvertFromType(sipVal,sipType_QString, NULL);
}


extern "C" {static int varset_KCoreConfigSkeleton_ItemEnum_Choice_label(void *, PyObject *, PyObject *);}
static int varset_KCoreConfigSkeleton_ItemEnum_Choice_label(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString *sipVal;
    KCoreConfigSkeleton::ItemEnum::Choice *sipCpp = reinterpret_cast<KCoreConfigSkeleton::ItemEnum::Choice *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->label = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KCoreConfigSkeleton_ItemEnum_Choice_name(void *, PyObject *);}
static PyObject *varget_KCoreConfigSkeleton_ItemEnum_Choice_name(void *sipSelf, PyObject *)
{
    QString *sipVal;
    KCoreConfigSkeleton::ItemEnum::Choice *sipCpp = reinterpret_cast<KCoreConfigSkeleton::ItemEnum::Choice *>(sipSelf);

    sipVal = &sipCpp->name;

    return sipConvertFromType(sipVal,sipType_QString, NULL);
}


extern "C" {static int varset_KCoreConfigSkeleton_ItemEnum_Choice_name(void *, PyObject *, PyObject *);}
static int varset_KCoreConfigSkeleton_ItemEnum_Choice_name(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString *sipVal;
    KCoreConfigSkeleton::ItemEnum::Choice *sipCpp = reinterpret_cast<KCoreConfigSkeleton::ItemEnum::Choice *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->name = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KCoreConfigSkeleton_ItemEnum_Choice_whatsThis(void *, PyObject *);}
static PyObject *varget_KCoreConfigSkeleton_ItemEnum_Choice_whatsThis(void *sipSelf, PyObject *)
{
    QString *sipVal;
    KCoreConfigSkeleton::ItemEnum::Choice *sipCpp = reinterpret_cast<KCoreConfigSkeleton::ItemEnum::Choice *>(sipSelf);

    sipVal = &sipCpp->whatsThis;

    return sipConvertFromType(sipVal,sipType_QString, NULL);
}


extern "C" {static int varset_KCoreConfigSkeleton_ItemEnum_Choice_whatsThis(void *, PyObject *, PyObject *);}
static int varset_KCoreConfigSkeleton_ItemEnum_Choice_whatsThis(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString *sipVal;
    KCoreConfigSkeleton::ItemEnum::Choice *sipCpp = reinterpret_cast<KCoreConfigSkeleton::ItemEnum::Choice *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->whatsThis = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}

sipVariableDef variables_KCoreConfigSkeleton_ItemEnum_Choice[] = {
    {sipName_label, varget_KCoreConfigSkeleton_ItemEnum_Choice_label, varset_KCoreConfigSkeleton_ItemEnum_Choice_label, 0},
    {sipName_name, varget_KCoreConfigSkeleton_ItemEnum_Choice_name, varset_KCoreConfigSkeleton_ItemEnum_Choice_name, 0},
    {sipName_whatsThis, varget_KCoreConfigSkeleton_ItemEnum_Choice_whatsThis, varset_KCoreConfigSkeleton_ItemEnum_Choice_whatsThis, 0},
};


pyqt4ClassTypeDef pyqt4Type_kdecore_KCoreConfigSkeleton_ItemEnum_Choice = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCoreConfigSkeleton__ItemEnum__Choice,
        {0}
    },
    sipNameNr_Choice,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {37, 255, 0},
    0,
    0,
    0, 0,
    0, 0,
    3, variables_KCoreConfigSkeleton_ItemEnum_Choice,
    init_KCoreConfigSkeleton_ItemEnum_Choice,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCoreConfigSkeleton_ItemEnum_Choice,
    release_KCoreConfigSkeleton_ItemEnum_Choice,
    cast_KCoreConfigSkeleton_ItemEnum_Choice,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_KCoreConfigSkeleton_ItemEnum_Choice,
    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 8832 "sipkdecorepart6.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 8836 "sipkdecorepart6.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 8889 "sipkdecorepart6.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 8892 "sipkdecorepart6.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 8895 "sipkdecorepart6.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 8898 "sipkdecorepart6.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 8901 "sipkdecorepart6.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 8904 "sipkdecorepart6.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 8907 "sipkdecorepart6.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 8910 "sipkdecorepart6.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 8913 "sipkdecorepart6.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 8916 "sipkdecorepart6.cpp"
#line 321 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 8919 "sipkdecorepart6.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 8922 "sipkdecorepart6.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 8925 "sipkdecorepart6.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 8928 "sipkdecorepart6.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 8931 "sipkdecorepart6.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 8934 "sipkdecorepart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 8937 "sipkdecorepart6.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 8940 "sipkdecorepart6.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 8943 "sipkdecorepart6.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 8946 "sipkdecorepart6.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 8949 "sipkdecorepart6.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 8952 "sipkdecorepart6.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 8967 "sipkdecorepart6.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 8970 "sipkdecorepart6.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 8973 "sipkdecorepart6.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 8976 "sipkdecorepart6.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 8979 "sipkdecorepart6.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 8982 "sipkdecorepart6.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 8985 "sipkdecorepart6.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 8988 "sipkdecorepart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 8991 "sipkdecorepart6.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 8994 "sipkdecorepart6.cpp"


class sipKCoreConfigSkeleton_ItemEnum : public KCoreConfigSkeleton::ItemEnum
{
public:
    sipKCoreConfigSkeleton_ItemEnum(const QString&,const QString&,qint32&,const QList<KCoreConfigSkeleton::ItemEnum::Choice>&,qint32);
    virtual ~sipKCoreConfigSkeleton_ItemEnum();

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[11];
};

sipKCoreConfigSkeleton_ItemEnum::sipKCoreConfigSkeleton_ItemEnum(const QString& a0,const QString& a1,qint32& a2,const QList<KCoreConfigSkeleton::ItemEnum::Choice>& a3,qint32 a4): KCoreConfigSkeleton::ItemEnum(a0,a1,a2,a3,a4), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

void sipKCoreConfigSkeleton_ItemEnum::setDefaultValue(const qint32& a0)
{
    extern void sipVH_kdecore_57(sip_gilstate_t,PyObject *,const int&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    sipVH_kdecore_57(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemEnum::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::ItemEnum::setDefault();
        return;
    }

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

void sipKCoreConfigSkeleton_ItemEnum::writeConfig(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_writeConfig);

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

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemEnum::readConfig(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_readConfig);

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

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemEnum::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::ItemEnum::readDefault(a0);
        return;
    }

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemEnum::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::ItemInt::setProperty(a0);
        return;
    }

    sipVH_kdecore_60(sipGILState,meth,a0);
}

bool sipKCoreConfigSkeleton_ItemEnum::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::ItemInt::isEqual(a0);

    return sipVH_kdecore_63(sipGILState,meth,a0);
}

QVariant sipKCoreConfigSkeleton_ItemEnum::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::ItemInt::property();

    return sipVH_kdecore_62(sipGILState,meth);
}

QVariant sipKCoreConfigSkeleton_ItemEnum::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 KCoreConfigSkeleton::ItemInt::minValue();

    return sipVH_kdecore_62(sipGILState,meth);
}

QVariant sipKCoreConfigSkeleton_ItemEnum::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 KCoreConfigSkeleton::ItemInt::maxValue();

    return sipVH_kdecore_62(sipGILState,meth);
}

void sipKCoreConfigSkeleton_ItemEnum::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::ItemEnum::swapDefault();
        return;
    }

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

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


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

    {
        const KConfigGroup * a0;
        sipKCoreConfigSkeleton_ItemEnum *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KCoreConfigSkeleton_ItemEnum,&sipCpp,sipType_KConfigGroup,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_readImmutability(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemEnum *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCoreConfigSkeleton_ItemEnum,&sipCpp))
        {
            QList<KCoreConfigSkeleton::ItemEnum::Choice> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<KCoreConfigSkeleton::ItemEnum::Choice>(sipCpp->choices());
            Py_END_ALLOW_THREADS

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

            return sipResObj;
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemEnum *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCoreConfigSkeleton_ItemEnum,&sipCpp))
        {
            QList<KCoreConfigSkeleton::ItemEnum::Choice2> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<KCoreConfigSkeleton::ItemEnum::Choice2>(sipCpp->choices2());
            Py_END_ALLOW_THREADS

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

            return sipResObj;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KCoreConfigSkeleton_ItemEnum,&sipCpp,sipType_KConfig,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemEnum::readConfig(a0) : sipCpp->readConfig(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KCoreConfigSkeleton_ItemEnum,&sipCpp,sipType_KConfig,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemEnum::writeConfig(a0) : sipCpp->writeConfig(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        qint32 a0;
        KCoreConfigSkeleton::ItemEnum *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bi",&sipSelf,sipType_KCoreConfigSkeleton_ItemEnum,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setValue(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemEnum *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCoreConfigSkeleton_ItemEnum,&sipCpp))
        {
            qint32 sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->value();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        qint32 a0;
        KCoreConfigSkeleton::ItemEnum *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bi",&sipSelf,sipType_KCoreConfigSkeleton_ItemEnum,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemEnum::setDefaultValue(a0) : sipCpp->setDefaultValue(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemEnum *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCoreConfigSkeleton_ItemEnum,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemEnum::setDefault() : sipCpp->setDefault());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KCoreConfigSkeleton_ItemEnum,&sipCpp,sipType_KConfig,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemEnum::readDefault(a0) : sipCpp->readDefault(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemEnum *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCoreConfigSkeleton_ItemEnum,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemEnum::swapDefault() : sipCpp->swapDefault());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KCoreConfigSkeleton_ItemEnum)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KCoreConfigSkeleton_ItemInt)->ctd_cast((KCoreConfigSkeleton::ItemInt *)(KCoreConfigSkeleton::ItemEnum *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKCoreConfigSkeleton_ItemEnum *>(sipCppV);
    else
        delete reinterpret_cast<KCoreConfigSkeleton::ItemEnum *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

    if (!sipCpp)
    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        qint32 a2;
        const QList<KCoreConfigSkeleton::ItemEnum::Choice> * a3;
        int a3State = 0;
        qint32 a4 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1J1iJ1|i",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,&a2,sipType_QList_0200KCoreConfigSkeleton_ItemEnum_Choice,&a3,&a3State,&a4))
        {
#line 509 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
    Py_BEGIN_ALLOW_THREADS
    sipCpp = new sipKCoreConfigSkeleton_ItemEnum (*a0, *a1, a2, *a3, a4);
//    sipCpp = new sipKCoreConfigSkeleton_ItemEnum (PyItemEnum (*a0, *a1, a2, *a3, a4));
    Py_END_ALLOW_THREADS
#line 9612 "sipkdecorepart6.cpp"

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QList<KCoreConfigSkeleton::ItemEnum::Choice> *>(a3),sipType_QList_0200KCoreConfigSkeleton_ItemEnum_Choice,a3State);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KCoreConfigSkeleton_ItemEnum[] = {{40, 255, 1}};


static PyMethodDef methods_KCoreConfigSkeleton_ItemEnum[] = {
    {SIP_MLNAME_CAST(sipName_choices), meth_KCoreConfigSkeleton_ItemEnum_choices, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_choices2), meth_KCoreConfigSkeleton_ItemEnum_choices2, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readConfig), meth_KCoreConfigSkeleton_ItemEnum_readConfig, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readDefault), meth_KCoreConfigSkeleton_ItemEnum_readDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readImmutability), meth_KCoreConfigSkeleton_ItemEnum_readImmutability, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefault), meth_KCoreConfigSkeleton_ItemEnum_setDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefaultValue), meth_KCoreConfigSkeleton_ItemEnum_setDefaultValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setValue), meth_KCoreConfigSkeleton_ItemEnum_setValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_swapDefault), meth_KCoreConfigSkeleton_ItemEnum_swapDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_value), meth_KCoreConfigSkeleton_ItemEnum_value, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeConfig), meth_KCoreConfigSkeleton_ItemEnum_writeConfig, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kdecore_KCoreConfigSkeleton_ItemEnum = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCoreConfigSkeleton__ItemEnum,
        {0}
    },
    sipNameNr_ItemEnum,
    -1,
    -1,
    {33, 255, 0},
    supers_KCoreConfigSkeleton_ItemEnum,
    0,
    11, methods_KCoreConfigSkeleton_ItemEnum,
    0, 0,
    0, 0,
    init_KCoreConfigSkeleton_ItemEnum,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCoreConfigSkeleton_ItemEnum,
    release_KCoreConfigSkeleton_ItemEnum,
    cast_KCoreConfigSkeleton_ItemEnum,
    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 9693 "sipkdecorepart6.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 9697 "sipkdecorepart6.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 9700 "sipkdecorepart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 9703 "sipkdecorepart6.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 9706 "sipkdecorepart6.cpp"


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

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[11];
};

sipKCoreConfigSkeleton_ItemLongLong::sipKCoreConfigSkeleton_ItemLongLong(const QString& a0,const QString& a1,qint64& a2,qint64 a3): KCoreConfigSkeleton::ItemLongLong(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

void sipKCoreConfigSkeleton_ItemLongLong::setDefaultValue(const qint64& a0)
{
    extern void sipVH_kdecore_58(sip_gilstate_t,PyObject *,const PY_LONG_LONG&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    sipVH_kdecore_58(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemLongLong::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::ItemLongLong::setDefault();
        return;
    }

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

void sipKCoreConfigSkeleton_ItemLongLong::writeConfig(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_writeConfig);

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

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemLongLong::readConfig(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_readConfig);

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

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemLongLong::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::ItemLongLong::readDefault(a0);
        return;
    }

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemLongLong::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::ItemLongLong::setProperty(a0);
        return;
    }

    sipVH_kdecore_60(sipGILState,meth,a0);
}

bool sipKCoreConfigSkeleton_ItemLongLong::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::ItemLongLong::isEqual(a0);

    return sipVH_kdecore_63(sipGILState,meth,a0);
}

QVariant sipKCoreConfigSkeleton_ItemLongLong::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::ItemLongLong::property();

    return sipVH_kdecore_62(sipGILState,meth);
}

QVariant sipKCoreConfigSkeleton_ItemLongLong::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 KCoreConfigSkeleton::ItemLongLong::minValue();

    return sipVH_kdecore_62(sipGILState,meth);
}

QVariant sipKCoreConfigSkeleton_ItemLongLong::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 KCoreConfigSkeleton::ItemLongLong::maxValue();

    return sipVH_kdecore_62(sipGILState,meth);
}

void sipKCoreConfigSkeleton_ItemLongLong::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::ItemLongLong::swapDefault();
        return;
    }

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

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


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

    {
        const KConfigGroup * a0;
        sipKCoreConfigSkeleton_ItemLongLong *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KCoreConfigSkeleton_ItemLongLong,&sipCpp,sipType_KConfigGroup,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_readImmutability(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KCoreConfigSkeleton_ItemLongLong,&sipCpp,sipType_KConfig,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemLongLong::readConfig(a0) : sipCpp->readConfig(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KCoreConfigSkeleton_ItemLongLong,&sipCpp,sipType_QVariant,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemLongLong::setProperty(*a0) : sipCpp->setProperty(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemLongLong::isEqual(*a0) : sipCpp->isEqual(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemLongLong *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemLongLong *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemLongLong *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        qint64 a0;
        KCoreConfigSkeleton::ItemLongLong *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bn",&sipSelf,sipType_KCoreConfigSkeleton_ItemLongLong,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMinValue(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        qint64 a0;
        KCoreConfigSkeleton::ItemLongLong *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bn",&sipSelf,sipType_KCoreConfigSkeleton_ItemLongLong,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMaxValue(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        qint64 a0;
        KCoreConfigSkeleton::ItemLongLong *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bn",&sipSelf,sipType_KCoreConfigSkeleton_ItemLongLong,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setValue(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemLongLong *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCoreConfigSkeleton_ItemLongLong,&sipCpp))
        {
            quint64 sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->value();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLongLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        qint64 a0;
        KCoreConfigSkeleton::ItemLongLong *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bn",&sipSelf,sipType_KCoreConfigSkeleton_ItemLongLong,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemLongLong::setDefaultValue(a0) : sipCpp->setDefaultValue(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemLongLong *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCoreConfigSkeleton_ItemLongLong,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemLongLong::setDefault() : sipCpp->setDefault());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KCoreConfigSkeleton_ItemLongLong,&sipCpp,sipType_KConfig,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemLongLong::writeConfig(a0) : sipCpp->writeConfig(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KCoreConfigSkeleton_ItemLongLong,&sipCpp,sipType_KConfig,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemLongLong::readDefault(a0) : sipCpp->readDefault(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemLongLong *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCoreConfigSkeleton_ItemLongLong,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemLongLong::swapDefault() : sipCpp->swapDefault());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KCoreConfigSkeleton_ItemLongLong)
        return ptr;

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

    return NULL;
}


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

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKCoreConfigSkeleton_ItemLongLong *>(sipCppV);
    else
        delete reinterpret_cast<KCoreConfigSkeleton::ItemLongLong *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

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

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1J1n|n",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,&a2,&a3))
        {
#line 446 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
    Py_BEGIN_ALLOW_THREADS
//    sipCpp = new sipKCoreConfigSkeleton_ItemLongLong (PyItemLongLong (*a0, *a1, a2, a3));
    sipCpp = new sipKCoreConfigSkeleton_ItemLongLong (*a0, *a1, a2, a3);
    Py_END_ALLOW_THREADS
#line 10463 "sipkdecorepart6.cpp"

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KCoreConfigSkeleton_ItemLongLong[] = {{32, 255, 1}};


static PyMethodDef methods_KCoreConfigSkeleton_ItemLongLong[] = {
    {SIP_MLNAME_CAST(sipName_isEqual), meth_KCoreConfigSkeleton_ItemLongLong_isEqual, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_maxValue), meth_KCoreConfigSkeleton_ItemLongLong_maxValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_minValue), meth_KCoreConfigSkeleton_ItemLongLong_minValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_property), meth_KCoreConfigSkeleton_ItemLongLong_property, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readConfig), meth_KCoreConfigSkeleton_ItemLongLong_readConfig, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readDefault), meth_KCoreConfigSkeleton_ItemLongLong_readDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readImmutability), meth_KCoreConfigSkeleton_ItemLongLong_readImmutability, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefault), meth_KCoreConfigSkeleton_ItemLongLong_setDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefaultValue), meth_KCoreConfigSkeleton_ItemLongLong_setDefaultValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMaxValue), meth_KCoreConfigSkeleton_ItemLongLong_setMaxValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMinValue), meth_KCoreConfigSkeleton_ItemLongLong_setMinValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setProperty), meth_KCoreConfigSkeleton_ItemLongLong_setProperty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setValue), meth_KCoreConfigSkeleton_ItemLongLong_setValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_swapDefault), meth_KCoreConfigSkeleton_ItemLongLong_swapDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_value), meth_KCoreConfigSkeleton_ItemLongLong_value, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeConfig), meth_KCoreConfigSkeleton_ItemLongLong_writeConfig, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kdecore_KCoreConfigSkeleton_ItemLongLong = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCoreConfigSkeleton__ItemLongLong,
        {0}
    },
    sipNameNr_ItemLongLong,
    -1,
    -1,
    {33, 255, 0},
    supers_KCoreConfigSkeleton_ItemLongLong,
    0,
    16, methods_KCoreConfigSkeleton_ItemLongLong,
    0, 0,
    0, 0,
    init_KCoreConfigSkeleton_ItemLongLong,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCoreConfigSkeleton_ItemLongLong,
    release_KCoreConfigSkeleton_ItemLongLong,
    cast_KCoreConfigSkeleton_ItemLongLong,
    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 10548 "sipkdecorepart6.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 10552 "sipkdecorepart6.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 10555 "sipkdecorepart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 10558 "sipkdecorepart6.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 10561 "sipkdecorepart6.cpp"


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

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[11];
};

sipKCoreConfigSkeleton_ItemInt::sipKCoreConfigSkeleton_ItemInt(const QString& a0,const QString& a1,qint32& a2,qint32 a3): KCoreConfigSkeleton::ItemInt(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

void sipKCoreConfigSkeleton_ItemInt::setDefaultValue(const qint32& a0)
{
    extern void sipVH_kdecore_57(sip_gilstate_t,PyObject *,const int&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    sipVH_kdecore_57(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemInt::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::ItemInt::setDefault();
        return;
    }

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

void sipKCoreConfigSkeleton_ItemInt::writeConfig(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_writeConfig);

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

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemInt::readConfig(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_readConfig);

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

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemInt::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::ItemInt::readDefault(a0);
        return;
    }

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemInt::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::ItemInt::setProperty(a0);
        return;
    }

    sipVH_kdecore_60(sipGILState,meth,a0);
}

bool sipKCoreConfigSkeleton_ItemInt::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::ItemInt::isEqual(a0);

    return sipVH_kdecore_63(sipGILState,meth,a0);
}

QVariant sipKCoreConfigSkeleton_ItemInt::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::ItemInt::property();

    return sipVH_kdecore_62(sipGILState,meth);
}

QVariant sipKCoreConfigSkeleton_ItemInt::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 KCoreConfigSkeleton::ItemInt::minValue();

    return sipVH_kdecore_62(sipGILState,meth);
}

QVariant sipKCoreConfigSkeleton_ItemInt::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 KCoreConfigSkeleton::ItemInt::maxValue();

    return sipVH_kdecore_62(sipGILState,meth);
}

void sipKCoreConfigSkeleton_ItemInt::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::ItemInt::swapDefault();
        return;
    }

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

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


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

    {
        const KConfigGroup * a0;
        sipKCoreConfigSkeleton_ItemInt *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KCoreConfigSkeleton_ItemInt,&sipCpp,sipType_KConfigGroup,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_readImmutability(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KCoreConfigSkeleton_ItemInt,&sipCpp,sipType_KConfig,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemInt::readConfig(a0) : sipCpp->readConfig(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KCoreConfigSkeleton_ItemInt,&sipCpp,sipType_QVariant,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemInt::setProperty(*a0) : sipCpp->setProperty(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemInt::isEqual(*a0) : sipCpp->isEqual(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemInt *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemInt *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemInt *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        qint32 a0;
        KCoreConfigSkeleton::ItemInt *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bi",&sipSelf,sipType_KCoreConfigSkeleton_ItemInt,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMinValue(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        qint32 a0;
        KCoreConfigSkeleton::ItemInt *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bi",&sipSelf,sipType_KCoreConfigSkeleton_ItemInt,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMaxValue(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        qint32 a0;
        KCoreConfigSkeleton::ItemInt *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bi",&sipSelf,sipType_KCoreConfigSkeleton_ItemInt,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setValue(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemInt *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCoreConfigSkeleton_ItemInt,&sipCpp))
        {
            qint32 sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->value();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        qint32 a0;
        KCoreConfigSkeleton::ItemInt *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bi",&sipSelf,sipType_KCoreConfigSkeleton_ItemInt,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemInt::setDefaultValue(a0) : sipCpp->setDefaultValue(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemInt *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCoreConfigSkeleton_ItemInt,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemInt::setDefault() : sipCpp->setDefault());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KCoreConfigSkeleton_ItemInt,&sipCpp,sipType_KConfig,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemInt::writeConfig(a0) : sipCpp->writeConfig(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KCoreConfigSkeleton_ItemInt,&sipCpp,sipType_KConfig,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemInt::readDefault(a0) : sipCpp->readDefault(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KCoreConfigSkeleton::ItemInt *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCoreConfigSkeleton_ItemInt,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemInt::swapDefault() : sipCpp->swapDefault());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KCoreConfigSkeleton_ItemInt)
        return ptr;

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

    return NULL;
}


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

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKCoreConfigSkeleton_ItemInt *>(sipCppV);
    else
        delete reinterpret_cast<KCoreConfigSkeleton::ItemInt *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

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

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1J1i|i",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,&a2,&a3))
        {
#line 409 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
    Py_BEGIN_ALLOW_THREADS
//    sipCpp = new sipKCoreConfigSkeleton_ItemInt (PyItemInt (*a0, *a1, a2, a3));
    sipCpp = new sipKCoreConfigSkeleton_ItemInt (*a0, *a1, a2, a3);
    Py_END_ALLOW_THREADS

#line 11319 "sipkdecorepart6.cpp"

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KCoreConfigSkeleton_ItemInt[] = {{32, 255, 1}};


static PyMethodDef methods_KCoreConfigSkeleton_ItemInt[] = {
    {SIP_MLNAME_CAST(sipName_isEqual), meth_KCoreConfigSkeleton_ItemInt_isEqual, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_maxValue), meth_KCoreConfigSkeleton_ItemInt_maxValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_minValue), meth_KCoreConfigSkeleton_ItemInt_minValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_property), meth_KCoreConfigSkeleton_ItemInt_property, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readConfig), meth_KCoreConfigSkeleton_ItemInt_readConfig, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readDefault), meth_KCoreConfigSkeleton_ItemInt_readDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readImmutability), meth_KCoreConfigSkeleton_ItemInt_readImmutability, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefault), meth_KCoreConfigSkeleton_ItemInt_setDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefaultValue), meth_KCoreConfigSkeleton_ItemInt_setDefaultValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMaxValue), meth_KCoreConfigSkeleton_ItemInt_setMaxValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMinValue), meth_KCoreConfigSkeleton_ItemInt_setMinValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setProperty), meth_KCoreConfigSkeleton_ItemInt_setProperty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setValue), meth_KCoreConfigSkeleton_ItemInt_setValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_swapDefault), meth_KCoreConfigSkeleton_ItemInt_swapDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_value), meth_KCoreConfigSkeleton_ItemInt_value, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeConfig), meth_KCoreConfigSkeleton_ItemInt_writeConfig, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kdecore_KCoreConfigSkeleton_ItemInt = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCoreConfigSkeleton__ItemInt,
        {0}
    },
    sipNameNr_ItemInt,
    -1,
    -1,
    {33, 255, 0},
    supers_KCoreConfigSkeleton_ItemInt,
    0,
    16, methods_KCoreConfigSkeleton_ItemInt,
    0, 0,
    0, 0,
    init_KCoreConfigSkeleton_ItemInt,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCoreConfigSkeleton_ItemInt,
    release_KCoreConfigSkeleton_ItemInt,
    cast_KCoreConfigSkeleton_ItemInt,
    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 11404 "sipkdecorepart6.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 11408 "sipkdecorepart6.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 11411 "sipkdecorepart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 11414 "sipkdecorepart6.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 11417 "sipkdecorepart6.cpp"


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

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[11];
};

sipKCoreConfigSkeleton_ItemBool::sipKCoreConfigSkeleton_ItemBool(const QString& a0,const QString& a1,bool& a2,bool a3): KCoreConfigSkeleton::ItemBool(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

void sipKCoreConfigSkeleton_ItemBool::setDefaultValue(const bool& a0)
{
    extern void sipVH_kdecore_59(sip_gilstate_t,PyObject *,const bool&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    sipVH_kdecore_59(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemBool::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::ItemBool::setDefault();
        return;
    }

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

void sipKCoreConfigSkeleton_ItemBool::writeConfig(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_writeConfig);

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

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemBool::readConfig(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_readConfig);

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

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemBool::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::ItemBool::readDefault(a0);
        return;
    }

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemBool::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::ItemBool::setProperty(a0);
        return;
    }

    sipVH_kdecore_60(sipGILState,meth,a0);
}

bool sipKCoreConfigSkeleton_ItemBool::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::ItemBool::isEqual(a0);

    return sipVH_kdecore_63(sipGILState,meth,a0);
}

QVariant sipKCoreConfigSkeleton_ItemBool::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::ItemBool::property();

    return sipVH_kdecore_62(sipGILState,meth);
}

QVariant sipKCoreConfigSkeleton_ItemBool::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_ItemBool::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_ItemBool::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::ItemBool::swapDefault();
        return;
    }

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

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


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

    {
        const KConfigGroup * a0;
        sipKCoreConfigSkeleton_ItemBool *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KCoreConfigSkeleton_ItemBool,&sipCpp,sipType_KConfigGroup,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_readImmutability(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemBool_readConfig(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemBool_readConfig(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KConfig * a0;
        KCoreConfigSkeleton::ItemBool *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KCoreConfigSkeleton_ItemBool,&sipCpp,sipType_KConfig,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemBool::readConfig(a0) : sipCpp->readConfig(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ItemBool,sipName_readConfig);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemBool_setProperty(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemBool_setProperty(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QVariant * a0;
        int a0State = 0;
        KCoreConfigSkeleton::ItemBool *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KCoreConfigSkeleton_ItemBool,&sipCpp,sipType_QVariant,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemBool::setProperty(*a0) : sipCpp->setProperty(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ItemBool,sipName_setProperty);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemBool_isEqual(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemBool_isEqual(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QVariant * a0;
        int a0State = 0;
        KCoreConfigSkeleton::ItemBool *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KCoreConfigSkeleton_ItemBool,&sipCpp,sipType_QVariant,&a0,&a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemBool::isEqual(*a0) : sipCpp->isEqual(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ItemBool,sipName_isEqual);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemBool_property(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemBool_property(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KCoreConfigSkeleton::ItemBool *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCoreConfigSkeleton_ItemBool,&sipCpp))
        {
            QVariant *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemBool::property() : sipCpp->property()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ItemBool,sipName_property);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemBool_setValue(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemBool_setValue(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        KCoreConfigSkeleton::ItemBool *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_KCoreConfigSkeleton_ItemBool,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setValue(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ItemBool,sipName_setValue);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemBool_value(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemBool_value(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KCoreConfigSkeleton::ItemBool *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCoreConfigSkeleton_ItemBool,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->value();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ItemBool,sipName_value);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemBool_setDefaultValue(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemBool_setDefaultValue(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        KCoreConfigSkeleton::ItemBool *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_KCoreConfigSkeleton_ItemBool,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemBool::setDefaultValue(a0) : sipCpp->setDefaultValue(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ItemBool,sipName_setDefaultValue);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemBool_setDefault(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemBool_setDefault(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KCoreConfigSkeleton::ItemBool *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCoreConfigSkeleton_ItemBool,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemBool::setDefault() : sipCpp->setDefault());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ItemBool,sipName_setDefault);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemBool_writeConfig(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemBool_writeConfig(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KConfig * a0;
        KCoreConfigSkeleton::ItemBool *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KCoreConfigSkeleton_ItemBool,&sipCpp,sipType_KConfig,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemBool::writeConfig(a0) : sipCpp->writeConfig(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ItemBool,sipName_writeConfig);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemBool_readDefault(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemBool_readDefault(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KConfig * a0;
        KCoreConfigSkeleton::ItemBool *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KCoreConfigSkeleton_ItemBool,&sipCpp,sipType_KConfig,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemBool::readDefault(a0) : sipCpp->readDefault(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ItemBool,sipName_readDefault);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemBool_swapDefault(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemBool_swapDefault(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KCoreConfigSkeleton::ItemBool *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCoreConfigSkeleton_ItemBool,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemBool::swapDefault() : sipCpp->swapDefault());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ItemBool,sipName_swapDefault);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KCoreConfigSkeleton_ItemBool(void *, const sipTypeDef *);}
static void *cast_KCoreConfigSkeleton_ItemBool(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KCoreConfigSkeleton_ItemBool)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KConfigSkeletonItem)->ctd_cast((KConfigSkeletonItem *)(KCoreConfigSkeleton::ItemBool *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KCoreConfigSkeleton_ItemBool(void *, int);}
static void release_KCoreConfigSkeleton_ItemBool(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKCoreConfigSkeleton_ItemBool *>(sipCppV);
    else
        delete reinterpret_cast<KCoreConfigSkeleton::ItemBool *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KCoreConfigSkeleton_ItemBool(sipSimpleWrapper *);}
static void dealloc_KCoreConfigSkeleton_ItemBool(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKCoreConfigSkeleton_ItemBool *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KCoreConfigSkeleton_ItemBool(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KCoreConfigSkeleton_ItemBool(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KCoreConfigSkeleton_ItemBool(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipKCoreConfigSkeleton_ItemBool *sipCpp = 0;

    if (!sipCpp)
    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        bool a2;
        bool a3 = 1;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1J1b|b",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,&a2,&a3))
        {
#line 319 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
    Py_BEGIN_ALLOW_THREADS
//    sipCpp = new sipKCoreConfigSkeleton_ItemBool (PyItemBool (*a0, *a1, a2, a3));
    sipCpp = new sipKCoreConfigSkeleton_ItemBool (*a0, *a1, a2, a3);
    Py_END_ALLOW_THREADS

#line 12065 "sipkdecorepart6.cpp"

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KCoreConfigSkeleton_ItemBool[] = {{32, 255, 1}};


static PyMethodDef methods_KCoreConfigSkeleton_ItemBool[] = {
    {SIP_MLNAME_CAST(sipName_isEqual), meth_KCoreConfigSkeleton_ItemBool_isEqual, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_property), meth_KCoreConfigSkeleton_ItemBool_property, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readConfig), meth_KCoreConfigSkeleton_ItemBool_readConfig, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readDefault), meth_KCoreConfigSkeleton_ItemBool_readDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readImmutability), meth_KCoreConfigSkeleton_ItemBool_readImmutability, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefault), meth_KCoreConfigSkeleton_ItemBool_setDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefaultValue), meth_KCoreConfigSkeleton_ItemBool_setDefaultValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setProperty), meth_KCoreConfigSkeleton_ItemBool_setProperty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setValue), meth_KCoreConfigSkeleton_ItemBool_setValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_swapDefault), meth_KCoreConfigSkeleton_ItemBool_swapDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_value), meth_KCoreConfigSkeleton_ItemBool_value, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeConfig), meth_KCoreConfigSkeleton_ItemBool_writeConfig, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kdecore_KCoreConfigSkeleton_ItemBool = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KCoreConfigSkeleton__ItemBool,
        {0}
    },
    sipNameNr_ItemBool,
    -1,
    -1,
    {33, 255, 0},
    supers_KCoreConfigSkeleton_ItemBool,
    0,
    12, methods_KCoreConfigSkeleton_ItemBool,
    0, 0,
    0, 0,
    init_KCoreConfigSkeleton_ItemBool,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCoreConfigSkeleton_ItemBool,
    release_KCoreConfigSkeleton_ItemBool,
    cast_KCoreConfigSkeleton_ItemBool,
    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 12146 "sipkdecorepart6.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 12150 "sipkdecorepart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 12153 "sipkdecorepart6.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 12156 "sipkdecorepart6.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 12159 "sipkdecorepart6.cpp"


class sipKCoreConfigSkeleton_ItemProperty : public KCoreConfigSkeleton::ItemProperty
{
public:
    sipKCoreConfigSkeleton_ItemProperty(const QString&,const QString&,QVariant&,const QVariant&);
    virtual ~sipKCoreConfigSkeleton_ItemProperty();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_readImmutability(const KConfigGroup&);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void setDefaultValue(const QVariant&);
    void setDefault();
    void writeConfig(KConfig *);
    void readConfig(KConfig *);
    void readDefault(KConfig *);
    void setProperty(const QVariant&);
    bool isEqual(const QVariant&) const;
    QVariant property() const;
    QVariant minValue() const;
    QVariant maxValue() const;
    void swapDefault();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKCoreConfigSkeleton_ItemProperty(const sipKCoreConfigSkeleton_ItemProperty &);
    sipKCoreConfigSkeleton_ItemProperty &operator = (const sipKCoreConfigSkeleton_ItemProperty &);

    char sipPyMethods[11];
};

sipKCoreConfigSkeleton_ItemProperty::sipKCoreConfigSkeleton_ItemProperty(const QString& a0,const QString& a1,QVariant& a2,const QVariant& a3): KCoreConfigSkeleton::ItemProperty(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKCoreConfigSkeleton_ItemProperty::~sipKCoreConfigSkeleton_ItemProperty()
{
    sipCommonDtor(sipPySelf);
}

void sipKCoreConfigSkeleton_ItemProperty::setDefaultValue(const QVariant& a0)
{
    extern void sipVH_kdecore_60(sip_gilstate_t,PyObject *,const QVariant&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_setDefaultValue);

    if (!meth)
    {
        KCoreConfigSkeleton::ItemProperty::setDefaultValue(a0);
        return;
    }

    sipVH_kdecore_60(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemProperty::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::ItemProperty::setDefault();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kdecore_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipKCoreConfigSkeleton_ItemProperty::writeConfig(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_writeConfig);

    if (!meth)
    {
        KCoreConfigSkeleton::ItemProperty::writeConfig(a0);
        return;
    }

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemProperty::readConfig(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_readConfig);

    if (!meth)
    {
        KCoreConfigSkeleton::ItemProperty::readConfig(a0);
        return;
    }

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemProperty::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::ItemProperty::readDefault(a0);
        return;
    }

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemProperty::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::ItemProperty::setProperty(a0);
        return;
    }

    sipVH_kdecore_60(sipGILState,meth,a0);
}

bool sipKCoreConfigSkeleton_ItemProperty::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::ItemProperty::isEqual(a0);

    return sipVH_kdecore_63(sipGILState,meth,a0);
}

QVariant sipKCoreConfigSkeleton_ItemProperty::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::ItemProperty::property();

    return sipVH_kdecore_62(sipGILState,meth);
}

QVariant sipKCoreConfigSkeleton_ItemProperty::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_ItemProperty::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_ItemProperty::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::ItemProperty::swapDefault();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kdecore_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipKCoreConfigSkeleton_ItemProperty::sipProtect_readImmutability(const KConfigGroup& a0)
{
    KConfigSkeletonItem::readImmutability(a0);
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemProperty_readImmutability(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemProperty_readImmutability(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KConfigGroup * a0;
        sipKCoreConfigSkeleton_ItemProperty *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KCoreConfigSkeleton_ItemProperty,&sipCpp,sipType_KConfigGroup,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_readImmutability(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ItemProperty,sipName_readImmutability);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemProperty_readConfig(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemProperty_readConfig(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KConfig * a0;
        KCoreConfigSkeleton::ItemProperty *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KCoreConfigSkeleton_ItemProperty,&sipCpp,sipType_KConfig,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemProperty::readConfig(a0) : sipCpp->readConfig(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ItemProperty,sipName_readConfig);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemProperty_setProperty(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemProperty_setProperty(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QVariant * a0;
        int a0State = 0;
        KCoreConfigSkeleton::ItemProperty *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KCoreConfigSkeleton_ItemProperty,&sipCpp,sipType_QVariant,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemProperty::setProperty(*a0) : sipCpp->setProperty(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ItemProperty,sipName_setProperty);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemProperty_isEqual(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemProperty_isEqual(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QVariant * a0;
        int a0State = 0;
        KCoreConfigSkeleton::ItemProperty *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KCoreConfigSkeleton_ItemProperty,&sipCpp,sipType_QVariant,&a0,&a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemProperty::isEqual(*a0) : sipCpp->isEqual(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ItemProperty,sipName_isEqual);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemProperty_property(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemProperty_property(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KCoreConfigSkeleton::ItemProperty *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCoreConfigSkeleton_ItemProperty,&sipCpp))
        {
            QVariant *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemProperty::property() : sipCpp->property()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ItemProperty,sipName_property);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemProperty_setValue(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemProperty_setValue(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QVariant * a0;
        int a0State = 0;
        KCoreConfigSkeleton::ItemProperty *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KCoreConfigSkeleton_ItemProperty,&sipCpp,sipType_QVariant,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setValue(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ItemProperty,sipName_setValue);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemProperty_value(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemProperty_value(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KCoreConfigSkeleton::ItemProperty *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCoreConfigSkeleton_ItemProperty,&sipCpp))
        {
            QVariant *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->value();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ItemProperty,sipName_value);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemProperty_setDefaultValue(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemProperty_setDefaultValue(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QVariant * a0;
        int a0State = 0;
        KCoreConfigSkeleton::ItemProperty *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KCoreConfigSkeleton_ItemProperty,&sipCpp,sipType_QVariant,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemProperty::setDefaultValue(*a0) : sipCpp->setDefaultValue(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ItemProperty,sipName_setDefaultValue);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemProperty_setDefault(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemProperty_setDefault(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KCoreConfigSkeleton::ItemProperty *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCoreConfigSkeleton_ItemProperty,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemProperty::setDefault() : sipCpp->setDefault());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ItemProperty,sipName_setDefault);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemProperty_writeConfig(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemProperty_writeConfig(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KConfig * a0;
        KCoreConfigSkeleton::ItemProperty *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KCoreConfigSkeleton_ItemProperty,&sipCpp,sipType_KConfig,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemProperty::writeConfig(a0) : sipCpp->writeConfig(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ItemProperty,sipName_writeConfig);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemProperty_readDefault(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemProperty_readDefault(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KConfig * a0;
        KCoreConfigSkeleton::ItemProperty *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KCoreConfigSkeleton_ItemProperty,&sipCpp,sipType_KConfig,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemProperty::readDefault(a0) : sipCpp->readDefault(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ItemProperty,sipName_readDefault);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemProperty_swapDefault(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemProperty_swapDefault(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KCoreConfigSkeleton::ItemProperty *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCoreConfigSkeleton_ItemProperty,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemProperty::swapDefault() : sipCpp->swapDefault());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ItemProperty,sipName_swapDefault);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KCoreConfigSkeleton_ItemProperty(void *, const sipTypeDef *);}
static void *cast_KCoreConfigSkeleton_ItemProperty(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KCoreConfigSkeleton_ItemProperty)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KConfigSkeletonItem)->ctd_cast((KConfigSkeletonItem *)(KCoreConfigSkeleton::ItemProperty *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KCoreConfigSkeleton_ItemProperty(void *, int);}
static void release_KCoreConfigSkeleton_ItemProperty(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKCoreConfigSkeleton_ItemProperty *>(sipCppV);
    else
        delete reinterpret_cast<KCoreConfigSkeleton::ItemProperty *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KCoreConfigSkeleton_ItemProperty(sipSimpleWrapper *);}
static void dealloc_KCoreConfigSkeleton_ItemProperty(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKCoreConfigSkeleton_ItemProperty *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KCoreConfigSkeleton_ItemProperty(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KCoreConfigSkeleton_ItemProperty(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KCoreConfigSkeleton_ItemProperty(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipKCoreConfigSkeleton_ItemProperty *sipCpp = 0;

    if (!sipCpp)
    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        QVariant * a2;
        int a2State = 0;
        const QVariant& a3def = 0;
        const QVariant * a3 = &a3def;
        int a3State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1J1J1|J1",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,sipType_QVariant,&a2,&a2State,sipType_QVariant,&a3,&a3State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKCoreConfigSkeleton_ItemProperty(*a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(a2,sipType_QVariant,a2State);
            sipReleaseType(const_cast<QVariant *>(a3),sipType_QVariant,a3State);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KCoreConfigSkeleton_ItemProperty[] = {{32, 255, 1}};


static PyMethodDef methods_KCoreConfigSkeleton_ItemProperty[] = {
    {SIP_MLNAME_CAST(sipName_isEqual), meth_KCoreConfigSkeleton_ItemProperty_isEqual, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_property), meth_KCoreConfigSkeleton_ItemProperty_property, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readConfig), meth_KCoreConfigSkeleton_ItemProperty_readConfig, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readDefault), meth_KCoreConfigSkeleton_ItemProperty_readDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readImmutability), meth_KCoreConfigSkeleton_ItemProperty_readImmutability, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefault), meth_KCoreConfigSkeleton_ItemProperty_setDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefaultValue), meth_KCoreConfigSkeleton_ItemProperty_setDefaultValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setProperty), meth_KCoreConfigSkeleton_ItemProperty_setProperty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setValue), meth_KCoreConfigSkeleton_ItemProperty_setValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_swapDefault), meth_KCoreConfigSkeleton_ItemProperty_swapDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_value), meth_KCoreConfigSkeleton_ItemProperty_value, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeConfig), meth_KCoreConfigSkeleton_ItemProperty_writeConfig, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kdecore_KCoreConfigSkeleton_ItemProperty = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCoreConfigSkeleton__ItemProperty,
        {0}
    },
    sipNameNr_ItemProperty,
    -1,
    -1,
    {33, 255, 0},
    supers_KCoreConfigSkeleton_ItemProperty,
    0,
    12, methods_KCoreConfigSkeleton_ItemProperty,
    0, 0,
    0, 0,
    init_KCoreConfigSkeleton_ItemProperty,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCoreConfigSkeleton_ItemProperty,
    release_KCoreConfigSkeleton_ItemProperty,
    cast_KCoreConfigSkeleton_ItemProperty,
    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 12895 "sipkdecorepart6.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 12899 "sipkdecorepart6.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 12902 "sipkdecorepart6.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 12905 "sipkdecorepart6.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 12908 "sipkdecorepart6.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 12911 "sipkdecorepart6.cpp"


class sipKCoreConfigSkeleton_ItemUrl : public KCoreConfigSkeleton::ItemUrl
{
public:
    sipKCoreConfigSkeleton_ItemUrl(const QString&,const QString&,KUrl&,const KUrl&);
    virtual ~sipKCoreConfigSkeleton_ItemUrl();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_readImmutability(const KConfigGroup&);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void setDefaultValue(const KUrl&);
    void setDefault();
    void readConfig(KConfig *);
    void writeConfig(KConfig *);
    void readDefault(KConfig *);
    void setProperty(const QVariant&);
    bool isEqual(const QVariant&) const;
    QVariant property() const;
    QVariant minValue() const;
    QVariant maxValue() const;
    void swapDefault();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKCoreConfigSkeleton_ItemUrl(const sipKCoreConfigSkeleton_ItemUrl &);
    sipKCoreConfigSkeleton_ItemUrl &operator = (const sipKCoreConfigSkeleton_ItemUrl &);

    char sipPyMethods[11];
};

sipKCoreConfigSkeleton_ItemUrl::sipKCoreConfigSkeleton_ItemUrl(const QString& a0,const QString& a1,KUrl& a2,const KUrl& a3): KCoreConfigSkeleton::ItemUrl(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKCoreConfigSkeleton_ItemUrl::~sipKCoreConfigSkeleton_ItemUrl()
{
    sipCommonDtor(sipPySelf);
}

void sipKCoreConfigSkeleton_ItemUrl::setDefaultValue(const KUrl& a0)
{
    extern void sipVH_kdecore_61(sip_gilstate_t,PyObject *,const KUrl&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_setDefaultValue);

    if (!meth)
    {
        KCoreConfigSkeleton::ItemUrl::setDefaultValue(a0);
        return;
    }

    sipVH_kdecore_61(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemUrl::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::ItemUrl::setDefault();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kdecore_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipKCoreConfigSkeleton_ItemUrl::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::ItemUrl::readConfig(a0);
        return;
    }

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemUrl::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::ItemUrl::writeConfig(a0);
        return;
    }

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemUrl::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::ItemUrl::readDefault(a0);
        return;
    }

    sipVH_kdecore_48(sipGILState,meth,a0);
}

void sipKCoreConfigSkeleton_ItemUrl::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::ItemUrl::setProperty(a0);
        return;
    }

    sipVH_kdecore_60(sipGILState,meth,a0);
}

bool sipKCoreConfigSkeleton_ItemUrl::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::ItemUrl::isEqual(a0);

    return sipVH_kdecore_63(sipGILState,meth,a0);
}

QVariant sipKCoreConfigSkeleton_ItemUrl::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::ItemUrl::property();

    return sipVH_kdecore_62(sipGILState,meth);
}

QVariant sipKCoreConfigSkeleton_ItemUrl::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_ItemUrl::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_ItemUrl::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::ItemUrl::swapDefault();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kdecore_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

void sipKCoreConfigSkeleton_ItemUrl::sipProtect_readImmutability(const KConfigGroup& a0)
{
    KConfigSkeletonItem::readImmutability(a0);
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemUrl_readImmutability(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemUrl_readImmutability(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KConfigGroup * a0;
        sipKCoreConfigSkeleton_ItemUrl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KCoreConfigSkeleton_ItemUrl,&sipCpp,sipType_KConfigGroup,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_readImmutability(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ItemUrl,sipName_readImmutability);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemUrl_writeConfig(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemUrl_writeConfig(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KConfig * a0;
        KCoreConfigSkeleton::ItemUrl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KCoreConfigSkeleton_ItemUrl,&sipCpp,sipType_KConfig,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemUrl::writeConfig(a0) : sipCpp->writeConfig(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ItemUrl,sipName_writeConfig);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemUrl_readConfig(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemUrl_readConfig(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KConfig * a0;
        KCoreConfigSkeleton::ItemUrl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KCoreConfigSkeleton_ItemUrl,&sipCpp,sipType_KConfig,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemUrl::readConfig(a0) : sipCpp->readConfig(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ItemUrl,sipName_readConfig);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemUrl_setProperty(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemUrl_setProperty(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QVariant * a0;
        int a0State = 0;
        KCoreConfigSkeleton::ItemUrl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KCoreConfigSkeleton_ItemUrl,&sipCpp,sipType_QVariant,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemUrl::setProperty(*a0) : sipCpp->setProperty(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ItemUrl,sipName_setProperty);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemUrl_isEqual(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemUrl_isEqual(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QVariant * a0;
        int a0State = 0;
        KCoreConfigSkeleton::ItemUrl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KCoreConfigSkeleton_ItemUrl,&sipCpp,sipType_QVariant,&a0,&a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemUrl::isEqual(*a0) : sipCpp->isEqual(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ItemUrl,sipName_isEqual);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemUrl_property(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemUrl_property(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KCoreConfigSkeleton::ItemUrl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCoreConfigSkeleton_ItemUrl,&sipCpp))
        {
            QVariant *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemUrl::property() : sipCpp->property()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ItemUrl,sipName_property);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemUrl_setValue(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemUrl_setValue(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;
        KCoreConfigSkeleton::ItemUrl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KCoreConfigSkeleton_ItemUrl,&sipCpp,sipType_KUrl,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setValue(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ItemUrl,sipName_setValue);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemUrl_value(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemUrl_value(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KCoreConfigSkeleton::ItemUrl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCoreConfigSkeleton_ItemUrl,&sipCpp))
        {
            KUrl *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->value();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ItemUrl,sipName_value);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemUrl_setDefaultValue(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemUrl_setDefaultValue(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KUrl * a0;
        KCoreConfigSkeleton::ItemUrl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KCoreConfigSkeleton_ItemUrl,&sipCpp,sipType_KUrl,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemUrl::setDefaultValue(*a0) : sipCpp->setDefaultValue(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ItemUrl,sipName_setDefaultValue);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemUrl_setDefault(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemUrl_setDefault(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KCoreConfigSkeleton::ItemUrl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCoreConfigSkeleton_ItemUrl,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemUrl::setDefault() : sipCpp->setDefault());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ItemUrl,sipName_setDefault);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemUrl_readDefault(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemUrl_readDefault(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KConfig * a0;
        KCoreConfigSkeleton::ItemUrl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KCoreConfigSkeleton_ItemUrl,&sipCpp,sipType_KConfig,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemUrl::readDefault(a0) : sipCpp->readDefault(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ItemUrl,sipName_readDefault);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemUrl_swapDefault(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemUrl_swapDefault(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KCoreConfigSkeleton::ItemUrl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KCoreConfigSkeleton_ItemUrl,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KCoreConfigSkeleton::ItemUrl::swapDefault() : sipCpp->swapDefault());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ItemUrl,sipName_swapDefault);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KCoreConfigSkeleton_ItemUrl(void *, const sipTypeDef *);}
static void *cast_KCoreConfigSkeleton_ItemUrl(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KCoreConfigSkeleton_ItemUrl)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KConfigSkeletonItem)->ctd_cast((KConfigSkeletonItem *)(KCoreConfigSkeleton::ItemUrl *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KCoreConfigSkeleton_ItemUrl(void *, int);}
static void release_KCoreConfigSkeleton_ItemUrl(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKCoreConfigSkeleton_ItemUrl *>(sipCppV);
    else
        delete reinterpret_cast<KCoreConfigSkeleton::ItemUrl *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KCoreConfigSkeleton_ItemUrl(sipSimpleWrapper *);}
static void dealloc_KCoreConfigSkeleton_ItemUrl(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKCoreConfigSkeleton_ItemUrl *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KCoreConfigSkeleton_ItemUrl(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KCoreConfigSkeleton_ItemUrl(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KCoreConfigSkeleton_ItemUrl(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipKCoreConfigSkeleton_ItemUrl *sipCpp = 0;

    if (!sipCpp)
    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        KUrl * a2;
        const KUrl& a3def = KUrl();
        const KUrl * a3 = &a3def;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1J1J9|J9",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,sipType_KUrl,&a2,sipType_KUrl,&a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKCoreConfigSkeleton_ItemUrl(*a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KCoreConfigSkeleton_ItemUrl[] = {{32, 255, 1}};


static PyMethodDef methods_KCoreConfigSkeleton_ItemUrl[] = {
    {SIP_MLNAME_CAST(sipName_isEqual), meth_KCoreConfigSkeleton_ItemUrl_isEqual, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_property), meth_KCoreConfigSkeleton_ItemUrl_property, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readConfig), meth_KCoreConfigSkeleton_ItemUrl_readConfig, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readDefault), meth_KCoreConfigSkeleton_ItemUrl_readDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readImmutability), meth_KCoreConfigSkeleton_ItemUrl_readImmutability, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefault), meth_KCoreConfigSkeleton_ItemUrl_setDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefaultValue), meth_KCoreConfigSkeleton_ItemUrl_setDefaultValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setProperty), meth_KCoreConfigSkeleton_ItemUrl_setProperty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setValue), meth_KCoreConfigSkeleton_ItemUrl_setValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_swapDefault), meth_KCoreConfigSkeleton_ItemUrl_swapDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_value), meth_KCoreConfigSkeleton_ItemUrl_value, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeConfig), meth_KCoreConfigSkeleton_ItemUrl_writeConfig, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kdecore_KCoreConfigSkeleton_ItemUrl = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCoreConfigSkeleton__ItemUrl,
        {0}
    },
    sipNameNr_ItemUrl,
    -1,
    -1,
    {33, 255, 0},
    supers_KCoreConfigSkeleton_ItemUrl,
    0,
    12, methods_KCoreConfigSkeleton_ItemUrl,
    0, 0,
    0, 0,
    init_KCoreConfigSkeleton_ItemUrl,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCoreConfigSkeleton_ItemUrl,
    release_KCoreConfigSkeleton_ItemUrl,
    cast_KCoreConfigSkeleton_ItemUrl,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};
