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

#include "sipAPIkdecore.h"

#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/klocale.sip"
#include <klocale.h>
#line 12 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"

#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/klocale.sip"
#include <klocale.h>
#line 16 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"


extern "C" {static int slot_KLocale_TimeProcessingOptions___bool__(PyObject *);}
static int slot_KLocale_TimeProcessingOptions___bool__(PyObject *sipSelf)
{
    KLocale::TimeProcessingOptions *sipCpp = reinterpret_cast<KLocale::TimeProcessingOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KLocale_TimeProcessingOptions));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 389 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KLocale::TimeProcessingOptions::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 38 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KLocale_TimeProcessingOptions___ne__(PyObject *,PyObject *);}
static PyObject *slot_KLocale_TimeProcessingOptions___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KLocale::TimeProcessingOptions *sipCpp = reinterpret_cast<KLocale::TimeProcessingOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KLocale_TimeProcessingOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KLocale::TimeProcessingOptions* a0;
        int a0State = 0;

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

#line 380 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KLocale::TimeProcessingOptions::Int() != a0->operator KLocale::TimeProcessingOptions::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 72 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
            sipReleaseType(const_cast<KLocale::TimeProcessingOptions *>(a0),sipType_KLocale_TimeProcessingOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_KLocale_TimeProcessingOptions___eq__(PyObject *,PyObject *);}
static PyObject *slot_KLocale_TimeProcessingOptions___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KLocale::TimeProcessingOptions *sipCpp = reinterpret_cast<KLocale::TimeProcessingOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KLocale_TimeProcessingOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KLocale::TimeProcessingOptions* a0;
        int a0State = 0;

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

#line 371 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KLocale::TimeProcessingOptions::Int() == a0->operator KLocale::TimeProcessingOptions::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 112 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
            sipReleaseType(const_cast<KLocale::TimeProcessingOptions *>(a0),sipType_KLocale_TimeProcessingOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_KLocale_TimeProcessingOptions___invert__(PyObject *);}
static PyObject *slot_KLocale_TimeProcessingOptions___invert__(PyObject *sipSelf)
{
    KLocale::TimeProcessingOptions *sipCpp = reinterpret_cast<KLocale::TimeProcessingOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KLocale_TimeProcessingOptions));

    if (!sipCpp)
        return 0;


    {
        {
            KLocale::TimeProcessingOptions*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KLocale::TimeProcessingOptions(~(*sipCpp));
            Py_END_ALLOW_THREADS

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

    return 0;
}


extern "C" {static PyObject *slot_KLocale_TimeProcessingOptions___and__(PyObject *,PyObject *);}
static PyObject *slot_KLocale_TimeProcessingOptions___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KLocale::TimeProcessingOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KLocale_TimeProcessingOptions, &a0, &a0State, &a1))
        {
            KLocale::TimeProcessingOptions*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KLocale::TimeProcessingOptions((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KLocale_TimeProcessingOptions,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_KLocale_TimeProcessingOptions___xor__(PyObject *,PyObject *);}
static PyObject *slot_KLocale_TimeProcessingOptions___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KLocale::TimeProcessingOptions* a0;
        int a0State = 0;
        KLocale::TimeProcessingOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KLocale_TimeProcessingOptions, &a0, &a0State, sipType_KLocale_TimeProcessingOptions, &a1, &a1State))
        {
            KLocale::TimeProcessingOptions*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KLocale::TimeProcessingOptions((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KLocale_TimeProcessingOptions,a0State);
            sipReleaseType(a1,sipType_KLocale_TimeProcessingOptions,a1State);

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

    {
        KLocale::TimeProcessingOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KLocale_TimeProcessingOptions, &a0, &a0State, &a1))
        {
            KLocale::TimeProcessingOptions*sipRes = 0;

#line 365 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KLocale::TimeProcessingOptions(*a0 ^ a1);
#line 221 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
            sipReleaseType(a0,sipType_KLocale_TimeProcessingOptions,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_KLocale_TimeProcessingOptions___or__(PyObject *,PyObject *);}
static PyObject *slot_KLocale_TimeProcessingOptions___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KLocale::TimeProcessingOptions* a0;
        int a0State = 0;
        KLocale::TimeProcessingOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KLocale_TimeProcessingOptions, &a0, &a0State, sipType_KLocale_TimeProcessingOptions, &a1, &a1State))
        {
            KLocale::TimeProcessingOptions*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KLocale::TimeProcessingOptions((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KLocale_TimeProcessingOptions,a0State);
            sipReleaseType(a1,sipType_KLocale_TimeProcessingOptions,a1State);

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

    {
        KLocale::TimeProcessingOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KLocale_TimeProcessingOptions, &a0, &a0State, &a1))
        {
            KLocale::TimeProcessingOptions*sipRes = 0;

#line 360 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KLocale::TimeProcessingOptions(*a0 | a1);
#line 273 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
            sipReleaseType(a0,sipType_KLocale_TimeProcessingOptions,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_KLocale_TimeProcessingOptions___int__(PyObject *);}
static PyObject *slot_KLocale_TimeProcessingOptions___int__(PyObject *sipSelf)
{
    KLocale::TimeProcessingOptions *sipCpp = reinterpret_cast<KLocale::TimeProcessingOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KLocale_TimeProcessingOptions));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KLocale_TimeProcessingOptions___ixor__(PyObject *,PyObject *);}
static PyObject *slot_KLocale_TimeProcessingOptions___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KLocale_TimeProcessingOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KLocale::TimeProcessingOptions *sipCpp = reinterpret_cast<KLocale::TimeProcessingOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KLocale_TimeProcessingOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KLocale::TimeProcessingOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KLocale_TimeProcessingOptions, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KLocale::TimeProcessingOptions::operator^=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KLocale_TimeProcessingOptions,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KLocale_TimeProcessingOptions___ior__(PyObject *,PyObject *);}
static PyObject *slot_KLocale_TimeProcessingOptions___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KLocale_TimeProcessingOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KLocale::TimeProcessingOptions *sipCpp = reinterpret_cast<KLocale::TimeProcessingOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KLocale_TimeProcessingOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KLocale::TimeProcessingOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KLocale_TimeProcessingOptions, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KLocale::TimeProcessingOptions::operator|=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KLocale_TimeProcessingOptions,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KLocale_TimeProcessingOptions___iand__(PyObject *,PyObject *);}
static PyObject *slot_KLocale_TimeProcessingOptions___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KLocale_TimeProcessingOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KLocale::TimeProcessingOptions *sipCpp = reinterpret_cast<KLocale::TimeProcessingOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KLocale_TimeProcessingOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KLocale::TimeProcessingOptions::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    delete reinterpret_cast<KLocale::TimeProcessingOptions *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KLocale_TimeProcessingOptions(void *, SIP_SSIZE_T, const void *);}
static void assign_KLocale_TimeProcessingOptions(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KLocale::TimeProcessingOptions *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KLocale::TimeProcessingOptions *>(sipSrc);
}


extern "C" {static void *array_KLocale_TimeProcessingOptions(SIP_SSIZE_T);}
static void *array_KLocale_TimeProcessingOptions(SIP_SSIZE_T sipNrElem)
{
    return new KLocale::TimeProcessingOptions[sipNrElem];
}


extern "C" {static void *copy_KLocale_TimeProcessingOptions(const void *, SIP_SSIZE_T);}
static void *copy_KLocale_TimeProcessingOptions(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KLocale::TimeProcessingOptions(reinterpret_cast<const KLocale::TimeProcessingOptions *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KLocale_TimeProcessingOptions(sipSimpleWrapper *);}
static void dealloc_KLocale_TimeProcessingOptions(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KLocale_TimeProcessingOptions(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_KLocale_TimeProcessingOptions(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KLocale_TimeProcessingOptions(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KLocale::TimeProcessingOptions *sipCpp = 0;

    {
        const KLocale::TimeProcessingOptions* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_KLocale_TimeProcessingOptions, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KLocale::TimeProcessingOptions(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<KLocale::TimeProcessingOptions *>(a0),sipType_KLocale_TimeProcessingOptions,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KLocale::TimeProcessingOptions(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KLocale::TimeProcessingOptions();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_KLocale_TimeProcessingOptions(PyObject *, void **, int *, PyObject *);}
static int convertTo_KLocale_TimeProcessingOptions(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    KLocale::TimeProcessingOptions **sipCppPtr = reinterpret_cast<KLocale::TimeProcessingOptions **>(sipCppPtrV);

#line 398 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KLocale::TimeProcessingOptions is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KLocale_TimeProcessingOption)) ||
            sipCanConvertToType(sipPy, sipType_KLocale_TimeProcessingOptions, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KLocale_TimeProcessingOption)))
{
    *sipCppPtr = new KLocale::TimeProcessingOptions(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KLocale::TimeProcessingOptions *>(sipConvertToType(sipPy, sipType_KLocale_TimeProcessingOptions, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 557 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KLocale_TimeProcessingOptions[] = {
    {(void *)slot_KLocale_TimeProcessingOptions___bool__, bool_slot},
    {(void *)slot_KLocale_TimeProcessingOptions___ne__, ne_slot},
    {(void *)slot_KLocale_TimeProcessingOptions___eq__, eq_slot},
    {(void *)slot_KLocale_TimeProcessingOptions___invert__, invert_slot},
    {(void *)slot_KLocale_TimeProcessingOptions___and__, and_slot},
    {(void *)slot_KLocale_TimeProcessingOptions___xor__, xor_slot},
    {(void *)slot_KLocale_TimeProcessingOptions___or__, or_slot},
    {(void *)slot_KLocale_TimeProcessingOptions___int__, int_slot},
    {(void *)slot_KLocale_TimeProcessingOptions___ixor__, ixor_slot},
    {(void *)slot_KLocale_TimeProcessingOptions___ior__, ior_slot},
    {(void *)slot_KLocale_TimeProcessingOptions___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KLocale_TimeProcessingOptions = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KLocale__TimeProcessingOptions,
        {0}
    },
    {
        sipNameNr_TimeProcessingOptions,
        {102, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    slots_KLocale_TimeProcessingOptions,
    init_type_KLocale_TimeProcessingOptions,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KLocale_TimeProcessingOptions,
    assign_KLocale_TimeProcessingOptions,
    array_KLocale_TimeProcessingOptions,
    copy_KLocale_TimeProcessingOptions,
    release_KLocale_TimeProcessingOptions,
    0,
    convertTo_KLocale_TimeProcessingOptions,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0
};

#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/klocale.sip"
#include <klocale.h>
#line 633 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"

#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/klocale.sip"
#include <klocale.h>
#line 637 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"


extern "C" {static int slot_KLocale_TimeFormatOptions___bool__(PyObject *);}
static int slot_KLocale_TimeFormatOptions___bool__(PyObject *sipSelf)
{
    KLocale::TimeFormatOptions *sipCpp = reinterpret_cast<KLocale::TimeFormatOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KLocale_TimeFormatOptions));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 389 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KLocale::TimeFormatOptions::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 659 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KLocale_TimeFormatOptions___ne__(PyObject *,PyObject *);}
static PyObject *slot_KLocale_TimeFormatOptions___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KLocale::TimeFormatOptions *sipCpp = reinterpret_cast<KLocale::TimeFormatOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KLocale_TimeFormatOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KLocale::TimeFormatOptions* a0;
        int a0State = 0;

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

#line 380 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KLocale::TimeFormatOptions::Int() != a0->operator KLocale::TimeFormatOptions::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 693 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
            sipReleaseType(const_cast<KLocale::TimeFormatOptions *>(a0),sipType_KLocale_TimeFormatOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_KLocale_TimeFormatOptions___eq__(PyObject *,PyObject *);}
static PyObject *slot_KLocale_TimeFormatOptions___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KLocale::TimeFormatOptions *sipCpp = reinterpret_cast<KLocale::TimeFormatOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KLocale_TimeFormatOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KLocale::TimeFormatOptions* a0;
        int a0State = 0;

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

#line 371 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KLocale::TimeFormatOptions::Int() == a0->operator KLocale::TimeFormatOptions::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 733 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
            sipReleaseType(const_cast<KLocale::TimeFormatOptions *>(a0),sipType_KLocale_TimeFormatOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_KLocale_TimeFormatOptions___invert__(PyObject *);}
static PyObject *slot_KLocale_TimeFormatOptions___invert__(PyObject *sipSelf)
{
    KLocale::TimeFormatOptions *sipCpp = reinterpret_cast<KLocale::TimeFormatOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KLocale_TimeFormatOptions));

    if (!sipCpp)
        return 0;


    {
        {
            KLocale::TimeFormatOptions*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KLocale::TimeFormatOptions(~(*sipCpp));
            Py_END_ALLOW_THREADS

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

    return 0;
}


extern "C" {static PyObject *slot_KLocale_TimeFormatOptions___and__(PyObject *,PyObject *);}
static PyObject *slot_KLocale_TimeFormatOptions___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KLocale::TimeFormatOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KLocale_TimeFormatOptions, &a0, &a0State, &a1))
        {
            KLocale::TimeFormatOptions*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KLocale::TimeFormatOptions((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KLocale_TimeFormatOptions,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_KLocale_TimeFormatOptions___xor__(PyObject *,PyObject *);}
static PyObject *slot_KLocale_TimeFormatOptions___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KLocale::TimeFormatOptions* a0;
        int a0State = 0;
        KLocale::TimeFormatOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KLocale_TimeFormatOptions, &a0, &a0State, sipType_KLocale_TimeFormatOptions, &a1, &a1State))
        {
            KLocale::TimeFormatOptions*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KLocale::TimeFormatOptions((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KLocale_TimeFormatOptions,a0State);
            sipReleaseType(a1,sipType_KLocale_TimeFormatOptions,a1State);

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

    {
        KLocale::TimeFormatOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KLocale_TimeFormatOptions, &a0, &a0State, &a1))
        {
            KLocale::TimeFormatOptions*sipRes = 0;

#line 365 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KLocale::TimeFormatOptions(*a0 ^ a1);
#line 842 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
            sipReleaseType(a0,sipType_KLocale_TimeFormatOptions,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_KLocale_TimeFormatOptions___or__(PyObject *,PyObject *);}
static PyObject *slot_KLocale_TimeFormatOptions___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KLocale::TimeFormatOptions* a0;
        int a0State = 0;
        KLocale::TimeFormatOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KLocale_TimeFormatOptions, &a0, &a0State, sipType_KLocale_TimeFormatOptions, &a1, &a1State))
        {
            KLocale::TimeFormatOptions*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KLocale::TimeFormatOptions((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KLocale_TimeFormatOptions,a0State);
            sipReleaseType(a1,sipType_KLocale_TimeFormatOptions,a1State);

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

    {
        KLocale::TimeFormatOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KLocale_TimeFormatOptions, &a0, &a0State, &a1))
        {
            KLocale::TimeFormatOptions*sipRes = 0;

#line 360 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KLocale::TimeFormatOptions(*a0 | a1);
#line 894 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
            sipReleaseType(a0,sipType_KLocale_TimeFormatOptions,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_KLocale_TimeFormatOptions___int__(PyObject *);}
static PyObject *slot_KLocale_TimeFormatOptions___int__(PyObject *sipSelf)
{
    KLocale::TimeFormatOptions *sipCpp = reinterpret_cast<KLocale::TimeFormatOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KLocale_TimeFormatOptions));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KLocale_TimeFormatOptions___ixor__(PyObject *,PyObject *);}
static PyObject *slot_KLocale_TimeFormatOptions___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KLocale_TimeFormatOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KLocale::TimeFormatOptions *sipCpp = reinterpret_cast<KLocale::TimeFormatOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KLocale_TimeFormatOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KLocale::TimeFormatOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KLocale_TimeFormatOptions, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KLocale::TimeFormatOptions::operator^=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KLocale_TimeFormatOptions,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KLocale_TimeFormatOptions___ior__(PyObject *,PyObject *);}
static PyObject *slot_KLocale_TimeFormatOptions___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KLocale_TimeFormatOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KLocale::TimeFormatOptions *sipCpp = reinterpret_cast<KLocale::TimeFormatOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KLocale_TimeFormatOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KLocale::TimeFormatOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KLocale_TimeFormatOptions, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KLocale::TimeFormatOptions::operator|=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KLocale_TimeFormatOptions,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KLocale_TimeFormatOptions___iand__(PyObject *,PyObject *);}
static PyObject *slot_KLocale_TimeFormatOptions___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KLocale_TimeFormatOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KLocale::TimeFormatOptions *sipCpp = reinterpret_cast<KLocale::TimeFormatOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KLocale_TimeFormatOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KLocale::TimeFormatOptions::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    delete reinterpret_cast<KLocale::TimeFormatOptions *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KLocale_TimeFormatOptions(void *, SIP_SSIZE_T, const void *);}
static void assign_KLocale_TimeFormatOptions(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KLocale::TimeFormatOptions *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KLocale::TimeFormatOptions *>(sipSrc);
}


extern "C" {static void *array_KLocale_TimeFormatOptions(SIP_SSIZE_T);}
static void *array_KLocale_TimeFormatOptions(SIP_SSIZE_T sipNrElem)
{
    return new KLocale::TimeFormatOptions[sipNrElem];
}


extern "C" {static void *copy_KLocale_TimeFormatOptions(const void *, SIP_SSIZE_T);}
static void *copy_KLocale_TimeFormatOptions(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KLocale::TimeFormatOptions(reinterpret_cast<const KLocale::TimeFormatOptions *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KLocale_TimeFormatOptions(sipSimpleWrapper *);}
static void dealloc_KLocale_TimeFormatOptions(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KLocale_TimeFormatOptions(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_KLocale_TimeFormatOptions(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KLocale_TimeFormatOptions(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KLocale::TimeFormatOptions *sipCpp = 0;

    {
        const KLocale::TimeFormatOptions* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_KLocale_TimeFormatOptions, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KLocale::TimeFormatOptions(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<KLocale::TimeFormatOptions *>(a0),sipType_KLocale_TimeFormatOptions,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KLocale::TimeFormatOptions(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KLocale::TimeFormatOptions();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_KLocale_TimeFormatOptions(PyObject *, void **, int *, PyObject *);}
static int convertTo_KLocale_TimeFormatOptions(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    KLocale::TimeFormatOptions **sipCppPtr = reinterpret_cast<KLocale::TimeFormatOptions **>(sipCppPtrV);

#line 398 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KLocale::TimeFormatOptions is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KLocale_TimeFormatOption)) ||
            sipCanConvertToType(sipPy, sipType_KLocale_TimeFormatOptions, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KLocale_TimeFormatOption)))
{
    *sipCppPtr = new KLocale::TimeFormatOptions(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KLocale::TimeFormatOptions *>(sipConvertToType(sipPy, sipType_KLocale_TimeFormatOptions, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 1178 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KLocale_TimeFormatOptions[] = {
    {(void *)slot_KLocale_TimeFormatOptions___bool__, bool_slot},
    {(void *)slot_KLocale_TimeFormatOptions___ne__, ne_slot},
    {(void *)slot_KLocale_TimeFormatOptions___eq__, eq_slot},
    {(void *)slot_KLocale_TimeFormatOptions___invert__, invert_slot},
    {(void *)slot_KLocale_TimeFormatOptions___and__, and_slot},
    {(void *)slot_KLocale_TimeFormatOptions___xor__, xor_slot},
    {(void *)slot_KLocale_TimeFormatOptions___or__, or_slot},
    {(void *)slot_KLocale_TimeFormatOptions___int__, int_slot},
    {(void *)slot_KLocale_TimeFormatOptions___ixor__, ixor_slot},
    {(void *)slot_KLocale_TimeFormatOptions___ior__, ior_slot},
    {(void *)slot_KLocale_TimeFormatOptions___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KLocale_TimeFormatOptions = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KLocale__TimeFormatOptions,
        {0}
    },
    {
        sipNameNr_TimeFormatOptions,
        {102, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    slots_KLocale_TimeFormatOptions,
    init_type_KLocale_TimeFormatOptions,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KLocale_TimeFormatOptions,
    assign_KLocale_TimeFormatOptions,
    array_KLocale_TimeFormatOptions,
    copy_KLocale_TimeFormatOptions,
    release_KLocale_TimeFormatOptions,
    0,
    convertTo_KLocale_TimeFormatOptions,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0
};

#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/klocale.sip"
#include <klocale.h>
#line 1254 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"

#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/klocale.sip"
#include <klocale.h>
#line 1258 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"


extern "C" {static int slot_KLocale_DateTimeFormatOptions___bool__(PyObject *);}
static int slot_KLocale_DateTimeFormatOptions___bool__(PyObject *sipSelf)
{
    KLocale::DateTimeFormatOptions *sipCpp = reinterpret_cast<KLocale::DateTimeFormatOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KLocale_DateTimeFormatOptions));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 389 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KLocale::DateTimeFormatOptions::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 1280 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KLocale_DateTimeFormatOptions___ne__(PyObject *,PyObject *);}
static PyObject *slot_KLocale_DateTimeFormatOptions___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KLocale::DateTimeFormatOptions *sipCpp = reinterpret_cast<KLocale::DateTimeFormatOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KLocale_DateTimeFormatOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KLocale::DateTimeFormatOptions* a0;
        int a0State = 0;

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

#line 380 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KLocale::DateTimeFormatOptions::Int() != a0->operator KLocale::DateTimeFormatOptions::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 1314 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
            sipReleaseType(const_cast<KLocale::DateTimeFormatOptions *>(a0),sipType_KLocale_DateTimeFormatOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_KLocale_DateTimeFormatOptions___eq__(PyObject *,PyObject *);}
static PyObject *slot_KLocale_DateTimeFormatOptions___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KLocale::DateTimeFormatOptions *sipCpp = reinterpret_cast<KLocale::DateTimeFormatOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KLocale_DateTimeFormatOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KLocale::DateTimeFormatOptions* a0;
        int a0State = 0;

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

#line 371 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KLocale::DateTimeFormatOptions::Int() == a0->operator KLocale::DateTimeFormatOptions::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 1354 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
            sipReleaseType(const_cast<KLocale::DateTimeFormatOptions *>(a0),sipType_KLocale_DateTimeFormatOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_KLocale_DateTimeFormatOptions___invert__(PyObject *);}
static PyObject *slot_KLocale_DateTimeFormatOptions___invert__(PyObject *sipSelf)
{
    KLocale::DateTimeFormatOptions *sipCpp = reinterpret_cast<KLocale::DateTimeFormatOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KLocale_DateTimeFormatOptions));

    if (!sipCpp)
        return 0;


    {
        {
            KLocale::DateTimeFormatOptions*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KLocale::DateTimeFormatOptions(~(*sipCpp));
            Py_END_ALLOW_THREADS

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

    return 0;
}


extern "C" {static PyObject *slot_KLocale_DateTimeFormatOptions___and__(PyObject *,PyObject *);}
static PyObject *slot_KLocale_DateTimeFormatOptions___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KLocale::DateTimeFormatOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KLocale_DateTimeFormatOptions, &a0, &a0State, &a1))
        {
            KLocale::DateTimeFormatOptions*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KLocale::DateTimeFormatOptions((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KLocale_DateTimeFormatOptions,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_KLocale_DateTimeFormatOptions___xor__(PyObject *,PyObject *);}
static PyObject *slot_KLocale_DateTimeFormatOptions___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KLocale::DateTimeFormatOptions* a0;
        int a0State = 0;
        KLocale::DateTimeFormatOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KLocale_DateTimeFormatOptions, &a0, &a0State, sipType_KLocale_DateTimeFormatOptions, &a1, &a1State))
        {
            KLocale::DateTimeFormatOptions*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KLocale::DateTimeFormatOptions((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KLocale_DateTimeFormatOptions,a0State);
            sipReleaseType(a1,sipType_KLocale_DateTimeFormatOptions,a1State);

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

    {
        KLocale::DateTimeFormatOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KLocale_DateTimeFormatOptions, &a0, &a0State, &a1))
        {
            KLocale::DateTimeFormatOptions*sipRes = 0;

#line 365 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KLocale::DateTimeFormatOptions(*a0 ^ a1);
#line 1463 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
            sipReleaseType(a0,sipType_KLocale_DateTimeFormatOptions,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_KLocale_DateTimeFormatOptions___or__(PyObject *,PyObject *);}
static PyObject *slot_KLocale_DateTimeFormatOptions___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KLocale::DateTimeFormatOptions* a0;
        int a0State = 0;
        KLocale::DateTimeFormatOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KLocale_DateTimeFormatOptions, &a0, &a0State, sipType_KLocale_DateTimeFormatOptions, &a1, &a1State))
        {
            KLocale::DateTimeFormatOptions*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KLocale::DateTimeFormatOptions((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KLocale_DateTimeFormatOptions,a0State);
            sipReleaseType(a1,sipType_KLocale_DateTimeFormatOptions,a1State);

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

    {
        KLocale::DateTimeFormatOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KLocale_DateTimeFormatOptions, &a0, &a0State, &a1))
        {
            KLocale::DateTimeFormatOptions*sipRes = 0;

#line 360 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KLocale::DateTimeFormatOptions(*a0 | a1);
#line 1515 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
            sipReleaseType(a0,sipType_KLocale_DateTimeFormatOptions,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_KLocale_DateTimeFormatOptions___int__(PyObject *);}
static PyObject *slot_KLocale_DateTimeFormatOptions___int__(PyObject *sipSelf)
{
    KLocale::DateTimeFormatOptions *sipCpp = reinterpret_cast<KLocale::DateTimeFormatOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KLocale_DateTimeFormatOptions));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KLocale_DateTimeFormatOptions___ixor__(PyObject *,PyObject *);}
static PyObject *slot_KLocale_DateTimeFormatOptions___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KLocale_DateTimeFormatOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KLocale::DateTimeFormatOptions *sipCpp = reinterpret_cast<KLocale::DateTimeFormatOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KLocale_DateTimeFormatOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KLocale::DateTimeFormatOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KLocale_DateTimeFormatOptions, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KLocale::DateTimeFormatOptions::operator^=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KLocale_DateTimeFormatOptions,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KLocale_DateTimeFormatOptions___ior__(PyObject *,PyObject *);}
static PyObject *slot_KLocale_DateTimeFormatOptions___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KLocale_DateTimeFormatOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KLocale::DateTimeFormatOptions *sipCpp = reinterpret_cast<KLocale::DateTimeFormatOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KLocale_DateTimeFormatOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KLocale::DateTimeFormatOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KLocale_DateTimeFormatOptions, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KLocale::DateTimeFormatOptions::operator|=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KLocale_DateTimeFormatOptions,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KLocale_DateTimeFormatOptions___iand__(PyObject *,PyObject *);}
static PyObject *slot_KLocale_DateTimeFormatOptions___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KLocale_DateTimeFormatOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KLocale::DateTimeFormatOptions *sipCpp = reinterpret_cast<KLocale::DateTimeFormatOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KLocale_DateTimeFormatOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KLocale::DateTimeFormatOptions::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    delete reinterpret_cast<KLocale::DateTimeFormatOptions *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KLocale_DateTimeFormatOptions(void *, SIP_SSIZE_T, const void *);}
static void assign_KLocale_DateTimeFormatOptions(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KLocale::DateTimeFormatOptions *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KLocale::DateTimeFormatOptions *>(sipSrc);
}


extern "C" {static void *array_KLocale_DateTimeFormatOptions(SIP_SSIZE_T);}
static void *array_KLocale_DateTimeFormatOptions(SIP_SSIZE_T sipNrElem)
{
    return new KLocale::DateTimeFormatOptions[sipNrElem];
}


extern "C" {static void *copy_KLocale_DateTimeFormatOptions(const void *, SIP_SSIZE_T);}
static void *copy_KLocale_DateTimeFormatOptions(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KLocale::DateTimeFormatOptions(reinterpret_cast<const KLocale::DateTimeFormatOptions *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KLocale_DateTimeFormatOptions(sipSimpleWrapper *);}
static void dealloc_KLocale_DateTimeFormatOptions(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KLocale_DateTimeFormatOptions(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_KLocale_DateTimeFormatOptions(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KLocale_DateTimeFormatOptions(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KLocale::DateTimeFormatOptions *sipCpp = 0;

    {
        const KLocale::DateTimeFormatOptions* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_KLocale_DateTimeFormatOptions, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KLocale::DateTimeFormatOptions(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<KLocale::DateTimeFormatOptions *>(a0),sipType_KLocale_DateTimeFormatOptions,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KLocale::DateTimeFormatOptions(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KLocale::DateTimeFormatOptions();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_KLocale_DateTimeFormatOptions(PyObject *, void **, int *, PyObject *);}
static int convertTo_KLocale_DateTimeFormatOptions(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    KLocale::DateTimeFormatOptions **sipCppPtr = reinterpret_cast<KLocale::DateTimeFormatOptions **>(sipCppPtrV);

#line 398 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KLocale::DateTimeFormatOptions is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KLocale_DateTimeFormatOption)) ||
            sipCanConvertToType(sipPy, sipType_KLocale_DateTimeFormatOptions, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KLocale_DateTimeFormatOption)))
{
    *sipCppPtr = new KLocale::DateTimeFormatOptions(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KLocale::DateTimeFormatOptions *>(sipConvertToType(sipPy, sipType_KLocale_DateTimeFormatOptions, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 1799 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KLocale_DateTimeFormatOptions[] = {
    {(void *)slot_KLocale_DateTimeFormatOptions___bool__, bool_slot},
    {(void *)slot_KLocale_DateTimeFormatOptions___ne__, ne_slot},
    {(void *)slot_KLocale_DateTimeFormatOptions___eq__, eq_slot},
    {(void *)slot_KLocale_DateTimeFormatOptions___invert__, invert_slot},
    {(void *)slot_KLocale_DateTimeFormatOptions___and__, and_slot},
    {(void *)slot_KLocale_DateTimeFormatOptions___xor__, xor_slot},
    {(void *)slot_KLocale_DateTimeFormatOptions___or__, or_slot},
    {(void *)slot_KLocale_DateTimeFormatOptions___int__, int_slot},
    {(void *)slot_KLocale_DateTimeFormatOptions___ixor__, ixor_slot},
    {(void *)slot_KLocale_DateTimeFormatOptions___ior__, ior_slot},
    {(void *)slot_KLocale_DateTimeFormatOptions___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KLocale_DateTimeFormatOptions = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KLocale__DateTimeFormatOptions,
        {0}
    },
    {
        sipNameNr_DateTimeFormatOptions,
        {102, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    slots_KLocale_DateTimeFormatOptions,
    init_type_KLocale_DateTimeFormatOptions,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KLocale_DateTimeFormatOptions,
    assign_KLocale_DateTimeFormatOptions,
    array_KLocale_DateTimeFormatOptions,
    copy_KLocale_DateTimeFormatOptions,
    release_KLocale_DateTimeFormatOptions,
    0,
    convertTo_KLocale_DateTimeFormatOptions,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0
};

#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/klocale.sip"
#include <klocale.h>
#line 1875 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"

#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 1879 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 340 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 1882 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/ksharedconfig.sip"
#include <ksharedconfig.h>
#line 1885 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 36 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 1888 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 1891 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 245 "/usr/share/python3-sip/PyQt4/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 1894 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 23 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kcurrencycode.sip"
#include <kcurrencycode.h>
#line 1897 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/klocale.sip"
#include <klocale.h>
#line 1900 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/klocale.sip"
#include <klocale.h>
#line 1903 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 1906 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 1909 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 1912 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kcalendarsystem.sip"
#include <kcalendarsystem.h>
#line 1915 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 401 "/usr/share/python3-sip/PyQt4/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 1918 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kdatetime.sip"
#include <kdatetime.h>
#line 1921 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/klocale.sip"
#include <klocale.h>
#line 1924 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1927 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"


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

    {
        const char* a0;
        PyObject *a0Keep;
        QString* a1;
        int a1State = 0;
        QString* a2;
        int a2State = 0;
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAAJ0J0", &sipSelf, sipType_KLocale, &sipCpp, &a0Keep, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->translateRaw(a0,a1,a2);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);
            sipReleaseType(a1,sipType_QString,a1State);
            sipReleaseType(a2,sipType_QString,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const char* a0;
        PyObject *a0Keep;
        const char* a1;
        PyObject *a1Keep;
        QString* a2;
        int a2State = 0;
        QString* a3;
        int a3State = 0;
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAAAAJ0J0", &sipSelf, sipType_KLocale, &sipCpp, &a0Keep, &a0, &a1Keep, &a1, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->translateRaw(a0,a1,a2,a3);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);
            Py_DECREF(a1Keep);
            sipReleaseType(a2,sipType_QString,a2State);
            sipReleaseType(a3,sipType_QString,a3State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const char* a0;
        PyObject *a0Keep;
        const char* a1;
        PyObject *a1Keep;
        unsigned long a2;
        QString* a3;
        int a3State = 0;
        QString* a4;
        int a4State = 0;
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAAAAmJ0J0", &sipSelf, sipType_KLocale, &sipCpp, &a0Keep, &a0, &a1Keep, &a1, &a2, sipType_QString,&a3, &a3State, sipType_QString,&a4, &a4State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->translateRaw(a0,a1,a2,a3,a4);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);
            Py_DECREF(a1Keep);
            sipReleaseType(a3,sipType_QString,a3State);
            sipReleaseType(a4,sipType_QString,a4State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const char* a0;
        PyObject *a0Keep;
        const char* a1;
        PyObject *a1Keep;
        const char* a2;
        PyObject *a2Keep;
        unsigned long a3;
        QString* a4;
        int a4State = 0;
        QString* a5;
        int a5State = 0;
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAAAAAAmJ0J0", &sipSelf, sipType_KLocale, &sipCpp, &a0Keep, &a0, &a1Keep, &a1, &a2Keep, &a2, &a3, sipType_QString,&a4, &a4State, sipType_QString,&a5, &a5State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->translateRaw(a0,a1,a2,a3,a4,a5);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);
            Py_DECREF(a1Keep);
            Py_DECREF(a2Keep);
            sipReleaseType(a4,sipType_QString,a4State);
            sipReleaseType(a5,sipType_QString,a5State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        KLocale *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->setEncoding(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KLocale::DigitSet a0;
        bool a1 = 0;
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE|b", &sipSelf, sipType_KLocale, &sipCpp, sipType_KLocale_DigitSet, &a0, &a1))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->digitSetToName(a0,a1));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLocale, &sipCpp))
        {
            QList<KLocale::DigitSet>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<KLocale::DigitSet>(sipCpp->allDigitSetsList());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KLocale *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->decimalSymbol());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KLocale *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->thousandsSeparator());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLocale, &sipCpp))
        {
            KLocale::DigitSet sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->digitSet();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KLocale_DigitSet);
        }
    }

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

    return NULL;
}


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

    {
        const KLocale *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->currencySymbol());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KLocale *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->monetaryDecimalSymbol());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KLocale *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->monetaryThousandsSeparator());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KLocale *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->positiveSign());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KLocale *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->negativeSign());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLocale, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->fracDigits();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLocale, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->positivePrefixCurrencySymbol();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLocale, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->negativePrefixCurrencySymbol();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLocale, &sipCpp))
        {
            KLocale::SignPosition sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->positiveMonetarySignPosition();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KLocale_SignPosition);
        }
    }

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

    return NULL;
}


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

    {
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLocale, &sipCpp))
        {
            KLocale::SignPosition sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->negativeMonetarySignPosition();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KLocale_SignPosition);
        }
    }

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

    return NULL;
}


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

    {
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLocale, &sipCpp))
        {
            KLocale::DigitSet sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->monetaryDigitSet();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KLocale_DigitSet);
        }
    }

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

    return NULL;
}


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

    {
        double a0;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;
        int a2 = -1;
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd|J1i", &sipSelf, sipType_KLocale, &sipCpp, &a0, sipType_QString,&a1, &a1State, &a2))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->formatMoney(a0,*a1,a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

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

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

    return NULL;
}


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

    {
        double a0;
        int a1 = -1;
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd|i", &sipSelf, sipType_KLocale, &sipCpp, &a0, &a1))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->formatNumber(a0,a1));
            Py_END_ALLOW_THREADS

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

    {
        const QString* a0;
        int a0State = 0;
        bool a1 = 1;
        int a2 = 2;
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|bi", &sipSelf, sipType_KLocale, &sipCpp, sipType_QString,&a0, &a0State, &a1, &a2))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->formatNumber(*a0,a1,a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

    {
        long a0;
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bl", &sipSelf, sipType_KLocale, &sipCpp, &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->formatLong(a0));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        double a0;
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_KLocale, &sipCpp, &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->formatByteSize(a0));
            Py_END_ALLOW_THREADS

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

    {
        double a0;
        int a1;
        KLocale::BinaryUnitDialect a2 = KLocale::DefaultBinaryDialect;
        KLocale::BinarySizeUnits a3 = KLocale::DefaultBinaryUnits;
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdi|EE", &sipSelf, sipType_KLocale, &sipCpp, &a0, &a1, sipType_KLocale_BinaryUnitDialect, &a2, sipType_KLocale_BinarySizeUnits, &a3))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->formatByteSize(a0,a1,a2,a3));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        unsigned long a0;
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bm", &sipSelf, sipType_KLocale, &sipCpp, &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->formatDuration(a0));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        unsigned long a0;
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bm", &sipSelf, sipType_KLocale, &sipCpp, &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->prettyFormatDuration(a0));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLocale, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->nounDeclension();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const QDate* a0;
        int a0State = 0;
        KLocale::DateFormat a1 = KLocale::LongDate;
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|E", &sipSelf, sipType_KLocale, &sipCpp, sipType_QDate, &a0, &a0State, sipType_KLocale_DateFormat, &a1))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->formatDate(*a0,a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QDate *>(a0),sipType_QDate,a0State);

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

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

    return NULL;
}


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

    {
        const QDateTime* a0;
        int a0State = 0;
        KLocale::DateFormat a1 = KLocale::ShortDate;
        bool a2 = 0;
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|Eb", &sipSelf, sipType_KLocale, &sipCpp, sipType_QDateTime, &a0, &a0State, sipType_KLocale_DateFormat, &a1, &a2))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->formatDateTime(*a0,a1,a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QDateTime *>(a0),sipType_QDateTime,a0State);

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

    {
        const KDateTime* a0;
        KLocale::DateFormat a1 = KLocale::ShortDate;
        KLocale::DateTimeFormatOptions a2def = 0;
        KLocale::DateTimeFormatOptions* a2 = &a2def;
        int a2State = 0;
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9|EJ1", &sipSelf, sipType_KLocale, &sipCpp, sipType_KDateTime, &a0, sipType_KLocale_DateFormat, &a1, sipType_KLocale_DateTimeFormatOptions, &a2, &a2State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->formatDateTime(*a0,a1,*a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(a2,sipType_KLocale_DateTimeFormatOptions,a2State);

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

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

    return NULL;
}


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

    {
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLocale, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->dateMonthNamePossessive();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const QTime* a0;
        int a0State = 0;
        bool a1 = 0;
        bool a2 = 0;
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|bb", &sipSelf, sipType_KLocale, &sipCpp, sipType_QTime, &a0, &a0State, &a1, &a2))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->formatTime(*a0,a1,a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QTime *>(a0),sipType_QTime,a0State);

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

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

    return NULL;
}


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

    {
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLocale, &sipCpp))
        {
            KLocale::DigitSet sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->dateTimeDigitSet();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KLocale_DigitSet);
        }
    }

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

    return NULL;
}


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

    {
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLocale, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->use12Clock();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLocale, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->weekStartDay();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLocale, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->workingWeekStartDay();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLocale, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->workingWeekEndDay();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLocale, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->weekDayOfPray();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLocale, &sipCpp))
        {
            const KCalendarSystem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->calendar();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(const_cast<KCalendarSystem *>(sipRes),sipType_KCalendarSystem,NULL);
        }
    }

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

    return NULL;
}


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

    {
        const KLocale *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->calendarType());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KLocale, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCalendar(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KLocale, &sipCpp, sipType_QString,&a0, &a0State))
        {
            double sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->readMoney(*a0,&a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipBuildResult(0,"(db)",sipRes,a1);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KLocale, &sipCpp, sipType_QString,&a0, &a0State))
        {
            double sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->readNumber(*a0,&a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipBuildResult(0,"(db)",sipRes,a1);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KLocale, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QDate*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDate(sipCpp->readDate(*a0,&a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            PyObject *sipResObj = sipConvertFromNewType(sipRes,sipType_QDate,NULL);
            return sipBuildResult(0,"(Rb)",sipResObj,a1);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        bool a2;
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_KLocale, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            QDate*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDate(sipCpp->readDate(*a0,*a1,&a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            PyObject *sipResObj = sipConvertFromNewType(sipRes,sipType_QDate,NULL);
            return sipBuildResult(0,"(Rb)",sipResObj,a2);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        KLocale::ReadDateFlags a1;
        bool a2;
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1E", &sipSelf, sipType_KLocale, &sipCpp, sipType_QString,&a0, &a0State, sipType_KLocale_ReadDateFlags, &a1))
        {
            QDate*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDate(sipCpp->readDate(*a0,a1,&a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            PyObject *sipResObj = sipConvertFromNewType(sipRes,sipType_QDate,NULL);
            return sipBuildResult(0,"(Rb)",sipResObj,a2);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KLocale, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QTime*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QTime(sipCpp->readTime(*a0,&a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            PyObject *sipResObj = sipConvertFromNewType(sipRes,sipType_QTime,NULL);
            return sipBuildResult(0,"(Rb)",sipResObj,a1);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        KLocale::ReadTimeFlags a1;
        bool a2;
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1E", &sipSelf, sipType_KLocale, &sipCpp, sipType_QString,&a0, &a0State, sipType_KLocale_ReadTimeFlags, &a1))
        {
            QTime*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QTime(sipCpp->readTime(*a0,a1,&a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            PyObject *sipResObj = sipConvertFromNewType(sipRes,sipType_QTime,NULL);
            return sipBuildResult(0,"(Rb)",sipResObj,a2);
        }
    }

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

    return NULL;
}


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

    {
        const KLocale *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->language());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KLocale *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->country());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KLocale *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->languageList());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KLocale *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->encoding());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLocale, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->encodingMib();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KLocale *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->codecForEncoding();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLocale, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->fileEncodingMib();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KLocale, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDateFormat(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KLocale, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDateFormatShort(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KLocale, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDateMonthNamePossessive(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KLocale, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTimeFormat(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KLocale::DigitSet a0;
        KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KLocale, &sipCpp, sipType_KLocale_DigitSet, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDateTimeDigitSet(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KLocale, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setWeekStartDay(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KLocale, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setWorkingWeekStartDay(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KLocale, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setWorkingWeekEndDay(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KLocale, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setWeekDayOfPray(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KLocale *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->dateFormat());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KLocale *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->dateFormatShort());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KLocale *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->timeFormat());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KLocale, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDecimalSymbol(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KLocale, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setThousandsSeparator(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KLocale, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPositiveSign(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KLocale, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setNegativeSign(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KLocale::DigitSet a0;
        KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KLocale, &sipCpp, sipType_KLocale_DigitSet, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDigitSet(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KLocale::SignPosition a0;
        KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KLocale, &sipCpp, sipType_KLocale_SignPosition, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPositiveMonetarySignPosition(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KLocale::SignPosition a0;
        KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KLocale, &sipCpp, sipType_KLocale_SignPosition, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setNegativeMonetarySignPosition(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KLocale, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPositivePrefixCurrencySymbol(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KLocale, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setNegativePrefixCurrencySymbol(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KLocale, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFracDigits(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KLocale, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMonetaryThousandsSeparator(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KLocale, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMonetaryDecimalSymbol(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KLocale, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCurrencySymbol(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KLocale::DigitSet a0;
        KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KLocale, &sipCpp, sipType_KLocale_DigitSet, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMonetaryDigitSet(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLocale, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->pageSize();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KLocale, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPageSize(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLocale, &sipCpp))
        {
            KLocale::MeasureSystem sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->measureSystem();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KLocale_MeasureSystem);
        }
    }

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

    return NULL;
}


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

    {
        KLocale::MeasureSystem a0;
        KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KLocale, &sipCpp, sipType_KLocale_MeasureSystem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMeasureSystem(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KLocale, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->insertCatalog(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KLocale, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeCatalog(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KLocale, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setActiveCatalog(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const char* a0;
        PyObject *a0Keep;
        const char* a1;
        PyObject *a1Keep;
        const char* a2;
        PyObject *a2Keep;
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAAAAAA", &sipSelf, sipType_KLocale, &sipCpp, &a0Keep, &a0, &a1Keep, &a1, &a2Keep, &a2))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->translateQt(a0,a1,a2));
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);
            Py_DECREF(a1Keep);
            Py_DECREF(a2Keep);

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

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

    return NULL;
}


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

    {
        const KLocale *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->allLanguagesList());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KLocale, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->languageCodeToName(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

    {
        const KLocale *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->allCountriesList());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KLocale, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->countryCodeToName(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

    {
        const QString* a0;
        int a0State = 0;
        QString* a1;
        int a1State = 0;
        QString* a2;
        int a2State = 0;
        QString* a3;
        int a3State = 0;
        QString* a4;
        int a4State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1J1J1J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_QString,&a4, &a4State))
        {
            Py_BEGIN_ALLOW_THREADS
            KLocale::splitLocale(*a0,*a1,*a2,*a3,*a4);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a1,sipType_QString,a1State);
            sipReleaseType(a2,sipType_QString,a2State);
            sipReleaseType(a3,sipType_QString,a3State);
            sipReleaseType(a4,sipType_QString,a4State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const char* a0;
        PyObject *a0Keep;

        if (sipParseArgs(&sipParseErr, sipArgs, "AA", &a0Keep, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            KLocale::setMainCatalog(a0);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QString* a0;
        int a0State = 0;
        const char* a1 = "html";
        PyObject *a1Keep = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1|AA", sipType_QString,&a0, &a0State, &a1Keep, &a1))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KLocale::langLookup(*a0,a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            Py_XDECREF(a1Keep);

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

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

    return NULL;
}


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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KLocale::defaultLanguage());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KLocale::defaultCountry());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLocale, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->useTranscript();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isApplicationTranslatedInto(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KLocale* a0;
        KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KLocale, &sipCpp, sipType_KLocale, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->copyCatalogsTo(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J8", &sipSelf, sipType_KLocale, &sipCpp, sipType_QString,&a0, &a0State, sipType_KConfig, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->setCountry(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J8", &sipSelf, sipType_KLocale, &sipCpp, sipType_QString,&a0, &a0State, sipType_KConfig, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->setLanguage(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->setLanguage(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KLocale, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->localizedFilePath(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KLocale, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->removeAcceleratorMarker(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

    {
        const QString* a0;
        int a0State = 0;
        KLocale::DigitSet a1;
        bool a2 = 0;
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1E|b", &sipSelf, sipType_KLocale, &sipCpp, sipType_QString,&a0, &a0State, sipType_KLocale_DigitSet, &a1, &a2))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->convertDigits(*a0,a1,a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

    {
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLocale, &sipCpp))
        {
            KLocale::BinaryUnitDialect sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->binaryUnitDialect();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KLocale_BinaryUnitDialect);
        }
    }

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

    return NULL;
}


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

    {
        KLocale::BinaryUnitDialect a0;
        KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KLocale, &sipCpp, sipType_KLocale_BinaryUnitDialect, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setBinaryUnitDialect(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QTime* a0;
        int a0State = 0;
        KLocale::TimeFormatOptions a1def = KLocale::TimeDefault;
        KLocale::TimeFormatOptions* a1 = &a1def;
        int a1State = 0;
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|J1", &sipSelf, sipType_KLocale, &sipCpp, sipType_QTime, &a0, &a0State, sipType_KLocale_TimeFormatOptions, &a1, &a1State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->formatLocaleTime(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QTime *>(a0),sipType_QTime,a0State);
            sipReleaseType(a1,sipType_KLocale_TimeFormatOptions,a1State);

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

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

    return NULL;
}


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

    {
        const QString* a0;
        int a0State = 0;
        bool a1;
        KLocale::TimeFormatOptions a2def = KLocale::TimeDefault;
        KLocale::TimeFormatOptions* a2 = &a2def;
        int a2State = 0;
        KLocale::TimeProcessingOptions a3def = KLocale::ProcessNonStrict;
        KLocale::TimeProcessingOptions* a3 = &a3def;
        int a3State = 0;
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|J1J1", &sipSelf, sipType_KLocale, &sipCpp, sipType_QString,&a0, &a0State, sipType_KLocale_TimeFormatOptions, &a2, &a2State, sipType_KLocale_TimeProcessingOptions, &a3, &a3State))
        {
            QTime*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QTime(sipCpp->readLocaleTime(*a0,&a1,*a2,*a3));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a2,sipType_KLocale_TimeFormatOptions,a2State);
            sipReleaseType(a3,sipType_KLocale_TimeProcessingOptions,a3State);

            PyObject *sipResObj = sipConvertFromNewType(sipRes,sipType_QTime,NULL);
            return sipBuildResult(0,"(Rb)",sipResObj,a1);
        }
    }

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

    return NULL;
}


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

    {
        const KLocale *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->currencyCode());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KLocale *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->currency();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLocale, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->decimalPlaces();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLocale, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->monetaryDecimalPlaces();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KLocale *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->currencyCodeList());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        int a0;
        KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KLocale, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDecimalPlaces(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KLocale, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMonetaryDecimalPlaces(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KLocale, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCurrencyCode(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KLocale::defaultCurrencyCode());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const char* a0;
        PyObject *a0Keep;
        const char* a1;
        PyObject *a1Keep;
        QString* a2;
        int a2State = 0;
        QString* a3;
        int a3State = 0;
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAAAAJ0J0", &sipSelf, sipType_KLocale, &sipCpp, &a0Keep, &a0, &a1Keep, &a1, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->translateRawFrom(a0,a1,a2,a3);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);
            Py_DECREF(a1Keep);
            sipReleaseType(a2,sipType_QString,a2State);
            sipReleaseType(a3,sipType_QString,a3State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const char* a0;
        PyObject *a0Keep;
        const char* a1;
        PyObject *a1Keep;
        const char* a2;
        PyObject *a2Keep;
        QString* a3;
        int a3State = 0;
        QString* a4;
        int a4State = 0;
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAAAAAAJ0J0", &sipSelf, sipType_KLocale, &sipCpp, &a0Keep, &a0, &a1Keep, &a1, &a2Keep, &a2, sipType_QString,&a3, &a3State, sipType_QString,&a4, &a4State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->translateRawFrom(a0,a1,a2,a3,a4);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);
            Py_DECREF(a1Keep);
            Py_DECREF(a2Keep);
            sipReleaseType(a3,sipType_QString,a3State);
            sipReleaseType(a4,sipType_QString,a4State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const char* a0;
        PyObject *a0Keep;
        const char* a1;
        PyObject *a1Keep;
        const char* a2;
        PyObject *a2Keep;
        unsigned long a3;
        QString* a4;
        int a4State = 0;
        QString* a5;
        int a5State = 0;
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAAAAAAmJ0J0", &sipSelf, sipType_KLocale, &sipCpp, &a0Keep, &a0, &a1Keep, &a1, &a2Keep, &a2, &a3, sipType_QString,&a4, &a4State, sipType_QString,&a5, &a5State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->translateRawFrom(a0,a1,a2,a3,a4,a5);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);
            Py_DECREF(a1Keep);
            Py_DECREF(a2Keep);
            sipReleaseType(a4,sipType_QString,a4State);
            sipReleaseType(a5,sipType_QString,a5State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const char* a0;
        PyObject *a0Keep;
        const char* a1;
        PyObject *a1Keep;
        const char* a2;
        PyObject *a2Keep;
        const char* a3;
        PyObject *a3Keep;
        unsigned long a4;
        QString* a5;
        int a5State = 0;
        QString* a6;
        int a6State = 0;
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAAAAAAAAmJ0J0", &sipSelf, sipType_KLocale, &sipCpp, &a0Keep, &a0, &a1Keep, &a1, &a2Keep, &a2, &a3Keep, &a3, &a4, sipType_QString,&a5, &a5State, sipType_QString,&a6, &a6State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->translateRawFrom(a0,a1,a2,a3,a4,a5,a6);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);
            Py_DECREF(a1Keep);
            Py_DECREF(a2Keep);
            Py_DECREF(a3Keep);
            sipReleaseType(a5,sipType_QString,a5State);
            sipReleaseType(a6,sipType_QString,a6State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QTime* a0;
        int a0State = 0;
        KLocale::DateTimeComponentFormat a1 = KLocale::DefaultComponentFormat;
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|E", &sipSelf, sipType_KLocale, &sipCpp, sipType_QTime, &a0, &a0State, sipType_KLocale_DateTimeComponentFormat, &a1))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->dayPeriodText(*a0,a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QTime *>(a0),sipType_QTime,a0State);

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

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

    return NULL;
}


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

    {
        const KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLocale, &sipCpp))
        {
            KLocale::CalendarSystem sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->calendarSystem();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KLocale_CalendarSystem);
        }
    }

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

    return NULL;
}


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

    {
        KLocale::CalendarSystem a0;
        KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KLocale, &sipCpp, sipType_KLocale_CalendarSystem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCalendarSystem(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KLocale::WeekNumberSystem a0;
        KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KLocale, &sipCpp, sipType_KLocale_WeekNumberSystem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setWeekNumberSystem(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLocale, &sipCpp))
        {
            KLocale::WeekNumberSystem sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->weekNumberSystem();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KLocale_WeekNumberSystem);
        }
    }

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

    return NULL;
}


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

    {
        const KLocale *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->countryDivisionCode());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KLocale *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->installedLanguages());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->setCountryDivisionCode(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLocale, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->reparseConfiguration();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    delete reinterpret_cast<KLocale *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KLocale(sipSimpleWrapper *);}
static void dealloc_KLocale(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KLocale(sipGetAddress(sipSelf),0);
    }
}


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

    {
        const QString* a0;
        int a0State = 0;
        KSharedConfig::Ptr a1def = KSharedConfig::Ptr();
        KSharedConfig::Ptr* a1 = &a1def;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1|J1", sipType_QString,&a0, &a0State, sipType_KSharedPtr_0100KSharedConfig,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KLocale(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a1,sipType_KSharedPtr_0100KSharedConfig,a1State);

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        const QString& a2def = QString();
        const QString* a2 = &a2def;
        int a2State = 0;
        KConfig* a3 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J1|J1J8", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_KConfig, &a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KLocale(*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(const_cast<QString *>(a2),sipType_QString,a2State);

            return sipCpp;
        }
    }

    {
        const KLocale* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_KLocale, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KLocale(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KLocale[] = {
    {SIP_MLNAME_CAST(sipName_allCountriesList), meth_KLocale_allCountriesList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_allDigitSetsList), meth_KLocale_allDigitSetsList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_allLanguagesList), meth_KLocale_allLanguagesList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_binaryUnitDialect), meth_KLocale_binaryUnitDialect, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_calendar), meth_KLocale_calendar, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_calendarSystem), meth_KLocale_calendarSystem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_calendarType), meth_KLocale_calendarType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_codecForEncoding), meth_KLocale_codecForEncoding, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_convertDigits), meth_KLocale_convertDigits, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_copyCatalogsTo), meth_KLocale_copyCatalogsTo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_country), meth_KLocale_country, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_countryCodeToName), meth_KLocale_countryCodeToName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_countryDivisionCode), meth_KLocale_countryDivisionCode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currency), meth_KLocale_currency, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currencyCode), meth_KLocale_currencyCode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currencyCodeList), meth_KLocale_currencyCodeList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currencySymbol), meth_KLocale_currencySymbol, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dateFormat), meth_KLocale_dateFormat, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dateFormatShort), meth_KLocale_dateFormatShort, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dateMonthNamePossessive), meth_KLocale_dateMonthNamePossessive, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dateTimeDigitSet), meth_KLocale_dateTimeDigitSet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dayPeriodText), meth_KLocale_dayPeriodText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_decimalPlaces), meth_KLocale_decimalPlaces, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_decimalSymbol), meth_KLocale_decimalSymbol, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_defaultCountry), meth_KLocale_defaultCountry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_defaultCurrencyCode), meth_KLocale_defaultCurrencyCode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_defaultLanguage), meth_KLocale_defaultLanguage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_digitSet), meth_KLocale_digitSet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_digitSetToName), meth_KLocale_digitSetToName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_encoding), meth_KLocale_encoding, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_encodingMib), meth_KLocale_encodingMib, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fileEncodingMib), meth_KLocale_fileEncodingMib, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_formatByteSize), meth_KLocale_formatByteSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_formatDate), meth_KLocale_formatDate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_formatDateTime), meth_KLocale_formatDateTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_formatDuration), meth_KLocale_formatDuration, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_formatLocaleTime), meth_KLocale_formatLocaleTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_formatLong), meth_KLocale_formatLong, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_formatMoney), meth_KLocale_formatMoney, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_formatNumber), meth_KLocale_formatNumber, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_formatTime), meth_KLocale_formatTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fracDigits), meth_KLocale_fracDigits, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_insertCatalog), meth_KLocale_insertCatalog, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_installedLanguages), meth_KLocale_installedLanguages, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isApplicationTranslatedInto), meth_KLocale_isApplicationTranslatedInto, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_langLookup), meth_KLocale_langLookup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_language), meth_KLocale_language, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_languageCodeToName), meth_KLocale_languageCodeToName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_languageList), meth_KLocale_languageList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_localizedFilePath), meth_KLocale_localizedFilePath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_measureSystem), meth_KLocale_measureSystem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_monetaryDecimalPlaces), meth_KLocale_monetaryDecimalPlaces, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_monetaryDecimalSymbol), meth_KLocale_monetaryDecimalSymbol, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_monetaryDigitSet), meth_KLocale_monetaryDigitSet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_monetaryThousandsSeparator), meth_KLocale_monetaryThousandsSeparator, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_negativeMonetarySignPosition), meth_KLocale_negativeMonetarySignPosition, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_negativePrefixCurrencySymbol), meth_KLocale_negativePrefixCurrencySymbol, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_negativeSign), meth_KLocale_negativeSign, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_nounDeclension), meth_KLocale_nounDeclension, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pageSize), meth_KLocale_pageSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_positiveMonetarySignPosition), meth_KLocale_positiveMonetarySignPosition, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_positivePrefixCurrencySymbol), meth_KLocale_positivePrefixCurrencySymbol, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_positiveSign), meth_KLocale_positiveSign, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_prettyFormatDuration), meth_KLocale_prettyFormatDuration, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readDate), meth_KLocale_readDate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readLocaleTime), meth_KLocale_readLocaleTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readMoney), meth_KLocale_readMoney, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readNumber), meth_KLocale_readNumber, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readTime), meth_KLocale_readTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeAcceleratorMarker), meth_KLocale_removeAcceleratorMarker, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeCatalog), meth_KLocale_removeCatalog, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_reparseConfiguration), meth_KLocale_reparseConfiguration, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setActiveCatalog), meth_KLocale_setActiveCatalog, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setBinaryUnitDialect), meth_KLocale_setBinaryUnitDialect, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCalendar), meth_KLocale_setCalendar, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCalendarSystem), meth_KLocale_setCalendarSystem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCountry), meth_KLocale_setCountry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCountryDivisionCode), meth_KLocale_setCountryDivisionCode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCurrencyCode), meth_KLocale_setCurrencyCode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCurrencySymbol), meth_KLocale_setCurrencySymbol, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDateFormat), meth_KLocale_setDateFormat, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDateFormatShort), meth_KLocale_setDateFormatShort, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDateMonthNamePossessive), meth_KLocale_setDateMonthNamePossessive, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDateTimeDigitSet), meth_KLocale_setDateTimeDigitSet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDecimalPlaces), meth_KLocale_setDecimalPlaces, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDecimalSymbol), meth_KLocale_setDecimalSymbol, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDigitSet), meth_KLocale_setDigitSet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setEncoding), meth_KLocale_setEncoding, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFracDigits), meth_KLocale_setFracDigits, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLanguage), meth_KLocale_setLanguage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMainCatalog), meth_KLocale_setMainCatalog, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMeasureSystem), meth_KLocale_setMeasureSystem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMonetaryDecimalPlaces), meth_KLocale_setMonetaryDecimalPlaces, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMonetaryDecimalSymbol), meth_KLocale_setMonetaryDecimalSymbol, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMonetaryDigitSet), meth_KLocale_setMonetaryDigitSet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMonetaryThousandsSeparator), meth_KLocale_setMonetaryThousandsSeparator, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setNegativeMonetarySignPosition), meth_KLocale_setNegativeMonetarySignPosition, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setNegativePrefixCurrencySymbol), meth_KLocale_setNegativePrefixCurrencySymbol, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setNegativeSign), meth_KLocale_setNegativeSign, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPageSize), meth_KLocale_setPageSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPositiveMonetarySignPosition), meth_KLocale_setPositiveMonetarySignPosition, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPositivePrefixCurrencySymbol), meth_KLocale_setPositivePrefixCurrencySymbol, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPositiveSign), meth_KLocale_setPositiveSign, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setThousandsSeparator), meth_KLocale_setThousandsSeparator, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTimeFormat), meth_KLocale_setTimeFormat, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setWeekDayOfPray), meth_KLocale_setWeekDayOfPray, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setWeekNumberSystem), meth_KLocale_setWeekNumberSystem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setWeekStartDay), meth_KLocale_setWeekStartDay, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setWorkingWeekEndDay), meth_KLocale_setWorkingWeekEndDay, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setWorkingWeekStartDay), meth_KLocale_setWorkingWeekStartDay, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_splitLocale), meth_KLocale_splitLocale, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_thousandsSeparator), meth_KLocale_thousandsSeparator, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timeFormat), meth_KLocale_timeFormat, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_translateQt), meth_KLocale_translateQt, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_translateRaw), meth_KLocale_translateRaw, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_translateRawFrom), meth_KLocale_translateRawFrom, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_use12Clock), meth_KLocale_use12Clock, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_useTranscript), meth_KLocale_useTranscript, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_weekDayOfPray), meth_KLocale_weekDayOfPray, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_weekNumberSystem), meth_KLocale_weekNumberSystem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_weekStartDay), meth_KLocale_weekStartDay, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_workingWeekEndDay), meth_KLocale_workingWeekEndDay, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_workingWeekStartDay), meth_KLocale_workingWeekStartDay, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KLocale[] = {
    {sipName_AfterMoney, static_cast<int>(KLocale::AfterMoney), 118},
    {sipName_AfterQuantityMoney, static_cast<int>(KLocale::AfterQuantityMoney), 118},
    {sipName_ArabicDigits, static_cast<int>(KLocale::ArabicDigits), 114},
    {sipName_ArabicIndicDigits, static_cast<int>(KLocale::ArabicIndicDigits), 114},
    {sipName_BeforeMoney, static_cast<int>(KLocale::BeforeMoney), 118},
    {sipName_BeforeQuantityMoney, static_cast<int>(KLocale::BeforeQuantityMoney), 118},
    {sipName_BengaliDigits, static_cast<int>(KLocale::BengaliDigits), 114},
    {sipName_CopticCalendar, static_cast<int>(KLocale::CopticCalendar), 105},
    {sipName_Day, static_cast<int>(KLocale::Day), 107},
    {sipName_DayName, static_cast<int>(KLocale::DayName), 107},
    {sipName_DayOfWeek, static_cast<int>(KLocale::DayOfWeek), 107},
    {sipName_DayOfWeekName, static_cast<int>(KLocale::DayOfWeekName), 107},
    {sipName_DayOfYear, static_cast<int>(KLocale::DayOfYear), 107},
    {sipName_DayOfYearName, static_cast<int>(KLocale::DayOfYearName), 107},
    {sipName_DayPeriod, static_cast<int>(KLocale::DayPeriod), 107},
    {sipName_DayPeriodHour, static_cast<int>(KLocale::DayPeriodHour), 107},
    {sipName_DaysInMonth, static_cast<int>(KLocale::DaysInMonth), 107},
    {sipName_DaysInWeek, static_cast<int>(KLocale::DaysInWeek), 107},
    {sipName_DaysInYear, static_cast<int>(KLocale::DaysInYear), 107},
    {sipName_DefaultBinaryDialect, static_cast<int>(KLocale::DefaultBinaryDialect), 104},
    {sipName_DefaultBinaryUnits, static_cast<int>(KLocale::DefaultBinaryUnits), 103},
    {sipName_DefaultComponentFormat, static_cast<int>(KLocale::DefaultComponentFormat), 108},
    {sipName_DefaultWeekNumber, static_cast<int>(KLocale::DefaultWeekNumber), 123},
    {sipName_DevenagariDigits, static_cast<int>(KLocale::DevenagariDigits), 114},
    {sipName_EasternArabicIndicDigits, static_cast<int>(KLocale::EasternArabicIndicDigits), 114},
    {sipName_EraName, static_cast<int>(KLocale::EraName), 107},
    {sipName_EraYear, static_cast<int>(KLocale::EraYear), 107},
    {sipName_EthiopianCalendar, static_cast<int>(KLocale::EthiopianCalendar), 105},
    {sipName_FancyLongDate, static_cast<int>(KLocale::FancyLongDate), 106},
    {sipName_FancyShortDate, static_cast<int>(KLocale::FancyShortDate), 106},
    {sipName_FirstFullWeek, static_cast<int>(KLocale::FirstFullWeek), 123},
    {sipName_FirstPartialWeek, static_cast<int>(KLocale::FirstPartialWeek), 123},
    {sipName_GregorianCalendar, static_cast<int>(KLocale::GregorianCalendar), 105},
    {sipName_GujaratiDigits, static_cast<int>(KLocale::GujaratiDigits), 114},
    {sipName_GurmukhiDigits, static_cast<int>(KLocale::GurmukhiDigits), 114},
    {sipName_HebrewCalendar, static_cast<int>(KLocale::HebrewCalendar), 105},
    {sipName_Hour, static_cast<int>(KLocale::Hour), 107},
    {sipName_IECBinaryDialect, static_cast<int>(KLocale::IECBinaryDialect), 104},
    {sipName_Imperial, static_cast<int>(KLocale::Imperial), 115},
    {sipName_IndianNationalCalendar, static_cast<int>(KLocale::IndianNationalCalendar), 105},
    {sipName_IslamicCivilCalendar, static_cast<int>(KLocale::IslamicCivilCalendar), 105},
    {sipName_IsoDate, static_cast<int>(KLocale::IsoDate), 106},
    {sipName_IsoFormat, static_cast<int>(KLocale::IsoFormat), 116},
    {sipName_IsoOrdinalDate, static_cast<int>(KLocale::IsoOrdinalDate), 106},
    {sipName_IsoOrdinalFormat, static_cast<int>(KLocale::IsoOrdinalFormat), 116},
    {sipName_IsoWeekDate, static_cast<int>(KLocale::IsoWeekDate), 106},
    {sipName_IsoWeekFormat, static_cast<int>(KLocale::IsoWeekFormat), 116},
    {sipName_IsoWeekNumber, static_cast<int>(KLocale::IsoWeekNumber), 123},
    {sipName_JEDECBinaryDialect, static_cast<int>(KLocale::JEDECBinaryDialect), 104},
    {sipName_JalaliCalendar, static_cast<int>(KLocale::JalaliCalendar), 105},
    {sipName_JapaneseCalendar, static_cast<int>(KLocale::JapaneseCalendar), 105},
    {sipName_JulianCalendar, static_cast<int>(KLocale::JulianCalendar), 105},
    {sipName_JulianDay, static_cast<int>(KLocale::JulianDay), 107},
    {sipName_KannadaDigits, static_cast<int>(KLocale::KannadaDigits), 114},
    {sipName_KdeFormat, static_cast<int>(KLocale::KdeFormat), 112},
    {sipName_KhmerDigits, static_cast<int>(KLocale::KhmerDigits), 114},
    {sipName_LastBinaryDialect, static_cast<int>(KLocale::LastBinaryDialect), 104},
    {sipName_LiberalParsing, static_cast<int>(KLocale::LiberalParsing), 113},
    {sipName_LongDate, static_cast<int>(KLocale::LongDate), 106},
    {sipName_LongName, static_cast<int>(KLocale::LongName), 108},
    {sipName_LongNumber, static_cast<int>(KLocale::LongNumber), 108},
    {sipName_MalayalamDigits, static_cast<int>(KLocale::MalayalamDigits), 114},
    {sipName_Metric, static_cast<int>(KLocale::Metric), 115},
    {sipName_MetricBinaryDialect, static_cast<int>(KLocale::MetricBinaryDialect), 104},
    {sipName_Millisecond, static_cast<int>(KLocale::Millisecond), 107},
    {sipName_MinguoCalendar, static_cast<int>(KLocale::MinguoCalendar), 105},
    {sipName_Minute, static_cast<int>(KLocale::Minute), 107},
    {sipName_Month, static_cast<int>(KLocale::Month), 107},
    {sipName_MonthName, static_cast<int>(KLocale::MonthName), 107},
    {sipName_MonthsInYear, static_cast<int>(KLocale::MonthsInYear), 107},
    {sipName_NarrowName, static_cast<int>(KLocale::NarrowName), 108},
    {sipName_NormalFormat, static_cast<int>(KLocale::NormalFormat), 116},
    {sipName_OriyaDigits, static_cast<int>(KLocale::OriyaDigits), 114},
    {sipName_ParensAround, static_cast<int>(KLocale::ParensAround), 118},
    {sipName_PosixFormat, static_cast<int>(KLocale::PosixFormat), 112},
    {sipName_ProcessNonStrict, static_cast<int>(KLocale::ProcessNonStrict), 121},
    {sipName_ProcessStrict, static_cast<int>(KLocale::ProcessStrict), 121},
    {sipName_QDateCalendar, static_cast<int>(KLocale::QDateCalendar), 105},
    {sipName_Second, static_cast<int>(KLocale::Second), 107},
    {sipName_Seconds, static_cast<int>(KLocale::Seconds), 110},
    {sipName_ShortDate, static_cast<int>(KLocale::ShortDate), 106},
    {sipName_ShortFormat, static_cast<int>(KLocale::ShortFormat), 116},
    {sipName_ShortName, static_cast<int>(KLocale::ShortName), 108},
    {sipName_ShortNumber, static_cast<int>(KLocale::ShortNumber), 108},
    {sipName_SimpleWeek, static_cast<int>(KLocale::SimpleWeek), 123},
    {sipName_TamilDigits, static_cast<int>(KLocale::TamilDigits), 114},
    {sipName_TeluguDigits, static_cast<int>(KLocale::TeluguDigits), 114},
    {sipName_ThaiCalendar, static_cast<int>(KLocale::ThaiCalendar), 105},
    {sipName_ThaiDigits, static_cast<int>(KLocale::ThaiDigits), 114},
    {sipName_TimeDefault, static_cast<int>(KLocale::TimeDefault), 119},
    {sipName_TimeDuration, static_cast<int>(KLocale::TimeDuration), 119},
    {sipName_TimeFoldHours, static_cast<int>(KLocale::TimeFoldHours), 119},
    {sipName_TimeWithoutAmPm, static_cast<int>(KLocale::TimeWithoutAmPm), 119},
    {sipName_TimeWithoutSeconds, static_cast<int>(KLocale::TimeWithoutSeconds), 119},
    {sipName_TimeZone, static_cast<int>(KLocale::TimeZone), 110},
    {sipName_Timezone, static_cast<int>(KLocale::Timezone), 107},
    {sipName_TimezoneName, static_cast<int>(KLocale::TimezoneName), 107},
    {sipName_UnicodeFormat, static_cast<int>(KLocale::UnicodeFormat), 112},
    {sipName_UnitByte, static_cast<int>(KLocale::UnitByte), 103},
    {sipName_UnitExaByte, static_cast<int>(KLocale::UnitExaByte), 103},
    {sipName_UnitGigaByte, static_cast<int>(KLocale::UnitGigaByte), 103},
    {sipName_UnitKiloByte, static_cast<int>(KLocale::UnitKiloByte), 103},
    {sipName_UnitLastUnit, static_cast<int>(KLocale::UnitLastUnit), 103},
    {sipName_UnitMegaByte, static_cast<int>(KLocale::UnitMegaByte), 103},
    {sipName_UnitPetaByte, static_cast<int>(KLocale::UnitPetaByte), 103},
    {sipName_UnitTeraByte, static_cast<int>(KLocale::UnitTeraByte), 103},
    {sipName_UnitYottaByte, static_cast<int>(KLocale::UnitYottaByte), 103},
    {sipName_UnitZettaByte, static_cast<int>(KLocale::UnitZettaByte), 103},
    {sipName_UnixTime, static_cast<int>(KLocale::UnixTime), 107},
    {sipName_Week, static_cast<int>(KLocale::Week), 107},
    {sipName_WeekYear, static_cast<int>(KLocale::WeekYear), 107},
    {sipName_WeeksInYear, static_cast<int>(KLocale::WeeksInYear), 107},
    {sipName_WithSeconds, static_cast<int>(KLocale::WithSeconds), 117},
    {sipName_WithoutSeconds, static_cast<int>(KLocale::WithoutSeconds), 117},
    {sipName_Year, static_cast<int>(KLocale::Year), 107},
    {sipName_YearInEra, static_cast<int>(KLocale::YearInEra), 107},
    {sipName_YearName, static_cast<int>(KLocale::YearName), 107},
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KLocale = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KLocale,
        {0}
    },
    {
        sipNameNr_KLocale,
        {0, 0, 1},
        123, methods_KLocale,
        117, enummembers_KLocale,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KLocale,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KLocale,
    0,
    0,
    0,
    release_KLocale,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/klibrary.sip"
#include <klibrary.h>
#line 6129 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"

#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 6133 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 6136 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kcomponentdata.sip"
#include <kcomponentdata.h>
#line 6139 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kpluginfactory.sip"
#include <kpluginfactory.h>
#line 6142 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlibrary.sip"
#include <qlibrary.h>
#line 6145 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6148 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6151 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6154 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 6157 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 6160 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 6163 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6166 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 6169 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 6172 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 6175 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 6178 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"


class sipKLibrary : public KLibrary
{
public:
    sipKLibrary(QObject*);
    sipKLibrary(const QString&,const KComponentData&,QObject*);
    sipKLibrary(const QString&,int,const KComponentData&,QObject*);
    virtual ~sipKLibrary();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[7];
};

sipKLibrary::sipKLibrary(QObject*a0): KLibrary(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKLibrary::sipKLibrary(const QString& a0,const KComponentData& a1,QObject*a2): KLibrary(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKLibrary::sipKLibrary(const QString& a0,int a1,const KComponentData& a2,QObject*a3): KLibrary(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKLibrary::metaObject() const
{
    return sip_kdecore_qt_metaobject(sipPySelf,sipType_KLibrary);
}

int sipKLibrary::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KLibrary::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdecore_qt_metacall(sipPySelf,sipType_KLibrary,_c,_id,_a);

    return _id;
}

void *sipKLibrary::qt_metacast(const char *_clname)
{
    return (sip_kdecore_qt_metacast(sipPySelf, sipType_KLibrary, _clname)) ? this : KLibrary::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if (!sipMeth)
        return KLibrary::event(a0);

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

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


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

    {
        const char* a0 = 0;
        PyObject *a0Keep = 0;
        KLibrary *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|AA", &sipSelf, sipType_KLibrary, &sipCpp, &a0Keep, &a0))
        {
            KPluginFactory*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->factory(a0);
            Py_END_ALLOW_THREADS
            Py_XDECREF(a0Keep);

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

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

    return NULL;
}


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

    {
        const QString* a0;
        int a0State = 0;
        const KComponentData& a1def = KGlobal::mainComponent();
        const KComponentData* a1 = &a1def;
        KLibrary *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|J9", &sipSelf, sipType_KLibrary, &sipCpp, sipType_QString,&a0, &a0State, sipType_KComponentData, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFileName(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KLibrary *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KLibrary, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->unload();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KLibrary(void *, int);}
static void release_KLibrary(void *sipCppV,int)
{
    KLibrary *sipCpp = reinterpret_cast<KLibrary *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        QObject* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKLibrary(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const KComponentData& a1def = KGlobal::mainComponent();
        const KComponentData* a1 = &a1def;
        QObject* a2 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1|J9JH", sipType_QString,&a0, &a0State, sipType_KComponentData, &a1, sipType_QObject, &a2, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKLibrary(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        int a1;
        const KComponentData& a2def = KGlobal::mainComponent();
        const KComponentData* a2 = &a2def;
        QObject* a3 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1i|J9JH", sipType_QString,&a0, &a0State, &a1, sipType_KComponentData, &a2, sipType_QObject, &a3, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKLibrary(*a0,a1,*a2,a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KLibrary[] = {{86, 0, 1}};


static PyMethodDef methods_KLibrary[] = {
    {SIP_MLNAME_CAST(sipName_factory), meth_KLibrary_factory, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFileName), meth_KLibrary_setFileName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_unload), meth_KLibrary_unload, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KLibrary = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KLibrary,
        {0}
    },
    {
        sipNameNr_KLibrary,
        {0, 0, 1},
        3, methods_KLibrary,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KLibrary,
    0,
    init_type_KLibrary,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KLibrary,
    0,
    0,
    0,
    release_KLibrary,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KLibrary::staticMetaObject,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/klibloader.sip"
#include <klibloader.h>
#line 6626 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"

#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 6630 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kcomponentdata.sip"
#include <kcomponentdata.h>
#line 6633 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/klibrary.sip"
#include <klibrary.h>
#line 6636 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlibrary.sip"
#include <qlibrary.h>
#line 6639 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kpluginfactory.sip"
#include <kpluginfactory.h>
#line 6642 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6645 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6648 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6651 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 6654 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 6657 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 6660 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 6663 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6666 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 6669 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 6672 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 6675 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 6678 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"


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

    {
        const QString* a0;
        int a0State = 0;
        QLibrary::LoadHints a1def = 0;
        QLibrary::LoadHints* a1 = &a1def;
        int a1State = 0;
        KLibLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|J1", &sipSelf, sipType_KLibLoader, &sipCpp, sipType_QString,&a0, &a0State, sipType_QLibrary_LoadHints, &a1, &a1State))
        {
            KPluginFactory*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->factory(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a1,sipType_QLibrary_LoadHints,a1State);

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

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

    return NULL;
}


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

    {
        const QString* a0;
        int a0State = 0;
        QLibrary::LoadHints a1def = 0;
        QLibrary::LoadHints* a1 = &a1def;
        int a1State = 0;
        KLibLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|J1", &sipSelf, sipType_KLibLoader, &sipCpp, sipType_QString,&a0, &a0State, sipType_QLibrary_LoadHints, &a1, &a1State))
        {
            KLibrary*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->library(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a1,sipType_QLibrary_LoadHints,a1State);

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

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

    return NULL;
}


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

    {
        const KLibLoader *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->lastErrorMessage());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KLibLoader, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->unloadLibrary(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KLibLoader*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KLibLoader::self();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QString* a0;
        int a0State = 0;
        const KComponentData& a1def = KGlobal::mainComponent();
        const KComponentData* a1 = &a1def;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1|J9", sipType_QString,&a0, &a0State, sipType_KComponentData, &a1))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KLibLoader::findLibrary(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "i", &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KLibLoader::errorString(a0));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KLibLoader[] = {{141, 0, 1}};


static PyMethodDef methods_KLibLoader[] = {
    {SIP_MLNAME_CAST(sipName_errorString), meth_KLibLoader_errorString, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_factory), meth_KLibLoader_factory, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_findLibrary), meth_KLibLoader_findLibrary, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_lastErrorMessage), meth_KLibLoader_lastErrorMessage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_library), meth_KLibLoader_library, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_self), meth_KLibLoader_self, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_unloadLibrary), meth_KLibLoader_unloadLibrary, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KLibLoader[] = {
    {sipName_ErrNoComponent, static_cast<int>(KLibLoader::ErrNoComponent), 97},
    {sipName_ErrNoFactory, static_cast<int>(KLibLoader::ErrNoFactory), 97},
    {sipName_ErrNoLibrary, static_cast<int>(KLibLoader::ErrNoLibrary), 97},
    {sipName_ErrNoServiceFound, static_cast<int>(KLibLoader::ErrNoServiceFound), 97},
    {sipName_ErrServiceProvidesNoLibrary, static_cast<int>(KLibLoader::ErrServiceProvidesNoLibrary), 97},
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KLibLoader = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KLibLoader,
        {0}
    },
    {
        sipNameNr_KLibLoader,
        {0, 0, 1},
        7, methods_KLibLoader,
        5, enummembers_KLibLoader,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KLibLoader,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    release_KLibLoader,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KLibLoader::staticMetaObject,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kjobuidelegate.sip"
#include <kjobuidelegate.h>
#line 6973 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 6977 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 6980 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6983 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6986 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6989 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 6992 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 6995 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 6998 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 7001 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7004 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7007 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 7010 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 7013 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 7016 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"


class sipKJobUiDelegate : public KJobUiDelegate
{
public:
    sipKJobUiDelegate();
    virtual ~sipKJobUiDelegate();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void slotWarning(KJob*,const QString&,const QString&);
    void showErrorMessage();

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[9];
};

sipKJobUiDelegate::sipKJobUiDelegate(): KJobUiDelegate(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKJobUiDelegate::metaObject() const
{
    return sip_kdecore_qt_metaobject(sipPySelf,sipType_KJobUiDelegate);
}

int sipKJobUiDelegate::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KJobUiDelegate::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdecore_qt_metacall(sipPySelf,sipType_KJobUiDelegate,_c,_id,_a);

    return _id;
}

void *sipKJobUiDelegate::qt_metacast(const char *_clname)
{
    return (sip_kdecore_qt_metacast(sipPySelf, sipType_KJobUiDelegate, _clname)) ? this : KJobUiDelegate::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if (!sipMeth)
        return KJobUiDelegate::event(a0);

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

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

void sipKJobUiDelegate::slotWarning(KJob*a0,const QString& a1,const QString& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KJobUiDelegate::slotWarning(a0,a1,a2);
        return;
    }

    extern void sipVH_kdecore_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KJob*,const QString&,const QString&);

    sipVH_kdecore_23(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKJobUiDelegate::showErrorMessage()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KJobUiDelegate::showErrorMessage();
        return;
    }

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

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


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

    {
        KJobUiDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KJobUiDelegate, &sipCpp))
        {
            KJob*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->job();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KJobUiDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KJobUiDelegate, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KJobUiDelegate::showErrorMessage() : sipCpp->showErrorMessage());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        KJobUiDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KJobUiDelegate, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAutoErrorHandlingEnabled(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KJobUiDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KJobUiDelegate, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isAutoErrorHandlingEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        KJobUiDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KJobUiDelegate, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAutoWarningHandlingEnabled(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KJobUiDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KJobUiDelegate, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isAutoWarningHandlingEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KJob* a0;
        const QString* a1;
        int a1State = 0;
        const QString* a2;
        int a2State = 0;
        KJobUiDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8J1J1", &sipSelf, sipType_KJobUiDelegate, &sipCpp, sipType_KJob, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KJobUiDelegate::slotWarning(a0,*a1,*a2) : sipCpp->slotWarning(a0,*a1,*a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KJobUiDelegate(void *, int);}
static void release_KJobUiDelegate(void *sipCppV,int)
{
    KJobUiDelegate *sipCpp = reinterpret_cast<KJobUiDelegate *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKJobUiDelegate();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KJobUiDelegate[] = {{141, 0, 1}};


static PyMethodDef methods_KJobUiDelegate[] = {
    {SIP_MLNAME_CAST(sipName_isAutoErrorHandlingEnabled), meth_KJobUiDelegate_isAutoErrorHandlingEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isAutoWarningHandlingEnabled), meth_KJobUiDelegate_isAutoWarningHandlingEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_job), meth_KJobUiDelegate_job, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAutoErrorHandlingEnabled), meth_KJobUiDelegate_setAutoErrorHandlingEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAutoWarningHandlingEnabled), meth_KJobUiDelegate_setAutoWarningHandlingEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showErrorMessage), meth_KJobUiDelegate_showErrorMessage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotWarning), meth_KJobUiDelegate_slotWarning, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KJobUiDelegate = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KJobUiDelegate,
        {0}
    },
    {
        sipNameNr_KJobUiDelegate,
        {0, 0, 1},
        7, methods_KJobUiDelegate,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KJobUiDelegate,
    0,
    init_type_KJobUiDelegate,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KJobUiDelegate,
    0,
    0,
    0,
    release_KJobUiDelegate,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KJobUiDelegate::staticMetaObject,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kjobtrackerinterface.sip"
#include <kjobtrackerinterface.h>
#line 7559 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"

#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 7563 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 7566 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 7569 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 589 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <qpair.h>
#line 7572 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 72 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 7575 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7578 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7581 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7584 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 7587 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7590 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 7593 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7596 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7599 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 7602 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 7605 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 7608 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"


class sipKJobTrackerInterface : public KJobTrackerInterface
{
public:
    sipKJobTrackerInterface(QObject*);
    virtual ~sipKJobTrackerInterface();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void speed(KJob*,unsigned long);
    void percent(KJob*,unsigned long);
    void processedAmount(KJob*,KJob::Unit,qulonglong);
    void totalAmount(KJob*,KJob::Unit,qulonglong);
    void warning(KJob*,const QString&,const QString&);
    void infoMessage(KJob*,const QString&,const QString&);
    void description(KJob*,const QString&,const QPair<QString,QString>&,const QPair<QString,QString>&);
    void resumed(KJob*);
    void suspended(KJob*);
    void finished(KJob*);
    void unregisterJob(KJob*);
    void registerJob(KJob*);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[19];
};

sipKJobTrackerInterface::sipKJobTrackerInterface(QObject*a0): KJobTrackerInterface(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKJobTrackerInterface::metaObject() const
{
    return sip_kdecore_qt_metaobject(sipPySelf,sipType_KJobTrackerInterface);
}

int sipKJobTrackerInterface::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KJobTrackerInterface::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdecore_qt_metacall(sipPySelf,sipType_KJobTrackerInterface,_c,_id,_a);

    return _id;
}

void *sipKJobTrackerInterface::qt_metacast(const char *_clname)
{
    return (sip_kdecore_qt_metacast(sipPySelf, sipType_KJobTrackerInterface, _clname)) ? this : KJobTrackerInterface::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if (!sipMeth)
        return KJobTrackerInterface::event(a0);

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

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

void sipKJobTrackerInterface::speed(KJob*a0,unsigned long a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KJobTrackerInterface::speed(a0,a1);
        return;
    }

    extern void sipVH_kdecore_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KJob*,unsigned long);

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

void sipKJobTrackerInterface::percent(KJob*a0,unsigned long a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KJobTrackerInterface::percent(a0,a1);
        return;
    }

    extern void sipVH_kdecore_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KJob*,unsigned long);

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

void sipKJobTrackerInterface::processedAmount(KJob*a0,KJob::Unit a1,qulonglong a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KJobTrackerInterface::processedAmount(a0,a1,a2);
        return;
    }

    extern void sipVH_kdecore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KJob*,KJob::Unit,unsigned PY_LONG_LONG);

    sipVH_kdecore_25(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKJobTrackerInterface::totalAmount(KJob*a0,KJob::Unit a1,qulonglong a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KJobTrackerInterface::totalAmount(a0,a1,a2);
        return;
    }

    extern void sipVH_kdecore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KJob*,KJob::Unit,unsigned PY_LONG_LONG);

    sipVH_kdecore_25(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKJobTrackerInterface::warning(KJob*a0,const QString& a1,const QString& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_warning);

    if (!sipMeth)
    {
        KJobTrackerInterface::warning(a0,a1,a2);
        return;
    }

    extern void sipVH_kdecore_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KJob*,const QString&,const QString&);

    sipVH_kdecore_23(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKJobTrackerInterface::infoMessage(KJob*a0,const QString& a1,const QString& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_infoMessage);

    if (!sipMeth)
    {
        KJobTrackerInterface::infoMessage(a0,a1,a2);
        return;
    }

    extern void sipVH_kdecore_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KJob*,const QString&,const QString&);

    sipVH_kdecore_23(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKJobTrackerInterface::description(KJob*a0,const QString& a1,const QPair<QString,QString>& a2,const QPair<QString,QString>& a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KJobTrackerInterface::description(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_kdecore_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KJob*,const QString&,const QPair<QString,QString>&,const QPair<QString,QString>&);

    sipVH_kdecore_26(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipKJobTrackerInterface::resumed(KJob*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_resumed);

    if (!sipMeth)
    {
        KJobTrackerInterface::resumed(a0);
        return;
    }

    extern void sipVH_kdecore_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KJob*);

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

void sipKJobTrackerInterface::suspended(KJob*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_suspended);

    if (!sipMeth)
    {
        KJobTrackerInterface::suspended(a0);
        return;
    }

    extern void sipVH_kdecore_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KJob*);

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

void sipKJobTrackerInterface::finished(KJob*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_finished);

    if (!sipMeth)
    {
        KJobTrackerInterface::finished(a0);
        return;
    }

    extern void sipVH_kdecore_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KJob*);

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

void sipKJobTrackerInterface::unregisterJob(KJob*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KJobTrackerInterface::unregisterJob(a0);
        return;
    }

    extern void sipVH_kdecore_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KJob*);

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

void sipKJobTrackerInterface::registerJob(KJob*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KJobTrackerInterface::registerJob(a0);
        return;
    }

    extern void sipVH_kdecore_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KJob*);

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


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

    {
        KJob* a0;
        KJobTrackerInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KJobTrackerInterface, &sipCpp, sipType_KJob, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KJobTrackerInterface::registerJob(a0) : sipCpp->registerJob(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KJob* a0;
        KJobTrackerInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KJobTrackerInterface, &sipCpp, sipType_KJob, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KJobTrackerInterface::unregisterJob(a0) : sipCpp->unregisterJob(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KJob* a0;
        KJobTrackerInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KJobTrackerInterface, &sipCpp, sipType_KJob, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KJobTrackerInterface::finished(a0) : sipCpp->finished(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KJob* a0;
        KJobTrackerInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KJobTrackerInterface, &sipCpp, sipType_KJob, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KJobTrackerInterface::suspended(a0) : sipCpp->suspended(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KJob* a0;
        KJobTrackerInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KJobTrackerInterface, &sipCpp, sipType_KJob, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KJobTrackerInterface::resumed(a0) : sipCpp->resumed(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KJob* a0;
        const QString* a1;
        int a1State = 0;
        const QPair<QString,QString>* a2;
        int a2State = 0;
        const QPair<QString,QString>* a3;
        int a3State = 0;
        KJobTrackerInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8J1J1J1", &sipSelf, sipType_KJobTrackerInterface, &sipCpp, sipType_KJob, &a0, sipType_QString,&a1, &a1State, sipType_QPair_0100QString_0100QString,&a2, &a2State, sipType_QPair_0100QString_0100QString,&a3, &a3State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KJobTrackerInterface::description(a0,*a1,*a2,*a3) : sipCpp->description(a0,*a1,*a2,*a3));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QPair<QString,QString> *>(a2),sipType_QPair_0100QString_0100QString,a2State);
            sipReleaseType(const_cast<QPair<QString,QString> *>(a3),sipType_QPair_0100QString_0100QString,a3State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KJob* a0;
        const QString* a1;
        int a1State = 0;
        const QString* a2;
        int a2State = 0;
        KJobTrackerInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8J1J1", &sipSelf, sipType_KJobTrackerInterface, &sipCpp, sipType_KJob, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KJobTrackerInterface::infoMessage(a0,*a1,*a2) : sipCpp->infoMessage(a0,*a1,*a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KJob* a0;
        const QString* a1;
        int a1State = 0;
        const QString* a2;
        int a2State = 0;
        KJobTrackerInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8J1J1", &sipSelf, sipType_KJobTrackerInterface, &sipCpp, sipType_KJob, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KJobTrackerInterface::warning(a0,*a1,*a2) : sipCpp->warning(a0,*a1,*a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KJob* a0;
        KJob::Unit a1;
        qulonglong a2;
        KJobTrackerInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8Eo", &sipSelf, sipType_KJobTrackerInterface, &sipCpp, sipType_KJob, &a0, sipType_KJob_Unit, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KJobTrackerInterface::totalAmount(a0,a1,a2) : sipCpp->totalAmount(a0,a1,a2));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KJob* a0;
        KJob::Unit a1;
        qulonglong a2;
        KJobTrackerInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8Eo", &sipSelf, sipType_KJobTrackerInterface, &sipCpp, sipType_KJob, &a0, sipType_KJob_Unit, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KJobTrackerInterface::processedAmount(a0,a1,a2) : sipCpp->processedAmount(a0,a1,a2));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KJob* a0;
        unsigned long a1;
        KJobTrackerInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8m", &sipSelf, sipType_KJobTrackerInterface, &sipCpp, sipType_KJob, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KJobTrackerInterface::percent(a0,a1) : sipCpp->percent(a0,a1));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KJob* a0;
        unsigned long a1;
        KJobTrackerInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8m", &sipSelf, sipType_KJobTrackerInterface, &sipCpp, sipType_KJob, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KJobTrackerInterface::speed(a0,a1) : sipCpp->speed(a0,a1));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KJobTrackerInterface(void *, int);}
static void release_KJobTrackerInterface(void *sipCppV,int)
{
    KJobTrackerInterface *sipCpp = reinterpret_cast<KJobTrackerInterface *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        QObject* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKJobTrackerInterface(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KJobTrackerInterface[] = {{141, 0, 1}};


static PyMethodDef methods_KJobTrackerInterface[] = {
    {SIP_MLNAME_CAST(sipName_description), meth_KJobTrackerInterface_description, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_finished), meth_KJobTrackerInterface_finished, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_infoMessage), meth_KJobTrackerInterface_infoMessage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_percent), meth_KJobTrackerInterface_percent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_processedAmount), meth_KJobTrackerInterface_processedAmount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_registerJob), meth_KJobTrackerInterface_registerJob, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resumed), meth_KJobTrackerInterface_resumed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_speed), meth_KJobTrackerInterface_speed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_suspended), meth_KJobTrackerInterface_suspended, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_totalAmount), meth_KJobTrackerInterface_totalAmount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_unregisterJob), meth_KJobTrackerInterface_unregisterJob, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_warning), meth_KJobTrackerInterface_warning, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KJobTrackerInterface = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KJobTrackerInterface,
        {0}
    },
    {
        sipNameNr_KJobTrackerInterface,
        {0, 0, 1},
        12, methods_KJobTrackerInterface,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KJobTrackerInterface,
    0,
    init_type_KJobTrackerInterface,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KJobTrackerInterface,
    0,
    0,
    0,
    release_KJobTrackerInterface,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KJobTrackerInterface::staticMetaObject,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 8515 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 8519 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"


extern "C" {static int slot_KJob_Capabilities___bool__(PyObject *);}
static int slot_KJob_Capabilities___bool__(PyObject *sipSelf)
{
    KJob::Capabilities *sipCpp = reinterpret_cast<KJob::Capabilities *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KJob_Capabilities));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 389 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KJob::Capabilities::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 8541 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KJob_Capabilities___ne__(PyObject *,PyObject *);}
static PyObject *slot_KJob_Capabilities___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KJob::Capabilities *sipCpp = reinterpret_cast<KJob::Capabilities *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KJob_Capabilities));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KJob::Capabilities* a0;
        int a0State = 0;

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

#line 380 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KJob::Capabilities::Int() != a0->operator KJob::Capabilities::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 8575 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
            sipReleaseType(const_cast<KJob::Capabilities *>(a0),sipType_KJob_Capabilities,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_KJob_Capabilities___eq__(PyObject *,PyObject *);}
static PyObject *slot_KJob_Capabilities___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KJob::Capabilities *sipCpp = reinterpret_cast<KJob::Capabilities *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KJob_Capabilities));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KJob::Capabilities* a0;
        int a0State = 0;

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

#line 371 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KJob::Capabilities::Int() == a0->operator KJob::Capabilities::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 8615 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
            sipReleaseType(const_cast<KJob::Capabilities *>(a0),sipType_KJob_Capabilities,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_KJob_Capabilities___invert__(PyObject *);}
static PyObject *slot_KJob_Capabilities___invert__(PyObject *sipSelf)
{
    KJob::Capabilities *sipCpp = reinterpret_cast<KJob::Capabilities *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KJob_Capabilities));

    if (!sipCpp)
        return 0;


    {
        {
            KJob::Capabilities*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KJob::Capabilities(~(*sipCpp));
            Py_END_ALLOW_THREADS

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

    return 0;
}


extern "C" {static PyObject *slot_KJob_Capabilities___and__(PyObject *,PyObject *);}
static PyObject *slot_KJob_Capabilities___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KJob::Capabilities* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KJob_Capabilities, &a0, &a0State, &a1))
        {
            KJob::Capabilities*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KJob::Capabilities((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KJob_Capabilities,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_KJob_Capabilities___xor__(PyObject *,PyObject *);}
static PyObject *slot_KJob_Capabilities___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KJob::Capabilities* a0;
        int a0State = 0;
        KJob::Capabilities* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KJob_Capabilities, &a0, &a0State, sipType_KJob_Capabilities, &a1, &a1State))
        {
            KJob::Capabilities*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KJob::Capabilities((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KJob_Capabilities,a0State);
            sipReleaseType(a1,sipType_KJob_Capabilities,a1State);

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

    {
        KJob::Capabilities* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KJob_Capabilities, &a0, &a0State, &a1))
        {
            KJob::Capabilities*sipRes = 0;

#line 365 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KJob::Capabilities(*a0 ^ a1);
#line 8724 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
            sipReleaseType(a0,sipType_KJob_Capabilities,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_KJob_Capabilities___or__(PyObject *,PyObject *);}
static PyObject *slot_KJob_Capabilities___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KJob::Capabilities* a0;
        int a0State = 0;
        KJob::Capabilities* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KJob_Capabilities, &a0, &a0State, sipType_KJob_Capabilities, &a1, &a1State))
        {
            KJob::Capabilities*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KJob::Capabilities((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KJob_Capabilities,a0State);
            sipReleaseType(a1,sipType_KJob_Capabilities,a1State);

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

    {
        KJob::Capabilities* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KJob_Capabilities, &a0, &a0State, &a1))
        {
            KJob::Capabilities*sipRes = 0;

#line 360 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KJob::Capabilities(*a0 | a1);
#line 8776 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
            sipReleaseType(a0,sipType_KJob_Capabilities,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_KJob_Capabilities___int__(PyObject *);}
static PyObject *slot_KJob_Capabilities___int__(PyObject *sipSelf)
{
    KJob::Capabilities *sipCpp = reinterpret_cast<KJob::Capabilities *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KJob_Capabilities));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KJob_Capabilities___ixor__(PyObject *,PyObject *);}
static PyObject *slot_KJob_Capabilities___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KJob_Capabilities)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KJob::Capabilities *sipCpp = reinterpret_cast<KJob::Capabilities *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KJob_Capabilities));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KJob::Capabilities* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KJob_Capabilities, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KJob::Capabilities::operator^=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KJob_Capabilities,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KJob_Capabilities___ior__(PyObject *,PyObject *);}
static PyObject *slot_KJob_Capabilities___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KJob_Capabilities)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KJob::Capabilities *sipCpp = reinterpret_cast<KJob::Capabilities *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KJob_Capabilities));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KJob::Capabilities* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KJob_Capabilities, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KJob::Capabilities::operator|=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KJob_Capabilities,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KJob_Capabilities___iand__(PyObject *,PyObject *);}
static PyObject *slot_KJob_Capabilities___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KJob_Capabilities)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KJob::Capabilities *sipCpp = reinterpret_cast<KJob::Capabilities *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KJob_Capabilities));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KJob::Capabilities::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    delete reinterpret_cast<KJob::Capabilities *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KJob_Capabilities(void *, SIP_SSIZE_T, const void *);}
static void assign_KJob_Capabilities(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KJob::Capabilities *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KJob::Capabilities *>(sipSrc);
}


extern "C" {static void *array_KJob_Capabilities(SIP_SSIZE_T);}
static void *array_KJob_Capabilities(SIP_SSIZE_T sipNrElem)
{
    return new KJob::Capabilities[sipNrElem];
}


extern "C" {static void *copy_KJob_Capabilities(const void *, SIP_SSIZE_T);}
static void *copy_KJob_Capabilities(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KJob::Capabilities(reinterpret_cast<const KJob::Capabilities *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KJob_Capabilities(sipSimpleWrapper *);}
static void dealloc_KJob_Capabilities(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KJob_Capabilities(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_KJob_Capabilities(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KJob_Capabilities(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KJob::Capabilities *sipCpp = 0;

    {
        const KJob::Capabilities* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_KJob_Capabilities, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KJob::Capabilities(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<KJob::Capabilities *>(a0),sipType_KJob_Capabilities,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KJob::Capabilities(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KJob::Capabilities();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_KJob_Capabilities(PyObject *, void **, int *, PyObject *);}
static int convertTo_KJob_Capabilities(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    KJob::Capabilities **sipCppPtr = reinterpret_cast<KJob::Capabilities **>(sipCppPtrV);

#line 398 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KJob::Capabilities is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KJob_Capability)) ||
            sipCanConvertToType(sipPy, sipType_KJob_Capabilities, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KJob_Capability)))
{
    *sipCppPtr = new KJob::Capabilities(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KJob::Capabilities *>(sipConvertToType(sipPy, sipType_KJob_Capabilities, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 9060 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KJob_Capabilities[] = {
    {(void *)slot_KJob_Capabilities___bool__, bool_slot},
    {(void *)slot_KJob_Capabilities___ne__, ne_slot},
    {(void *)slot_KJob_Capabilities___eq__, eq_slot},
    {(void *)slot_KJob_Capabilities___invert__, invert_slot},
    {(void *)slot_KJob_Capabilities___and__, and_slot},
    {(void *)slot_KJob_Capabilities___xor__, xor_slot},
    {(void *)slot_KJob_Capabilities___or__, or_slot},
    {(void *)slot_KJob_Capabilities___int__, int_slot},
    {(void *)slot_KJob_Capabilities___ixor__, ixor_slot},
    {(void *)slot_KJob_Capabilities___ior__, ior_slot},
    {(void *)slot_KJob_Capabilities___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KJob_Capabilities = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KJob__Capabilities,
        {0}
    },
    {
        sipNameNr_Capabilities,
        {89, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    slots_KJob_Capabilities,
    init_type_KJob_Capabilities,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KJob_Capabilities,
    assign_KJob_Capabilities,
    array_KJob_Capabilities,
    copy_KJob_Capabilities,
    release_KJob_Capabilities,
    0,
    convertTo_KJob_Capabilities,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0
};

#line 70 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kglobal.sip"
#include <kglobal.h>
#line 9136 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"

#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 9140 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"


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

    delete reinterpret_cast<KCatalogLoader *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KCatalogLoader(sipSimpleWrapper *);}
static void dealloc_KCatalogLoader(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KCatalogLoader(sipGetAddress(sipSelf),0);
    }
}


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

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KCatalogLoader(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipCpp;
        }
    }

    {
        const KCatalogLoader* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_KCatalogLoader, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KCatalogLoader(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


pyqt4ClassTypeDef sipTypeDef_kdecore_KCatalogLoader = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCatalogLoader,
        {0}
    },
    {
        sipNameNr_KCatalogLoader,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KCatalogLoader,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCatalogLoader,
    0,
    0,
    0,
    release_KCatalogLoader,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kfilterdev.sip"
#include <kfilterdev.h>
#line 9257 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kfilterbase.sip"
#include <kfilterbase.h>
#line 9261 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 9264 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 9267 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 9270 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 9273 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9276 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9279 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9282 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 9285 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 9288 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 9291 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9294 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 9297 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 9300 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 9303 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 9306 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"


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

    {
        QIODevice::OpenMode* a0;
        int a0State = 0;
        KFilterDev *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KFilterDev::open(*a0) : sipCpp->open(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QIODevice_OpenMode,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KFilterDev *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFilterDev, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFilterDev::close() : sipCpp->close());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KFilterDev, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setOrigFileName(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KFilterDev *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFilterDev, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSkipHeaders();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        qint64 a0;
        KFilterDev *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KFilterDev::seek(a0) : sipCpp->seek(a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KFilterDev *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFilterDev, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KFilterDev::atEnd() : sipCpp->atEnd());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "J1|J1b", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, &a2))
        {
            QIODevice*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFilterDev::deviceForFile(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

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

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

    return NULL;
}


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

    {
        QIODevice* a0;
        const QString* a1;
        int a1State = 0;
        bool a2 = 1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8J1|b", sipType_QIODevice, &a0, sipType_QString,&a1, &a1State, &a2))
        {
            QIODevice*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFilterDev::device(a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

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

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

    return NULL;
}


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

    {
        char* a0;
        PyObject *a0Keep;
        qint64 a1;
        KFilterDev *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pAAn", &sipSelf, sipType_KFilterDev, &sipCpp, &a0Keep, &a0, &a1))
        {
            qint64 sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KFilterDev::readData(a0,a1) : sipCpp->readData(a0,a1));
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);

            return PyLong_FromLongLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const char* a0;
        PyObject *a0Keep;
        qint64 a1;
        KFilterDev *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pAAn", &sipSelf, sipType_KFilterDev, &sipCpp, &a0Keep, &a0, &a1))
        {
            qint64 sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KFilterDev::writeData(a0,a1) : sipCpp->writeData(a0,a1));
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);

            return PyLong_FromLongLong(sipRes);
        }
    }

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

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KFilterDev(void *, int);}
static void release_KFilterDev(void *sipCppV,int)
{
    KFilterDev *sipCpp = reinterpret_cast<KFilterDev *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KFilterDev(sipSimpleWrapper *);}
static void dealloc_KFilterDev(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KFilterDev(sipGetAddress(sipSelf),0);
    }
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KFilterDev[] = {{81, 0, 1}};


static PyMethodDef methods_KFilterDev[] = {
    {SIP_MLNAME_CAST(sipName_atEnd), meth_KFilterDev_atEnd, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_close), meth_KFilterDev_close, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_device), meth_KFilterDev_device, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deviceForFile), meth_KFilterDev_deviceForFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_open), meth_KFilterDev_open, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readData), meth_KFilterDev_readData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_seek), meth_KFilterDev_seek, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOrigFileName), meth_KFilterDev_setOrigFileName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSkipHeaders), meth_KFilterDev_setSkipHeaders, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeData), meth_KFilterDev_writeData, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KFilterDev = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFilterDev,
        {0}
    },
    {
        sipNameNr_KFilterDev,
        {0, 0, 1},
        10, methods_KFilterDev,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KFilterDev,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFilterDev,
    0,
    0,
    0,
    release_KFilterDev,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KFilterDev::staticMetaObject,
    0,
    0
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kfilterbase.sip"
#include <kfilterbase.h>
#line 9708 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"

#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 9712 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 9715 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 9718 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"


class sipKFilterBase : public KFilterBase
{
public:
    sipKFilterBase();
    virtual ~sipKFilterBase();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    KFilterBase::Result compress(bool);
    KFilterBase::Result uncompress();
    int outBufferAvailable() const;
    bool outBufferFull() const;
    int inBufferAvailable() const;
    bool inBufferEmpty() const;
    void setInBuffer(const char*,uint);
    void setOutBuffer(char*,uint);
    bool writeHeader(const QByteArray&);
    bool readHeader();
    void reset();
    void terminate();
    int mode() const;
    void init(int);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[14];
};

sipKFilterBase::sipKFilterBase(): KFilterBase(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

KFilterBase::Result sipKFilterBase::compress(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_KFilterBase,sipName_compress);

    if (!sipMeth)
        return (KFilterBase::Result)0;

    extern KFilterBase::Result sipVH_kdecore_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

KFilterBase::Result sipKFilterBase::uncompress()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,sipName_KFilterBase,sipName_uncompress);

    if (!sipMeth)
        return (KFilterBase::Result)0;

    extern KFilterBase::Result sipVH_kdecore_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

int sipKFilterBase::outBufferAvailable() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return 0;

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kdecore_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKFilterBase::outBufferFull() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KFilterBase::outBufferFull();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_kdecore_QtCore->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKFilterBase::inBufferAvailable() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return 0;

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kdecore_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKFilterBase::inBufferEmpty() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KFilterBase::inBufferEmpty();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_kdecore_QtCore->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFilterBase::setInBuffer(const char*a0,uint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,sipName_KFilterBase,sipName_setInBuffer);

    if (!sipMeth)
        return;

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

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

void sipKFilterBase::setOutBuffer(char*a0,uint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,sipName_KFilterBase,sipName_setOutBuffer);

    if (!sipMeth)
        return;

    extern void sipVH_kdecore_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, char*,uint);

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

bool sipKFilterBase::writeHeader(const QByteArray& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,sipName_KFilterBase,sipName_writeHeader);

    if (!sipMeth)
        return 0;

    extern bool sipVH_kdecore_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&);

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

bool sipKFilterBase::readHeader()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,sipName_KFilterBase,sipName_readHeader);

    if (!sipMeth)
        return 0;

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_kdecore_QtCore->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFilterBase::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFilterBase::reset();
        return;
    }

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

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

void sipKFilterBase::terminate()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_terminate);

    if (!sipMeth)
    {
        KFilterBase::terminate();
        return;
    }

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

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

int sipKFilterBase::mode() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return 0;

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kdecore_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFilterBase::init(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,sipName_KFilterBase,sipName_init);

    if (!sipMeth)
        return;

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

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


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

    {
        QIODevice* a0;
        bool a1 = 0;
        KFilterBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8|b", &sipSelf, sipType_KFilterBase, &sipCpp, sipType_QIODevice, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDevice(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KFilterBase *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->device();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        int a0;
        KFilterBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KFilterBase, &sipCpp, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KFilterBase, sipName_init);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->init(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KFilterBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFilterBase, &sipCpp))
        {
            int sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KFilterBase, sipName_mode);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->mode();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KFilterBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFilterBase, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFilterBase::terminate() : sipCpp->terminate());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KFilterBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFilterBase, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFilterBase::reset() : sipCpp->reset());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KFilterBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFilterBase, &sipCpp))
        {
            bool sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KFilterBase, sipName_readHeader);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->readHeader();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KFilterBase, sipName_writeHeader);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->writeHeader(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        char* a0;
        PyObject *a0Keep;
        uint a1;
        KFilterBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAAu", &sipSelf, sipType_KFilterBase, &sipCpp, &a0Keep, &a0, &a1))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KFilterBase, sipName_setOutBuffer);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setOutBuffer(a0,a1);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const char* a0;
        PyObject *a0Keep;
        uint a1;
        KFilterBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAAu", &sipSelf, sipType_KFilterBase, &sipCpp, &a0Keep, &a0, &a1))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KFilterBase, sipName_setInBuffer);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setInBuffer(a0,a1);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KFilterBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFilterBase, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KFilterBase::inBufferEmpty() : sipCpp->inBufferEmpty());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KFilterBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFilterBase, &sipCpp))
        {
            int sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KFilterBase, sipName_inBufferAvailable);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->inBufferAvailable();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KFilterBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFilterBase, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KFilterBase::outBufferFull() : sipCpp->outBufferFull());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KFilterBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFilterBase, &sipCpp))
        {
            int sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KFilterBase, sipName_outBufferAvailable);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->outBufferAvailable();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KFilterBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFilterBase, &sipCpp))
        {
            KFilterBase::Result sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KFilterBase, sipName_uncompress);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->uncompress();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KFilterBase_Result);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        KFilterBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KFilterBase, &sipCpp, &a0))
        {
            KFilterBase::Result sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KFilterBase, sipName_compress);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->compress(a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KFilterBase_Result);
        }
    }

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

    return NULL;
}


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

    {
        KFilterBase::FilterFlags a0;
        KFilterBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KFilterBase, &sipCpp, sipType_KFilterBase_FilterFlags, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFilterFlags(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KFilterBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFilterBase, &sipCpp))
        {
            KFilterBase::FilterFlags sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->filterFlags();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KFilterBase_FilterFlags);
        }
    }

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

    return NULL;
}


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

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            KFilterBase*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFilterBase::findFilterByFileName(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            KFilterBase*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFilterBase::findFilterByMimeType(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKFilterBase *>(sipCppV);
    else
        delete reinterpret_cast<KFilterBase *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKFilterBase();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KFilterBase[] = {
    {SIP_MLNAME_CAST(sipName_compress), meth_KFilterBase_compress, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_device), meth_KFilterBase_device, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_filterFlags), meth_KFilterBase_filterFlags, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_findFilterByFileName), meth_KFilterBase_findFilterByFileName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_findFilterByMimeType), meth_KFilterBase_findFilterByMimeType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inBufferAvailable), meth_KFilterBase_inBufferAvailable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inBufferEmpty), meth_KFilterBase_inBufferEmpty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_init), meth_KFilterBase_init, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mode), meth_KFilterBase_mode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_outBufferAvailable), meth_KFilterBase_outBufferAvailable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_outBufferFull), meth_KFilterBase_outBufferFull, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readHeader), meth_KFilterBase_readHeader, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_reset), meth_KFilterBase_reset, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDevice), meth_KFilterBase_setDevice, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFilterFlags), meth_KFilterBase_setFilterFlags, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setInBuffer), meth_KFilterBase_setInBuffer, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOutBuffer), meth_KFilterBase_setOutBuffer, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_terminate), meth_KFilterBase_terminate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_uncompress), meth_KFilterBase_uncompress, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeHeader), meth_KFilterBase_writeHeader, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KFilterBase[] = {
    {sipName_End, static_cast<int>(KFilterBase::End), 85},
    {sipName_Error, static_cast<int>(KFilterBase::Error), 85},
    {sipName_NoHeaders, static_cast<int>(KFilterBase::NoHeaders), 84},
    {sipName_Ok, static_cast<int>(KFilterBase::Ok), 85},
    {sipName_WithHeaders, static_cast<int>(KFilterBase::WithHeaders), 84},
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KFilterBase = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_KFilterBase,
        {0}
    },
    {
        sipNameNr_KFilterBase,
        {0, 0, 1},
        20, methods_KFilterBase,
        5, enummembers_KFilterBase,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KFilterBase,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFilterBase,
    0,
    0,
    0,
    release_KFilterBase,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kexportplugin.sip"
#include <kexportplugin.h>
#line 10748 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"



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

    delete reinterpret_cast<KDEPluginVerificationData *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KDEPluginVerificationData(void *, SIP_SSIZE_T, const void *);}
static void assign_KDEPluginVerificationData(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KDEPluginVerificationData *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KDEPluginVerificationData *>(sipSrc);
}


extern "C" {static void *array_KDEPluginVerificationData(SIP_SSIZE_T);}
static void *array_KDEPluginVerificationData(SIP_SSIZE_T sipNrElem)
{
    return new KDEPluginVerificationData[sipNrElem];
}


extern "C" {static void *copy_KDEPluginVerificationData(const void *, SIP_SSIZE_T);}
static void *copy_KDEPluginVerificationData(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KDEPluginVerificationData(reinterpret_cast<const KDEPluginVerificationData *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KDEPluginVerificationData(sipSimpleWrapper *);}
static void dealloc_KDEPluginVerificationData(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KDEPluginVerificationData(sipGetAddress(sipSelf),0);
    }
}


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

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KDEPluginVerificationData();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const KDEPluginVerificationData* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_KDEPluginVerificationData, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KDEPluginVerificationData(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}

static sipEnumMemberDef enummembers_KDEPluginVerificationData[] = {
    {sipName_PluginVerificationDataVersion, static_cast<int>(KDEPluginVerificationData::PluginVerificationDataVersion), -1},
};


extern "C" {static PyObject *varget_KDEPluginVerificationData_KDEVersion(void *, PyObject *, PyObject *);}
static PyObject *varget_KDEPluginVerificationData_KDEVersion(void *sipSelf, PyObject *, PyObject *)
{
    quint32 sipVal;
    KDEPluginVerificationData *sipCpp = reinterpret_cast<KDEPluginVerificationData *>(sipSelf);

    sipVal = sipCpp->KDEVersion;

    return PyLong_FromUnsignedLong(sipVal);
}


extern "C" {static int varset_KDEPluginVerificationData_KDEVersion(void *, PyObject *, PyObject *);}
static int varset_KDEPluginVerificationData_KDEVersion(void *sipSelf, PyObject *sipPy, PyObject *)
{
    quint32 sipVal;
    KDEPluginVerificationData *sipCpp = reinterpret_cast<KDEPluginVerificationData *>(sipSelf);

    sipVal = (uint)sipLong_AsUnsignedLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->KDEVersion = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_KDEPluginVerificationData_KDEVersionString(void *, PyObject *, PyObject *);}
static PyObject *varget_KDEPluginVerificationData_KDEVersionString(void *sipSelf, PyObject *, PyObject *)
{
    const char*sipVal;
    KDEPluginVerificationData *sipCpp = reinterpret_cast<KDEPluginVerificationData *>(sipSelf);

    sipVal = sipCpp->KDEVersionString;

    if (sipVal == NULL)
    {
        Py_INCREF(Py_None);
        return Py_None;
    }

    return PyUnicode_DecodeASCII(sipVal, strlen(sipVal), NULL);
}


extern "C" {static int varset_KDEPluginVerificationData_KDEVersionString(void *, PyObject *, PyObject *);}
static int varset_KDEPluginVerificationData_KDEVersionString(void *sipSelf, PyObject *sipPy, PyObject *sipPySelf)
{
    const char*sipVal;
    KDEPluginVerificationData *sipCpp = reinterpret_cast<KDEPluginVerificationData *>(sipSelf);

    sipVal = sipString_AsASCIIString(&sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->KDEVersionString = sipVal;

    sipKeepReference(sipPySelf, -2, sipPy);

    return 0;
}


extern "C" {static PyObject *varget_KDEPluginVerificationData_dataVersion(void *, PyObject *, PyObject *);}
static PyObject *varget_KDEPluginVerificationData_dataVersion(void *sipSelf, PyObject *, PyObject *)
{
    quint8 sipVal;
    KDEPluginVerificationData *sipCpp = reinterpret_cast<KDEPluginVerificationData *>(sipSelf);

    sipVal = sipCpp->dataVersion;

    return SIPBytes_FromStringAndSize((char *)&sipVal, 1);
}


extern "C" {static int varset_KDEPluginVerificationData_dataVersion(void *, PyObject *, PyObject *);}
static int varset_KDEPluginVerificationData_dataVersion(void *sipSelf, PyObject *sipPy, PyObject *)
{
    quint8 sipVal;
    KDEPluginVerificationData *sipCpp = reinterpret_cast<KDEPluginVerificationData *>(sipSelf);

    sipVal = (unsigned char)sipBytes_AsChar(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->dataVersion = sipVal;

    return 0;
}

sipVariableDef variables_KDEPluginVerificationData[] = {
    {InstanceVariable, sipName_KDEVersion, (PyMethodDef *)varget_KDEPluginVerificationData_KDEVersion, (PyMethodDef *)varset_KDEPluginVerificationData_KDEVersion, NULL, NULL},
    {InstanceVariable, sipName_KDEVersionString, (PyMethodDef *)varget_KDEPluginVerificationData_KDEVersionString, (PyMethodDef *)varset_KDEPluginVerificationData_KDEVersionString, NULL, NULL},
    {InstanceVariable, sipName_dataVersion, (PyMethodDef *)varget_KDEPluginVerificationData_dataVersion, (PyMethodDef *)varset_KDEPluginVerificationData_dataVersion, NULL, NULL},
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KDEPluginVerificationData = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KDEPluginVerificationData,
        {0}
    },
    {
        sipNameNr_KDEPluginVerificationData,
        {0, 0, 1},
        0, 0,
        1, enummembers_KDEPluginVerificationData,
        3, variables_KDEPluginVerificationData,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KDEPluginVerificationData,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDEPluginVerificationData,
    assign_KDEPluginVerificationData,
    array_KDEPluginVerificationData,
    copy_KDEPluginVerificationData,
    release_KDEPluginVerificationData,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kencodingprober.sip"
#include <kencodingprober.h>
#line 10988 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"

#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 10992 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 10995 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"


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

    {
        KEncodingProber *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KEncodingProber, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->reset();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KEncodingProber, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            KEncodingProber::ProberState sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->feed(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipConvertFromEnum(sipRes,sipType_KEncodingProber_ProberState);
        }
    }

    {
        const char* a0;
        PyObject *a0Keep;
        int a1;
        KEncodingProber *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAAi", &sipSelf, sipType_KEncodingProber, &sipCpp, &a0Keep, &a0, &a1))
        {
            KEncodingProber::ProberState sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->feed(a0,a1);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);

            return sipConvertFromEnum(sipRes,sipType_KEncodingProber_ProberState);
        }
    }

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

    return NULL;
}


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

    {
        const KEncodingProber *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KEncodingProber, &sipCpp))
        {
            KEncodingProber::ProberState sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->state();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KEncodingProber_ProberState);
        }
    }

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

    return NULL;
}


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

    {
        const KEncodingProber *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KEncodingProber, &sipCpp))
        {
            const char*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->encodingName();
            Py_END_ALLOW_THREADS

            if (sipRes == NULL)
            {
                Py_INCREF(Py_None);
                return Py_None;
            }

            return PyUnicode_DecodeASCII(sipRes, strlen(sipRes), NULL);
        }
    }

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

    return NULL;
}


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

    {
        const KEncodingProber *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->encoding());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KEncodingProber *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KEncodingProber, &sipCpp))
        {
            float sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->confidence();
            Py_END_ALLOW_THREADS

            return PyFloat_FromDouble((double)sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KEncodingProber *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KEncodingProber, &sipCpp))
        {
            KEncodingProber::ProberType sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->proberType();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KEncodingProber_ProberType);
        }
    }

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

    return NULL;
}


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

    {
        KEncodingProber::ProberType a0;
        KEncodingProber *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KEncodingProber, &sipCpp, sipType_KEncodingProber_ProberType, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setProberType(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            KEncodingProber::ProberType sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KEncodingProber::proberTypeForName(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromEnum(sipRes,sipType_KEncodingProber_ProberType);
        }
    }

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

    return NULL;
}


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

    {
        KEncodingProber::ProberType a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "E", sipType_KEncodingProber_ProberType, &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KEncodingProber::nameForProberType(a0));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    delete reinterpret_cast<KEncodingProber *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KEncodingProber(sipSimpleWrapper *);}
static void dealloc_KEncodingProber(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KEncodingProber(sipGetAddress(sipSelf),0);
    }
}


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

    {
        KEncodingProber::ProberType a0 = KEncodingProber::Universal;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|E", sipType_KEncodingProber_ProberType, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KEncodingProber(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KEncodingProber[] = {
    {SIP_MLNAME_CAST(sipName_confidence), meth_KEncodingProber_confidence, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_encoding), meth_KEncodingProber_encoding, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_encodingName), meth_KEncodingProber_encodingName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_feed), meth_KEncodingProber_feed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_nameForProberType), meth_KEncodingProber_nameForProberType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_proberType), meth_KEncodingProber_proberType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_proberTypeForName), meth_KEncodingProber_proberTypeForName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_reset), meth_KEncodingProber_reset, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setProberType), meth_KEncodingProber_setProberType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_state), meth_KEncodingProber_state, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KEncodingProber[] = {
    {sipName_Arabic, static_cast<int>(KEncodingProber::Arabic), 82},
    {sipName_Baltic, static_cast<int>(KEncodingProber::Baltic), 82},
    {sipName_CentralEuropean, static_cast<int>(KEncodingProber::CentralEuropean), 82},
    {sipName_ChineseSimplified, static_cast<int>(KEncodingProber::ChineseSimplified), 82},
    {sipName_ChineseTraditional, static_cast<int>(KEncodingProber::ChineseTraditional), 82},
    {sipName_Cyrillic, static_cast<int>(KEncodingProber::Cyrillic), 82},
    {sipName_FoundIt, static_cast<int>(KEncodingProber::FoundIt), 81},
    {sipName_Greek, static_cast<int>(KEncodingProber::Greek), 82},
    {sipName_Hebrew, static_cast<int>(KEncodingProber::Hebrew), 82},
    {sipName_Japanese, static_cast<int>(KEncodingProber::Japanese), 82},
    {sipName_Korean, static_cast<int>(KEncodingProber::Korean), 82},
    {sipName_None, static_cast<int>(KEncodingProber::None), 82},
    {sipName_NorthernSaami, static_cast<int>(KEncodingProber::NorthernSaami), 82},
    {sipName_NotMe, static_cast<int>(KEncodingProber::NotMe), 81},
    {sipName_Other, static_cast<int>(KEncodingProber::Other), 82},
    {sipName_Probing, static_cast<int>(KEncodingProber::Probing), 81},
    {sipName_SouthEasternEurope, static_cast<int>(KEncodingProber::SouthEasternEurope), 82},
    {sipName_Thai, static_cast<int>(KEncodingProber::Thai), 82},
    {sipName_Turkish, static_cast<int>(KEncodingProber::Turkish), 82},
    {sipName_Unicode, static_cast<int>(KEncodingProber::Unicode), 82},
    {sipName_Universal, static_cast<int>(KEncodingProber::Universal), 82},
    {sipName_WesternEuropean, static_cast<int>(KEncodingProber::WesternEuropean), 82},
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KEncodingProber = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KEncodingProber,
        {0}
    },
    {
        sipNameNr_KEncodingProber,
        {0, 0, 1},
        10, methods_KEncodingProber,
        22, enummembers_KEncodingProber,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KEncodingProber,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KEncodingProber,
    0,
    0,
    0,
    release_KEncodingProber,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kencodingdetector.sip"
#include <kencodingdetector.h>
#line 11435 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"

#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 11439 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 147 "/usr/share/python3-sip/PyQt4/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 11442 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 11445 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 11448 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"


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

    {
        const char* a0;
        PyObject *a0Keep;
        KEncodingDetector::EncodingChoiceSource a1;
        KEncodingDetector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAAE", &sipSelf, sipType_KEncodingDetector, &sipCpp, &a0Keep, &a0, sipType_KEncodingDetector_EncodingChoiceSource, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->setEncoding(a0,a1);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KEncodingDetector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KEncodingDetector, &sipCpp))
        {
            const char*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->encoding();
            Py_END_ALLOW_THREADS

            if (sipRes == NULL)
            {
                Py_INCREF(Py_None);
                return Py_None;
            }

            return PyUnicode_DecodeASCII(sipRes, strlen(sipRes), NULL);
        }
    }

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

    return NULL;
}


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

    {
        const KEncodingDetector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KEncodingDetector, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->visuallyOrdered();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KEncodingDetector::AutoDetectScript a0;
        KEncodingDetector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KEncodingDetector, &sipCpp, sipType_KEncodingDetector_AutoDetectScript, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAutoDetectLanguage(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KEncodingDetector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KEncodingDetector, &sipCpp))
        {
            KEncodingDetector::AutoDetectScript sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->autoDetectLanguage();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KEncodingDetector_AutoDetectScript);
        }
    }

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

    return NULL;
}


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

    {
        const KEncodingDetector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KEncodingDetector, &sipCpp))
        {
            KEncodingDetector::EncodingChoiceSource sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->encodingChoiceSource();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KEncodingDetector_EncodingChoiceSource);
        }
    }

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

    return NULL;
}


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

    {
        const char* a0;
        PyObject *a0Keep;
        int a1;
        KEncodingDetector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAAi", &sipSelf, sipType_KEncodingDetector, &sipCpp, &a0Keep, &a0, &a1))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->decode(a0,a1));
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KEncodingDetector, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->decode(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

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

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

    return NULL;
}


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

    {
        const char* a0;
        PyObject *a0Keep;
        int a1;
        KEncodingDetector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAAi", &sipSelf, sipType_KEncodingDetector, &sipCpp, &a0Keep, &a0, &a1))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->decodeWithBuffering(a0,a1));
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);

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

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

    return NULL;
}


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

    {
        const KEncodingDetector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KEncodingDetector, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->decodedInvalidCharacters();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KEncodingDetector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KEncodingDetector, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->resetDecoder();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KEncodingDetector *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->flush());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            KEncodingDetector::AutoDetectScript sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KEncodingDetector::scriptForName(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromEnum(sipRes,sipType_KEncodingDetector_AutoDetectScript);
        }
    }

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

    return NULL;
}


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

    {
        KEncodingDetector::AutoDetectScript a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "E", sipType_KEncodingDetector_AutoDetectScript, &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KEncodingDetector::nameForScript(a0));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KEncodingDetector::AutoDetectScript a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "E", sipType_KEncodingDetector_AutoDetectScript, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KEncodingDetector::hasAutoDetectionForScript(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        char* a0;
        PyObject *a0Keep;
        int a1;
        KEncodingDetector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pAAi", &sipSelf, sipType_KEncodingDetector, &sipCpp, &a0Keep, &a0, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->processNull(a0,a1);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const char* a0;
        PyObject *a0Keep;
        int a1;
        KEncodingDetector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pAAi", &sipSelf, sipType_KEncodingDetector, &sipCpp, &a0Keep, &a0, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->errorsIfUtf8(a0,a1);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const char* a0;
        PyObject *a0Keep;
        int a1;
        KEncodingDetector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pAAi", &sipSelf, sipType_KEncodingDetector, &sipCpp, &a0Keep, &a0, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->analyze(a0,a1);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KEncodingDetector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KEncodingDetector, &sipCpp))
        {
            QTextDecoder*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->decoder();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    delete reinterpret_cast<KEncodingDetector *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KEncodingDetector(sipSimpleWrapper *);}
static void dealloc_KEncodingDetector(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KEncodingDetector(sipGetAddress(sipSelf),0);
    }
}


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

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KEncodingDetector();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        QTextCodec* a0;
        KEncodingDetector::EncodingChoiceSource a1;
        KEncodingDetector::AutoDetectScript a2 = KEncodingDetector::None;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8E|E", sipType_QTextCodec, &a0, sipType_KEncodingDetector_EncodingChoiceSource, &a1, sipType_KEncodingDetector_AutoDetectScript, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KEncodingDetector(a0,a1,a2);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KEncodingDetector[] = {
    {SIP_MLNAME_CAST(sipName_analyze), meth_KEncodingDetector_analyze, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_autoDetectLanguage), meth_KEncodingDetector_autoDetectLanguage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_decode), meth_KEncodingDetector_decode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_decodeWithBuffering), meth_KEncodingDetector_decodeWithBuffering, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_decodedInvalidCharacters), meth_KEncodingDetector_decodedInvalidCharacters, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_decoder), meth_KEncodingDetector_decoder, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_encoding), meth_KEncodingDetector_encoding, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_encodingChoiceSource), meth_KEncodingDetector_encodingChoiceSource, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_errorsIfUtf8), meth_KEncodingDetector_errorsIfUtf8, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_flush), meth_KEncodingDetector_flush, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasAutoDetectionForScript), meth_KEncodingDetector_hasAutoDetectionForScript, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_nameForScript), meth_KEncodingDetector_nameForScript, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_processNull), meth_KEncodingDetector_processNull, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resetDecoder), meth_KEncodingDetector_resetDecoder, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_scriptForName), meth_KEncodingDetector_scriptForName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAutoDetectLanguage), meth_KEncodingDetector_setAutoDetectLanguage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setEncoding), meth_KEncodingDetector_setEncoding, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_visuallyOrdered), meth_KEncodingDetector_visuallyOrdered, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KEncodingDetector[] = {
    {sipName_Arabic, static_cast<int>(KEncodingDetector::Arabic), 78},
    {sipName_AutoDetectedEncoding, static_cast<int>(KEncodingDetector::AutoDetectedEncoding), 79},
    {sipName_BOM, static_cast<int>(KEncodingDetector::BOM), 79},
    {sipName_Baltic, static_cast<int>(KEncodingDetector::Baltic), 78},
    {sipName_CentralEuropean, static_cast<int>(KEncodingDetector::CentralEuropean), 78},
    {sipName_ChineseSimplified, static_cast<int>(KEncodingDetector::ChineseSimplified), 78},
    {sipName_ChineseTraditional, static_cast<int>(KEncodingDetector::ChineseTraditional), 78},
    {sipName_Cyrillic, static_cast<int>(KEncodingDetector::Cyrillic), 78},
    {sipName_DefaultEncoding, static_cast<int>(KEncodingDetector::DefaultEncoding), 79},
    {sipName_EncodingFromHTTPHeader, static_cast<int>(KEncodingDetector::EncodingFromHTTPHeader), 79},
    {sipName_EncodingFromMetaTag, static_cast<int>(KEncodingDetector::EncodingFromMetaTag), 79},
    {sipName_EncodingFromXMLHeader, static_cast<int>(KEncodingDetector::EncodingFromXMLHeader), 79},
    {sipName_Greek, static_cast<int>(KEncodingDetector::Greek), 78},
    {sipName_Hebrew, static_cast<int>(KEncodingDetector::Hebrew), 78},
    {sipName_Japanese, static_cast<int>(KEncodingDetector::Japanese), 78},
    {sipName_Korean, static_cast<int>(KEncodingDetector::Korean), 78},
    {sipName_None, static_cast<int>(KEncodingDetector::None), 78},
    {sipName_NorthernSaami, static_cast<int>(KEncodingDetector::NorthernSaami), 78},
    {sipName_SemiautomaticDetection, static_cast<int>(KEncodingDetector::SemiautomaticDetection), 78},
    {sipName_SouthEasternEurope, static_cast<int>(KEncodingDetector::SouthEasternEurope), 78},
    {sipName_Thai, static_cast<int>(KEncodingDetector::Thai), 78},
    {sipName_Turkish, static_cast<int>(KEncodingDetector::Turkish), 78},
    {sipName_Unicode, static_cast<int>(KEncodingDetector::Unicode), 78},
    {sipName_UserChosenEncoding, static_cast<int>(KEncodingDetector::UserChosenEncoding), 79},
    {sipName_WesternEuropean, static_cast<int>(KEncodingDetector::WesternEuropean), 78},
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KEncodingDetector = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KEncodingDetector,
        {0}
    },
    {
        sipNameNr_KEncodingDetector,
        {0, 0, 1},
        18, methods_KEncodingDetector,
        25, enummembers_KEncodingDetector,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KEncodingDetector,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KEncodingDetector,
    0,
    0,
    0,
    release_KEncodingDetector,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kdesktopfile.sip"
#include <kdesktopfile.h>
#line 12148 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"

#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 12152 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 12155 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 12158 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 12161 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 12164 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qmap.sip"
#include <qmap.h>
#line 12167 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 72 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 12170 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 12173 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kcomponentdata.sip"
#include <kcomponentdata.h>
#line 12176 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"


class sipKDesktopFile : public KDesktopFile
{
public:
    sipKDesktopFile(const char*,const QString&);
    sipKDesktopFile(const QString&);
    virtual ~sipKDesktopFile();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool isImmutable() const;
    KConfigBase::AccessMode accessMode() const;
    void markAsClean();
    void sync();
    QStringList groupList() const;
    bool isGroupImmutableImpl(const QByteArray&) const;
    void deleteGroupImpl(const QByteArray&,KConfigBase::WriteConfigFlags);
    KConfigGroup groupImpl(const QByteArray&);
    bool hasGroupImpl(const QByteArray&) const;

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[9];
};

sipKDesktopFile::sipKDesktopFile(const char*a0,const QString& a1): KDesktopFile(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKDesktopFile::sipKDesktopFile(const QString& a0): KDesktopFile(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

bool sipKDesktopFile::isImmutable() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KDesktopFile::isImmutable();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_kdecore_QtCore->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth);
}

KConfigBase::AccessMode sipKDesktopFile::accessMode() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KDesktopFile::accessMode();

    extern KConfigBase::AccessMode sipVH_kdecore_52(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

void sipKDesktopFile::markAsClean()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KDesktopFile::markAsClean();
        return;
    }

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

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

void sipKDesktopFile::sync()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KDesktopFile::sync();
        return;
    }

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

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

QStringList sipKDesktopFile::groupList() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KDesktopFile::groupList();

    typedef QStringList (*sipVH_QtCore_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_27)(sipModuleAPI_kdecore_QtCore->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKDesktopFile::isGroupImmutableImpl(const QByteArray& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KDesktopFile::isGroupImmutableImpl(a0);

    extern bool sipVH_kdecore_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&);

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

void sipKDesktopFile::deleteGroupImpl(const QByteArray& a0,KConfigBase::WriteConfigFlags a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KDesktopFile::deleteGroupImpl(a0,a1);
        return;
    }

    extern void sipVH_kdecore_50(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,KConfigBase::WriteConfigFlags);

    sipVH_kdecore_50(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

KConfigGroup sipKDesktopFile::groupImpl(const QByteArray& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_groupImpl);

    if (!sipMeth)
        return KDesktopFile::groupImpl(a0);

    extern KConfigGroup sipVH_kdecore_51(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&);

    return sipVH_kdecore_51(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKDesktopFile::hasGroupImpl(const QByteArray& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_hasGroupImpl);

    if (!sipMeth)
        return KDesktopFile::hasGroupImpl(a0);

    extern bool sipVH_kdecore_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&);

    return sipVH_kdecore_34(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KDesktopFile_isDesktopFile(PyObject *, PyObject *);}
static PyObject *meth_KDesktopFile_isDesktopFile(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KDesktopFile::isDesktopFile(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDesktopFile, sipName_isDesktopFile, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDesktopFile_isAuthorizedDesktopFile(PyObject *, PyObject *);}
static PyObject *meth_KDesktopFile_isAuthorizedDesktopFile(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KDesktopFile::isAuthorizedDesktopFile(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDesktopFile, sipName_isAuthorizedDesktopFile, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDesktopFile_locateLocal(PyObject *, PyObject *);}
static PyObject *meth_KDesktopFile_locateLocal(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KDesktopFile::locateLocal(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDesktopFile, sipName_locateLocal, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDesktopFile_desktopGroup(PyObject *, PyObject *);}
static PyObject *meth_KDesktopFile_desktopGroup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDesktopFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDesktopFile, &sipCpp))
        {
            KConfigGroup*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KConfigGroup(sipCpp->desktopGroup());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KConfigGroup,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDesktopFile, sipName_desktopGroup, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDesktopFile_readType(PyObject *, PyObject *);}
static PyObject *meth_KDesktopFile_readType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDesktopFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDesktopFile, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->readType());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDesktopFile, sipName_readType, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDesktopFile_readIcon(PyObject *, PyObject *);}
static PyObject *meth_KDesktopFile_readIcon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDesktopFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDesktopFile, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->readIcon());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDesktopFile, sipName_readIcon, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDesktopFile_readName(PyObject *, PyObject *);}
static PyObject *meth_KDesktopFile_readName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDesktopFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDesktopFile, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->readName());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDesktopFile, sipName_readName, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDesktopFile_readComment(PyObject *, PyObject *);}
static PyObject *meth_KDesktopFile_readComment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDesktopFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDesktopFile, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->readComment());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDesktopFile, sipName_readComment, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDesktopFile_readGenericName(PyObject *, PyObject *);}
static PyObject *meth_KDesktopFile_readGenericName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDesktopFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDesktopFile, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->readGenericName());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDesktopFile, sipName_readGenericName, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDesktopFile_readPath(PyObject *, PyObject *);}
static PyObject *meth_KDesktopFile_readPath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDesktopFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDesktopFile, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->readPath());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDesktopFile, sipName_readPath, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDesktopFile_readDevice(PyObject *, PyObject *);}
static PyObject *meth_KDesktopFile_readDevice(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDesktopFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDesktopFile, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->readDevice());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDesktopFile, sipName_readDevice, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDesktopFile_readUrl(PyObject *, PyObject *);}
static PyObject *meth_KDesktopFile_readUrl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDesktopFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDesktopFile, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->readUrl());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDesktopFile, sipName_readUrl, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDesktopFile_readActions(PyObject *, PyObject *);}
static PyObject *meth_KDesktopFile_readActions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDesktopFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDesktopFile, &sipCpp))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->readActions());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDesktopFile, sipName_readActions, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDesktopFile_actionGroup(PyObject *, PyObject *);}
static PyObject *meth_KDesktopFile_actionGroup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KDesktopFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDesktopFile, &sipCpp, sipType_QString,&a0, &a0State))
        {
            KConfigGroup*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KConfigGroup(sipCpp->actionGroup(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_KConfigGroup,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDesktopFile, sipName_actionGroup, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDesktopFile_hasActionGroup(PyObject *, PyObject *);}
static PyObject *meth_KDesktopFile_hasActionGroup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const KDesktopFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDesktopFile, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasActionGroup(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDesktopFile, sipName_hasActionGroup, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDesktopFile_hasLinkType(PyObject *, PyObject *);}
static PyObject *meth_KDesktopFile_hasLinkType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDesktopFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDesktopFile, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasLinkType();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDesktopFile, sipName_hasLinkType, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDesktopFile_hasApplicationType(PyObject *, PyObject *);}
static PyObject *meth_KDesktopFile_hasApplicationType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDesktopFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDesktopFile, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasApplicationType();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDesktopFile, sipName_hasApplicationType, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDesktopFile_hasMimeTypeType(PyObject *, PyObject *);}
static PyObject *meth_KDesktopFile_hasMimeTypeType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDesktopFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDesktopFile, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasMimeTypeType();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDesktopFile, sipName_hasMimeTypeType, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDesktopFile_hasDeviceType(PyObject *, PyObject *);}
static PyObject *meth_KDesktopFile_hasDeviceType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDesktopFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDesktopFile, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasDeviceType();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDesktopFile, sipName_hasDeviceType, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDesktopFile_tryExec(PyObject *, PyObject *);}
static PyObject *meth_KDesktopFile_tryExec(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDesktopFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDesktopFile, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->tryExec();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDesktopFile, sipName_tryExec, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDesktopFile_readDocPath(PyObject *, PyObject *);}
static PyObject *meth_KDesktopFile_readDocPath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDesktopFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDesktopFile, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->readDocPath());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDesktopFile, sipName_readDocPath, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDesktopFile_sortOrder(PyObject *, PyObject *);}
static PyObject *meth_KDesktopFile_sortOrder(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDesktopFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDesktopFile, &sipCpp))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->sortOrder());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDesktopFile, sipName_sortOrder, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDesktopFile_noDisplay(PyObject *, PyObject *);}
static PyObject *meth_KDesktopFile_noDisplay(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDesktopFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDesktopFile, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->noDisplay();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDesktopFile, sipName_noDisplay, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDesktopFile_copyTo(PyObject *, PyObject *);}
static PyObject *meth_KDesktopFile_copyTo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const KDesktopFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDesktopFile, &sipCpp, sipType_QString,&a0, &a0State))
        {
            KDesktopFile*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->copyTo(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_KDesktopFile,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDesktopFile, sipName_copyTo, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDesktopFile_fileName(PyObject *, PyObject *);}
static PyObject *meth_KDesktopFile_fileName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDesktopFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDesktopFile, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->fileName());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDesktopFile, sipName_fileName, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDesktopFile_resource(PyObject *, PyObject *);}
static PyObject *meth_KDesktopFile_resource(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDesktopFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDesktopFile, &sipCpp))
        {
            const char*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->resource();
            Py_END_ALLOW_THREADS

            if (sipRes == NULL)
            {
                Py_INCREF(Py_None);
                return Py_None;
            }

            return PyUnicode_DecodeASCII(sipRes, strlen(sipRes), NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDesktopFile, sipName_resource, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KDesktopFile(void *, int);}
static void release_KDesktopFile(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKDesktopFile *>(sipCppV);
    else
        delete reinterpret_cast<KDesktopFile *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KDesktopFile(sipSimpleWrapper *);}
static void dealloc_KDesktopFile(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKDesktopFile *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KDesktopFile(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KDesktopFile(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KDesktopFile(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipKDesktopFile *sipCpp = 0;

    {
        const char* a0;
        PyObject *a0Keep;
        const QString* a1;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "AAJ1", &a0Keep, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKDesktopFile(a0,*a1);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKDesktopFile(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KDesktopFile[] = {{33, 255, 1}};


static PyMethodDef methods_KDesktopFile[] = {
    {SIP_MLNAME_CAST(sipName_actionGroup), meth_KDesktopFile_actionGroup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_copyTo), meth_KDesktopFile_copyTo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_desktopGroup), meth_KDesktopFile_desktopGroup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fileName), meth_KDesktopFile_fileName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasActionGroup), meth_KDesktopFile_hasActionGroup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasApplicationType), meth_KDesktopFile_hasApplicationType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasDeviceType), meth_KDesktopFile_hasDeviceType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasLinkType), meth_KDesktopFile_hasLinkType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasMimeTypeType), meth_KDesktopFile_hasMimeTypeType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isAuthorizedDesktopFile), meth_KDesktopFile_isAuthorizedDesktopFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isDesktopFile), meth_KDesktopFile_isDesktopFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_locateLocal), meth_KDesktopFile_locateLocal, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_noDisplay), meth_KDesktopFile_noDisplay, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readActions), meth_KDesktopFile_readActions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readComment), meth_KDesktopFile_readComment, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readDevice), meth_KDesktopFile_readDevice, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readDocPath), meth_KDesktopFile_readDocPath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readGenericName), meth_KDesktopFile_readGenericName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readIcon), meth_KDesktopFile_readIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readName), meth_KDesktopFile_readName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readPath), meth_KDesktopFile_readPath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readType), meth_KDesktopFile_readType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readUrl), meth_KDesktopFile_readUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resource), meth_KDesktopFile_resource, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sortOrder), meth_KDesktopFile_sortOrder, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tryExec), meth_KDesktopFile_tryExec, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KDesktopFile = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KDesktopFile,
        {0}
    },
    {
        sipNameNr_KDesktopFile,
        {0, 0, 1},
        26, methods_KDesktopFile,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KDesktopFile,
    0,
    init_type_KDesktopFile,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDesktopFile,
    0,
    0,
    0,
    release_KDesktopFile,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kdedmodule.sip"
#include <kdedmodule.h>
#line 13257 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"

#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 13261 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 13264 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13267 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13270 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13273 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 13276 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 13279 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 13282 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13285 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 13288 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 13291 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 13294 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 13297 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"


class sipKDEDModule : public KDEDModule
{
public:
    sipKDEDModule(QObject*);
    virtual ~sipKDEDModule();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKDEDModule(const sipKDEDModule &);
    sipKDEDModule &operator = (const sipKDEDModule &);

    char sipPyMethods[7];
};

sipKDEDModule::sipKDEDModule(QObject*a0): KDEDModule(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKDEDModule::~sipKDEDModule()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKDEDModule::metaObject() const
{
    return sip_kdecore_qt_metaobject(sipPySelf,sipType_KDEDModule);
}

int sipKDEDModule::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KDEDModule::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdecore_qt_metacall(sipPySelf,sipType_KDEDModule,_c,_id,_a);

    return _id;
}

void *sipKDEDModule::qt_metacast(const char *_clname)
{
    return (sip_kdecore_qt_metacast(sipPySelf, sipType_KDEDModule, _clname)) ? this : KDEDModule::qt_metacast(_clname);
}

void sipKDEDModule::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KDEDModule::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdecore_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDEDModule::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KDEDModule::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdecore_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDEDModule::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KDEDModule::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdecore_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDEDModule::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KDEDModule::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdecore_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDEDModule::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KDEDModule::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdecore_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKDEDModule::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KDEDModule::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdecore_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKDEDModule::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KDEDModule::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdecore_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KDEDModule_setModuleName(PyObject *, PyObject *);}
static PyObject *meth_KDEDModule_setModuleName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KDEDModule *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDEDModule, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setModuleName(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDEDModule, sipName_setModuleName, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDEDModule_moduleName(PyObject *, PyObject *);}
static PyObject *meth_KDEDModule_moduleName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDEDModule *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDEDModule, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->moduleName());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDEDModule, sipName_moduleName, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KDEDModule(void *, int);}
static void release_KDEDModule(void *sipCppV,int)
{
    KDEDModule *sipCpp = reinterpret_cast<KDEDModule *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KDEDModule(sipSimpleWrapper *);}
static void dealloc_KDEDModule(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKDEDModule *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KDEDModule(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KDEDModule(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KDEDModule(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKDEDModule *sipCpp = 0;

    {
        QObject* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKDEDModule(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KDEDModule[] = {{141, 0, 1}};


static PyMethodDef methods_KDEDModule[] = {
    {SIP_MLNAME_CAST(sipName_moduleName), meth_KDEDModule_moduleName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setModuleName), meth_KDEDModule_setModuleName, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KDEDModule[] = {
    {"windowUnregistered(qlonglong)", 0, 0, 0},
    {"windowRegistered(qlonglong)", 0, 0, 0},
    {"moduleDeleted(KDEDModule*)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KDEDModule = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KDEDModule,
        {0}
    },
    {
        sipNameNr_KDEDModule,
        {0, 0, 1},
        2, methods_KDEDModule,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KDEDModule,
    0,
    init_type_KDEDModule,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDEDModule,
    0,
    0,
    0,
    release_KDEDModule,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KDEDModule::staticMetaObject,
    0,
    signals_KDEDModule,
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kdatetime.sip"
#include <kdatetime.h>
#line 13668 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"

#line 52 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 13672 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kdatetime.sip"
#include <kdatetime.h>
#line 13675 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"


extern "C" {static PyObject *meth_KDateTime_Spec_isValid(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_Spec_isValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDateTime::Spec *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTime_Spec, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isValid();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Spec, sipName_isValid, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_Spec_timeZone(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_Spec_timeZone(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDateTime::Spec *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTime_Spec, &sipCpp))
        {
            KTimeZone*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KTimeZone(sipCpp->timeZone());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KTimeZone,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Spec, sipName_timeZone, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_Spec_type(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_Spec_type(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDateTime::Spec *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTime_Spec, &sipCpp))
        {
            KDateTime::SpecType sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->type();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KDateTime_SpecType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Spec, sipName_type, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_Spec_isLocalZone(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_Spec_isLocalZone(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDateTime::Spec *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTime_Spec, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isLocalZone();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Spec, sipName_isLocalZone, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_Spec_isClockTime(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_Spec_isClockTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDateTime::Spec *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTime_Spec, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isClockTime();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Spec, sipName_isClockTime, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_Spec_isUtc(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_Spec_isUtc(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDateTime::Spec *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTime_Spec, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isUtc();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Spec, sipName_isUtc, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_Spec_isOffsetFromUtc(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_Spec_isOffsetFromUtc(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDateTime::Spec *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTime_Spec, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isOffsetFromUtc();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Spec, sipName_isOffsetFromUtc, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_Spec_utcOffset(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_Spec_utcOffset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDateTime::Spec *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTime_Spec, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->utcOffset();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Spec, sipName_utcOffset, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_Spec_setType(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_Spec_setType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KDateTime::SpecType a0;
        int a1 = 0;
        KDateTime::Spec *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE|i", &sipSelf, sipType_KDateTime_Spec, &sipCpp, sipType_KDateTime_SpecType, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setType(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const KTimeZone* a0;
        KDateTime::Spec *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KDateTime_Spec, &sipCpp, sipType_KTimeZone, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setType(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Spec, sipName_setType, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_Spec_equivalentTo(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_Spec_equivalentTo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDateTime::Spec* a0;
        const KDateTime::Spec *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KDateTime_Spec, &sipCpp, sipType_KDateTime_Spec, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->equivalentTo(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Spec, sipName_equivalentTo, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_Spec_UTC(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_Spec_UTC(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KDateTime::Spec*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KDateTime::Spec(KDateTime::Spec::UTC());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KDateTime_Spec,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Spec, sipName_UTC, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_Spec_ClockTime(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_Spec_ClockTime(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KDateTime::Spec*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KDateTime::Spec(KDateTime::Spec::ClockTime());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KDateTime_Spec,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Spec, sipName_ClockTime, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_Spec_OffsetFromUTC(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_Spec_OffsetFromUTC(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "i", &a0))
        {
            KDateTime::Spec*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KDateTime::Spec(KDateTime::Spec::OffsetFromUTC(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KDateTime_Spec,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Spec, sipName_OffsetFromUTC, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_Spec_LocalZone(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_Spec_LocalZone(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KDateTime::Spec*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KDateTime::Spec(KDateTime::Spec::LocalZone());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KDateTime_Spec,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_Spec, sipName_LocalZone, NULL);

    return NULL;
}


extern "C" {static PyObject *slot_KDateTime_Spec___ne__(PyObject *,PyObject *);}
static PyObject *slot_KDateTime_Spec___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KDateTime::Spec *sipCpp = reinterpret_cast<KDateTime::Spec *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDateTime_Spec));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KDateTime::Spec* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_KDateTime_Spec, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->KDateTime::Spec::operator!=(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdecore,ne_slot,sipType_KDateTime_Spec,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KDateTime_Spec___eq__(PyObject *,PyObject *);}
static PyObject *slot_KDateTime_Spec___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KDateTime::Spec *sipCpp = reinterpret_cast<KDateTime::Spec *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDateTime_Spec));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KDateTime::Spec* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_KDateTime_Spec, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->KDateTime::Spec::operator==(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdecore,eq_slot,sipType_KDateTime_Spec,sipSelf,sipArg);
}


/* Call the instance's destructor. */
extern "C" {static void release_KDateTime_Spec(void *, int);}
static void release_KDateTime_Spec(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KDateTime::Spec *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KDateTime_Spec(void *, SIP_SSIZE_T, const void *);}
static void assign_KDateTime_Spec(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KDateTime::Spec *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KDateTime::Spec *>(sipSrc);
}


extern "C" {static void *array_KDateTime_Spec(SIP_SSIZE_T);}
static void *array_KDateTime_Spec(SIP_SSIZE_T sipNrElem)
{
    return new KDateTime::Spec[sipNrElem];
}


extern "C" {static void *copy_KDateTime_Spec(const void *, SIP_SSIZE_T);}
static void *copy_KDateTime_Spec(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KDateTime::Spec(reinterpret_cast<const KDateTime::Spec *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KDateTime_Spec(sipSimpleWrapper *);}
static void dealloc_KDateTime_Spec(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KDateTime_Spec(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_KDateTime_Spec(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KDateTime_Spec(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KDateTime::Spec *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KDateTime::Spec();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const KTimeZone* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_KTimeZone, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KDateTime::Spec(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        KDateTime::SpecType a0;
        int a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "E|i", sipType_KDateTime_SpecType, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KDateTime::Spec(a0,a1);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const KDateTime::Spec* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_KDateTime_Spec, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KDateTime::Spec(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KDateTime_Spec[] = {
    {(void *)slot_KDateTime_Spec___ne__, ne_slot},
    {(void *)slot_KDateTime_Spec___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_KDateTime_Spec[] = {
    {SIP_MLNAME_CAST(sipName_ClockTime), meth_KDateTime_Spec_ClockTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_LocalZone), meth_KDateTime_Spec_LocalZone, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_OffsetFromUTC), meth_KDateTime_Spec_OffsetFromUTC, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_UTC), meth_KDateTime_Spec_UTC, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_equivalentTo), meth_KDateTime_Spec_equivalentTo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isClockTime), meth_KDateTime_Spec_isClockTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isLocalZone), meth_KDateTime_Spec_isLocalZone, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isOffsetFromUtc), meth_KDateTime_Spec_isOffsetFromUtc, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isUtc), meth_KDateTime_Spec_isUtc, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isValid), meth_KDateTime_Spec_isValid, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setType), meth_KDateTime_Spec_setType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timeZone), meth_KDateTime_Spec_timeZone, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_type), meth_KDateTime_Spec_type, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_utcOffset), meth_KDateTime_Spec_utcOffset, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KDateTime_Spec = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KDateTime__Spec,
        {0}
    },
    {
        sipNameNr_Spec,
        {71, 255, 0},
        14, methods_KDateTime_Spec,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    slots_KDateTime_Spec,
    init_type_KDateTime_Spec,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDateTime_Spec,
    assign_KDateTime_Spec,
    array_KDateTime_Spec,
    copy_KDateTime_Spec,
    release_KDateTime_Spec,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kdatetime.sip"
#include <kdatetime.h>
#line 14319 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"

#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 14323 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kdatetime.sip"
#include <kdatetime.h>
#line 14326 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 245 "/usr/share/python3-sip/PyQt4/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 14329 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 401 "/usr/share/python3-sip/PyQt4/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 14332 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 14335 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 14338 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 52 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 14341 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"


extern "C" {static PyObject *meth_KDateTime_isNull(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_isNull(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTime, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isNull();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTime, sipName_isNull, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_isValid(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_isValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTime, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isValid();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTime, sipName_isValid, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_isDateOnly(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_isDateOnly(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTime, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isDateOnly();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTime, sipName_isDateOnly, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_date(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_date(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTime, &sipCpp))
        {
            QDate*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDate(sipCpp->date());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDate,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTime, sipName_date, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_time(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_time(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTime, &sipCpp))
        {
            QTime*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QTime(sipCpp->time());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTime, sipName_time, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_dateTime(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_dateTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTime, &sipCpp))
        {
            QDateTime*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDateTime(sipCpp->dateTime());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTime, sipName_dateTime, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_timeZone(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_timeZone(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTime, &sipCpp))
        {
            KTimeZone*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KTimeZone(sipCpp->timeZone());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KTimeZone,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTime, sipName_timeZone, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_timeSpec(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_timeSpec(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTime, &sipCpp))
        {
            KDateTime::Spec*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KDateTime::Spec(sipCpp->timeSpec());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KDateTime_Spec,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTime, sipName_timeSpec, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_timeType(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_timeType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTime, &sipCpp))
        {
            KDateTime::SpecType sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->timeType();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KDateTime_SpecType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTime, sipName_timeType, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_isLocalZone(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_isLocalZone(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTime, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isLocalZone();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTime, sipName_isLocalZone, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_isClockTime(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_isClockTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTime, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isClockTime();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTime, sipName_isClockTime, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_isUtc(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_isUtc(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTime, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isUtc();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTime, sipName_isUtc, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_isOffsetFromUtc(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_isOffsetFromUtc(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTime, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isOffsetFromUtc();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTime, sipName_isOffsetFromUtc, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_utcOffset(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_utcOffset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTime, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->utcOffset();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTime, sipName_utcOffset, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_isSecondOccurrence(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_isSecondOccurrence(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTime, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isSecondOccurrence();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTime, sipName_isSecondOccurrence, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_toUtc(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_toUtc(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTime, &sipCpp))
        {
            KDateTime*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KDateTime(sipCpp->toUtc());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTime, sipName_toUtc, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_toOffsetFromUtc(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_toOffsetFromUtc(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTime, &sipCpp))
        {
            KDateTime*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KDateTime(sipCpp->toOffsetFromUtc());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KDateTime,NULL);
        }
    }

    {
        int a0;
        const KDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KDateTime, &sipCpp, &a0))
        {
            KDateTime*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KDateTime(sipCpp->toOffsetFromUtc(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTime, sipName_toOffsetFromUtc, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_toLocalZone(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_toLocalZone(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTime, &sipCpp))
        {
            KDateTime*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KDateTime(sipCpp->toLocalZone());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTime, sipName_toLocalZone, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_toClockTime(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_toClockTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTime, &sipCpp))
        {
            KDateTime*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KDateTime(sipCpp->toClockTime());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTime, sipName_toClockTime, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_toZone(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_toZone(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KTimeZone* a0;
        const KDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KDateTime, &sipCpp, sipType_KTimeZone, &a0))
        {
            KDateTime*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KDateTime(sipCpp->toZone(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTime, sipName_toZone, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_toTimeSpec(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_toTimeSpec(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDateTime::Spec* a0;
        const KDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KDateTime, &sipCpp, sipType_KDateTime_Spec, &a0))
        {
            KDateTime*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KDateTime(sipCpp->toTimeSpec(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KDateTime,NULL);
        }
    }

    {
        const KDateTime* a0;
        const KDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KDateTime, &sipCpp, sipType_KDateTime, &a0))
        {
            KDateTime*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KDateTime(sipCpp->toTimeSpec(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTime, sipName_toTimeSpec, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_toTime_t(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_toTime_t(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTime, &sipCpp))
        {
            uint sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toTime_t();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTime, sipName_toTime_t, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_setTime_t(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_setTime_t(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qint64 a0;
        KDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_KDateTime, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTime_t(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTime, sipName_setTime_t, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_setDateOnly(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_setDateOnly(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KDateTime, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDateOnly(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTime, sipName_setDateOnly, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_setDate(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_setDate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDate* a0;
        int a0State = 0;
        KDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDateTime, &sipCpp, sipType_QDate, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDate(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QDate *>(a0),sipType_QDate,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTime, sipName_setDate, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_setTime(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_setTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTime* a0;
        int a0State = 0;
        KDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDateTime, &sipCpp, sipType_QTime, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTime(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QTime *>(a0),sipType_QTime,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTime, sipName_setTime, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_setDateTime(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_setDateTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDateTime* a0;
        int a0State = 0;
        KDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDateTime, &sipCpp, sipType_QDateTime, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDateTime(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QDateTime *>(a0),sipType_QDateTime,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTime, sipName_setDateTime, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_setTimeSpec(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_setTimeSpec(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDateTime::Spec* a0;
        KDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KDateTime, &sipCpp, sipType_KDateTime_Spec, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTimeSpec(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTime, sipName_setTimeSpec, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_setSecondOccurrence(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_setSecondOccurrence(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KDateTime, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSecondOccurrence(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTime, sipName_setSecondOccurrence, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_addMSecs(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_addMSecs(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qint64 a0;
        const KDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_KDateTime, &sipCpp, &a0))
        {
            KDateTime*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KDateTime(sipCpp->addMSecs(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTime, sipName_addMSecs, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_addSecs(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_addSecs(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qint64 a0;
        const KDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_KDateTime, &sipCpp, &a0))
        {
            KDateTime*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KDateTime(sipCpp->addSecs(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTime, sipName_addSecs, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_addDays(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_addDays(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const KDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KDateTime, &sipCpp, &a0))
        {
            KDateTime*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KDateTime(sipCpp->addDays(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTime, sipName_addDays, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_addMonths(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_addMonths(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const KDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KDateTime, &sipCpp, &a0))
        {
            KDateTime*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KDateTime(sipCpp->addMonths(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTime, sipName_addMonths, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_addYears(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_addYears(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const KDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KDateTime, &sipCpp, &a0))
        {
            KDateTime*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KDateTime(sipCpp->addYears(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTime, sipName_addYears, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_secsTo(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_secsTo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDateTime* a0;
        const KDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KDateTime, &sipCpp, sipType_KDateTime, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->secsTo(*a0);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTime, sipName_secsTo, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_secsTo_long(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_secsTo_long(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDateTime* a0;
        const KDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KDateTime, &sipCpp, sipType_KDateTime, &a0))
        {
            qint64 sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->secsTo_long(*a0);
            Py_END_ALLOW_THREADS

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTime, sipName_secsTo_long, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_daysTo(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_daysTo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDateTime* a0;
        const KDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KDateTime, &sipCpp, sipType_KDateTime, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->daysTo(*a0);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTime, sipName_daysTo, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_currentLocalDateTime(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_currentLocalDateTime(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KDateTime*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KDateTime(KDateTime::currentLocalDateTime());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTime, sipName_currentLocalDateTime, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_currentUtcDateTime(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_currentUtcDateTime(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KDateTime*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KDateTime(KDateTime::currentUtcDateTime());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTime, sipName_currentUtcDateTime, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_currentDateTime(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_currentDateTime(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDateTime::Spec* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9", sipType_KDateTime_Spec, &a0))
        {
            KDateTime*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KDateTime(KDateTime::currentDateTime(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTime, sipName_currentDateTime, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_currentLocalDate(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_currentLocalDate(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QDate*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDate(KDateTime::currentLocalDate());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDate,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTime, sipName_currentLocalDate, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_currentLocalTime(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_currentLocalTime(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QTime*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QTime(KDateTime::currentLocalTime());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTime, sipName_currentLocalTime, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_toString(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_toString(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const KDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDateTime, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->toString(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        KDateTime::TimeFormat a0 = KDateTime::ISODate;
        const KDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|E", &sipSelf, sipType_KDateTime, &sipCpp, sipType_KDateTime_TimeFormat, &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->toString(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTime, sipName_toString, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_fromString(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_fromString(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KDateTime::TimeFormat a1 = KDateTime::ISODate;
        bool a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1|E", sipType_QString,&a0, &a0State, sipType_KDateTime_TimeFormat, &a1))
        {
            KDateTime*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KDateTime(KDateTime::fromString(*a0,a1,&a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            PyObject *sipResObj = sipConvertFromNewType(sipRes,sipType_KDateTime,NULL);
            return sipBuildResult(0,"(Rb)",sipResObj,a2);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        const KTimeZones* a2 = 0;
        bool a3 = 1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1|J8b", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_KTimeZones, &a2, &a3))
        {
            KDateTime*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KDateTime(KDateTime::fromString(*a0,*a1,a2,a3));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_KDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTime, sipName_fromString, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_setFromStringDefault(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_setFromStringDefault(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDateTime::Spec* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9", sipType_KDateTime_Spec, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            KDateTime::setFromStringDefault(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTime, sipName_setFromStringDefault, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_outOfRange(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_outOfRange(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTime, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->outOfRange();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTime, sipName_outOfRange, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_compare(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_compare(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDateTime* a0;
        const KDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KDateTime, &sipCpp, sipType_KDateTime, &a0))
        {
            KDateTime::Comparison sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->compare(*a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KDateTime_Comparison);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTime, sipName_compare, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_detach(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_detach(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTime, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->detach();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTime, sipName_detach, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_setSimulatedSystemTime(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_setSimulatedSystemTime(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDateTime* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9", sipType_KDateTime, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            KDateTime::setSimulatedSystemTime(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTime, sipName_setSimulatedSystemTime, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTime_realCurrentLocalDateTime(PyObject *, PyObject *);}
static PyObject *meth_KDateTime_realCurrentLocalDateTime(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KDateTime*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KDateTime(KDateTime::realCurrentLocalDateTime());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTime, sipName_realCurrentLocalDateTime, NULL);

    return NULL;
}


extern "C" {static PyObject *slot_KDateTime___ge__(PyObject *,PyObject *);}
static PyObject *slot_KDateTime___ge__(PyObject *sipSelf,PyObject *sipArg)
{
    KDateTime *sipCpp = reinterpret_cast<KDateTime *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDateTime));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KDateTime* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_KDateTime, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->KDateTime::operator>=(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdecore,ge_slot,sipType_KDateTime,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KDateTime___gt__(PyObject *,PyObject *);}
static PyObject *slot_KDateTime___gt__(PyObject *sipSelf,PyObject *sipArg)
{
    KDateTime *sipCpp = reinterpret_cast<KDateTime *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDateTime));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KDateTime* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_KDateTime, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->KDateTime::operator>(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdecore,gt_slot,sipType_KDateTime,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KDateTime___le__(PyObject *,PyObject *);}
static PyObject *slot_KDateTime___le__(PyObject *sipSelf,PyObject *sipArg)
{
    KDateTime *sipCpp = reinterpret_cast<KDateTime *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDateTime));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KDateTime* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_KDateTime, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->KDateTime::operator<=(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdecore,le_slot,sipType_KDateTime,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KDateTime___lt__(PyObject *,PyObject *);}
static PyObject *slot_KDateTime___lt__(PyObject *sipSelf,PyObject *sipArg)
{
    KDateTime *sipCpp = reinterpret_cast<KDateTime *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDateTime));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KDateTime* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_KDateTime, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->KDateTime::operator<(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdecore,lt_slot,sipType_KDateTime,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KDateTime___ne__(PyObject *,PyObject *);}
static PyObject *slot_KDateTime___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KDateTime *sipCpp = reinterpret_cast<KDateTime *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDateTime));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KDateTime* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_KDateTime, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->KDateTime::operator!=(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdecore,ne_slot,sipType_KDateTime,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KDateTime___eq__(PyObject *,PyObject *);}
static PyObject *slot_KDateTime___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KDateTime *sipCpp = reinterpret_cast<KDateTime *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDateTime));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KDateTime* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_KDateTime, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->KDateTime::operator==(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdecore,eq_slot,sipType_KDateTime,sipSelf,sipArg);
}


/* Call the instance's destructor. */
extern "C" {static void release_KDateTime(void *, int);}
static void release_KDateTime(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KDateTime *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KDateTime(void *, SIP_SSIZE_T, const void *);}
static void assign_KDateTime(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KDateTime *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KDateTime *>(sipSrc);
}


extern "C" {static void *array_KDateTime(SIP_SSIZE_T);}
static void *array_KDateTime(SIP_SSIZE_T sipNrElem)
{
    return new KDateTime[sipNrElem];
}


extern "C" {static void *copy_KDateTime(const void *, SIP_SSIZE_T);}
static void *copy_KDateTime(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KDateTime(reinterpret_cast<const KDateTime *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KDateTime(sipSimpleWrapper *);}
static void dealloc_KDateTime(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KDateTime(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_KDateTime(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KDateTime(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KDateTime *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KDateTime();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QDate* a0;
        int a0State = 0;
        const KDateTime::Spec& a1def = KDateTime::Spec(KDateTime::LocalZone);
        const KDateTime::Spec* a1 = &a1def;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1|J9", sipType_QDate, &a0, &a0State, sipType_KDateTime_Spec, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KDateTime(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QDate *>(a0),sipType_QDate,a0State);

            return sipCpp;
        }
    }

    {
        const QDate* a0;
        int a0State = 0;
        const QTime* a1;
        int a1State = 0;
        const KDateTime::Spec& a2def = KDateTime::Spec(KDateTime::LocalZone);
        const KDateTime::Spec* a2 = &a2def;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J1|J9", sipType_QDate, &a0, &a0State, sipType_QTime, &a1, &a1State, sipType_KDateTime_Spec, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KDateTime(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QDate *>(a0),sipType_QDate,a0State);
            sipReleaseType(const_cast<QTime *>(a1),sipType_QTime,a1State);

            return sipCpp;
        }
    }

    {
        const QDateTime* a0;
        int a0State = 0;
        const KDateTime::Spec* a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J9", sipType_QDateTime, &a0, &a0State, sipType_KDateTime_Spec, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KDateTime(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QDateTime *>(a0),sipType_QDateTime,a0State);

            return sipCpp;
        }
    }

    {
        const QDateTime* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QDateTime, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KDateTime(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QDateTime *>(a0),sipType_QDateTime,a0State);

            return sipCpp;
        }
    }

    {
        const KDateTime* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_KDateTime, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KDateTime(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KDateTime[] = {
    {(void *)slot_KDateTime___ge__, ge_slot},
    {(void *)slot_KDateTime___gt__, gt_slot},
    {(void *)slot_KDateTime___le__, le_slot},
    {(void *)slot_KDateTime___lt__, lt_slot},
    {(void *)slot_KDateTime___ne__, ne_slot},
    {(void *)slot_KDateTime___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_KDateTime[] = {
    {SIP_MLNAME_CAST(sipName_addDays), meth_KDateTime_addDays, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addMSecs), meth_KDateTime_addMSecs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addMonths), meth_KDateTime_addMonths, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addSecs), meth_KDateTime_addSecs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addYears), meth_KDateTime_addYears, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_compare), meth_KDateTime_compare, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentDateTime), meth_KDateTime_currentDateTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentLocalDate), meth_KDateTime_currentLocalDate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentLocalDateTime), meth_KDateTime_currentLocalDateTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentLocalTime), meth_KDateTime_currentLocalTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentUtcDateTime), meth_KDateTime_currentUtcDateTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_date), meth_KDateTime_date, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dateTime), meth_KDateTime_dateTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_daysTo), meth_KDateTime_daysTo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_detach), meth_KDateTime_detach, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fromString), meth_KDateTime_fromString, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isClockTime), meth_KDateTime_isClockTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isDateOnly), meth_KDateTime_isDateOnly, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isLocalZone), meth_KDateTime_isLocalZone, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isNull), meth_KDateTime_isNull, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isOffsetFromUtc), meth_KDateTime_isOffsetFromUtc, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isSecondOccurrence), meth_KDateTime_isSecondOccurrence, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isUtc), meth_KDateTime_isUtc, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isValid), meth_KDateTime_isValid, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_outOfRange), meth_KDateTime_outOfRange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_realCurrentLocalDateTime), meth_KDateTime_realCurrentLocalDateTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_secsTo), meth_KDateTime_secsTo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_secsTo_long), meth_KDateTime_secsTo_long, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDate), meth_KDateTime_setDate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDateOnly), meth_KDateTime_setDateOnly, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDateTime), meth_KDateTime_setDateTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFromStringDefault), meth_KDateTime_setFromStringDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSecondOccurrence), meth_KDateTime_setSecondOccurrence, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSimulatedSystemTime), meth_KDateTime_setSimulatedSystemTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTime), meth_KDateTime_setTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTimeSpec), meth_KDateTime_setTimeSpec, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTime_t), meth_KDateTime_setTime_t, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_time), meth_KDateTime_time, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timeSpec), meth_KDateTime_timeSpec, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timeType), meth_KDateTime_timeType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timeZone), meth_KDateTime_timeZone, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toClockTime), meth_KDateTime_toClockTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toLocalZone), meth_KDateTime_toLocalZone, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toOffsetFromUtc), meth_KDateTime_toOffsetFromUtc, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toString), meth_KDateTime_toString, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toTimeSpec), meth_KDateTime_toTimeSpec, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toTime_t), meth_KDateTime_toTime_t, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toUtc), meth_KDateTime_toUtc, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toZone), meth_KDateTime_toZone, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_utcOffset), meth_KDateTime_utcOffset, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KDateTime[] = {
    {sipName_After, static_cast<int>(KDateTime::After), 72},
    {sipName_AtEnd, static_cast<int>(KDateTime::AtEnd), 72},
    {sipName_AtStart, static_cast<int>(KDateTime::AtStart), 72},
    {sipName_Before, static_cast<int>(KDateTime::Before), 72},
    {sipName_ClockTime, static_cast<int>(KDateTime::ClockTime), 74},
    {sipName_EndsAt, static_cast<int>(KDateTime::EndsAt), 72},
    {sipName_Equal, static_cast<int>(KDateTime::Equal), 72},
    {sipName_ISODate, static_cast<int>(KDateTime::ISODate), 75},
    {sipName_Inside, static_cast<int>(KDateTime::Inside), 72},
    {sipName_Invalid, static_cast<int>(KDateTime::Invalid), 74},
    {sipName_LocalDate, static_cast<int>(KDateTime::LocalDate), 75},
    {sipName_LocalZone, static_cast<int>(KDateTime::LocalZone), 74},
    {sipName_OffsetFromUTC, static_cast<int>(KDateTime::OffsetFromUTC), 74},
    {sipName_Outside, static_cast<int>(KDateTime::Outside), 72},
    {sipName_QtTextDate, static_cast<int>(KDateTime::QtTextDate), 75},
    {sipName_RFC3339Date, static_cast<int>(KDateTime::RFC3339Date), 75},
    {sipName_RFCDate, static_cast<int>(KDateTime::RFCDate), 75},
    {sipName_RFCDateDay, static_cast<int>(KDateTime::RFCDateDay), 75},
    {sipName_StartsAt, static_cast<int>(KDateTime::StartsAt), 72},
    {sipName_TimeZone, static_cast<int>(KDateTime::TimeZone), 74},
    {sipName_UTC, static_cast<int>(KDateTime::UTC), 74},
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KDateTime = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KDateTime,
        {0}
    },
    {
        sipNameNr_KDateTime,
        {0, 0, 1},
        50, methods_KDateTime,
        21, enummembers_KDateTime,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    slots_KDateTime,
    init_type_KDateTime,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDateTime,
    assign_KDateTime,
    array_KDateTime,
    copy_KDateTime,
    release_KDateTime,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 23 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kcurrencycode.sip"
#include <kcurrencycode.h>
#line 16269 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"

#line 23 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kcurrencycode.sip"
#include <kcurrencycode.h>
#line 16273 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"


extern "C" {static int slot_KCurrencyCode_CurrencyStatusFlags___bool__(PyObject *);}
static int slot_KCurrencyCode_CurrencyStatusFlags___bool__(PyObject *sipSelf)
{
    KCurrencyCode::CurrencyStatusFlags *sipCpp = reinterpret_cast<KCurrencyCode::CurrencyStatusFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KCurrencyCode_CurrencyStatusFlags));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 389 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KCurrencyCode::CurrencyStatusFlags::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 16295 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KCurrencyCode_CurrencyStatusFlags___ne__(PyObject *,PyObject *);}
static PyObject *slot_KCurrencyCode_CurrencyStatusFlags___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KCurrencyCode::CurrencyStatusFlags *sipCpp = reinterpret_cast<KCurrencyCode::CurrencyStatusFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KCurrencyCode_CurrencyStatusFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KCurrencyCode::CurrencyStatusFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KCurrencyCode_CurrencyStatusFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 380 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KCurrencyCode::CurrencyStatusFlags::Int() != a0->operator KCurrencyCode::CurrencyStatusFlags::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 16329 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
            sipReleaseType(const_cast<KCurrencyCode::CurrencyStatusFlags *>(a0),sipType_KCurrencyCode_CurrencyStatusFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdecore,ne_slot,sipType_KCurrencyCode_CurrencyStatusFlags,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KCurrencyCode_CurrencyStatusFlags___eq__(PyObject *,PyObject *);}
static PyObject *slot_KCurrencyCode_CurrencyStatusFlags___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KCurrencyCode::CurrencyStatusFlags *sipCpp = reinterpret_cast<KCurrencyCode::CurrencyStatusFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KCurrencyCode_CurrencyStatusFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KCurrencyCode::CurrencyStatusFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KCurrencyCode_CurrencyStatusFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 371 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KCurrencyCode::CurrencyStatusFlags::Int() == a0->operator KCurrencyCode::CurrencyStatusFlags::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 16369 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
            sipReleaseType(const_cast<KCurrencyCode::CurrencyStatusFlags *>(a0),sipType_KCurrencyCode_CurrencyStatusFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdecore,eq_slot,sipType_KCurrencyCode_CurrencyStatusFlags,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KCurrencyCode_CurrencyStatusFlags___invert__(PyObject *);}
static PyObject *slot_KCurrencyCode_CurrencyStatusFlags___invert__(PyObject *sipSelf)
{
    KCurrencyCode::CurrencyStatusFlags *sipCpp = reinterpret_cast<KCurrencyCode::CurrencyStatusFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KCurrencyCode_CurrencyStatusFlags));

    if (!sipCpp)
        return 0;


    {
        {
            KCurrencyCode::CurrencyStatusFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KCurrencyCode::CurrencyStatusFlags(~(*sipCpp));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KCurrencyCode_CurrencyStatusFlags,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KCurrencyCode_CurrencyStatusFlags___and__(PyObject *,PyObject *);}
static PyObject *slot_KCurrencyCode_CurrencyStatusFlags___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KCurrencyCode::CurrencyStatusFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KCurrencyCode_CurrencyStatusFlags, &a0, &a0State, &a1))
        {
            KCurrencyCode::CurrencyStatusFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KCurrencyCode::CurrencyStatusFlags((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KCurrencyCode_CurrencyStatusFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_KCurrencyCode_CurrencyStatusFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdecore,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KCurrencyCode_CurrencyStatusFlags___xor__(PyObject *,PyObject *);}
static PyObject *slot_KCurrencyCode_CurrencyStatusFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KCurrencyCode::CurrencyStatusFlags* a0;
        int a0State = 0;
        KCurrencyCode::CurrencyStatusFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KCurrencyCode_CurrencyStatusFlags, &a0, &a0State, sipType_KCurrencyCode_CurrencyStatusFlags, &a1, &a1State))
        {
            KCurrencyCode::CurrencyStatusFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KCurrencyCode::CurrencyStatusFlags((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KCurrencyCode_CurrencyStatusFlags,a0State);
            sipReleaseType(a1,sipType_KCurrencyCode_CurrencyStatusFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_KCurrencyCode_CurrencyStatusFlags,NULL);
        }
    }

    {
        KCurrencyCode::CurrencyStatusFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KCurrencyCode_CurrencyStatusFlags, &a0, &a0State, &a1))
        {
            KCurrencyCode::CurrencyStatusFlags*sipRes = 0;

#line 365 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KCurrencyCode::CurrencyStatusFlags(*a0 ^ a1);
#line 16478 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
            sipReleaseType(a0,sipType_KCurrencyCode_CurrencyStatusFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_KCurrencyCode_CurrencyStatusFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdecore,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KCurrencyCode_CurrencyStatusFlags___or__(PyObject *,PyObject *);}
static PyObject *slot_KCurrencyCode_CurrencyStatusFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KCurrencyCode::CurrencyStatusFlags* a0;
        int a0State = 0;
        KCurrencyCode::CurrencyStatusFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KCurrencyCode_CurrencyStatusFlags, &a0, &a0State, sipType_KCurrencyCode_CurrencyStatusFlags, &a1, &a1State))
        {
            KCurrencyCode::CurrencyStatusFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KCurrencyCode::CurrencyStatusFlags((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KCurrencyCode_CurrencyStatusFlags,a0State);
            sipReleaseType(a1,sipType_KCurrencyCode_CurrencyStatusFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_KCurrencyCode_CurrencyStatusFlags,NULL);
        }
    }

    {
        KCurrencyCode::CurrencyStatusFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KCurrencyCode_CurrencyStatusFlags, &a0, &a0State, &a1))
        {
            KCurrencyCode::CurrencyStatusFlags*sipRes = 0;

#line 360 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KCurrencyCode::CurrencyStatusFlags(*a0 | a1);
#line 16530 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
            sipReleaseType(a0,sipType_KCurrencyCode_CurrencyStatusFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_KCurrencyCode_CurrencyStatusFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdecore,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KCurrencyCode_CurrencyStatusFlags___int__(PyObject *);}
static PyObject *slot_KCurrencyCode_CurrencyStatusFlags___int__(PyObject *sipSelf)
{
    KCurrencyCode::CurrencyStatusFlags *sipCpp = reinterpret_cast<KCurrencyCode::CurrencyStatusFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KCurrencyCode_CurrencyStatusFlags));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KCurrencyCode_CurrencyStatusFlags___ixor__(PyObject *,PyObject *);}
static PyObject *slot_KCurrencyCode_CurrencyStatusFlags___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KCurrencyCode_CurrencyStatusFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KCurrencyCode::CurrencyStatusFlags *sipCpp = reinterpret_cast<KCurrencyCode::CurrencyStatusFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KCurrencyCode_CurrencyStatusFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KCurrencyCode::CurrencyStatusFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KCurrencyCode_CurrencyStatusFlags, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KCurrencyCode::CurrencyStatusFlags::operator^=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KCurrencyCode_CurrencyStatusFlags,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KCurrencyCode_CurrencyStatusFlags___ior__(PyObject *,PyObject *);}
static PyObject *slot_KCurrencyCode_CurrencyStatusFlags___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KCurrencyCode_CurrencyStatusFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KCurrencyCode::CurrencyStatusFlags *sipCpp = reinterpret_cast<KCurrencyCode::CurrencyStatusFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KCurrencyCode_CurrencyStatusFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KCurrencyCode::CurrencyStatusFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KCurrencyCode_CurrencyStatusFlags, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KCurrencyCode::CurrencyStatusFlags::operator|=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KCurrencyCode_CurrencyStatusFlags,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KCurrencyCode_CurrencyStatusFlags___iand__(PyObject *,PyObject *);}
static PyObject *slot_KCurrencyCode_CurrencyStatusFlags___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KCurrencyCode_CurrencyStatusFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KCurrencyCode::CurrencyStatusFlags *sipCpp = reinterpret_cast<KCurrencyCode::CurrencyStatusFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KCurrencyCode_CurrencyStatusFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KCurrencyCode::CurrencyStatusFlags::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Call the instance's destructor. */
extern "C" {static void release_KCurrencyCode_CurrencyStatusFlags(void *, int);}
static void release_KCurrencyCode_CurrencyStatusFlags(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KCurrencyCode::CurrencyStatusFlags *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KCurrencyCode_CurrencyStatusFlags(void *, SIP_SSIZE_T, const void *);}
static void assign_KCurrencyCode_CurrencyStatusFlags(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KCurrencyCode::CurrencyStatusFlags *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KCurrencyCode::CurrencyStatusFlags *>(sipSrc);
}


extern "C" {static void *array_KCurrencyCode_CurrencyStatusFlags(SIP_SSIZE_T);}
static void *array_KCurrencyCode_CurrencyStatusFlags(SIP_SSIZE_T sipNrElem)
{
    return new KCurrencyCode::CurrencyStatusFlags[sipNrElem];
}


extern "C" {static void *copy_KCurrencyCode_CurrencyStatusFlags(const void *, SIP_SSIZE_T);}
static void *copy_KCurrencyCode_CurrencyStatusFlags(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KCurrencyCode::CurrencyStatusFlags(reinterpret_cast<const KCurrencyCode::CurrencyStatusFlags *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KCurrencyCode_CurrencyStatusFlags(sipSimpleWrapper *);}
static void dealloc_KCurrencyCode_CurrencyStatusFlags(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KCurrencyCode_CurrencyStatusFlags(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_KCurrencyCode_CurrencyStatusFlags(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KCurrencyCode_CurrencyStatusFlags(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KCurrencyCode::CurrencyStatusFlags *sipCpp = 0;

    {
        const KCurrencyCode::CurrencyStatusFlags* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_KCurrencyCode_CurrencyStatusFlags, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KCurrencyCode::CurrencyStatusFlags(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<KCurrencyCode::CurrencyStatusFlags *>(a0),sipType_KCurrencyCode_CurrencyStatusFlags,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KCurrencyCode::CurrencyStatusFlags(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KCurrencyCode::CurrencyStatusFlags();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_KCurrencyCode_CurrencyStatusFlags(PyObject *, void **, int *, PyObject *);}
static int convertTo_KCurrencyCode_CurrencyStatusFlags(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    KCurrencyCode::CurrencyStatusFlags **sipCppPtr = reinterpret_cast<KCurrencyCode::CurrencyStatusFlags **>(sipCppPtrV);

#line 398 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KCurrencyCode::CurrencyStatusFlags is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KCurrencyCode_CurrencyStatus)) ||
            sipCanConvertToType(sipPy, sipType_KCurrencyCode_CurrencyStatusFlags, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KCurrencyCode_CurrencyStatus)))
{
    *sipCppPtr = new KCurrencyCode::CurrencyStatusFlags(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KCurrencyCode::CurrencyStatusFlags *>(sipConvertToType(sipPy, sipType_KCurrencyCode_CurrencyStatusFlags, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 16814 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KCurrencyCode_CurrencyStatusFlags[] = {
    {(void *)slot_KCurrencyCode_CurrencyStatusFlags___bool__, bool_slot},
    {(void *)slot_KCurrencyCode_CurrencyStatusFlags___ne__, ne_slot},
    {(void *)slot_KCurrencyCode_CurrencyStatusFlags___eq__, eq_slot},
    {(void *)slot_KCurrencyCode_CurrencyStatusFlags___invert__, invert_slot},
    {(void *)slot_KCurrencyCode_CurrencyStatusFlags___and__, and_slot},
    {(void *)slot_KCurrencyCode_CurrencyStatusFlags___xor__, xor_slot},
    {(void *)slot_KCurrencyCode_CurrencyStatusFlags___or__, or_slot},
    {(void *)slot_KCurrencyCode_CurrencyStatusFlags___int__, int_slot},
    {(void *)slot_KCurrencyCode_CurrencyStatusFlags___ixor__, ixor_slot},
    {(void *)slot_KCurrencyCode_CurrencyStatusFlags___ior__, ior_slot},
    {(void *)slot_KCurrencyCode_CurrencyStatusFlags___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KCurrencyCode_CurrencyStatusFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCurrencyCode__CurrencyStatusFlags,
        {0}
    },
    {
        sipNameNr_CurrencyStatusFlags,
        {66, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    slots_KCurrencyCode_CurrencyStatusFlags,
    init_type_KCurrencyCode_CurrencyStatusFlags,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCurrencyCode_CurrencyStatusFlags,
    assign_KCurrencyCode_CurrencyStatusFlags,
    array_KCurrencyCode_CurrencyStatusFlags,
    copy_KCurrencyCode_CurrencyStatusFlags,
    release_KCurrencyCode_CurrencyStatusFlags,
    0,
    convertTo_KCurrencyCode_CurrencyStatusFlags,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0
};

#line 23 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kcurrencycode.sip"
#include <kcurrencycode.h>
#line 16890 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"

#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 16894 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 16897 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 16900 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 23 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kcurrencycode.sip"
#include <kcurrencycode.h>
#line 16903 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 16906 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"


class sipKCurrencyCode : public KCurrencyCode
{
public:
    sipKCurrencyCode(const QString&,const QString&);
    sipKCurrencyCode(const QFileInfo&,const QString&);
    sipKCurrencyCode(const KCurrencyCode&);
    ~sipKCurrencyCode();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKCurrencyCode(const sipKCurrencyCode &);
    sipKCurrencyCode &operator = (const sipKCurrencyCode &);
};

sipKCurrencyCode::sipKCurrencyCode(const QString& a0,const QString& a1): KCurrencyCode(a0,a1), sipPySelf(0)
{
}

sipKCurrencyCode::sipKCurrencyCode(const QFileInfo& a0,const QString& a1): KCurrencyCode(a0,a1), sipPySelf(0)
{
}

sipKCurrencyCode::sipKCurrencyCode(const KCurrencyCode& a0): KCurrencyCode(a0), sipPySelf(0)
{
}

sipKCurrencyCode::~sipKCurrencyCode()
{
    sipCommonDtor(sipPySelf);
}


extern "C" {static PyObject *meth_KCurrencyCode_isoCurrencyCode(PyObject *, PyObject *);}
static PyObject *meth_KCurrencyCode_isoCurrencyCode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KCurrencyCode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCurrencyCode, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->isoCurrencyCode());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCurrencyCode, sipName_isoCurrencyCode, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCurrencyCode_isoCurrencyCodeNumeric(PyObject *, PyObject *);}
static PyObject *meth_KCurrencyCode_isoCurrencyCodeNumeric(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KCurrencyCode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCurrencyCode, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->isoCurrencyCodeNumeric());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCurrencyCode, sipName_isoCurrencyCodeNumeric, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCurrencyCode_name(PyObject *, PyObject *);}
static PyObject *meth_KCurrencyCode_name(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KCurrencyCode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCurrencyCode, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->name());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCurrencyCode, sipName_name, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCurrencyCode_isoName(PyObject *, PyObject *);}
static PyObject *meth_KCurrencyCode_isoName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KCurrencyCode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCurrencyCode, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->isoName());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCurrencyCode, sipName_isoName, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCurrencyCode_status(PyObject *, PyObject *);}
static PyObject *meth_KCurrencyCode_status(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KCurrencyCode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCurrencyCode, &sipCpp))
        {
            KCurrencyCode::CurrencyStatus sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->status();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KCurrencyCode_CurrencyStatus);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCurrencyCode, sipName_status, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCurrencyCode_dateIntroduced(PyObject *, PyObject *);}
static PyObject *meth_KCurrencyCode_dateIntroduced(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KCurrencyCode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCurrencyCode, &sipCpp))
        {
            QDate*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDate(sipCpp->dateIntroduced());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDate,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCurrencyCode, sipName_dateIntroduced, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCurrencyCode_dateSuspended(PyObject *, PyObject *);}
static PyObject *meth_KCurrencyCode_dateSuspended(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KCurrencyCode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCurrencyCode, &sipCpp))
        {
            QDate*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDate(sipCpp->dateSuspended());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDate,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCurrencyCode, sipName_dateSuspended, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCurrencyCode_dateWithdrawn(PyObject *, PyObject *);}
static PyObject *meth_KCurrencyCode_dateWithdrawn(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KCurrencyCode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCurrencyCode, &sipCpp))
        {
            QDate*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDate(sipCpp->dateWithdrawn());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDate,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCurrencyCode, sipName_dateWithdrawn, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCurrencyCode_symbolList(PyObject *, PyObject *);}
static PyObject *meth_KCurrencyCode_symbolList(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KCurrencyCode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCurrencyCode, &sipCpp))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->symbolList());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCurrencyCode, sipName_symbolList, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCurrencyCode_defaultSymbol(PyObject *, PyObject *);}
static PyObject *meth_KCurrencyCode_defaultSymbol(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KCurrencyCode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCurrencyCode, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->defaultSymbol());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCurrencyCode, sipName_defaultSymbol, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCurrencyCode_unambiguousSymbol(PyObject *, PyObject *);}
static PyObject *meth_KCurrencyCode_unambiguousSymbol(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KCurrencyCode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCurrencyCode, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->unambiguousSymbol());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCurrencyCode, sipName_unambiguousSymbol, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCurrencyCode_hasSubunits(PyObject *, PyObject *);}
static PyObject *meth_KCurrencyCode_hasSubunits(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KCurrencyCode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCurrencyCode, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasSubunits();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCurrencyCode, sipName_hasSubunits, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCurrencyCode_hasSubunitsInCirculation(PyObject *, PyObject *);}
static PyObject *meth_KCurrencyCode_hasSubunitsInCirculation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KCurrencyCode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCurrencyCode, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasSubunitsInCirculation();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCurrencyCode, sipName_hasSubunitsInCirculation, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCurrencyCode_subunitSymbol(PyObject *, PyObject *);}
static PyObject *meth_KCurrencyCode_subunitSymbol(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KCurrencyCode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCurrencyCode, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->subunitSymbol());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCurrencyCode, sipName_subunitSymbol, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCurrencyCode_subunitsPerUnit(PyObject *, PyObject *);}
static PyObject *meth_KCurrencyCode_subunitsPerUnit(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KCurrencyCode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCurrencyCode, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->subunitsPerUnit();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCurrencyCode, sipName_subunitsPerUnit, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCurrencyCode_decimalPlaces(PyObject *, PyObject *);}
static PyObject *meth_KCurrencyCode_decimalPlaces(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KCurrencyCode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCurrencyCode, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->decimalPlaces();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCurrencyCode, sipName_decimalPlaces, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCurrencyCode_countriesUsingCurrency(PyObject *, PyObject *);}
static PyObject *meth_KCurrencyCode_countriesUsingCurrency(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KCurrencyCode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCurrencyCode, &sipCpp))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->countriesUsingCurrency());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCurrencyCode, sipName_countriesUsingCurrency, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCurrencyCode_isValid(PyObject *, PyObject *);}
static PyObject *meth_KCurrencyCode_isValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KCurrencyCode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCurrencyCode, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isValid();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        KCurrencyCode::CurrencyStatusFlags* a1;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1", sipType_QString,&a0, &a0State, sipType_KCurrencyCode_CurrencyStatusFlags, &a1, &a1State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KCurrencyCode::isValid(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a1,sipType_KCurrencyCode_CurrencyStatusFlags,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCurrencyCode, sipName_isValid, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCurrencyCode_allCurrencyCodesList(PyObject *, PyObject *);}
static PyObject *meth_KCurrencyCode_allCurrencyCodesList(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KCurrencyCode::CurrencyStatusFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_KCurrencyCode_CurrencyStatusFlags, &a0, &a0State))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(KCurrencyCode::allCurrencyCodesList(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KCurrencyCode_CurrencyStatusFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCurrencyCode, sipName_allCurrencyCodesList, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCurrencyCode_currencyCodeToName(PyObject *, PyObject *);}
static PyObject *meth_KCurrencyCode_currencyCodeToName(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1|J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KCurrencyCode::currencyCodeToName(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCurrencyCode, sipName_currencyCodeToName, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KCurrencyCode(void *, int);}
static void release_KCurrencyCode(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKCurrencyCode *>(sipCppV);
    else
        delete reinterpret_cast<KCurrencyCode *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KCurrencyCode(sipSimpleWrapper *);}
static void dealloc_KCurrencyCode(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKCurrencyCode *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KCurrencyCode(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KCurrencyCode(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KCurrencyCode(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipKCurrencyCode *sipCpp = 0;

    {
        const QString* a0;
        int a0State = 0;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1|J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKCurrencyCode(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QFileInfo* a0;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9|J1", sipType_QFileInfo, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKCurrencyCode(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const KCurrencyCode* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_KCurrencyCode, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKCurrencyCode(*a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KCurrencyCode[] = {
    {SIP_MLNAME_CAST(sipName_allCurrencyCodesList), meth_KCurrencyCode_allCurrencyCodesList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_countriesUsingCurrency), meth_KCurrencyCode_countriesUsingCurrency, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currencyCodeToName), meth_KCurrencyCode_currencyCodeToName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dateIntroduced), meth_KCurrencyCode_dateIntroduced, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dateSuspended), meth_KCurrencyCode_dateSuspended, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dateWithdrawn), meth_KCurrencyCode_dateWithdrawn, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_decimalPlaces), meth_KCurrencyCode_decimalPlaces, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_defaultSymbol), meth_KCurrencyCode_defaultSymbol, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasSubunits), meth_KCurrencyCode_hasSubunits, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasSubunitsInCirculation), meth_KCurrencyCode_hasSubunitsInCirculation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isValid), meth_KCurrencyCode_isValid, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isoCurrencyCode), meth_KCurrencyCode_isoCurrencyCode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isoCurrencyCodeNumeric), meth_KCurrencyCode_isoCurrencyCodeNumeric, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isoName), meth_KCurrencyCode_isoName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_name), meth_KCurrencyCode_name, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_status), meth_KCurrencyCode_status, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_subunitSymbol), meth_KCurrencyCode_subunitSymbol, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_subunitsPerUnit), meth_KCurrencyCode_subunitsPerUnit, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_symbolList), meth_KCurrencyCode_symbolList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_unambiguousSymbol), meth_KCurrencyCode_unambiguousSymbol, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KCurrencyCode[] = {
    {sipName_ActiveCurrency, static_cast<int>(KCurrencyCode::ActiveCurrency), 67},
    {sipName_ObsoleteCurrency, static_cast<int>(KCurrencyCode::ObsoleteCurrency), 67},
    {sipName_SuspendedCurrency, static_cast<int>(KCurrencyCode::SuspendedCurrency), 67},
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KCurrencyCode = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCurrencyCode,
        {0}
    },
    {
        sipNameNr_KCurrencyCode,
        {0, 0, 1},
        20, methods_KCurrencyCode,
        3, enummembers_KCurrencyCode,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KCurrencyCode,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCurrencyCode,
    0,
    0,
    0,
    release_KCurrencyCode,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 17688 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"

#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 17692 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 623 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 17695 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 36 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 17698 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 17701 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 17704 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.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 protected method for every virtual method visible from
     * this class.
     */
protected:
    void swapDefault();
    QVariant maxValue() const;
    QVariant minValue() const;
    QVariant property() const;
    bool isEqual(const QVariant&) const;
    void setProperty(const QVariant&);
    void readDefault(KConfig*);
    void readConfig(KConfig*);
    void writeConfig(KConfig*);
    void setDefault();
    void setDefaultValue(const QList<int>&);

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::swapDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_swapDefault);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemIntList::swapDefault();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

QVariant sipKCoreConfigSkeleton_ItemIntList::maxValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_maxValue);

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemIntList::maxValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdecore_48(sipGILState, 0, sipPySelf, sipMeth);
}

QVariant sipKCoreConfigSkeleton_ItemIntList::minValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_minValue);

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemIntList::minValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdecore_48(sipGILState, 0, sipPySelf, sipMeth);
}

QVariant sipKCoreConfigSkeleton_ItemIntList::property() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_property);

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemIntList::property();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdecore_48(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKCoreConfigSkeleton_ItemIntList::isEqual(const QVariant& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_isEqual);

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemIntList::isEqual(a0);

    extern bool sipVH_kdecore_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVariant&);

    return sipVH_kdecore_49(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCoreConfigSkeleton_ItemIntList::setProperty(const QVariant& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_setProperty);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemIntList::setProperty(a0);
        return;
    }

    typedef void (*sipVH_QtCore_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVariant&);

    ((sipVH_QtCore_2)(sipModuleAPI_kdecore_QtCore->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCoreConfigSkeleton_ItemIntList::readDefault(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_readDefault);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemIntList::readDefault(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

    sipVH_kdecore_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCoreConfigSkeleton_ItemIntList::readConfig(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_readConfig);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemIntList::readConfig(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

    sipVH_kdecore_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCoreConfigSkeleton_ItemIntList::writeConfig(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_writeConfig);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemIntList::writeConfig(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

    sipVH_kdecore_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCoreConfigSkeleton_ItemIntList::setDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_setDefault);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemIntList::setDefault();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKCoreConfigSkeleton_ItemIntList::setDefaultValue(const QList<int>& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_setDefaultValue);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemIntList::setDefaultValue(a0);
        return;
    }

    extern void sipVH_kdecore_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QList<int>&);

    sipVH_kdecore_36(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemIntList_readConfig(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemIntList_readConfig(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemIntList *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_ItemIntList, sipName_readConfig, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemIntList_setProperty(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemIntList_setProperty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QVariant* a0;
        int a0State = 0;
        KCoreConfigSkeleton::ItemIntList *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_ItemIntList, sipName_setProperty, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemIntList_isEqual(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemIntList_isEqual(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QVariant* a0;
        int a0State = 0;
        const KCoreConfigSkeleton::ItemIntList *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_ItemIntList, sipName_isEqual, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemIntList_property(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemIntList_property(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KCoreConfigSkeleton::ItemIntList *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_ItemIntList, sipName_property, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemIntList_setValue(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemIntList_setValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QList<int>* a0;
        int a0State = 0;
        KCoreConfigSkeleton::ItemIntList *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_ItemIntList, sipName_setValue, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemIntList_value(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemIntList_value(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KCoreConfigSkeleton::ItemIntList *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCoreConfigSkeleton_ItemIntList, &sipCpp))
        {
            QList<int>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->value();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QList_1800,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ItemIntList, sipName_value, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemIntList_setDefaultValue(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemIntList_setDefaultValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QList<int>* a0;
        int a0State = 0;
        KCoreConfigSkeleton::ItemIntList *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_ItemIntList, sipName_setDefaultValue, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemIntList_setDefault(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemIntList_setDefault(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KCoreConfigSkeleton::ItemIntList *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_ItemIntList, sipName_setDefault, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemIntList_writeConfig(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemIntList_writeConfig(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemIntList *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_ItemIntList, sipName_writeConfig, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemIntList_readDefault(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemIntList_readDefault(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemIntList *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_ItemIntList, sipName_readDefault, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemIntList_swapDefault(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemIntList_swapDefault(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KCoreConfigSkeleton::ItemIntList *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_ItemIntList, sipName_swapDefault, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KCoreConfigSkeleton_ItemIntList(void *, int);}
static void release_KCoreConfigSkeleton_ItemIntList(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & 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 *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KCoreConfigSkeleton_ItemIntList(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KCoreConfigSkeleton_ItemIntList(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KCoreConfigSkeleton_ItemIntList(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipKCoreConfigSkeleton_ItemIntList *sipCpp = 0;

    {
        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 (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "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);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KCoreConfigSkeleton_ItemIntList[] = {{41, 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_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 sipTypeDef_kdecore_KCoreConfigSkeleton_ItemIntList = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCoreConfigSkeleton__ItemIntList,
        {0}
    },
    {
        sipNameNr_ItemIntList,
        {42, 255, 0},
        11, methods_KCoreConfigSkeleton_ItemIntList,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KCoreConfigSkeleton_ItemIntList,
    0,
    init_type_KCoreConfigSkeleton_ItemIntList,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCoreConfigSkeleton_ItemIntList,
    0,
    0,
    0,
    release_KCoreConfigSkeleton_ItemIntList,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 18388 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"

#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 18392 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 18395 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 36 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 18398 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 18401 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 18404 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.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 protected method for every virtual method visible from
     * this class.
     */
protected:
    void swapDefault();
    QVariant maxValue() const;
    QVariant minValue() const;
    QVariant property() const;
    bool isEqual(const QVariant&) const;
    void setProperty(const QVariant&);
    void readDefault(KConfig*);
    void writeConfig(KConfig*);
    void readConfig(KConfig*);
    void setDefault();
    void setDefaultValue(const KUrl::List&);

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::swapDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_swapDefault);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemUrlList::swapDefault();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

QVariant sipKCoreConfigSkeleton_ItemUrlList::maxValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_maxValue);

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemUrlList::maxValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdecore_48(sipGILState, 0, sipPySelf, sipMeth);
}

QVariant sipKCoreConfigSkeleton_ItemUrlList::minValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_minValue);

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemUrlList::minValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdecore_48(sipGILState, 0, sipPySelf, sipMeth);
}

QVariant sipKCoreConfigSkeleton_ItemUrlList::property() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_property);

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemUrlList::property();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdecore_48(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKCoreConfigSkeleton_ItemUrlList::isEqual(const QVariant& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_isEqual);

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemUrlList::isEqual(a0);

    extern bool sipVH_kdecore_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVariant&);

    return sipVH_kdecore_49(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCoreConfigSkeleton_ItemUrlList::setProperty(const QVariant& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_setProperty);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemUrlList::setProperty(a0);
        return;
    }

    typedef void (*sipVH_QtCore_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVariant&);

    ((sipVH_QtCore_2)(sipModuleAPI_kdecore_QtCore->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCoreConfigSkeleton_ItemUrlList::readDefault(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_readDefault);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemUrlList::readDefault(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

    sipVH_kdecore_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCoreConfigSkeleton_ItemUrlList::writeConfig(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_writeConfig);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemUrlList::writeConfig(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

    sipVH_kdecore_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCoreConfigSkeleton_ItemUrlList::readConfig(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_readConfig);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemUrlList::readConfig(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

    sipVH_kdecore_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCoreConfigSkeleton_ItemUrlList::setDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_setDefault);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemUrlList::setDefault();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKCoreConfigSkeleton_ItemUrlList::setDefaultValue(const KUrl::List& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_setDefaultValue);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemUrlList::setDefaultValue(a0);
        return;
    }

    extern void sipVH_kdecore_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const KUrl::List&);

    sipVH_kdecore_37(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemUrlList_readConfig(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemUrlList_readConfig(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemUrlList *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_ItemUrlList, sipName_readConfig, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemUrlList_writeConfig(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemUrlList_writeConfig(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemUrlList *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_ItemUrlList, sipName_writeConfig, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemUrlList_setProperty(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemUrlList_setProperty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QVariant* a0;
        int a0State = 0;
        KCoreConfigSkeleton::ItemUrlList *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_ItemUrlList, sipName_setProperty, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemUrlList_isEqual(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemUrlList_isEqual(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QVariant* a0;
        int a0State = 0;
        const KCoreConfigSkeleton::ItemUrlList *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_ItemUrlList, sipName_isEqual, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemUrlList_property(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemUrlList_property(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KCoreConfigSkeleton::ItemUrlList *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_ItemUrlList, sipName_property, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemUrlList_setValue(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemUrlList_setValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KUrl::List* a0;
        KCoreConfigSkeleton::ItemUrlList *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_ItemUrlList, sipName_setValue, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemUrlList_value(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemUrlList_value(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KCoreConfigSkeleton::ItemUrlList *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_ItemUrlList, sipName_value, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemUrlList_setDefaultValue(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemUrlList_setDefaultValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KUrl::List* a0;
        KCoreConfigSkeleton::ItemUrlList *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_ItemUrlList, sipName_setDefaultValue, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemUrlList_setDefault(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemUrlList_setDefault(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KCoreConfigSkeleton::ItemUrlList *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_ItemUrlList, sipName_setDefault, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemUrlList_readDefault(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemUrlList_readDefault(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemUrlList *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_ItemUrlList, sipName_readDefault, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemUrlList_swapDefault(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemUrlList_swapDefault(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KCoreConfigSkeleton::ItemUrlList *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_ItemUrlList, sipName_swapDefault, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KCoreConfigSkeleton_ItemUrlList(void *, int);}
static void release_KCoreConfigSkeleton_ItemUrlList(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & 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 *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KCoreConfigSkeleton_ItemUrlList(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KCoreConfigSkeleton_ItemUrlList(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KCoreConfigSkeleton_ItemUrlList(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipKCoreConfigSkeleton_ItemUrlList *sipCpp = 0;

    {
        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 (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "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);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KCoreConfigSkeleton_ItemUrlList[] = {{41, 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_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 sipTypeDef_kdecore_KCoreConfigSkeleton_ItemUrlList = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCoreConfigSkeleton__ItemUrlList,
        {0}
    },
    {
        sipNameNr_ItemUrlList,
        {42, 255, 0},
        11, methods_KCoreConfigSkeleton_ItemUrlList,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KCoreConfigSkeleton_ItemUrlList,
    0,
    init_type_KCoreConfigSkeleton_ItemUrlList,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCoreConfigSkeleton_ItemUrlList,
    0,
    0,
    0,
    release_KCoreConfigSkeleton_ItemUrlList,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 19080 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"

#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 19084 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 19087 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 36 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 19090 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 19093 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 19096 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"


class sipKCoreConfigSkeleton_ItemPathList : public KCoreConfigSkeleton::ItemPathList
{
public:
    sipKCoreConfigSkeleton_ItemPathList(const QString&,const QString&,QStringList&,const QStringList&);
    virtual ~sipKCoreConfigSkeleton_ItemPathList();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void swapDefault();
    QVariant maxValue() const;
    QVariant minValue() const;
    QVariant property() const;
    bool isEqual(const QVariant&) const;
    void setProperty(const QVariant&);
    void readDefault(KConfig*);
    void writeConfig(KConfig*);
    void readConfig(KConfig*);
    void setDefault();
    void setDefaultValue(const QStringList&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKCoreConfigSkeleton_ItemPathList(const sipKCoreConfigSkeleton_ItemPathList &);
    sipKCoreConfigSkeleton_ItemPathList &operator = (const sipKCoreConfigSkeleton_ItemPathList &);

    char sipPyMethods[12];
};

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::swapDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_swapDefault);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemPathList::swapDefault();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

QVariant sipKCoreConfigSkeleton_ItemPathList::maxValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_maxValue);

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemPathList::maxValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdecore_48(sipGILState, 0, sipPySelf, sipMeth);
}

QVariant sipKCoreConfigSkeleton_ItemPathList::minValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_minValue);

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemPathList::minValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdecore_48(sipGILState, 0, sipPySelf, sipMeth);
}

QVariant sipKCoreConfigSkeleton_ItemPathList::property() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_property);

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemPathList::property();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdecore_48(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKCoreConfigSkeleton_ItemPathList::isEqual(const QVariant& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_isEqual);

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemPathList::isEqual(a0);

    extern bool sipVH_kdecore_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVariant&);

    return sipVH_kdecore_49(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCoreConfigSkeleton_ItemPathList::setProperty(const QVariant& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_setProperty);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemPathList::setProperty(a0);
        return;
    }

    typedef void (*sipVH_QtCore_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVariant&);

    ((sipVH_QtCore_2)(sipModuleAPI_kdecore_QtCore->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCoreConfigSkeleton_ItemPathList::readDefault(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_readDefault);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemPathList::readDefault(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

    sipVH_kdecore_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCoreConfigSkeleton_ItemPathList::writeConfig(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_writeConfig);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemPathList::writeConfig(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

    sipVH_kdecore_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCoreConfigSkeleton_ItemPathList::readConfig(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_readConfig);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemPathList::readConfig(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

    sipVH_kdecore_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCoreConfigSkeleton_ItemPathList::setDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_setDefault);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemPathList::setDefault();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKCoreConfigSkeleton_ItemPathList::setDefaultValue(const QStringList& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_setDefaultValue);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemPathList::setDefaultValue(a0);
        return;
    }

    extern void sipVH_kdecore_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QStringList&);

    sipVH_kdecore_38(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemPathList_readConfig(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemPathList_readConfig(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemPathList *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_ItemPathList, sipName_readConfig, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemPathList_writeConfig(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemPathList_writeConfig(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemPathList *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_ItemPathList, sipName_writeConfig, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KCoreConfigSkeleton_ItemPathList(void *, int);}
static void release_KCoreConfigSkeleton_ItemPathList(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & 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 *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KCoreConfigSkeleton_ItemPathList(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KCoreConfigSkeleton_ItemPathList(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KCoreConfigSkeleton_ItemPathList(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipKCoreConfigSkeleton_ItemPathList *sipCpp = 0;

    {
        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 (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "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);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KCoreConfigSkeleton_ItemPathList[] = {{61, 255, 1}};


static PyMethodDef methods_KCoreConfigSkeleton_ItemPathList[] = {
    {SIP_MLNAME_CAST(sipName_readConfig), meth_KCoreConfigSkeleton_ItemPathList_readConfig, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeConfig), meth_KCoreConfigSkeleton_ItemPathList_writeConfig, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdecore_KCoreConfigSkeleton_ItemPathList = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCoreConfigSkeleton__ItemPathList,
        {0}
    },
    {
        sipNameNr_ItemPathList,
        {42, 255, 0},
        2, methods_KCoreConfigSkeleton_ItemPathList,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KCoreConfigSkeleton_ItemPathList,
    0,
    init_type_KCoreConfigSkeleton_ItemPathList,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCoreConfigSkeleton_ItemPathList,
    0,
    0,
    0,
    release_KCoreConfigSkeleton_ItemPathList,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 19514 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"

#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 19518 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 19521 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 36 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 19524 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 19527 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 19530 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdecore/sipkdecorepart5.cpp"


class sipKCoreConfigSkeleton_ItemStringList : public KCoreConfigSkeleton::ItemStringList
{
public:
    sipKCoreConfigSkeleton_ItemStringList(const QString&,const QString&,QStringList&,const QStringList&);
    virtual ~sipKCoreConfigSkeleton_ItemStringList();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void swapDefault();
    QVariant maxValue() const;
    QVariant minValue() const;
    QVariant property() const;
    bool isEqual(const QVariant&) const;
    void setProperty(const QVariant&);
    void readDefault(KConfig*);
    void readConfig(KConfig*);
    void writeConfig(KConfig*);
    void setDefault();
    void setDefaultValue(const QStringList&);

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::swapDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_swapDefault);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemStringList::swapDefault();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

QVariant sipKCoreConfigSkeleton_ItemStringList::maxValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_maxValue);

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemStringList::maxValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdecore_48(sipGILState, 0, sipPySelf, sipMeth);
}

QVariant sipKCoreConfigSkeleton_ItemStringList::minValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_minValue);

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemStringList::minValue();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdecore_48(sipGILState, 0, sipPySelf, sipMeth);
}

QVariant sipKCoreConfigSkeleton_ItemStringList::property() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_property);

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemStringList::property();

    extern QVariant sipVH_kdecore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdecore_48(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKCoreConfigSkeleton_ItemStringList::isEqual(const QVariant& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_isEqual);

    if (!sipMeth)
        return KCoreConfigSkeleton::ItemStringList::isEqual(a0);

    extern bool sipVH_kdecore_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVariant&);

    return sipVH_kdecore_49(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCoreConfigSkeleton_ItemStringList::setProperty(const QVariant& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_setProperty);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemStringList::setProperty(a0);
        return;
    }

    typedef void (*sipVH_QtCore_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVariant&);

    ((sipVH_QtCore_2)(sipModuleAPI_kdecore_QtCore->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCoreConfigSkeleton_ItemStringList::readDefault(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_readDefault);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemStringList::readDefault(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

    sipVH_kdecore_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCoreConfigSkeleton_ItemStringList::readConfig(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_readConfig);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemStringList::readConfig(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

    sipVH_kdecore_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCoreConfigSkeleton_ItemStringList::writeConfig(KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_writeConfig);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemStringList::writeConfig(a0);
        return;
    }

    extern void sipVH_kdecore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KConfig*);

    sipVH_kdecore_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCoreConfigSkeleton_ItemStringList::setDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_setDefault);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemStringList::setDefault();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKCoreConfigSkeleton_ItemStringList::setDefaultValue(const QStringList& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_setDefaultValue);

    if (!sipMeth)
    {
        KCoreConfigSkeleton::ItemStringList::setDefaultValue(a0);
        return;
    }

    extern void sipVH_kdecore_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QStringList&);

    sipVH_kdecore_38(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemStringList_readConfig(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemStringList_readConfig(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemStringList *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_ItemStringList, sipName_readConfig, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemStringList_setProperty(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemStringList_setProperty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QVariant* a0;
        int a0State = 0;
        KCoreConfigSkeleton::ItemStringList *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_ItemStringList, sipName_setProperty, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemStringList_isEqual(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemStringList_isEqual(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QVariant* a0;
        int a0State = 0;
        const KCoreConfigSkeleton::ItemStringList *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_ItemStringList, sipName_isEqual, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemStringList_property(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemStringList_property(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KCoreConfigSkeleton::ItemStringList *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_ItemStringList, sipName_property, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemStringList_setValue(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemStringList_setValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QStringList* a0;
        int a0State = 0;
        KCoreConfigSkeleton::ItemStringList *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_ItemStringList, sipName_setValue, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemStringList_value(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemStringList_value(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KCoreConfigSkeleton::ItemStringList *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_ItemStringList, sipName_value, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemStringList_setDefaultValue(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemStringList_setDefaultValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QStringList* a0;
        int a0State = 0;
        KCoreConfigSkeleton::ItemStringList *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_ItemStringList, sipName_setDefaultValue, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemStringList_setDefault(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemStringList_setDefault(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KCoreConfigSkeleton::ItemStringList *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_ItemStringList, sipName_setDefault, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemStringList_writeConfig(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemStringList_writeConfig(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemStringList *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_ItemStringList, sipName_writeConfig, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemStringList_readDefault(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemStringList_readDefault(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KConfig* a0;
        KCoreConfigSkeleton::ItemStringList *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_ItemStringList, sipName_readDefault, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCoreConfigSkeleton_ItemStringList_swapDefault(PyObject *, PyObject *);}
static PyObject *meth_KCoreConfigSkeleton_ItemStringList_swapDefault(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KCoreConfigSkeleton::ItemStringList *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_ItemStringList, sipName_swapDefault, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KCoreConfigSkeleton_ItemStringList(void *, int);}
static void release_KCoreConfigSkeleton_ItemStringList(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & 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 *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KCoreConfigSkeleton_ItemStringList(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KCoreConfigSkeleton_ItemStringList(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KCoreConfigSkeleton_ItemStringList(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipKCoreConfigSkeleton_ItemStringList *sipCpp = 0;

    {
        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 (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "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);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KCoreConfigSkeleton_ItemStringList[] = {{41, 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_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 sipTypeDef_kdecore_KCoreConfigSkeleton_ItemStringList = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCoreConfigSkeleton__ItemStringList,
        {0}
    },
    {
        sipNameNr_ItemStringList,
        {42, 255, 0},
        11, methods_KCoreConfigSkeleton_ItemStringList,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KCoreConfigSkeleton_ItemStringList,
    0,
    init_type_KCoreConfigSkeleton_ItemStringList,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCoreConfigSkeleton_ItemStringList,
    0,
    0,
    0,
    release_KCoreConfigSkeleton_ItemStringList,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};
