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

#include "sipAPIkdecore.h"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kaboutdata.sip"
#include <kaboutdata.h>
#line 12 "sipkdecorepart4.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/klocalizedstring.sip"
#include <klocalizedstring.h>
#line 16 "sipkdecorepart4.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 19 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 22 "sipkdecorepart4.cpp"


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

    {
        KAboutPerson *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KAboutPerson *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KAboutPerson *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KAboutPerson *sipCpp;

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

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

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

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

    return NULL;
}


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

    return NULL;
}


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

    delete reinterpret_cast<KAboutPerson *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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

    if (!sipCpp)
    {
        const KLocalizedString * a0;
        const KLocalizedString& a1def = KLocalizedString();
        const KLocalizedString * a1 = &a1def;
        const QByteArray& a2def = QByteArray();
        const QByteArray * a2 = &a2def;
        int a2State = 0;
        const QByteArray& a3def = QByteArray();
        const QByteArray * a3 = &a3def;
        int a3State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9|J9J1J1",sipType_KLocalizedString,&a0,sipType_KLocalizedString,&a1,sipType_QByteArray,&a2,&a2State,sipType_QByteArray,&a3,&a3State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KAboutPerson(*a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QByteArray *>(a2),sipType_QByteArray,a2State);
            sipReleaseType(const_cast<QByteArray *>(a3),sipType_QByteArray,a3State);
        }
    }

    if (!sipCpp)
    {
        const KAboutPerson * a0;

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

    return sipCpp;
}


static PyMethodDef methods_KAboutPerson[] = {
    {SIP_MLNAME_CAST(sipName_emailAddress), meth_KAboutPerson_emailAddress, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_name), meth_KAboutPerson_name, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_task), meth_KAboutPerson_task, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_webAddress), meth_KAboutPerson_webAddress, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kdecore_KAboutPerson = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KAboutPerson,
        {0}
    },
    sipNameNr_KAboutPerson,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {0, 0, 1},
    0,
    0,
    4, methods_KAboutPerson,
    0, 0,
    0, 0,
    init_KAboutPerson,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KAboutPerson,
    release_KAboutPerson,
    cast_KAboutPerson,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kjobuidelegate.sip"
#include <kjobuidelegate.h>
#line 265 "sipkdecorepart4.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 269 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 272 "sipkdecorepart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 275 "sipkdecorepart4.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 278 "sipkdecorepart4.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 281 "sipkdecorepart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 284 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 287 "sipkdecorepart4.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 318 "sipkdecorepart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 321 "sipkdecorepart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 324 "sipkdecorepart4.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 327 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 330 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 333 "sipkdecorepart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 336 "sipkdecorepart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 339 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 342 "sipkdecorepart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 345 "sipkdecorepart4.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 public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    KJob * sipProtect_job();
    void sipProtectVirt_slotWarning(bool,KJob *,const QString&,const QString&);

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

public:
    sipSimpleWrapper *sipPySelf;

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

void sipKJobUiDelegate::showErrorMessage()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KJobUiDelegate::showErrorMessage();
        return;
    }

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

void sipKJobUiDelegate::slotWarning(KJob *a0,const QString& a1,const QString& a2)
{
    extern void sipVH_kdecore_14(sip_gilstate_t,PyObject *,KJob *,const QString&,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KJobUiDelegate::slotWarning(a0,a1,a2);
        return;
    }

    sipVH_kdecore_14(sipGILState,meth,a0,a1,a2);
}

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

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

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

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

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

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

KJob * sipKJobUiDelegate::sipProtect_job()
{
    return KJobUiDelegate::job();
}

void sipKJobUiDelegate::sipProtectVirt_slotWarning(bool sipSelfWasArg,KJob *a0,const QString& a1,const QString& a2)
{
    (sipSelfWasArg ? KJobUiDelegate::slotWarning(a0,a1,a2) : slotWarning(a0,a1,a2));
}


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

    {
        char * a0;
        sipKJobUiDelegate *sipCpp;

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

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

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipKJobUiDelegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KJobUiDelegate,&sipCpp,sipType_QTimerEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipKJobUiDelegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KJobUiDelegate,&sipCpp,sipType_QChildEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKJobUiDelegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KJobUiDelegate,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKJobUiDelegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KJobUiDelegate,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKJobUiDelegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KJobUiDelegate,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipKJobUiDelegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KJobUiDelegate,&sipCpp))
        {
            KJob *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_job();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KJobUiDelegate *sipCpp;

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

    return NULL;
}


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

    {
        bool a0;
        KJobUiDelegate *sipCpp;

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

    return NULL;
}


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

    {
        KJobUiDelegate *sipCpp;

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

    return NULL;
}


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

    {
        bool a0;
        KJobUiDelegate *sipCpp;

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

    return NULL;
}


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

    {
        KJobUiDelegate *sipCpp;

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

    return NULL;
}


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

    {
        KJob * a0;
        const QString * a1;
        int a1State = 0;
        const QString * a2;
        int a2State = 0;
        sipKJobUiDelegate *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8J1J1",&sipSelf,sipType_KJobUiDelegate,&sipCpp,sipType_KJob,&a0,sipType_QString,&a1,&a1State,sipType_QString,&a2,&a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_slotWarning(sipSelfWasArg,a0,*a1,*a2);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KJobUiDelegate)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(KJobUiDelegate *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKJobUiDelegate *>(sipCppV);
    else
        delete reinterpret_cast<KJobUiDelegate *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

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

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KJobUiDelegate[] = {{111, 0, 1}};


static PyMethodDef methods_KJobUiDelegate[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KJobUiDelegate_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KJobUiDelegate_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KJobUiDelegate_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KJobUiDelegate_disconnectNotify, METH_VARARGS, NULL},
    {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_receivers), meth_KJobUiDelegate_receivers, 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},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KJobUiDelegate_timerEvent, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kdecore_KJobUiDelegate = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KJobUiDelegate,
        {0}
    },
    sipNameNr_KJobUiDelegate,
    -1,
    -1,
    {0, 0, 1},
    supers_KJobUiDelegate,
    0,
    13, methods_KJobUiDelegate,
    0, 0,
    0, 0,
    init_KJobUiDelegate,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KJobUiDelegate,
    release_KJobUiDelegate,
    cast_KJobUiDelegate,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KJobUiDelegate::staticMetaObject,
    0,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kjobtrackerinterface.sip"
#include <kjobtrackerinterface.h>
#line 1132 "sipkdecorepart4.cpp"

#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 1136 "sipkdecorepart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 1139 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 1142 "sipkdecorepart4.cpp"
#line 642 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <qpair.h>
#line 1145 "sipkdecorepart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1148 "sipkdecorepart4.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1151 "sipkdecorepart4.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1154 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 1157 "sipkdecorepart4.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 1188 "sipkdecorepart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 1191 "sipkdecorepart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 1194 "sipkdecorepart4.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 1197 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 1200 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 1203 "sipkdecorepart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1206 "sipkdecorepart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 1209 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 1212 "sipkdecorepart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 1215 "sipkdecorepart4.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 public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    void sipProtectVirt_finished(bool,KJob *);
    void sipProtectVirt_suspended(bool,KJob *);
    void sipProtectVirt_resumed(bool,KJob *);
    void sipProtectVirt_description(bool,KJob *,const QString&,const QPair<QString,QString>&,const QPair<QString,QString>&);
    void sipProtectVirt_infoMessage(bool,KJob *,const QString&,const QString&);
    void sipProtectVirt_warning(bool,KJob *,const QString&,const QString&);
    void sipProtectVirt_totalAmount(bool,KJob *,KJob::Unit,qulonglong);
    void sipProtectVirt_processedAmount(bool,KJob *,KJob::Unit,qulonglong);
    void sipProtectVirt_percent(bool,KJob *,unsigned long);
    void sipProtectVirt_speed(bool,KJob *,unsigned long);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void registerJob(KJob *);
    void unregisterJob(KJob *);
    void finished(KJob *);
    void suspended(KJob *);
    void resumed(KJob *);
    void description(KJob *,const QString&,const QPair<QString,QString>&,const QPair<QString,QString>&);
    void infoMessage(KJob *,const QString&,const QString&);
    void warning(KJob *,const QString&,const QString&);
    void totalAmount(KJob *,KJob::Unit,qulonglong);
    void processedAmount(KJob *,KJob::Unit,qulonglong);
    void percent(KJob *,unsigned long);
    void speed(KJob *,unsigned long);
    bool event(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

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

void sipKJobTrackerInterface::registerJob(KJob *a0)
{
    extern void sipVH_kdecore_18(sip_gilstate_t,PyObject *,KJob *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KJobTrackerInterface::registerJob(a0);
        return;
    }

    sipVH_kdecore_18(sipGILState,meth,a0);
}

void sipKJobTrackerInterface::unregisterJob(KJob *a0)
{
    extern void sipVH_kdecore_18(sip_gilstate_t,PyObject *,KJob *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KJobTrackerInterface::unregisterJob(a0);
        return;
    }

    sipVH_kdecore_18(sipGILState,meth,a0);
}

void sipKJobTrackerInterface::finished(KJob *a0)
{
    extern void sipVH_kdecore_18(sip_gilstate_t,PyObject *,KJob *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KJobTrackerInterface::finished(a0);
        return;
    }

    sipVH_kdecore_18(sipGILState,meth,a0);
}

void sipKJobTrackerInterface::suspended(KJob *a0)
{
    extern void sipVH_kdecore_18(sip_gilstate_t,PyObject *,KJob *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KJobTrackerInterface::suspended(a0);
        return;
    }

    sipVH_kdecore_18(sipGILState,meth,a0);
}

void sipKJobTrackerInterface::resumed(KJob *a0)
{
    extern void sipVH_kdecore_18(sip_gilstate_t,PyObject *,KJob *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KJobTrackerInterface::resumed(a0);
        return;
    }

    sipVH_kdecore_18(sipGILState,meth,a0);
}

void sipKJobTrackerInterface::description(KJob *a0,const QString& a1,const QPair<QString,QString>& a2,const QPair<QString,QString>& a3)
{
    extern void sipVH_kdecore_17(sip_gilstate_t,PyObject *,KJob *,const QString&,const QPair<QString,QString>&,const QPair<QString,QString>&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KJobTrackerInterface::description(a0,a1,a2,a3);
        return;
    }

    sipVH_kdecore_17(sipGILState,meth,a0,a1,a2,a3);
}

void sipKJobTrackerInterface::infoMessage(KJob *a0,const QString& a1,const QString& a2)
{
    extern void sipVH_kdecore_14(sip_gilstate_t,PyObject *,KJob *,const QString&,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KJobTrackerInterface::infoMessage(a0,a1,a2);
        return;
    }

    sipVH_kdecore_14(sipGILState,meth,a0,a1,a2);
}

void sipKJobTrackerInterface::warning(KJob *a0,const QString& a1,const QString& a2)
{
    extern void sipVH_kdecore_14(sip_gilstate_t,PyObject *,KJob *,const QString&,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KJobTrackerInterface::warning(a0,a1,a2);
        return;
    }

    sipVH_kdecore_14(sipGILState,meth,a0,a1,a2);
}

void sipKJobTrackerInterface::totalAmount(KJob *a0,KJob::Unit a1,qulonglong a2)
{
    extern void sipVH_kdecore_16(sip_gilstate_t,PyObject *,KJob *,KJob::Unit,unsigned PY_LONG_LONG);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KJobTrackerInterface::totalAmount(a0,a1,a2);
        return;
    }

    sipVH_kdecore_16(sipGILState,meth,a0,a1,a2);
}

void sipKJobTrackerInterface::processedAmount(KJob *a0,KJob::Unit a1,qulonglong a2)
{
    extern void sipVH_kdecore_16(sip_gilstate_t,PyObject *,KJob *,KJob::Unit,unsigned PY_LONG_LONG);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KJobTrackerInterface::processedAmount(a0,a1,a2);
        return;
    }

    sipVH_kdecore_16(sipGILState,meth,a0,a1,a2);
}

void sipKJobTrackerInterface::percent(KJob *a0,unsigned long a1)
{
    extern void sipVH_kdecore_15(sip_gilstate_t,PyObject *,KJob *,unsigned long);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KJobTrackerInterface::percent(a0,a1);
        return;
    }

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

void sipKJobTrackerInterface::speed(KJob *a0,unsigned long a1)
{
    extern void sipVH_kdecore_15(sip_gilstate_t,PyObject *,KJob *,unsigned long);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KJobTrackerInterface::speed(a0,a1);
        return;
    }

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

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

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

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

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

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

void sipKJobTrackerInterface::sipProtectVirt_finished(bool sipSelfWasArg,KJob *a0)
{
    (sipSelfWasArg ? KJobTrackerInterface::finished(a0) : finished(a0));
}

void sipKJobTrackerInterface::sipProtectVirt_suspended(bool sipSelfWasArg,KJob *a0)
{
    (sipSelfWasArg ? KJobTrackerInterface::suspended(a0) : suspended(a0));
}

void sipKJobTrackerInterface::sipProtectVirt_resumed(bool sipSelfWasArg,KJob *a0)
{
    (sipSelfWasArg ? KJobTrackerInterface::resumed(a0) : resumed(a0));
}

void sipKJobTrackerInterface::sipProtectVirt_description(bool sipSelfWasArg,KJob *a0,const QString& a1,const QPair<QString,QString>& a2,const QPair<QString,QString>& a3)
{
    (sipSelfWasArg ? KJobTrackerInterface::description(a0,a1,a2,a3) : description(a0,a1,a2,a3));
}

void sipKJobTrackerInterface::sipProtectVirt_infoMessage(bool sipSelfWasArg,KJob *a0,const QString& a1,const QString& a2)
{
    (sipSelfWasArg ? KJobTrackerInterface::infoMessage(a0,a1,a2) : infoMessage(a0,a1,a2));
}

void sipKJobTrackerInterface::sipProtectVirt_warning(bool sipSelfWasArg,KJob *a0,const QString& a1,const QString& a2)
{
    (sipSelfWasArg ? KJobTrackerInterface::warning(a0,a1,a2) : warning(a0,a1,a2));
}

void sipKJobTrackerInterface::sipProtectVirt_totalAmount(bool sipSelfWasArg,KJob *a0,KJob::Unit a1,qulonglong a2)
{
    (sipSelfWasArg ? KJobTrackerInterface::totalAmount(a0,a1,a2) : totalAmount(a0,a1,a2));
}

void sipKJobTrackerInterface::sipProtectVirt_processedAmount(bool sipSelfWasArg,KJob *a0,KJob::Unit a1,qulonglong a2)
{
    (sipSelfWasArg ? KJobTrackerInterface::processedAmount(a0,a1,a2) : processedAmount(a0,a1,a2));
}

void sipKJobTrackerInterface::sipProtectVirt_percent(bool sipSelfWasArg,KJob *a0,unsigned long a1)
{
    (sipSelfWasArg ? KJobTrackerInterface::percent(a0,a1) : percent(a0,a1));
}

void sipKJobTrackerInterface::sipProtectVirt_speed(bool sipSelfWasArg,KJob *a0,unsigned long a1)
{
    (sipSelfWasArg ? KJobTrackerInterface::speed(a0,a1) : speed(a0,a1));
}


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

    {
        char * a0;
        sipKJobTrackerInterface *sipCpp;

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

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

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipKJobTrackerInterface *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KJobTrackerInterface,&sipCpp,sipType_QTimerEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipKJobTrackerInterface *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KJobTrackerInterface,&sipCpp,sipType_QChildEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKJobTrackerInterface *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KJobTrackerInterface,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKJobTrackerInterface *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KJobTrackerInterface,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKJobTrackerInterface *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KJobTrackerInterface,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KJob * a0;
        KJobTrackerInterface *sipCpp;

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

    return NULL;
}


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

    {
        KJob * a0;
        KJobTrackerInterface *sipCpp;

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

    return NULL;
}


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

    {
        KJob * a0;
        sipKJobTrackerInterface *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KJobTrackerInterface,&sipCpp,sipType_KJob,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_finished(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KJob * a0;
        sipKJobTrackerInterface *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KJobTrackerInterface,&sipCpp,sipType_KJob,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_suspended(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KJob * a0;
        sipKJobTrackerInterface *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KJobTrackerInterface,&sipCpp,sipType_KJob,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_resumed(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KJobTrackerInterface_description(PyObject *, PyObject *);}
static PyObject *meth_KJobTrackerInterface_description(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    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;
        sipKJobTrackerInterface *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8J1J1J1",&sipSelf,sipType_KJobTrackerInterface,&sipCpp,sipType_KJob,&a0,sipType_QString,&a1,&a1State,sipType_QPair_0200QString_0200QString,&a2,&a2State,sipType_QPair_0200QString_0200QString,&a3,&a3State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_description(sipSelfWasArg,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_0200QString_0200QString,a2State);
            sipReleaseType(const_cast<QPair<QString,QString> *>(a3),sipType_QPair_0200QString_0200QString,a3State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KJob * a0;
        const QString * a1;
        int a1State = 0;
        const QString * a2;
        int a2State = 0;
        sipKJobTrackerInterface *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8J1J1",&sipSelf,sipType_KJobTrackerInterface,&sipCpp,sipType_KJob,&a0,sipType_QString,&a1,&a1State,sipType_QString,&a2,&a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_infoMessage(sipSelfWasArg,a0,*a1,*a2);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KJob * a0;
        const QString * a1;
        int a1State = 0;
        const QString * a2;
        int a2State = 0;
        sipKJobTrackerInterface *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8J1J1",&sipSelf,sipType_KJobTrackerInterface,&sipCpp,sipType_KJob,&a0,sipType_QString,&a1,&a1State,sipType_QString,&a2,&a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_warning(sipSelfWasArg,a0,*a1,*a2);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KJob * a0;
        KJob::Unit a1;
        qulonglong a2;
        sipKJobTrackerInterface *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8Eo",&sipSelf,sipType_KJobTrackerInterface,&sipCpp,sipType_KJob,&a0,sipType_KJob_Unit,&a1,&a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_totalAmount(sipSelfWasArg,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(sipArgsParsed,sipName_KJobTrackerInterface,sipName_totalAmount);

    return NULL;
}


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

    {
        KJob * a0;
        KJob::Unit a1;
        qulonglong a2;
        sipKJobTrackerInterface *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8Eo",&sipSelf,sipType_KJobTrackerInterface,&sipCpp,sipType_KJob,&a0,sipType_KJob_Unit,&a1,&a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_processedAmount(sipSelfWasArg,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(sipArgsParsed,sipName_KJobTrackerInterface,sipName_processedAmount);

    return NULL;
}


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

    {
        KJob * a0;
        unsigned long a1;
        sipKJobTrackerInterface *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8m",&sipSelf,sipType_KJobTrackerInterface,&sipCpp,sipType_KJob,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_percent(sipSelfWasArg,a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KJob * a0;
        unsigned long a1;
        sipKJobTrackerInterface *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8m",&sipSelf,sipType_KJobTrackerInterface,&sipCpp,sipType_KJob,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_speed(sipSelfWasArg,a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KJobTrackerInterface)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(KJobTrackerInterface *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKJobTrackerInterface *>(sipCppV);
    else
        delete reinterpret_cast<KJobTrackerInterface *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

    if (!sipCpp)
    {
        QObject * a0 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"|JH",sipType_QObject,&a0,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKJobTrackerInterface(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KJobTrackerInterface[] = {{111, 0, 1}};


static PyMethodDef methods_KJobTrackerInterface[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KJobTrackerInterface_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KJobTrackerInterface_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KJobTrackerInterface_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_description), meth_KJobTrackerInterface_description, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KJobTrackerInterface_disconnectNotify, 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_receivers), meth_KJobTrackerInterface_receivers, 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_timerEvent), meth_KJobTrackerInterface_timerEvent, 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 pyqt4Type_kdecore_KJobTrackerInterface = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KJobTrackerInterface,
        {0}
    },
    sipNameNr_KJobTrackerInterface,
    -1,
    -1,
    {0, 0, 1},
    supers_KJobTrackerInterface,
    0,
    18, methods_KJobTrackerInterface,
    0, 0,
    0, 0,
    init_KJobTrackerInterface,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KJobTrackerInterface,
    release_KJobTrackerInterface,
    cast_KJobTrackerInterface,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KJobTrackerInterface::staticMetaObject,
    0,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 2416 "sipkdecorepart4.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 2420 "sipkdecorepart4.cpp"


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

            return sipRes;
        }
    }
}


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

    int sipArgsParsed = 0;

    {
        const KJob::Capabilities * a0;
        int a0State = 0;

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

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

            sipReleaseType(const_cast<KJob::Capabilities *>(a0),sipType_KJob_Capabilities,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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


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

    int sipArgsParsed = 0;

    {
        const KJob::Capabilities * a0;
        int a0State = 0;

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

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

            sipReleaseType(const_cast<KJob::Capabilities *>(a0),sipType_KJob_Capabilities,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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


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


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

    {
        KJob::Capabilities * a0;
        int a0State = 0;
        int a1;

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

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


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

    {
        KJob::Capabilities * a0;
        int a0State = 0;
        KJob::Capabilities * a1;
        int a1State = 0;

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

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


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

    {
        KJob::Capabilities * a0;
        int a0State = 0;
        KJob::Capabilities * a1;
        int a1State = 0;

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

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


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


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

    int sipArgsParsed = 0;

    {
        KJob::Capabilities * a0;
        int a0State = 0;

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

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    int sipArgsParsed = 0;

    {
        KJob::Capabilities * a0;
        int a0State = 0;

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

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    int sipArgsParsed = 0;

    {
        int a0;

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

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    return NULL;
}


/* 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 *, const void*);}
static void assign_KJob_Capabilities(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<KJob::Capabilities *>(sipDst) = *reinterpret_cast<const KJob::Capabilities *>(sipSrc);
}


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


extern "C" {static void *init_KJob_Capabilities(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KJob_Capabilities(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    KJob::Capabilities *sipCpp = 0;

    if (!sipCpp)
    {
        const KJob::Capabilities * a0;
        int a0State = 0;

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

    if (!sipCpp)
    {
        int a0;

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

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

    return sipCpp;
}


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 276 "/usr/local/share/py-sip/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(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 2869 "sipkdecorepart4.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 pyqt4Type_kdecore_KJob_Capabilities = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KJob__Capabilities,
        {0}
    },
    sipNameNr_Capabilities,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {77, 255, 0},
    0,
    slots_KJob_Capabilities,
    0, 0,
    0, 0,
    0, 0,
    init_KJob_Capabilities,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KJob_Capabilities,
    release_KJob_Capabilities,
    cast_KJob_Capabilities,
    convertTo_KJob_Capabilities,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_KJob_Capabilities,
    0,
    1,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 2937 "sipkdecorepart4.cpp"

#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 2941 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 2944 "sipkdecorepart4.cpp"
#line 642 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <qpair.h>
#line 2947 "sipkdecorepart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 2950 "sipkdecorepart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kjobuidelegate.sip"
#include <kjobuidelegate.h>
#line 2953 "sipkdecorepart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2956 "sipkdecorepart4.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2959 "sipkdecorepart4.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2962 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 2965 "sipkdecorepart4.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 2996 "sipkdecorepart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 2999 "sipkdecorepart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 3002 "sipkdecorepart4.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 3005 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 3008 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 3011 "sipkdecorepart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3014 "sipkdecorepart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 3017 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 3020 "sipkdecorepart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 3023 "sipkdecorepart4.cpp"


class sipKJob : public KJob
{
public:
    sipKJob(QObject *);
    virtual ~sipKJob();

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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    bool sipProtectVirt_doKill(bool);
    bool sipProtectVirt_doSuspend(bool);
    bool sipProtectVirt_doResume(bool);
    void sipProtect_setCapabilities(KJob::Capabilities);
    void sipProtect_setError(int);
    void sipProtect_setErrorText(const QString&);
    void sipProtect_setProcessedAmount(KJob::Unit,qulonglong);
    void sipProtect_setTotalAmount(KJob::Unit,qulonglong);
    void sipProtect_setPercent(unsigned long);
    void sipProtect_emitResult();
    void sipProtect_emitPercent(qulonglong,qulonglong);
    void sipProtect_emitSpeed(unsigned long);

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[12];
};

sipKJob::sipKJob(QObject *a0): KJob(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKJob::metaObject() const
{
    return sip_kdecore_qt_metaobject(sipPySelf,sipType_KJob);
}

int sipKJob::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KJob::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdecore_qt_metacall(sipPySelf,sipType_KJob,_c,_id,_a);

    return _id;
}

void *sipKJob::qt_metacast(const char *_clname)
{
    return (sip_kdecore_qt_metacast && sip_kdecore_qt_metacast(sipPySelf,sipType_KJob,_clname)) ? this : KJob::qt_metacast(_clname);
}

void sipKJob::start()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_KJob,sipName_start);

    if (!meth)
        return;

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

bool sipKJob::doKill()
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KJob::doKill();

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

bool sipKJob::doSuspend()
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KJob::doSuspend();

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

bool sipKJob::doResume()
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KJob::doResume();

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

QString sipKJob::errorString() const
{
    typedef QString (*sipVH_QtCore_58)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KJob::errorString();

    return ((sipVH_QtCore_58)(sipModuleAPI_kdecore_QtCore->em_virthandlers[58]))(sipGILState,meth);
}

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

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

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

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

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

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

bool sipKJob::sipProtectVirt_doKill(bool sipSelfWasArg)
{
    return (sipSelfWasArg ? KJob::doKill() : doKill());
}

bool sipKJob::sipProtectVirt_doSuspend(bool sipSelfWasArg)
{
    return (sipSelfWasArg ? KJob::doSuspend() : doSuspend());
}

bool sipKJob::sipProtectVirt_doResume(bool sipSelfWasArg)
{
    return (sipSelfWasArg ? KJob::doResume() : doResume());
}

void sipKJob::sipProtect_setCapabilities(KJob::Capabilities a0)
{
    KJob::setCapabilities(a0);
}

void sipKJob::sipProtect_setError(int a0)
{
    KJob::setError(a0);
}

void sipKJob::sipProtect_setErrorText(const QString& a0)
{
    KJob::setErrorText(a0);
}

void sipKJob::sipProtect_setProcessedAmount(KJob::Unit a0,qulonglong a1)
{
    KJob::setProcessedAmount(a0,a1);
}

void sipKJob::sipProtect_setTotalAmount(KJob::Unit a0,qulonglong a1)
{
    KJob::setTotalAmount(a0,a1);
}

void sipKJob::sipProtect_setPercent(unsigned long a0)
{
    KJob::setPercent(a0);
}

void sipKJob::sipProtect_emitResult()
{
    KJob::emitResult();
}

void sipKJob::sipProtect_emitPercent(qulonglong a0,qulonglong a1)
{
    KJob::emitPercent(a0,a1);
}

void sipKJob::sipProtect_emitSpeed(unsigned long a0)
{
    KJob::emitSpeed(a0);
}


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

    {
        char * a0;
        sipKJob *sipCpp;

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

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

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipKJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KJob,&sipCpp,sipType_QTimerEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipKJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KJob,&sipCpp,sipType_QChildEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KJob,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KJob,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KJob,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KJobUiDelegate * a0;
        KJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KJob,&sipCpp,sipType_KJobUiDelegate,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setUiDelegate(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KJob *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->uiDelegate();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KJob,&sipCpp))
        {
            KJob::Capabilities *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KJob::Capabilities(sipCpp->capabilities());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KJob *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isSuspended();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KJob,&sipCpp))
        {
            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KJob, sipName_start);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->start();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KJob::KillVerbosity a0 = KJob::Quietly;
        KJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B|E",&sipSelf,sipType_KJob,&sipCpp,sipType_KJob_KillVerbosity,&a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KJob *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->suspend();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KJob *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->resume();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipKJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KJob,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_doKill(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipKJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KJob,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_doSuspend(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipKJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KJob,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_doResume(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KJob::Capabilities * a0;
        int a0State = 0;
        sipKJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&sipSelf,sipType_KJob,&sipCpp,sipType_KJob_Capabilities,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setCapabilities(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KJob_Capabilities,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KJob *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->exec();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KJob,&sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->error();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KJob *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KJob *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString((sipSelfWasArg ? sipCpp->KJob::errorString() : sipCpp->errorString()));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KJob::Unit a0;
        KJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BE",&sipSelf,sipType_KJob,&sipCpp,sipType_KJob_Unit,&a0))
        {
            qulonglong sipRes;

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

            return PyLong_FromUnsignedLongLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KJob::Unit a0;
        KJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BE",&sipSelf,sipType_KJob,&sipCpp,sipType_KJob_Unit,&a0))
        {
            qulonglong sipRes;

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

            return PyLong_FromUnsignedLongLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KJob,&sipCpp))
        {
            unsigned long sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->percent();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        KJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_KJob,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAutoDelete(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KJob *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isAutoDelete();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        sipKJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pi",&sipSelf,sipType_KJob,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setError(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&sipSelf,sipType_KJob,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setErrorText(*a0);
            Py_END_ALLOW_THREADS

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KJob::Unit a0;
        qulonglong a1;
        sipKJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pEo",&sipSelf,sipType_KJob,&sipCpp,sipType_KJob_Unit,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setProcessedAmount(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KJob::Unit a0;
        qulonglong a1;
        sipKJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pEo",&sipSelf,sipType_KJob,&sipCpp,sipType_KJob_Unit,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setTotalAmount(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        unsigned long a0;
        sipKJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pm",&sipSelf,sipType_KJob,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setPercent(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipKJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KJob,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_emitResult();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        qulonglong a0;
        qulonglong a1;
        sipKJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"poo",&sipSelf,sipType_KJob,&sipCpp,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_emitPercent(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        unsigned long a0;
        sipKJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pm",&sipSelf,sipType_KJob,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_emitSpeed(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KJob)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(KJob *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKJob *>(sipCppV);
    else
        delete reinterpret_cast<KJob *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

    if (!sipCpp)
    {
        QObject * a0 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"|JH",sipType_QObject,&a0,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKJob(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KJob[] = {{111, 0, 1}};


static PyMethodDef methods_KJob[] = {
    {SIP_MLNAME_CAST(sipName_capabilities), meth_KJob_capabilities, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KJob_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KJob_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KJob_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KJob_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doKill), meth_KJob_doKill, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doResume), meth_KJob_doResume, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doSuspend), meth_KJob_doSuspend, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_emitPercent), meth_KJob_emitPercent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_emitResult), meth_KJob_emitResult, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_emitSpeed), meth_KJob_emitSpeed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_error), meth_KJob_error, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_errorString), meth_KJob_errorString, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_errorText), meth_KJob_errorText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_exec_), meth_KJob_exec_, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isAutoDelete), meth_KJob_isAutoDelete, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isSuspended), meth_KJob_isSuspended, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_kill), meth_KJob_kill, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_percent), meth_KJob_percent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_processedAmount), meth_KJob_processedAmount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KJob_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resume), meth_KJob_resume, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAutoDelete), meth_KJob_setAutoDelete, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCapabilities), meth_KJob_setCapabilities, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setError), meth_KJob_setError, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setErrorText), meth_KJob_setErrorText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPercent), meth_KJob_setPercent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setProcessedAmount), meth_KJob_setProcessedAmount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTotalAmount), meth_KJob_setTotalAmount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUiDelegate), meth_KJob_setUiDelegate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_start), meth_KJob_start, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_suspend), meth_KJob_suspend, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KJob_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_totalAmount), meth_KJob_totalAmount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_uiDelegate), meth_KJob_uiDelegate, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KJob[] = {
    {sipName_Bytes, KJob::Bytes, 81},
    {sipName_Directories, KJob::Directories, 81},
    {sipName_EmitResult, KJob::EmitResult, 80},
    {sipName_Files, KJob::Files, 81},
    {sipName_Killable, KJob::Killable, 79},
    {sipName_KilledJobError, KJob::KilledJobError, -1},
    {sipName_NoCapabilities, KJob::NoCapabilities, 79},
    {sipName_NoError, KJob::NoError, -1},
    {sipName_Quietly, KJob::Quietly, 80},
    {sipName_Suspendable, KJob::Suspendable, 79},
    {sipName_UserDefinedError, KJob::UserDefinedError, -1},
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KJob[] = {
    {"warning(KJob *,const QString&,const QString&)", 0},
    {"warning(KJob *,const QString&)", 0},
    {"infoMessage(KJob *,const QString&,const QString&)", 0},
    {"infoMessage(KJob *,const QString&)", 0},
    {"description(KJob *,const QString&,const QPair<QString,QString>&,const QPair<QString,QString>&)", 0},
    {"description(KJob *,const QString&,const QPair<QString,QString>&)", 0},
    {"description(KJob *,const QString&)", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_kdecore_KJob = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KJob,
        {0}
    },
    sipNameNr_KJob,
    -1,
    -1,
    {0, 0, 1},
    supers_KJob,
    0,
    35, methods_KJob,
    11, enummembers_KJob,
    0, 0,
    init_KJob,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KJob,
    release_KJob,
    cast_KJob,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KJob::staticMetaObject,
    0,
    pyqt4_signals_KJob
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcompositejob.sip"
#include <kcompositejob.h>
#line 4570 "sipkdecorepart4.cpp"

#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 4574 "sipkdecorepart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 4577 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 4580 "sipkdecorepart4.cpp"
#line 708 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <qlist.h>
#line 102 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservice.sip"
#include <qlist.h>
#line 81 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kmimetype.sip"
#include <qlist.h>
#line 61 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
#include <qlist.h>
#line 65 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksycocaentry.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 4633 "sipkdecorepart4.cpp"
#line 136 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 4636 "sipkdecorepart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kplugininfo.sip"
#include <kplugininfo.h>
#line 4639 "sipkdecorepart4.cpp"
#line 36 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kprotocolinfo.sip"
#include <kprotocolinfo.h>
#line 4642 "sipkdecorepart4.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 4645 "sipkdecorepart4.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 4648 "sipkdecorepart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kserviceaction.sip"
#include <kserviceaction.h>
#line 4651 "sipkdecorepart4.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 4654 "sipkdecorepart4.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 4657 "sipkdecorepart4.cpp"
#line 321 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 4660 "sipkdecorepart4.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 4663 "sipkdecorepart4.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kautosavefile.sip"
#include <kautosavefile.h>
#line 4666 "sipkdecorepart4.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 4669 "sipkdecorepart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kaboutdata.sip"
#include <kaboutdata.h>
#line 4672 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 4675 "sipkdecorepart4.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/klocale.sip"
#include <klocale.h>
#line 4678 "sipkdecorepart4.cpp"
#line 57 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktcpsocket.sip"
#include <ktcpsocket.h>
#line 4681 "sipkdecorepart4.cpp"
#line 79 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktcpsocket.sip"
#include <ktcpsocket.h>
#line 4684 "sipkdecorepart4.cpp"
#line 83 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kuser.sip"
#include <kuser.h>
#line 4687 "sipkdecorepart4.cpp"
#line 34 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kuser.sip"
#include <kuser.h>
#line 4690 "sipkdecorepart4.cpp"
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 224 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 4705 "sipkdecorepart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/klockfile.sip"
#include <klockfile.h>
#line 4708 "sipkdecorepart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kmimetype.sip"
#include <kmimetype.h>
#line 4711 "sipkdecorepart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservice.sip"
#include <kservice.h>
#line 4714 "sipkdecorepart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicegroup.sip"
#include <kservicegroup.h>
#line 4717 "sipkdecorepart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
#include <kservicetype.h>
#line 4720 "sipkdecorepart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksharedconfig.sip"
#include <ksharedconfig.h>
#line 4723 "sipkdecorepart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksycocaentry.sip"
#include <ksycocaentry.h>
#line 4726 "sipkdecorepart4.cpp"
#line 642 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <qpair.h>
#line 4729 "sipkdecorepart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 4732 "sipkdecorepart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kjobuidelegate.sip"
#include <kjobuidelegate.h>
#line 4735 "sipkdecorepart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4738 "sipkdecorepart4.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4741 "sipkdecorepart4.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4744 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 4747 "sipkdecorepart4.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 4778 "sipkdecorepart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 4781 "sipkdecorepart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 4784 "sipkdecorepart4.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 4787 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 4790 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 4793 "sipkdecorepart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4796 "sipkdecorepart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 4799 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 4802 "sipkdecorepart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 4805 "sipkdecorepart4.cpp"


class sipKCompositeJob : public KCompositeJob
{
public:
    sipKCompositeJob(QObject *);
    virtual ~sipKCompositeJob();

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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    bool sipProtectVirt_doKill(bool);
    bool sipProtectVirt_doSuspend(bool);
    bool sipProtectVirt_doResume(bool);
    void sipProtect_setCapabilities(KJob::Capabilities);
    void sipProtect_setError(int);
    void sipProtect_setErrorText(const QString&);
    void sipProtect_setProcessedAmount(KJob::Unit,qulonglong);
    void sipProtect_setTotalAmount(KJob::Unit,qulonglong);
    void sipProtect_setPercent(unsigned long);
    void sipProtect_emitResult();
    void sipProtect_emitPercent(qulonglong,qulonglong);
    void sipProtect_emitSpeed(unsigned long);
    bool sipProtectVirt_addSubjob(bool,KJob *);
    bool sipProtectVirt_removeSubjob(bool,KJob *);
    bool sipProtect_hasSubjobs();
    const QList<KJob *>& sipProtect_subjobs() const;
    void sipProtect_clearSubjobs();
    void sipProtectVirt_slotResult(bool,KJob *);
    void sipProtectVirt_slotInfoMessage(bool,KJob *,const QString&,const QString&);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool addSubjob(KJob *);
    bool removeSubjob(KJob *);
    void slotResult(KJob *);
    void slotInfoMessage(KJob *,const QString&,const QString&);
    void start();
    bool doKill();
    bool doSuspend();
    bool doResume();
    QString errorString() const;
    bool event(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[16];
};

sipKCompositeJob::sipKCompositeJob(QObject *a0): KCompositeJob(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKCompositeJob::metaObject() const
{
    return sip_kdecore_qt_metaobject(sipPySelf,sipType_KCompositeJob);
}

int sipKCompositeJob::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KCompositeJob::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdecore_qt_metacall(sipPySelf,sipType_KCompositeJob,_c,_id,_a);

    return _id;
}

void *sipKCompositeJob::qt_metacast(const char *_clname)
{
    return (sip_kdecore_qt_metacast && sip_kdecore_qt_metacast(sipPySelf,sipType_KCompositeJob,_clname)) ? this : KCompositeJob::qt_metacast(_clname);
}

bool sipKCompositeJob::addSubjob(KJob *a0)
{
    extern bool sipVH_kdecore_19(sip_gilstate_t,PyObject *,KJob *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KCompositeJob::addSubjob(a0);

    return sipVH_kdecore_19(sipGILState,meth,a0);
}

bool sipKCompositeJob::removeSubjob(KJob *a0)
{
    extern bool sipVH_kdecore_19(sip_gilstate_t,PyObject *,KJob *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KCompositeJob::removeSubjob(a0);

    return sipVH_kdecore_19(sipGILState,meth,a0);
}

void sipKCompositeJob::slotResult(KJob *a0)
{
    extern void sipVH_kdecore_18(sip_gilstate_t,PyObject *,KJob *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCompositeJob::slotResult(a0);
        return;
    }

    sipVH_kdecore_18(sipGILState,meth,a0);
}

void sipKCompositeJob::slotInfoMessage(KJob *a0,const QString& a1,const QString& a2)
{
    extern void sipVH_kdecore_14(sip_gilstate_t,PyObject *,KJob *,const QString&,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KCompositeJob::slotInfoMessage(a0,a1,a2);
        return;
    }

    sipVH_kdecore_14(sipGILState,meth,a0,a1,a2);
}

void sipKCompositeJob::start()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,sipName_KCompositeJob,sipName_start);

    if (!meth)
        return;

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

bool sipKCompositeJob::doKill()
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KJob::doKill();

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

bool sipKCompositeJob::doSuspend()
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KJob::doSuspend();

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

bool sipKCompositeJob::doResume()
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KJob::doResume();

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

QString sipKCompositeJob::errorString() const
{
    typedef QString (*sipVH_QtCore_58)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KJob::errorString();

    return ((sipVH_QtCore_58)(sipModuleAPI_kdecore_QtCore->em_virthandlers[58]))(sipGILState,meth);
}

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

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

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

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

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

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

bool sipKCompositeJob::sipProtectVirt_doKill(bool sipSelfWasArg)
{
    return (sipSelfWasArg ? KJob::doKill() : doKill());
}

bool sipKCompositeJob::sipProtectVirt_doSuspend(bool sipSelfWasArg)
{
    return (sipSelfWasArg ? KJob::doSuspend() : doSuspend());
}

bool sipKCompositeJob::sipProtectVirt_doResume(bool sipSelfWasArg)
{
    return (sipSelfWasArg ? KJob::doResume() : doResume());
}

void sipKCompositeJob::sipProtect_setCapabilities(KJob::Capabilities a0)
{
    KJob::setCapabilities(a0);
}

void sipKCompositeJob::sipProtect_setError(int a0)
{
    KJob::setError(a0);
}

void sipKCompositeJob::sipProtect_setErrorText(const QString& a0)
{
    KJob::setErrorText(a0);
}

void sipKCompositeJob::sipProtect_setProcessedAmount(KJob::Unit a0,qulonglong a1)
{
    KJob::setProcessedAmount(a0,a1);
}

void sipKCompositeJob::sipProtect_setTotalAmount(KJob::Unit a0,qulonglong a1)
{
    KJob::setTotalAmount(a0,a1);
}

void sipKCompositeJob::sipProtect_setPercent(unsigned long a0)
{
    KJob::setPercent(a0);
}

void sipKCompositeJob::sipProtect_emitResult()
{
    KJob::emitResult();
}

void sipKCompositeJob::sipProtect_emitPercent(qulonglong a0,qulonglong a1)
{
    KJob::emitPercent(a0,a1);
}

void sipKCompositeJob::sipProtect_emitSpeed(unsigned long a0)
{
    KJob::emitSpeed(a0);
}

bool sipKCompositeJob::sipProtectVirt_addSubjob(bool sipSelfWasArg,KJob *a0)
{
    return (sipSelfWasArg ? KCompositeJob::addSubjob(a0) : addSubjob(a0));
}

bool sipKCompositeJob::sipProtectVirt_removeSubjob(bool sipSelfWasArg,KJob *a0)
{
    return (sipSelfWasArg ? KCompositeJob::removeSubjob(a0) : removeSubjob(a0));
}

bool sipKCompositeJob::sipProtect_hasSubjobs()
{
    return KCompositeJob::hasSubjobs();
}

const QList<KJob *>& sipKCompositeJob::sipProtect_subjobs() const
{
    return KCompositeJob::subjobs();
}

void sipKCompositeJob::sipProtect_clearSubjobs()
{
    KCompositeJob::clearSubjobs();
}

void sipKCompositeJob::sipProtectVirt_slotResult(bool sipSelfWasArg,KJob *a0)
{
    (sipSelfWasArg ? KCompositeJob::slotResult(a0) : slotResult(a0));
}

void sipKCompositeJob::sipProtectVirt_slotInfoMessage(bool sipSelfWasArg,KJob *a0,const QString& a1,const QString& a2)
{
    (sipSelfWasArg ? KCompositeJob::slotInfoMessage(a0,a1,a2) : slotInfoMessage(a0,a1,a2));
}


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

    {
        char * a0;
        sipKCompositeJob *sipCpp;

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

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

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipKCompositeJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KCompositeJob,&sipCpp,sipType_QTimerEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipKCompositeJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KCompositeJob,&sipCpp,sipType_QChildEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKCompositeJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KCompositeJob,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKCompositeJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KCompositeJob,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKCompositeJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KCompositeJob,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipKCompositeJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KCompositeJob,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_doKill(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipKCompositeJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KCompositeJob,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_doSuspend(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipKCompositeJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KCompositeJob,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_doResume(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KJob::Capabilities * a0;
        int a0State = 0;
        sipKCompositeJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&sipSelf,sipType_KCompositeJob,&sipCpp,sipType_KJob_Capabilities,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setCapabilities(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KJob_Capabilities,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        sipKCompositeJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pi",&sipSelf,sipType_KCompositeJob,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setError(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&sipSelf,sipType_KCompositeJob,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setErrorText(*a0);
            Py_END_ALLOW_THREADS

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KJob::Unit a0;
        qulonglong a1;
        sipKCompositeJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pEo",&sipSelf,sipType_KCompositeJob,&sipCpp,sipType_KJob_Unit,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setProcessedAmount(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KJob::Unit a0;
        qulonglong a1;
        sipKCompositeJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pEo",&sipSelf,sipType_KCompositeJob,&sipCpp,sipType_KJob_Unit,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setTotalAmount(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        unsigned long a0;
        sipKCompositeJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pm",&sipSelf,sipType_KCompositeJob,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setPercent(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipKCompositeJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KCompositeJob,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_emitResult();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        qulonglong a0;
        qulonglong a1;
        sipKCompositeJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"poo",&sipSelf,sipType_KCompositeJob,&sipCpp,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_emitPercent(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        unsigned long a0;
        sipKCompositeJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pm",&sipSelf,sipType_KCompositeJob,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_emitSpeed(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KJob * a0;
        sipKCompositeJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KCompositeJob,&sipCpp,sipType_KJob,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_addSubjob(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KJob * a0;
        sipKCompositeJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KCompositeJob,&sipCpp,sipType_KJob,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_removeSubjob(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipKCompositeJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KCompositeJob,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_hasSubjobs();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipKCompositeJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KCompositeJob,&sipCpp))
        {
            QList<KJob *> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<KJob *>(sipCpp->sipProtect_subjobs());
            Py_END_ALLOW_THREADS

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

            return sipResObj;
        }
    }

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

    return NULL;
}


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

    {
        sipKCompositeJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KCompositeJob,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_clearSubjobs();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KJob * a0;
        sipKCompositeJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KCompositeJob,&sipCpp,sipType_KJob,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_slotResult(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KJob * a0;
        const QString * a1;
        int a1State = 0;
        const QString * a2;
        int a2State = 0;
        sipKCompositeJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8J1J1",&sipSelf,sipType_KCompositeJob,&sipCpp,sipType_KJob,&a0,sipType_QString,&a1,&a1State,sipType_QString,&a2,&a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_slotInfoMessage(sipSelfWasArg,a0,*a1,*a2);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KCompositeJob)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KJob)->ctd_cast((KJob *)(KCompositeJob *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKCompositeJob *>(sipCppV);
    else
        delete reinterpret_cast<KCompositeJob *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

    if (!sipCpp)
    {
        QObject * a0 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"|JH",sipType_QObject,&a0,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKCompositeJob(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


static PyMethodDef methods_KCompositeJob[] = {
    {SIP_MLNAME_CAST(sipName_addSubjob), meth_KCompositeJob_addSubjob, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KCompositeJob_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clearSubjobs), meth_KCompositeJob_clearSubjobs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KCompositeJob_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KCompositeJob_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KCompositeJob_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doKill), meth_KCompositeJob_doKill, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doResume), meth_KCompositeJob_doResume, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doSuspend), meth_KCompositeJob_doSuspend, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_emitPercent), meth_KCompositeJob_emitPercent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_emitResult), meth_KCompositeJob_emitResult, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_emitSpeed), meth_KCompositeJob_emitSpeed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasSubjobs), meth_KCompositeJob_hasSubjobs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KCompositeJob_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeSubjob), meth_KCompositeJob_removeSubjob, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCapabilities), meth_KCompositeJob_setCapabilities, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setError), meth_KCompositeJob_setError, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setErrorText), meth_KCompositeJob_setErrorText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPercent), meth_KCompositeJob_setPercent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setProcessedAmount), meth_KCompositeJob_setProcessedAmount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTotalAmount), meth_KCompositeJob_setTotalAmount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotInfoMessage), meth_KCompositeJob_slotInfoMessage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotResult), meth_KCompositeJob_slotResult, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_subjobs), meth_KCompositeJob_subjobs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KCompositeJob_timerEvent, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kdecore_KCompositeJob = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KCompositeJob,
        {0}
    },
    sipNameNr_KCompositeJob,
    -1,
    -1,
    {0, 0, 1},
    supers_KCompositeJob,
    0,
    25, methods_KCompositeJob,
    0, 0,
    0, 0,
    init_KCompositeJob,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCompositeJob,
    release_KCompositeJob,
    cast_KCompositeJob,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KCompositeJob::staticMetaObject,
    0,
    0
};

#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 6162 "sipkdecorepart4.cpp"

#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 6166 "sipkdecorepart4.cpp"


extern "C" {static int slot_KUrl_EqualsOptions___bool__(PyObject *sipSelf);}
static int slot_KUrl_EqualsOptions___bool__(PyObject *sipSelf)
{
    KUrl::EqualsOptions *sipCpp = reinterpret_cast<KUrl::EqualsOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl_EqualsOptions));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 271 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != 0);
#line 6184 "sipkdecorepart4.cpp"

            return sipRes;
        }
    }
}


extern "C" {static PyObject *slot_KUrl_EqualsOptions___ne__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_KUrl_EqualsOptions___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KUrl::EqualsOptions *sipCpp = reinterpret_cast<KUrl::EqualsOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl_EqualsOptions));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const KUrl::EqualsOptions * a0;
        int a0State = 0;

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

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

            sipReleaseType(const_cast<KUrl::EqualsOptions *>(a0),sipType_KUrl_EqualsOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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


extern "C" {static PyObject *slot_KUrl_EqualsOptions___eq__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_KUrl_EqualsOptions___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KUrl::EqualsOptions *sipCpp = reinterpret_cast<KUrl::EqualsOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl_EqualsOptions));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const KUrl::EqualsOptions * a0;
        int a0State = 0;

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

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

            sipReleaseType(const_cast<KUrl::EqualsOptions *>(a0),sipType_KUrl_EqualsOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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


extern "C" {static PyObject *slot_KUrl_EqualsOptions___invert__(PyObject *sipSelf);}
static PyObject *slot_KUrl_EqualsOptions___invert__(PyObject *sipSelf)
{
    KUrl::EqualsOptions *sipCpp = reinterpret_cast<KUrl::EqualsOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl_EqualsOptions));

    if (!sipCpp)
        return 0;


    {
        {
            KUrl::EqualsOptions *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl::EqualsOptions(~(*sipCpp));
            Py_END_ALLOW_THREADS

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


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

    {
        KUrl::EqualsOptions * a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1i",sipType_KUrl_EqualsOptions,&a0,&a0State,&a1))
        {
            KUrl::EqualsOptions *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl::EqualsOptions((*a0 & a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KUrl_EqualsOptions,a0State);

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

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


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

    {
        KUrl::EqualsOptions * a0;
        int a0State = 0;
        KUrl::EqualsOptions * a1;
        int a1State = 0;

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1J1",sipType_KUrl_EqualsOptions,&a0,&a0State,sipType_KUrl_EqualsOptions,&a1,&a1State))
        {
            KUrl::EqualsOptions *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl::EqualsOptions((*a0 ^ *a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KUrl_EqualsOptions,a0State);
            sipReleaseType(a1,sipType_KUrl_EqualsOptions,a1State);

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

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


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

    {
        KUrl::EqualsOptions * a0;
        int a0State = 0;
        KUrl::EqualsOptions * a1;
        int a1State = 0;

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1J1",sipType_KUrl_EqualsOptions,&a0,&a0State,sipType_KUrl_EqualsOptions,&a1,&a1State))
        {
            KUrl::EqualsOptions *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl::EqualsOptions((*a0 | *a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KUrl_EqualsOptions,a0State);
            sipReleaseType(a1,sipType_KUrl_EqualsOptions,a1State);

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

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


extern "C" {static PyObject *slot_KUrl_EqualsOptions___int__(PyObject *sipSelf);}
static PyObject *slot_KUrl_EqualsOptions___int__(PyObject *sipSelf)
{
    KUrl::EqualsOptions *sipCpp = reinterpret_cast<KUrl::EqualsOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl_EqualsOptions));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }
}


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

    KUrl::EqualsOptions *sipCpp = reinterpret_cast<KUrl::EqualsOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl_EqualsOptions));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        KUrl::EqualsOptions * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_KUrl_EqualsOptions,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KUrl::EqualsOptions::operator^=(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KUrl_EqualsOptions,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    KUrl::EqualsOptions *sipCpp = reinterpret_cast<KUrl::EqualsOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl_EqualsOptions));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        KUrl::EqualsOptions * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_KUrl_EqualsOptions,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KUrl::EqualsOptions::operator|=(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KUrl_EqualsOptions,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    KUrl::EqualsOptions *sipCpp = reinterpret_cast<KUrl::EqualsOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl_EqualsOptions));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        int a0;

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

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    return NULL;
}


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

    delete reinterpret_cast<KUrl::EqualsOptions *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KUrl_EqualsOptions(void *, const void*);}
static void assign_KUrl_EqualsOptions(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<KUrl::EqualsOptions *>(sipDst) = *reinterpret_cast<const KUrl::EqualsOptions *>(sipSrc);
}


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


extern "C" {static void *init_KUrl_EqualsOptions(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KUrl_EqualsOptions(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    KUrl::EqualsOptions *sipCpp = 0;

    if (!sipCpp)
    {
        const KUrl::EqualsOptions * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1",sipType_KUrl_EqualsOptions,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KUrl::EqualsOptions(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<KUrl::EqualsOptions *>(a0),sipType_KUrl_EqualsOptions,a0State);
        }
    }

    if (!sipCpp)
    {
        int a0;

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

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

    return sipCpp;
}


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

#line 276 "/usr/local/share/py-sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KUrl::EqualsOptions is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KUrl_EqualsOption)) ||
            sipCanConvertToType(sipPy, sipType_KUrl_EqualsOptions, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KUrl_EqualsOption)))
{
    *sipCppPtr = new KUrl::EqualsOptions(SIPLong_AsLong(sipPy));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KUrl::EqualsOptions *>(sipConvertToType(sipPy, sipType_KUrl_EqualsOptions, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 6615 "sipkdecorepart4.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KUrl_EqualsOptions[] = {
    {(void *)slot_KUrl_EqualsOptions___bool__, bool_slot},
    {(void *)slot_KUrl_EqualsOptions___ne__, ne_slot},
    {(void *)slot_KUrl_EqualsOptions___eq__, eq_slot},
    {(void *)slot_KUrl_EqualsOptions___invert__, invert_slot},
    {(void *)slot_KUrl_EqualsOptions___and__, and_slot},
    {(void *)slot_KUrl_EqualsOptions___xor__, xor_slot},
    {(void *)slot_KUrl_EqualsOptions___or__, or_slot},
    {(void *)slot_KUrl_EqualsOptions___int__, int_slot},
    {(void *)slot_KUrl_EqualsOptions___ixor__, ixor_slot},
    {(void *)slot_KUrl_EqualsOptions___ior__, ior_slot},
    {(void *)slot_KUrl_EqualsOptions___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef pyqt4Type_kdecore_KUrl_EqualsOptions = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KUrl__EqualsOptions,
        {0}
    },
    sipNameNr_EqualsOptions,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {195, 255, 0},
    0,
    slots_KUrl_EqualsOptions,
    0, 0,
    0, 0,
    0, 0,
    init_KUrl_EqualsOptions,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KUrl_EqualsOptions,
    release_KUrl_EqualsOptions,
    cast_KUrl_EqualsOptions,
    convertTo_KUrl_EqualsOptions,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_KUrl_EqualsOptions,
    0,
    1,
    0
};

#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 6683 "sipkdecorepart4.cpp"

#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 6687 "sipkdecorepart4.cpp"


extern "C" {static int slot_KUrl_DirectoryOptions___bool__(PyObject *sipSelf);}
static int slot_KUrl_DirectoryOptions___bool__(PyObject *sipSelf)
{
    KUrl::DirectoryOptions *sipCpp = reinterpret_cast<KUrl::DirectoryOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl_DirectoryOptions));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 271 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != 0);
#line 6705 "sipkdecorepart4.cpp"

            return sipRes;
        }
    }
}


extern "C" {static PyObject *slot_KUrl_DirectoryOptions___ne__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_KUrl_DirectoryOptions___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KUrl::DirectoryOptions *sipCpp = reinterpret_cast<KUrl::DirectoryOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl_DirectoryOptions));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const KUrl::DirectoryOptions * a0;
        int a0State = 0;

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

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

            sipReleaseType(const_cast<KUrl::DirectoryOptions *>(a0),sipType_KUrl_DirectoryOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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


extern "C" {static PyObject *slot_KUrl_DirectoryOptions___eq__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_KUrl_DirectoryOptions___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KUrl::DirectoryOptions *sipCpp = reinterpret_cast<KUrl::DirectoryOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl_DirectoryOptions));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const KUrl::DirectoryOptions * a0;
        int a0State = 0;

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

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

            sipReleaseType(const_cast<KUrl::DirectoryOptions *>(a0),sipType_KUrl_DirectoryOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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


extern "C" {static PyObject *slot_KUrl_DirectoryOptions___invert__(PyObject *sipSelf);}
static PyObject *slot_KUrl_DirectoryOptions___invert__(PyObject *sipSelf)
{
    KUrl::DirectoryOptions *sipCpp = reinterpret_cast<KUrl::DirectoryOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl_DirectoryOptions));

    if (!sipCpp)
        return 0;


    {
        {
            KUrl::DirectoryOptions *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl::DirectoryOptions(~(*sipCpp));
            Py_END_ALLOW_THREADS

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


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

    {
        KUrl::DirectoryOptions * a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1i",sipType_KUrl_DirectoryOptions,&a0,&a0State,&a1))
        {
            KUrl::DirectoryOptions *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl::DirectoryOptions((*a0 & a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KUrl_DirectoryOptions,a0State);

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

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


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

    {
        KUrl::DirectoryOptions * a0;
        int a0State = 0;
        KUrl::DirectoryOptions * a1;
        int a1State = 0;

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1J1",sipType_KUrl_DirectoryOptions,&a0,&a0State,sipType_KUrl_DirectoryOptions,&a1,&a1State))
        {
            KUrl::DirectoryOptions *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl::DirectoryOptions((*a0 ^ *a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KUrl_DirectoryOptions,a0State);
            sipReleaseType(a1,sipType_KUrl_DirectoryOptions,a1State);

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

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


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

    {
        KUrl::DirectoryOptions * a0;
        int a0State = 0;
        KUrl::DirectoryOptions * a1;
        int a1State = 0;

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1J1",sipType_KUrl_DirectoryOptions,&a0,&a0State,sipType_KUrl_DirectoryOptions,&a1,&a1State))
        {
            KUrl::DirectoryOptions *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl::DirectoryOptions((*a0 | *a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KUrl_DirectoryOptions,a0State);
            sipReleaseType(a1,sipType_KUrl_DirectoryOptions,a1State);

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

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


extern "C" {static PyObject *slot_KUrl_DirectoryOptions___int__(PyObject *sipSelf);}
static PyObject *slot_KUrl_DirectoryOptions___int__(PyObject *sipSelf)
{
    KUrl::DirectoryOptions *sipCpp = reinterpret_cast<KUrl::DirectoryOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl_DirectoryOptions));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }
}


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

    KUrl::DirectoryOptions *sipCpp = reinterpret_cast<KUrl::DirectoryOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl_DirectoryOptions));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        KUrl::DirectoryOptions * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_KUrl_DirectoryOptions,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KUrl::DirectoryOptions::operator^=(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KUrl_DirectoryOptions,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    KUrl::DirectoryOptions *sipCpp = reinterpret_cast<KUrl::DirectoryOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl_DirectoryOptions));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        KUrl::DirectoryOptions * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_KUrl_DirectoryOptions,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KUrl::DirectoryOptions::operator|=(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KUrl_DirectoryOptions,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    KUrl::DirectoryOptions *sipCpp = reinterpret_cast<KUrl::DirectoryOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl_DirectoryOptions));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        int a0;

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

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    return NULL;
}


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

    delete reinterpret_cast<KUrl::DirectoryOptions *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KUrl_DirectoryOptions(void *, const void*);}
static void assign_KUrl_DirectoryOptions(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<KUrl::DirectoryOptions *>(sipDst) = *reinterpret_cast<const KUrl::DirectoryOptions *>(sipSrc);
}


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


extern "C" {static void *init_KUrl_DirectoryOptions(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KUrl_DirectoryOptions(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    KUrl::DirectoryOptions *sipCpp = 0;

    if (!sipCpp)
    {
        const KUrl::DirectoryOptions * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1",sipType_KUrl_DirectoryOptions,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KUrl::DirectoryOptions(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<KUrl::DirectoryOptions *>(a0),sipType_KUrl_DirectoryOptions,a0State);
        }
    }

    if (!sipCpp)
    {
        int a0;

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

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

    return sipCpp;
}


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

#line 276 "/usr/local/share/py-sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KUrl::DirectoryOptions is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KUrl_DirectoryOption)) ||
            sipCanConvertToType(sipPy, sipType_KUrl_DirectoryOptions, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KUrl_DirectoryOption)))
{
    *sipCppPtr = new KUrl::DirectoryOptions(SIPLong_AsLong(sipPy));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KUrl::DirectoryOptions *>(sipConvertToType(sipPy, sipType_KUrl_DirectoryOptions, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 7136 "sipkdecorepart4.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KUrl_DirectoryOptions[] = {
    {(void *)slot_KUrl_DirectoryOptions___bool__, bool_slot},
    {(void *)slot_KUrl_DirectoryOptions___ne__, ne_slot},
    {(void *)slot_KUrl_DirectoryOptions___eq__, eq_slot},
    {(void *)slot_KUrl_DirectoryOptions___invert__, invert_slot},
    {(void *)slot_KUrl_DirectoryOptions___and__, and_slot},
    {(void *)slot_KUrl_DirectoryOptions___xor__, xor_slot},
    {(void *)slot_KUrl_DirectoryOptions___or__, or_slot},
    {(void *)slot_KUrl_DirectoryOptions___int__, int_slot},
    {(void *)slot_KUrl_DirectoryOptions___ixor__, ixor_slot},
    {(void *)slot_KUrl_DirectoryOptions___ior__, ior_slot},
    {(void *)slot_KUrl_DirectoryOptions___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef pyqt4Type_kdecore_KUrl_DirectoryOptions = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KUrl__DirectoryOptions,
        {0}
    },
    sipNameNr_DirectoryOptions,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {195, 255, 0},
    0,
    slots_KUrl_DirectoryOptions,
    0, 0,
    0, 0,
    0, 0,
    init_KUrl_DirectoryOptions,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KUrl_DirectoryOptions,
    release_KUrl_DirectoryOptions,
    cast_KUrl_DirectoryOptions,
    convertTo_KUrl_DirectoryOptions,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_KUrl_DirectoryOptions,
    0,
    1,
    0
};

#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 7204 "sipkdecorepart4.cpp"

#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 7208 "sipkdecorepart4.cpp"


extern "C" {static int slot_KUrl_QueryItemsOptions___bool__(PyObject *sipSelf);}
static int slot_KUrl_QueryItemsOptions___bool__(PyObject *sipSelf)
{
    KUrl::QueryItemsOptions *sipCpp = reinterpret_cast<KUrl::QueryItemsOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl_QueryItemsOptions));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 271 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != 0);
#line 7226 "sipkdecorepart4.cpp"

            return sipRes;
        }
    }
}


extern "C" {static PyObject *slot_KUrl_QueryItemsOptions___ne__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_KUrl_QueryItemsOptions___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KUrl::QueryItemsOptions *sipCpp = reinterpret_cast<KUrl::QueryItemsOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl_QueryItemsOptions));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const KUrl::QueryItemsOptions * a0;
        int a0State = 0;

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

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

            sipReleaseType(const_cast<KUrl::QueryItemsOptions *>(a0),sipType_KUrl_QueryItemsOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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


extern "C" {static PyObject *slot_KUrl_QueryItemsOptions___eq__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_KUrl_QueryItemsOptions___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KUrl::QueryItemsOptions *sipCpp = reinterpret_cast<KUrl::QueryItemsOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl_QueryItemsOptions));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const KUrl::QueryItemsOptions * a0;
        int a0State = 0;

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

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

            sipReleaseType(const_cast<KUrl::QueryItemsOptions *>(a0),sipType_KUrl_QueryItemsOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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


extern "C" {static PyObject *slot_KUrl_QueryItemsOptions___invert__(PyObject *sipSelf);}
static PyObject *slot_KUrl_QueryItemsOptions___invert__(PyObject *sipSelf)
{
    KUrl::QueryItemsOptions *sipCpp = reinterpret_cast<KUrl::QueryItemsOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl_QueryItemsOptions));

    if (!sipCpp)
        return 0;


    {
        {
            KUrl::QueryItemsOptions *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl::QueryItemsOptions(~(*sipCpp));
            Py_END_ALLOW_THREADS

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


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

    {
        KUrl::QueryItemsOptions * a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1i",sipType_KUrl_QueryItemsOptions,&a0,&a0State,&a1))
        {
            KUrl::QueryItemsOptions *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl::QueryItemsOptions((*a0 & a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KUrl_QueryItemsOptions,a0State);

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

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


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

    {
        KUrl::QueryItemsOptions * a0;
        int a0State = 0;
        KUrl::QueryItemsOptions * a1;
        int a1State = 0;

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1J1",sipType_KUrl_QueryItemsOptions,&a0,&a0State,sipType_KUrl_QueryItemsOptions,&a1,&a1State))
        {
            KUrl::QueryItemsOptions *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl::QueryItemsOptions((*a0 ^ *a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KUrl_QueryItemsOptions,a0State);
            sipReleaseType(a1,sipType_KUrl_QueryItemsOptions,a1State);

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

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


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

    {
        KUrl::QueryItemsOptions * a0;
        int a0State = 0;
        KUrl::QueryItemsOptions * a1;
        int a1State = 0;

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1J1",sipType_KUrl_QueryItemsOptions,&a0,&a0State,sipType_KUrl_QueryItemsOptions,&a1,&a1State))
        {
            KUrl::QueryItemsOptions *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl::QueryItemsOptions((*a0 | *a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KUrl_QueryItemsOptions,a0State);
            sipReleaseType(a1,sipType_KUrl_QueryItemsOptions,a1State);

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

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


extern "C" {static PyObject *slot_KUrl_QueryItemsOptions___int__(PyObject *sipSelf);}
static PyObject *slot_KUrl_QueryItemsOptions___int__(PyObject *sipSelf)
{
    KUrl::QueryItemsOptions *sipCpp = reinterpret_cast<KUrl::QueryItemsOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl_QueryItemsOptions));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }
}


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

    KUrl::QueryItemsOptions *sipCpp = reinterpret_cast<KUrl::QueryItemsOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl_QueryItemsOptions));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        KUrl::QueryItemsOptions * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_KUrl_QueryItemsOptions,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KUrl::QueryItemsOptions::operator^=(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KUrl_QueryItemsOptions,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    KUrl::QueryItemsOptions *sipCpp = reinterpret_cast<KUrl::QueryItemsOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl_QueryItemsOptions));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        KUrl::QueryItemsOptions * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_KUrl_QueryItemsOptions,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KUrl::QueryItemsOptions::operator|=(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KUrl_QueryItemsOptions,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    KUrl::QueryItemsOptions *sipCpp = reinterpret_cast<KUrl::QueryItemsOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl_QueryItemsOptions));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        int a0;

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

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    return NULL;
}


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

    delete reinterpret_cast<KUrl::QueryItemsOptions *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KUrl_QueryItemsOptions(void *, const void*);}
static void assign_KUrl_QueryItemsOptions(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<KUrl::QueryItemsOptions *>(sipDst) = *reinterpret_cast<const KUrl::QueryItemsOptions *>(sipSrc);
}


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


extern "C" {static void *init_KUrl_QueryItemsOptions(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KUrl_QueryItemsOptions(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    KUrl::QueryItemsOptions *sipCpp = 0;

    if (!sipCpp)
    {
        const KUrl::QueryItemsOptions * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1",sipType_KUrl_QueryItemsOptions,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KUrl::QueryItemsOptions(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<KUrl::QueryItemsOptions *>(a0),sipType_KUrl_QueryItemsOptions,a0State);
        }
    }

    if (!sipCpp)
    {
        int a0;

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

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

    return sipCpp;
}


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

#line 276 "/usr/local/share/py-sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KUrl::QueryItemsOptions is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KUrl_QueryItemsOption)) ||
            sipCanConvertToType(sipPy, sipType_KUrl_QueryItemsOptions, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KUrl_QueryItemsOption)))
{
    *sipCppPtr = new KUrl::QueryItemsOptions(SIPLong_AsLong(sipPy));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KUrl::QueryItemsOptions *>(sipConvertToType(sipPy, sipType_KUrl_QueryItemsOptions, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 7657 "sipkdecorepart4.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KUrl_QueryItemsOptions[] = {
    {(void *)slot_KUrl_QueryItemsOptions___bool__, bool_slot},
    {(void *)slot_KUrl_QueryItemsOptions___ne__, ne_slot},
    {(void *)slot_KUrl_QueryItemsOptions___eq__, eq_slot},
    {(void *)slot_KUrl_QueryItemsOptions___invert__, invert_slot},
    {(void *)slot_KUrl_QueryItemsOptions___and__, and_slot},
    {(void *)slot_KUrl_QueryItemsOptions___xor__, xor_slot},
    {(void *)slot_KUrl_QueryItemsOptions___or__, or_slot},
    {(void *)slot_KUrl_QueryItemsOptions___int__, int_slot},
    {(void *)slot_KUrl_QueryItemsOptions___ixor__, ixor_slot},
    {(void *)slot_KUrl_QueryItemsOptions___ior__, ior_slot},
    {(void *)slot_KUrl_QueryItemsOptions___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef pyqt4Type_kdecore_KUrl_QueryItemsOptions = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KUrl__QueryItemsOptions,
        {0}
    },
    sipNameNr_QueryItemsOptions,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {195, 255, 0},
    0,
    slots_KUrl_QueryItemsOptions,
    0, 0,
    0, 0,
    0, 0,
    init_KUrl_QueryItemsOptions,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KUrl_QueryItemsOptions,
    release_KUrl_QueryItemsOptions,
    cast_KUrl_QueryItemsOptions,
    convertTo_KUrl_QueryItemsOptions,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_KUrl_QueryItemsOptions,
    0,
    1,
    0
};

#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 7725 "sipkdecorepart4.cpp"

#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 7729 "sipkdecorepart4.cpp"


extern "C" {static int slot_KUrl_EncodedPathAndQueryOptions___bool__(PyObject *sipSelf);}
static int slot_KUrl_EncodedPathAndQueryOptions___bool__(PyObject *sipSelf)
{
    KUrl::EncodedPathAndQueryOptions *sipCpp = reinterpret_cast<KUrl::EncodedPathAndQueryOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl_EncodedPathAndQueryOptions));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 271 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != 0);
#line 7747 "sipkdecorepart4.cpp"

            return sipRes;
        }
    }
}


extern "C" {static PyObject *slot_KUrl_EncodedPathAndQueryOptions___ne__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_KUrl_EncodedPathAndQueryOptions___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KUrl::EncodedPathAndQueryOptions *sipCpp = reinterpret_cast<KUrl::EncodedPathAndQueryOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl_EncodedPathAndQueryOptions));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const KUrl::EncodedPathAndQueryOptions * a0;
        int a0State = 0;

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

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

            sipReleaseType(const_cast<KUrl::EncodedPathAndQueryOptions *>(a0),sipType_KUrl_EncodedPathAndQueryOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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


extern "C" {static PyObject *slot_KUrl_EncodedPathAndQueryOptions___eq__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_KUrl_EncodedPathAndQueryOptions___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KUrl::EncodedPathAndQueryOptions *sipCpp = reinterpret_cast<KUrl::EncodedPathAndQueryOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl_EncodedPathAndQueryOptions));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const KUrl::EncodedPathAndQueryOptions * a0;
        int a0State = 0;

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

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

            sipReleaseType(const_cast<KUrl::EncodedPathAndQueryOptions *>(a0),sipType_KUrl_EncodedPathAndQueryOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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


extern "C" {static PyObject *slot_KUrl_EncodedPathAndQueryOptions___invert__(PyObject *sipSelf);}
static PyObject *slot_KUrl_EncodedPathAndQueryOptions___invert__(PyObject *sipSelf)
{
    KUrl::EncodedPathAndQueryOptions *sipCpp = reinterpret_cast<KUrl::EncodedPathAndQueryOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl_EncodedPathAndQueryOptions));

    if (!sipCpp)
        return 0;


    {
        {
            KUrl::EncodedPathAndQueryOptions *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl::EncodedPathAndQueryOptions(~(*sipCpp));
            Py_END_ALLOW_THREADS

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


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

    {
        KUrl::EncodedPathAndQueryOptions * a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1i",sipType_KUrl_EncodedPathAndQueryOptions,&a0,&a0State,&a1))
        {
            KUrl::EncodedPathAndQueryOptions *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl::EncodedPathAndQueryOptions((*a0 & a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KUrl_EncodedPathAndQueryOptions,a0State);

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

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


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

    {
        KUrl::EncodedPathAndQueryOptions * a0;
        int a0State = 0;
        KUrl::EncodedPathAndQueryOptions * a1;
        int a1State = 0;

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1J1",sipType_KUrl_EncodedPathAndQueryOptions,&a0,&a0State,sipType_KUrl_EncodedPathAndQueryOptions,&a1,&a1State))
        {
            KUrl::EncodedPathAndQueryOptions *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl::EncodedPathAndQueryOptions((*a0 ^ *a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KUrl_EncodedPathAndQueryOptions,a0State);
            sipReleaseType(a1,sipType_KUrl_EncodedPathAndQueryOptions,a1State);

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

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


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

    {
        KUrl::EncodedPathAndQueryOptions * a0;
        int a0State = 0;
        KUrl::EncodedPathAndQueryOptions * a1;
        int a1State = 0;

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1J1",sipType_KUrl_EncodedPathAndQueryOptions,&a0,&a0State,sipType_KUrl_EncodedPathAndQueryOptions,&a1,&a1State))
        {
            KUrl::EncodedPathAndQueryOptions *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl::EncodedPathAndQueryOptions((*a0 | *a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KUrl_EncodedPathAndQueryOptions,a0State);
            sipReleaseType(a1,sipType_KUrl_EncodedPathAndQueryOptions,a1State);

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

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


extern "C" {static PyObject *slot_KUrl_EncodedPathAndQueryOptions___int__(PyObject *sipSelf);}
static PyObject *slot_KUrl_EncodedPathAndQueryOptions___int__(PyObject *sipSelf)
{
    KUrl::EncodedPathAndQueryOptions *sipCpp = reinterpret_cast<KUrl::EncodedPathAndQueryOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl_EncodedPathAndQueryOptions));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }
}


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

    KUrl::EncodedPathAndQueryOptions *sipCpp = reinterpret_cast<KUrl::EncodedPathAndQueryOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl_EncodedPathAndQueryOptions));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        KUrl::EncodedPathAndQueryOptions * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_KUrl_EncodedPathAndQueryOptions,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KUrl::EncodedPathAndQueryOptions::operator^=(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KUrl_EncodedPathAndQueryOptions,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    KUrl::EncodedPathAndQueryOptions *sipCpp = reinterpret_cast<KUrl::EncodedPathAndQueryOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl_EncodedPathAndQueryOptions));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        KUrl::EncodedPathAndQueryOptions * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_KUrl_EncodedPathAndQueryOptions,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KUrl::EncodedPathAndQueryOptions::operator|=(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KUrl_EncodedPathAndQueryOptions,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    KUrl::EncodedPathAndQueryOptions *sipCpp = reinterpret_cast<KUrl::EncodedPathAndQueryOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl_EncodedPathAndQueryOptions));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        int a0;

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

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    return NULL;
}


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

    delete reinterpret_cast<KUrl::EncodedPathAndQueryOptions *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KUrl_EncodedPathAndQueryOptions(void *, const void*);}
static void assign_KUrl_EncodedPathAndQueryOptions(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<KUrl::EncodedPathAndQueryOptions *>(sipDst) = *reinterpret_cast<const KUrl::EncodedPathAndQueryOptions *>(sipSrc);
}


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


extern "C" {static void *init_KUrl_EncodedPathAndQueryOptions(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KUrl_EncodedPathAndQueryOptions(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    KUrl::EncodedPathAndQueryOptions *sipCpp = 0;

    if (!sipCpp)
    {
        const KUrl::EncodedPathAndQueryOptions * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1",sipType_KUrl_EncodedPathAndQueryOptions,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KUrl::EncodedPathAndQueryOptions(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<KUrl::EncodedPathAndQueryOptions *>(a0),sipType_KUrl_EncodedPathAndQueryOptions,a0State);
        }
    }

    if (!sipCpp)
    {
        int a0;

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

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

    return sipCpp;
}


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

#line 276 "/usr/local/share/py-sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KUrl::EncodedPathAndQueryOptions is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KUrl_EncodedPathAndQueryOption)) ||
            sipCanConvertToType(sipPy, sipType_KUrl_EncodedPathAndQueryOptions, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KUrl_EncodedPathAndQueryOption)))
{
    *sipCppPtr = new KUrl::EncodedPathAndQueryOptions(SIPLong_AsLong(sipPy));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KUrl::EncodedPathAndQueryOptions *>(sipConvertToType(sipPy, sipType_KUrl_EncodedPathAndQueryOptions, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 8178 "sipkdecorepart4.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KUrl_EncodedPathAndQueryOptions[] = {
    {(void *)slot_KUrl_EncodedPathAndQueryOptions___bool__, bool_slot},
    {(void *)slot_KUrl_EncodedPathAndQueryOptions___ne__, ne_slot},
    {(void *)slot_KUrl_EncodedPathAndQueryOptions___eq__, eq_slot},
    {(void *)slot_KUrl_EncodedPathAndQueryOptions___invert__, invert_slot},
    {(void *)slot_KUrl_EncodedPathAndQueryOptions___and__, and_slot},
    {(void *)slot_KUrl_EncodedPathAndQueryOptions___xor__, xor_slot},
    {(void *)slot_KUrl_EncodedPathAndQueryOptions___or__, or_slot},
    {(void *)slot_KUrl_EncodedPathAndQueryOptions___int__, int_slot},
    {(void *)slot_KUrl_EncodedPathAndQueryOptions___ixor__, ixor_slot},
    {(void *)slot_KUrl_EncodedPathAndQueryOptions___ior__, ior_slot},
    {(void *)slot_KUrl_EncodedPathAndQueryOptions___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef pyqt4Type_kdecore_KUrl_EncodedPathAndQueryOptions = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KUrl__EncodedPathAndQueryOptions,
        {0}
    },
    sipNameNr_EncodedPathAndQueryOptions,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {195, 255, 0},
    0,
    slots_KUrl_EncodedPathAndQueryOptions,
    0, 0,
    0, 0,
    0, 0,
    init_KUrl_EncodedPathAndQueryOptions,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KUrl_EncodedPathAndQueryOptions,
    release_KUrl_EncodedPathAndQueryOptions,
    cast_KUrl_EncodedPathAndQueryOptions,
    convertTo_KUrl_EncodedPathAndQueryOptions,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_KUrl_EncodedPathAndQueryOptions,
    0,
    1,
    0
};

#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 8246 "sipkdecorepart4.cpp"

#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 8250 "sipkdecorepart4.cpp"


extern "C" {static int slot_KUrl_CleanPathOptions___bool__(PyObject *sipSelf);}
static int slot_KUrl_CleanPathOptions___bool__(PyObject *sipSelf)
{
    KUrl::CleanPathOptions *sipCpp = reinterpret_cast<KUrl::CleanPathOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl_CleanPathOptions));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 271 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != 0);
#line 8268 "sipkdecorepart4.cpp"

            return sipRes;
        }
    }
}


extern "C" {static PyObject *slot_KUrl_CleanPathOptions___ne__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_KUrl_CleanPathOptions___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KUrl::CleanPathOptions *sipCpp = reinterpret_cast<KUrl::CleanPathOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl_CleanPathOptions));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const KUrl::CleanPathOptions * a0;
        int a0State = 0;

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

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

            sipReleaseType(const_cast<KUrl::CleanPathOptions *>(a0),sipType_KUrl_CleanPathOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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


extern "C" {static PyObject *slot_KUrl_CleanPathOptions___eq__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_KUrl_CleanPathOptions___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KUrl::CleanPathOptions *sipCpp = reinterpret_cast<KUrl::CleanPathOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl_CleanPathOptions));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const KUrl::CleanPathOptions * a0;
        int a0State = 0;

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

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

            sipReleaseType(const_cast<KUrl::CleanPathOptions *>(a0),sipType_KUrl_CleanPathOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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


extern "C" {static PyObject *slot_KUrl_CleanPathOptions___invert__(PyObject *sipSelf);}
static PyObject *slot_KUrl_CleanPathOptions___invert__(PyObject *sipSelf)
{
    KUrl::CleanPathOptions *sipCpp = reinterpret_cast<KUrl::CleanPathOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl_CleanPathOptions));

    if (!sipCpp)
        return 0;


    {
        {
            KUrl::CleanPathOptions *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl::CleanPathOptions(~(*sipCpp));
            Py_END_ALLOW_THREADS

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


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

    {
        KUrl::CleanPathOptions * a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1i",sipType_KUrl_CleanPathOptions,&a0,&a0State,&a1))
        {
            KUrl::CleanPathOptions *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl::CleanPathOptions((*a0 & a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KUrl_CleanPathOptions,a0State);

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

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


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

    {
        KUrl::CleanPathOptions * a0;
        int a0State = 0;
        KUrl::CleanPathOptions * a1;
        int a1State = 0;

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1J1",sipType_KUrl_CleanPathOptions,&a0,&a0State,sipType_KUrl_CleanPathOptions,&a1,&a1State))
        {
            KUrl::CleanPathOptions *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl::CleanPathOptions((*a0 ^ *a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KUrl_CleanPathOptions,a0State);
            sipReleaseType(a1,sipType_KUrl_CleanPathOptions,a1State);

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

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


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

    {
        KUrl::CleanPathOptions * a0;
        int a0State = 0;
        KUrl::CleanPathOptions * a1;
        int a1State = 0;

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1J1",sipType_KUrl_CleanPathOptions,&a0,&a0State,sipType_KUrl_CleanPathOptions,&a1,&a1State))
        {
            KUrl::CleanPathOptions *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl::CleanPathOptions((*a0 | *a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KUrl_CleanPathOptions,a0State);
            sipReleaseType(a1,sipType_KUrl_CleanPathOptions,a1State);

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

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


extern "C" {static PyObject *slot_KUrl_CleanPathOptions___int__(PyObject *sipSelf);}
static PyObject *slot_KUrl_CleanPathOptions___int__(PyObject *sipSelf)
{
    KUrl::CleanPathOptions *sipCpp = reinterpret_cast<KUrl::CleanPathOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl_CleanPathOptions));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }
}


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

    KUrl::CleanPathOptions *sipCpp = reinterpret_cast<KUrl::CleanPathOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl_CleanPathOptions));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        KUrl::CleanPathOptions * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_KUrl_CleanPathOptions,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KUrl::CleanPathOptions::operator^=(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KUrl_CleanPathOptions,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    KUrl::CleanPathOptions *sipCpp = reinterpret_cast<KUrl::CleanPathOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl_CleanPathOptions));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        KUrl::CleanPathOptions * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_KUrl_CleanPathOptions,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KUrl::CleanPathOptions::operator|=(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KUrl_CleanPathOptions,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    KUrl::CleanPathOptions *sipCpp = reinterpret_cast<KUrl::CleanPathOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl_CleanPathOptions));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        int a0;

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

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    return NULL;
}


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

    delete reinterpret_cast<KUrl::CleanPathOptions *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KUrl_CleanPathOptions(void *, const void*);}
static void assign_KUrl_CleanPathOptions(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<KUrl::CleanPathOptions *>(sipDst) = *reinterpret_cast<const KUrl::CleanPathOptions *>(sipSrc);
}


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


extern "C" {static void *init_KUrl_CleanPathOptions(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KUrl_CleanPathOptions(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    KUrl::CleanPathOptions *sipCpp = 0;

    if (!sipCpp)
    {
        const KUrl::CleanPathOptions * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1",sipType_KUrl_CleanPathOptions,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KUrl::CleanPathOptions(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<KUrl::CleanPathOptions *>(a0),sipType_KUrl_CleanPathOptions,a0State);
        }
    }

    if (!sipCpp)
    {
        int a0;

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

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

    return sipCpp;
}


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

#line 276 "/usr/local/share/py-sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KUrl::CleanPathOptions is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KUrl_CleanPathOption)) ||
            sipCanConvertToType(sipPy, sipType_KUrl_CleanPathOptions, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KUrl_CleanPathOption)))
{
    *sipCppPtr = new KUrl::CleanPathOptions(SIPLong_AsLong(sipPy));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KUrl::CleanPathOptions *>(sipConvertToType(sipPy, sipType_KUrl_CleanPathOptions, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 8699 "sipkdecorepart4.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KUrl_CleanPathOptions[] = {
    {(void *)slot_KUrl_CleanPathOptions___bool__, bool_slot},
    {(void *)slot_KUrl_CleanPathOptions___ne__, ne_slot},
    {(void *)slot_KUrl_CleanPathOptions___eq__, eq_slot},
    {(void *)slot_KUrl_CleanPathOptions___invert__, invert_slot},
    {(void *)slot_KUrl_CleanPathOptions___and__, and_slot},
    {(void *)slot_KUrl_CleanPathOptions___xor__, xor_slot},
    {(void *)slot_KUrl_CleanPathOptions___or__, or_slot},
    {(void *)slot_KUrl_CleanPathOptions___int__, int_slot},
    {(void *)slot_KUrl_CleanPathOptions___ixor__, ixor_slot},
    {(void *)slot_KUrl_CleanPathOptions___ior__, ior_slot},
    {(void *)slot_KUrl_CleanPathOptions___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef pyqt4Type_kdecore_KUrl_CleanPathOptions = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KUrl__CleanPathOptions,
        {0}
    },
    sipNameNr_CleanPathOptions,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {195, 255, 0},
    0,
    slots_KUrl_CleanPathOptions,
    0, 0,
    0, 0,
    0, 0,
    init_KUrl_CleanPathOptions,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KUrl_CleanPathOptions,
    release_KUrl_CleanPathOptions,
    cast_KUrl_CleanPathOptions,
    convertTo_KUrl_CleanPathOptions,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_KUrl_CleanPathOptions,
    0,
    1,
    0
};

#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 8767 "sipkdecorepart4.cpp"

#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 8771 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 8774 "sipkdecorepart4.cpp"
#line 708 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/typedefs.sip"
#include <qlist.h>
#line 102 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservice.sip"
#include <qlist.h>
#line 81 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kmimetype.sip"
#include <qlist.h>
#line 61 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
#include <qlist.h>
#line 65 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksycocaentry.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 8827 "sipkdecorepart4.cpp"
#line 136 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 8830 "sipkdecorepart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kplugininfo.sip"
#include <kplugininfo.h>
#line 8833 "sipkdecorepart4.cpp"
#line 36 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kprotocolinfo.sip"
#include <kprotocolinfo.h>
#line 8836 "sipkdecorepart4.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 8839 "sipkdecorepart4.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 8842 "sipkdecorepart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kserviceaction.sip"
#include <kserviceaction.h>
#line 8845 "sipkdecorepart4.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 8848 "sipkdecorepart4.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 8851 "sipkdecorepart4.cpp"
#line 321 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 8854 "sipkdecorepart4.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 8857 "sipkdecorepart4.cpp"
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kautosavefile.sip"
#include <kautosavefile.h>
#line 8860 "sipkdecorepart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 8863 "sipkdecorepart4.cpp"
#line 137 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
#include <qmap.h>
#line 43 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 43 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 8870 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 8873 "sipkdecorepart4.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 8876 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 8879 "sipkdecorepart4.cpp"


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

    {
        KUrl::List *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        QMimeData * a0;
        const KUrl::MetaDataMap& a1def = KUrl::MetaDataMap();
        const KUrl::MetaDataMap * a1 = &a1def;
        int a1State = 0;
        KUrl::MimeDataFlags a2 = KUrl::DefaultMimeDataFlags;
        KUrl::List *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8|J1E",&sipSelf,sipType_KUrl_List,&sipCpp,sipType_QMimeData,&a0,sipType_QMap_0200QString_0200QString,&a1,&a1State,sipType_KUrl_MimeDataFlags,&a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->populateMimeData(a0,*a1,a2);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<KUrl::MetaDataMap *>(a1),sipType_QMap_0200QString_0200QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const KUrl::List * a0;
        QMimeData * a1;
        const KUrl::MetaDataMap& a2def = KUrl::MetaDataMap();
        const KUrl::MetaDataMap * a2 = &a2def;
        int a2State = 0;
        KUrl::MimeDataFlags a3 = KUrl::DefaultMimeDataFlags;
        KUrl::List *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9J8|J1E",&sipSelf,sipType_KUrl_List,&sipCpp,sipType_KUrl_List,&a0,sipType_QMimeData,&a1,sipType_QMap_0200QString_0200QString,&a2,&a2State,sipType_KUrl_MimeDataFlags,&a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->populateMimeData(*a0,a1,*a2,a3);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<KUrl::MetaDataMap *>(a2),sipType_QMap_0200QString_0200QString,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QMimeData * a0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J8",sipType_QMimeData,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KUrl::List::canDecode(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            QStringList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(KUrl::List::mimeDataTypes());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QMimeData * a0;
        KUrl::MetaDataMap * a1 = 0;
        int a1State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J8|J0",sipType_QMimeData,&a0,sipType_QMap_0200QString_0200QString,&a1,&a1State))
        {
            KUrl::List *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl::List(KUrl::List::fromMimeData(a0,a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a1,sipType_QMap_0200QString_0200QString,a1State);

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

    {
        const QMimeData * a0;
        KUrl::List::DecodeOptions a1;
        KUrl::MetaDataMap * a2 = 0;
        int a2State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J8E|J0",sipType_QMimeData,&a0,sipType_KUrl_List_DecodeOptions,&a1,sipType_QMap_0200QString_0200QString,&a2,&a2State))
        {
            KUrl::List *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl::List(KUrl::List::fromMimeData(a0,a1,a2));
            Py_END_ALLOW_THREADS

            sipReleaseType(a2,sipType_QMap_0200QString_0200QString,a2State);

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

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

    return NULL;
}


extern "C" {static int slot_KUrl_List___contains__(PyObject *sipSelf,PyObject *sipArg);}
static int slot_KUrl_List___contains__(PyObject *sipSelf,PyObject *sipArg)
{
    KUrl::List *sipCpp = reinterpret_cast<KUrl::List *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl_List));

    if (!sipCpp)
        return -1;

    int sipArgsParsed = 0;

    {
        KUrl * a0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J9",sipType_KUrl,&a0))
        {
            int sipRes = 0;

#line 223 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
//returns (bool)
//takes a0 | (KUrl)
        // It looks like you can't assign QBool to int.
        sipRes = bool(sipCpp->contains(*a0));
#line 9089 "sipkdecorepart4.cpp"

            return sipRes;
        }
    }

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

    return -1;
}


extern "C" {static PyObject *slot_KUrl_List___ne__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_KUrl_List___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KUrl::List *sipCpp = reinterpret_cast<KUrl::List *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl_List));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const KUrl::List * a0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J9",sipType_KUrl_List,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->KUrl::List::operator!=(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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


extern "C" {static PyObject *slot_KUrl_List___eq__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_KUrl_List___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KUrl::List *sipCpp = reinterpret_cast<KUrl::List *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl_List));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const KUrl::List * a0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J9",sipType_KUrl_List,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->KUrl::List::operator==(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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


extern "C" {static PyObject *slot_KUrl_List___imul__(PyObject *sipSelf,int a0);}
static PyObject *slot_KUrl_List___imul__(PyObject *sipSelf,int a0)
{
    KUrl::List *sipCpp = reinterpret_cast<KUrl::List *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl_List));

    if (!sipCpp)
        return 0;


    {
        {
#line 209 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
//returns (KUrl.List)
//takes val | (int)
    KUrl::List orig(*sipCpp);

    sipCpp -> clear();

    for (int i = 0; i < a0; ++i)
        (*sipCpp) += orig;
#line 9180 "sipkdecorepart4.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }
}


extern "C" {static PyObject *slot_KUrl_List___mul__(PyObject *sipSelf,int a0);}
static PyObject *slot_KUrl_List___mul__(PyObject *sipSelf,int a0)
{
    KUrl::List *sipCpp = reinterpret_cast<KUrl::List *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl_List));

    if (!sipCpp)
        return 0;


    {
        {
            KUrl::List *sipRes = 0;

#line 201 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
sipRes = new KUrl::List();

    for (int i = 0; i < a0; ++i)
        (*sipRes) += (*sipCpp);
#line 9207 "sipkdecorepart4.cpp"

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


extern "C" {static PyObject *slot_KUrl_List___iadd__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_KUrl_List___iadd__(PyObject *sipSelf,PyObject *sipArg)
{
    KUrl::List *sipCpp = reinterpret_cast<KUrl::List *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl_List));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const KUrl::List * a0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J9",sipType_KUrl_List,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KUrl::List::operator+=(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    /* Raise an exception if the argument couldn't be parsed. */
    sipBadOperatorArg(sipSelf,sipArg,iconcat_slot);

    return NULL;
}


extern "C" {static PyObject *slot_KUrl_List___add__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_KUrl_List___add__(PyObject *sipSelf,PyObject *sipArg)
{
    KUrl::List *sipCpp = reinterpret_cast<KUrl::List *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl_List));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const KUrl::List * a0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J9",sipType_KUrl_List,&a0))
        {
            KUrl::List *sipRes = 0;

#line 189 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
//returns (KUrl.List)
//takes listToAdd | (KUrl.List)
    Py_BEGIN_ALLOW_THREADS
//    sipRes = new KUrl::List((const KUrl::List&)((*sipCpp) + *a0));
    sipRes = new KUrl::List (*sipCpp);
    (*sipRes) += (*a0);
    Py_END_ALLOW_THREADS
#line 9271 "sipkdecorepart4.cpp"

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

    /* Raise an exception if the argument couldn't be parsed. */
    sipBadOperatorArg(sipSelf,sipArg,concat_slot);

    return NULL;
}


extern "C" {static PyObject *slot_KUrl_List___getitem__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_KUrl_List___getitem__(PyObject *sipSelf,PyObject *sipArg)
{
    KUrl::List *sipCpp = reinterpret_cast<KUrl::List *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl_List));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        int a0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1i",&a0))
        {
            KUrl *sipRes = 0;
            int sipIsErr = 0;

#line 153 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
//returns (KUrl)
//takes index | (int)
    int len;

    len = sipCpp -> count();

    if ((a0 = sipConvertFromSequenceIndex(a0,len)) < 0)
        sipIsErr = 1;
    else
        sipRes = new KUrl((*sipCpp)[a0]);
#line 9313 "sipkdecorepart4.cpp"

            if (sipIsErr)
                return 0;

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

    {
        PyObject * a0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1T",&PySlice_Type,&a0))
        {
            KUrl::List *sipRes = 0;
            int sipIsErr = 0;

#line 167 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
//returns (KUrl.List)
//takes range | (a Python slice)
    SIP_SSIZE_T len, start, stop, step, slicelength, i;

    len = sipCpp -> count();

    if (sipConvertFromSliceObject(a0,len,&start,&stop,&step,&slicelength) < 0)
        sipIsErr = 1;
    else
    {
        sipRes = new KUrl::List();

        for (i = 0; i < slicelength; ++i)
        {
            (*sipRes) += (*sipCpp)[start];
            start += step;
        }
    }
#line 9349 "sipkdecorepart4.cpp"

            if (sipIsErr)
                return 0;

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

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

    return 0;
}


extern "C" {static int slot_KUrl_List___delitem__(PyObject *sipSelf,PyObject *sipArg);}
static int slot_KUrl_List___delitem__(PyObject *sipSelf,PyObject *sipArg)
{
    KUrl::List *sipCpp = reinterpret_cast<KUrl::List *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl_List));

    if (!sipCpp)
        return -1;

    int sipArgsParsed = 0;

    {
        int a0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1i",&a0))
        {
            int sipIsErr = 0;

#line 124 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
//takes index | (int)
    int len;

    len = sipCpp -> count();

    if ((a0 = sipConvertFromSequenceIndex(a0,len)) < 0)
        sipIsErr = 1;
    else
        sipCpp -> removeAt(a0);
#line 9392 "sipkdecorepart4.cpp"

            if (sipIsErr)
                return -1;

            return 0;
        }
    }

    {
        PyObject * a0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1T",&PySlice_Type,&a0))
        {
            int sipIsErr = 0;

#line 137 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
//takes range | (a Python slice)
    SIP_SSIZE_T len, start, stop, step, slicelength, i;

    len = sipCpp -> count();
    if (sipConvertFromSliceObject(a0,len,&start,&stop,&step,&slicelength) < 0)
        sipIsErr = 1;
    else
        for (i = 0; i < slicelength; ++i)
        {
            sipCpp -> removeAt(start);
            start += step - 1;
        }
#line 9421 "sipkdecorepart4.cpp"

            if (sipIsErr)
                return -1;

            return 0;
        }
    }

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

    return -1;
}


extern "C" {static int slot_KUrl_List___setitem__(PyObject *sipSelf,PyObject *sipArgs);}
static int slot_KUrl_List___setitem__(PyObject *sipSelf,PyObject *sipArgs)
{
    KUrl::List *sipCpp = reinterpret_cast<KUrl::List *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl_List));

    if (!sipCpp)
        return -1;

    int sipArgsParsed = 0;

    {
        int a0;
        const KUrl * a1;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"iJ9",&a0,sipType_KUrl,&a1))
        {
            int sipIsErr = 0;

#line 81 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
//takes index | (int) | value | (KUrl)
    int len;

    len = sipCpp -> count();

    if ((a0 = sipConvertFromSequenceIndex(a0,len)) < 0)
        sipIsErr = 1;
    else
        (*sipCpp)[a0] = *a1;
#line 9465 "sipkdecorepart4.cpp"

            if (sipIsErr)
                return -1;

            return 0;
        }
    }

    {
        PyObject * a0;
        const KUrl::List * a1;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"TJ9",&PySlice_Type,&a0,sipType_KUrl_List,&a1))
        {
            int sipIsErr = 0;

#line 94 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
//takes range | (a Python slice) | urlList | (KUrl.List)
    SIP_SSIZE_T len, start, stop, step, slicelength, i;

    len = sipCpp -> count();

    if (sipConvertFromSliceObject(a0,len,&start,&stop,&step,&slicelength) < 0)
        sipIsErr = 1;
    else
    {
        int vlen = a1 -> count();
        if (vlen != slicelength)
        {
            sipBadLengthForSlice(vlen,slicelength);
            sipIsErr = 1;
        }
        else
        {
            KUrl::List::ConstIterator it = a1 -> begin();
            for (i = 0; i < slicelength; ++i)
            {
                (*sipCpp)[start] = *it;
                start += step;
                ++it;
            }
        }
    }
#line 9509 "sipkdecorepart4.cpp"

            if (sipIsErr)
                return -1;

            return 0;
        }
    }

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

    return -1;
}


extern "C" {static int slot_KUrl_List___len__(PyObject *sipSelf);}
static int slot_KUrl_List___len__(PyObject *sipSelf)
{
    KUrl::List *sipCpp = reinterpret_cast<KUrl::List *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl_List));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 73 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
//returns (int)
    Py_BEGIN_ALLOW_THREADS
    sipRes = sipCpp -> count();
    Py_END_ALLOW_THREADS
#line 9543 "sipkdecorepart4.cpp"

            return sipRes;
        }
    }
}


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

    return NULL;
}


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

    delete reinterpret_cast<KUrl::List *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KUrl_List(void *, const void*);}
static void assign_KUrl_List(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<KUrl::List *>(sipDst) = *reinterpret_cast<const KUrl::List *>(sipSrc);
}


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


extern "C" {static void *init_KUrl_List(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KUrl_List(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    KUrl::List *sipCpp = 0;

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

    if (!sipCpp)
    {
        const KUrl * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_KUrl,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KUrl::List(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const QStringList * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1",sipType_QStringList,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KUrl::List(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);
        }
    }

    if (!sipCpp)
    {
        const QList<KUrl> * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1",sipType_QList_0200KUrl,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KUrl::List(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QList<KUrl> *>(a0),sipType_QList_0200KUrl,a0State);
        }
    }

    if (!sipCpp)
    {
        const KUrl::List * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_KUrl_List,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KUrl::List(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    return sipCpp;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KUrl_List[] = {
    {(void *)slot_KUrl_List___contains__, contains_slot},
    {(void *)slot_KUrl_List___ne__, ne_slot},
    {(void *)slot_KUrl_List___eq__, eq_slot},
    {(void *)slot_KUrl_List___imul__, irepeat_slot},
    {(void *)slot_KUrl_List___mul__, repeat_slot},
    {(void *)slot_KUrl_List___iadd__, iconcat_slot},
    {(void *)slot_KUrl_List___add__, concat_slot},
    {(void *)slot_KUrl_List___getitem__, getitem_slot},
    {(void *)slot_KUrl_List___delitem__, delitem_slot},
    {(void *)slot_KUrl_List___setitem__, setitem_slot},
    {(void *)slot_KUrl_List___len__, len_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_KUrl_List[] = {
    {SIP_MLNAME_CAST(sipName_canDecode), meth_KUrl_List_canDecode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fromMimeData), meth_KUrl_List_fromMimeData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mimeDataTypes), meth_KUrl_List_mimeDataTypes, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_populateMimeData), meth_KUrl_List_populateMimeData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toStringList), meth_KUrl_List_toStringList, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KUrl_List[] = {
    {sipName_PreferKdeUrls, KUrl::List::PreferKdeUrls, 206},
    {sipName_PreferLocalUrls, KUrl::List::PreferLocalUrls, 206},
};


pyqt4ClassTypeDef pyqt4Type_kdecore_KUrl_List = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KUrl__List,
        {0}
    },
    sipNameNr_List,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {195, 255, 0},
    0,
    slots_KUrl_List,
    5, methods_KUrl_List,
    2, enummembers_KUrl_List,
    0, 0,
    init_KUrl_List,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KUrl_List,
    release_KUrl_List,
    cast_KUrl_List,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_KUrl_List,
    0,
    0,
    0
};

#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 9742 "sipkdecorepart4.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 9746 "sipkdecorepart4.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 9749 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 9752 "sipkdecorepart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 9755 "sipkdecorepart4.cpp"
#line 137 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
#include <qmap.h>
#line 43 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 43 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 9762 "sipkdecorepart4.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 9765 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 9768 "sipkdecorepart4.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 9771 "sipkdecorepart4.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 9774 "sipkdecorepart4.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 9777 "sipkdecorepart4.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 9780 "sipkdecorepart4.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 9783 "sipkdecorepart4.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 9814 "sipkdecorepart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 9817 "sipkdecorepart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 9820 "sipkdecorepart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 9823 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 9826 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 9829 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 9832 "sipkdecorepart4.cpp"


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

    {
        KUrl *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KUrl,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setProtocol(*a0);
            Py_END_ALLOW_THREADS

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KUrl *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KUrl,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setUser(*a0);
            Py_END_ALLOW_THREADS

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KUrl *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasUser();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KUrl *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KUrl,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPass(*a0);
            Py_END_ALLOW_THREADS

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KUrl *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasPass();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KUrl *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasHost();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KUrl::AdjustPathOption a0 = KUrl::LeaveTrailingSlash;
        KUrl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B|E",&sipSelf,sipType_KUrl,&sipCpp,sipType_KUrl_AdjustPathOption,&a0))
        {
            QString *sipRes;

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

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

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

    return NULL;
}


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

    {
        KUrl::AdjustPathOption a0 = KUrl::LeaveTrailingSlash;
        KUrl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B|E",&sipSelf,sipType_KUrl,&sipCpp,sipType_KUrl_AdjustPathOption,&a0))
        {
            QString *sipRes;

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KUrl,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPath(*a0);
            Py_END_ALLOW_THREADS

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KUrl *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasPath();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KUrl::CleanPathOption a0 = KUrl::SimplifyDirSeparators;
        KUrl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B|E",&sipSelf,sipType_KUrl,&sipCpp,sipType_KUrl_CleanPathOption,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->cleanPath(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KUrl::AdjustPathOption a0;
        KUrl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BE",&sipSelf,sipType_KUrl,&sipCpp,sipType_KUrl_AdjustPathOption,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->adjustPath(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KUrl,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setEncodedPathAndQuery(*a0);
            Py_END_ALLOW_THREADS

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KUrl::AdjustPathOption a0 = KUrl::LeaveTrailingSlash;
        const KUrl::EncodedPathAndQueryOptions& a1def = KUrl::PermitEmptyPath;
        const KUrl::EncodedPathAndQueryOptions * a1 = &a1def;
        int a1State = 0;
        KUrl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B|EJ1",&sipSelf,sipType_KUrl,&sipCpp,sipType_KUrl_AdjustPathOption,&a0,sipType_KUrl_EncodedPathAndQueryOptions,&a1,&a1State))
        {
            QString *sipRes;

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

            sipReleaseType(const_cast<KUrl::EncodedPathAndQueryOptions *>(a1),sipType_KUrl_EncodedPathAndQueryOptions,a1State);

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KUrl,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setQuery(*a0);
            Py_END_ALLOW_THREADS

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KUrl *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KUrl *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KUrl,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setRef(*a0);
            Py_END_ALLOW_THREADS

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KUrl *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasRef();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KUrl *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KUrl *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KUrl,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setHTMLRef(*a0);
            Py_END_ALLOW_THREADS

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KUrl *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasHTMLRef();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KUrl *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isLocalFile();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KUrl,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFileEncoding(*a0);
            Py_END_ALLOW_THREADS

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KUrl *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KUrl *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasSubUrl();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KUrl,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addPath(*a0);
            Py_END_ALLOW_THREADS

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KUrl::QueryItemsOptions& a0def = 0;
        const KUrl::QueryItemsOptions * a0 = &a0def;
        int a0State = 0;
        KUrl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B|J1",&sipSelf,sipType_KUrl,&sipCpp,sipType_KUrl_QueryItemsOptions,&a0,&a0State))
        {
            QMap<QString,QString> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QMap<QString,QString>(sipCpp->queryItems(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<KUrl::QueryItemsOptions *>(a0),sipType_KUrl_QueryItemsOptions,a0State);

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

            return sipResObj;
        }
    }

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

    return NULL;
}


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

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->queryItem(*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(sipArgsParsed,sipName_KUrl,sipName_queryItem);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1J1",&sipSelf,sipType_KUrl,&sipCpp,sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addQueryItem(*a0,*a1);
            Py_END_ALLOW_THREADS

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KUrl,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFileName(*a0);
            Py_END_ALLOW_THREADS

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KUrl::DirectoryOptions& a0def = KUrl::IgnoreTrailingSlash;
        const KUrl::DirectoryOptions * a0 = &a0def;
        int a0State = 0;
        KUrl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B|J1",&sipSelf,sipType_KUrl,&sipCpp,sipType_KUrl_DirectoryOptions,&a0,&a0State))
        {
            QString *sipRes;

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

            sipReleaseType(const_cast<KUrl::DirectoryOptions *>(a0),sipType_KUrl_DirectoryOptions,a0State);

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

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

    return NULL;
}


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

    {
        const KUrl::DirectoryOptions& a0def = KUrl::IgnoreTrailingSlash;
        const KUrl::DirectoryOptions * a0 = &a0def;
        int a0State = 0;
        KUrl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B|J1",&sipSelf,sipType_KUrl,&sipCpp,sipType_KUrl_DirectoryOptions,&a0,&a0State))
        {
            QString *sipRes;

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

            sipReleaseType(const_cast<KUrl::DirectoryOptions *>(a0),sipType_KUrl_DirectoryOptions,a0State);

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KUrl,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDirectory(*a0);
            Py_END_ALLOW_THREADS

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->cd(*a0);
            Py_END_ALLOW_THREADS

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KUrl::AdjustPathOption a0 = KUrl::LeaveTrailingSlash;
        KUrl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B|E",&sipSelf,sipType_KUrl,&sipCpp,sipType_KUrl_AdjustPathOption,&a0))
        {
            QString *sipRes;

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

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

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

    return NULL;
}


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

    {
        KUrl::AdjustPathOption a0 = KUrl::LeaveTrailingSlash;
        KUrl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B|E",&sipSelf,sipType_KUrl,&sipCpp,sipType_KUrl_AdjustPathOption,&a0))
        {
            QString *sipRes;

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

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

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

    return NULL;
}


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

    {
        KUrl *sipCpp;

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

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

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

    {
        KUrl::AdjustPathOption a0;
        KUrl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BE",&sipSelf,sipType_KUrl,&sipCpp,sipType_KUrl_AdjustPathOption,&a0))
        {
            QString *sipRes;

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

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

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

    return NULL;
}


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

    {
        KUrl *sipCpp;

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

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

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUrl,sipName_toMimeDataString);

    return NULL;
}


extern "C" {static PyObject *meth_KUrl_upUrl(PyObject *, PyObject *);}
static PyObject *meth_KUrl_upUrl(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KUrl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KUrl,&sipCpp))
        {
            KUrl *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(sipCpp->upUrl());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUrl,sipName_upUrl);

    return NULL;
}


extern "C" {static PyObject *meth_KUrl_cmp(PyObject *, PyObject *);}
static PyObject *meth_KUrl_cmp(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;
        bool a1 = 0;
        KUrl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9|b",&sipSelf,sipType_KUrl,&sipCpp,sipType_KUrl,&a0,&a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->cmp(*a0,a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUrl,sipName_cmp);

    return NULL;
}


extern "C" {static PyObject *meth_KUrl_equals(PyObject *, PyObject *);}
static PyObject *meth_KUrl_equals(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;
        const KUrl::EqualsOptions& a1def = 0;
        const KUrl::EqualsOptions * a1 = &a1def;
        int a1State = 0;
        KUrl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9|J1",&sipSelf,sipType_KUrl,&sipCpp,sipType_KUrl,&a0,sipType_KUrl_EqualsOptions,&a1,&a1State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->equals(*a0,*a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<KUrl::EqualsOptions *>(a1),sipType_KUrl_EqualsOptions,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUrl,sipName_equals);

    return NULL;
}


extern "C" {static PyObject *meth_KUrl_isParentOf(PyObject *, PyObject *);}
static PyObject *meth_KUrl_isParentOf(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;
        KUrl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KUrl,&sipCpp,sipType_KUrl,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isParentOf(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUrl,sipName_isParentOf);

    return NULL;
}


extern "C" {static PyObject *meth_KUrl_split(PyObject *, PyObject *);}
static PyObject *meth_KUrl_split(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1",sipType_QString,&a0,&a0State))
        {
            KUrl::List *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl::List(KUrl::split(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_KUrl_List,NULL);
        }
    }

    {
        const KUrl * a0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9",sipType_KUrl,&a0))
        {
            KUrl::List *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl::List(KUrl::split(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KUrl_List,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUrl,sipName_split);

    return NULL;
}


extern "C" {static PyObject *meth_KUrl_join(PyObject *, PyObject *);}
static PyObject *meth_KUrl_join(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl::List * a0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9",sipType_KUrl_List,&a0))
        {
            KUrl *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(KUrl::join(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUrl,sipName_join);

    return NULL;
}


extern "C" {static PyObject *meth_KUrl_fromPath(PyObject *, PyObject *);}
static PyObject *meth_KUrl_fromPath(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1",sipType_QString,&a0,&a0State))
        {
            KUrl *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(KUrl::fromPath(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_KUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUrl,sipName_fromPath);

    return NULL;
}


extern "C" {static PyObject *meth_KUrl_fromPathOrUrl(PyObject *, PyObject *);}
static PyObject *meth_KUrl_fromPathOrUrl(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1",sipType_QString,&a0,&a0State))
        {
            KUrl *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(KUrl::fromPathOrUrl(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_KUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUrl,sipName_fromPathOrUrl);

    return NULL;
}


extern "C" {static PyObject *meth_KUrl_fromMimeDataByteArray(PyObject *, PyObject *);}
static PyObject *meth_KUrl_fromMimeDataByteArray(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QByteArray * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1",sipType_QByteArray,&a0,&a0State))
        {
            KUrl *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(KUrl::fromMimeDataByteArray(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipConvertFromNewType(sipRes,sipType_KUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUrl,sipName_fromMimeDataByteArray);

    return NULL;
}


extern "C" {static PyObject *meth_KUrl_populateMimeData(PyObject *, PyObject *);}
static PyObject *meth_KUrl_populateMimeData(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        QMimeData * a0;
        const KUrl::MetaDataMap& a1def = KUrl::MetaDataMap();
        const KUrl::MetaDataMap * a1 = &a1def;
        int a1State = 0;
        KUrl::MimeDataFlags a2 = KUrl::DefaultMimeDataFlags;
        KUrl *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8|J1E",&sipSelf,sipType_KUrl,&sipCpp,sipType_QMimeData,&a0,sipType_QMap_0200QString_0200QString,&a1,&a1State,sipType_KUrl_MimeDataFlags,&a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->populateMimeData(a0,*a1,a2);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<KUrl::MetaDataMap *>(a1),sipType_QMap_0200QString_0200QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUrl,sipName_populateMimeData);

    return NULL;
}


extern "C" {static PyObject *meth_KUrl_encode_string(PyObject *, PyObject *);}
static PyObject *meth_KUrl_encode_string(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1",sipType_QString,&a0,&a0State))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KUrl::encode_string(*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(sipArgsParsed,sipName_KUrl,sipName_encode_string);

    return NULL;
}


extern "C" {static PyObject *meth_KUrl_encode_string_no_slash(PyObject *, PyObject *);}
static PyObject *meth_KUrl_encode_string_no_slash(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1",sipType_QString,&a0,&a0State))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KUrl::encode_string_no_slash(*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(sipArgsParsed,sipName_KUrl,sipName_encode_string_no_slash);

    return NULL;
}


extern "C" {static PyObject *meth_KUrl_decode_string(PyObject *, PyObject *);}
static PyObject *meth_KUrl_decode_string(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1",sipType_QString,&a0,&a0State))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KUrl::decode_string(*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(sipArgsParsed,sipName_KUrl,sipName_decode_string);

    return NULL;
}


extern "C" {static PyObject *meth_KUrl_isRelativeUrl(PyObject *, PyObject *);}
static PyObject *meth_KUrl_isRelativeUrl(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1",sipType_QString,&a0,&a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KUrl::isRelativeUrl(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUrl,sipName_isRelativeUrl);

    return NULL;
}


extern "C" {static PyObject *meth_KUrl_relativeUrl(PyObject *, PyObject *);}
static PyObject *meth_KUrl_relativeUrl(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;
        const KUrl * a1;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9J9",sipType_KUrl,&a0,sipType_KUrl,&a1))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KUrl::relativeUrl(*a0,*a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUrl,sipName_relativeUrl);

    return NULL;
}


extern "C" {static PyObject *meth_KUrl_relativePath(PyObject *, PyObject *);}
static PyObject *meth_KUrl_relativePath(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        bool a2;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1J1",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KUrl::relativePath(*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_QString,NULL);
            return sipBuildResult(0,"(Rb)",sipResObj,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KUrl,sipName_relativePath);

    return NULL;
}


extern "C" {static PyObject *slot_KUrl___ne__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_KUrl___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KUrl *sipCpp = reinterpret_cast<KUrl *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const KUrl * a0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J9",sipType_KUrl,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->KUrl::operator!=(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QString * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_QString,&a0,&a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->KUrl::operator!=(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kdecore,ne_slot,sipType_KUrl,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KUrl___eq__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_KUrl___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KUrl *sipCpp = reinterpret_cast<KUrl *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KUrl));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const KUrl * a0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J9",sipType_KUrl,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->KUrl::operator==(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QString * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_QString,&a0,&a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->KUrl::operator==(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kdecore,eq_slot,sipType_KUrl,sipSelf,sipArg);
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KUrl(void *, const sipTypeDef *);}
static void *cast_KUrl(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KUrl)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QUrl)->ctd_cast((QUrl *)(KUrl *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KUrl(void *, int);}
static void release_KUrl(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KUrl *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KUrl(void *, const void*);}
static void assign_KUrl(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<KUrl *>(sipDst) = *reinterpret_cast<const KUrl *>(sipSrc);
}


extern "C" {static void dealloc_KUrl(sipSimpleWrapper *);}
static void dealloc_KUrl(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KUrl(sipSelf->u.cppPtr,0);
    }
}


extern "C" {static void *init_KUrl(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KUrl(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    KUrl *sipCpp = 0;

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KUrl();
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const QString * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1",sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KUrl(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
        }
    }

    if (!sipCpp)
    {
        const char * a0;
        PyObject *a0Keep;

        if (sipParseArgs(sipArgsParsed,sipArgs,"AA",&a0Keep,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KUrl(a0);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);
        }
    }

    if (!sipCpp)
    {
        const QByteArray * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1",sipType_QByteArray,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KUrl(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);
        }
    }

    if (!sipCpp)
    {
        const KUrl * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_KUrl,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KUrl(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const QUrl * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_QUrl,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KUrl(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const KUrl * a0;
        const QString * a1;
        int a1State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9J1",sipType_KUrl,&a0,sipType_QString,&a1,&a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KUrl(*a0,*a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
        }
    }

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KUrl[] = {{192, 0, 1}};


/* Define this type's Python slots. */
static sipPySlotDef slots_KUrl[] = {
    {(void *)slot_KUrl___ne__, ne_slot},
    {(void *)slot_KUrl___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_KUrl[] = {
    {SIP_MLNAME_CAST(sipName_addPath), meth_KUrl_addPath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addQueryItem), meth_KUrl_addQueryItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_adjustPath), meth_KUrl_adjustPath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_cd), meth_KUrl_cd, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_cleanPath), meth_KUrl_cleanPath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_cmp), meth_KUrl_cmp, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_decode_string), meth_KUrl_decode_string, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_directory), meth_KUrl_directory, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_encode_string), meth_KUrl_encode_string, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_encode_string_no_slash), meth_KUrl_encode_string_no_slash, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_encodedHtmlRef), meth_KUrl_encodedHtmlRef, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_encodedPathAndQuery), meth_KUrl_encodedPathAndQuery, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_equals), meth_KUrl_equals, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fileEncoding), meth_KUrl_fileEncoding, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fileName), meth_KUrl_fileName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fromMimeDataByteArray), meth_KUrl_fromMimeDataByteArray, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fromPath), meth_KUrl_fromPath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fromPathOrUrl), meth_KUrl_fromPathOrUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasHTMLRef), meth_KUrl_hasHTMLRef, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasHost), meth_KUrl_hasHost, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasPass), meth_KUrl_hasPass, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasPath), meth_KUrl_hasPath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasRef), meth_KUrl_hasRef, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasSubUrl), meth_KUrl_hasSubUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasUser), meth_KUrl_hasUser, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_htmlRef), meth_KUrl_htmlRef, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isLocalFile), meth_KUrl_isLocalFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isParentOf), meth_KUrl_isParentOf, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isRelativeUrl), meth_KUrl_isRelativeUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_join), meth_KUrl_join, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pass_), meth_KUrl_pass_, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_path), meth_KUrl_path, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pathOrUrl), meth_KUrl_pathOrUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_populateMimeData), meth_KUrl_populateMimeData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_prettyUrl), meth_KUrl_prettyUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_protocol), meth_KUrl_protocol, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_query), meth_KUrl_query, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_queryItem), meth_KUrl_queryItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_queryItems), meth_KUrl_queryItems, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ref), meth_KUrl_ref, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_relativePath), meth_KUrl_relativePath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_relativeUrl), meth_KUrl_relativeUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDirectory), meth_KUrl_setDirectory, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setEncodedPathAndQuery), meth_KUrl_setEncodedPathAndQuery, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFileEncoding), meth_KUrl_setFileEncoding, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFileName), meth_KUrl_setFileName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHTMLRef), meth_KUrl_setHTMLRef, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPass), meth_KUrl_setPass, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPath), meth_KUrl_setPath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setProtocol), meth_KUrl_setProtocol, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setQuery), meth_KUrl_setQuery, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRef), meth_KUrl_setRef, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUser), meth_KUrl_setUser, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_split), meth_KUrl_split, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toLocalFile), meth_KUrl_toLocalFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toMimeDataString), meth_KUrl_toMimeDataString, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_upUrl), meth_KUrl_upUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_url), meth_KUrl_url, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_user), meth_KUrl_user, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KUrl[] = {
    {sipName_AddTrailingSlash, KUrl::AddTrailingSlash, 196},
    {sipName_AppendTrailingSlash, KUrl::AppendTrailingSlash, 199},
    {sipName_AvoidEmptyPath, KUrl::AvoidEmptyPath, 201},
    {sipName_CaseInsensitiveKeys, KUrl::CaseInsensitiveKeys, 208},
    {sipName_CompareWithoutFragment, KUrl::CompareWithoutFragment, 203},
    {sipName_CompareWithoutTrailingSlash, KUrl::CompareWithoutTrailingSlash, 203},
    {sipName_DefaultMimeDataFlags, KUrl::DefaultMimeDataFlags, 207},
    {sipName_IgnoreTrailingSlash, KUrl::IgnoreTrailingSlash, 199},
    {sipName_KeepDirSeparators, KUrl::KeepDirSeparators, 197},
    {sipName_LeaveTrailingSlash, KUrl::LeaveTrailingSlash, 196},
    {sipName_NoTextExport, KUrl::NoTextExport, 207},
    {sipName_ObeyTrailingSlash, KUrl::ObeyTrailingSlash, 199},
    {sipName_PermitEmptyPath, KUrl::PermitEmptyPath, 201},
    {sipName_RemoveTrailingSlash, KUrl::RemoveTrailingSlash, 196},
    {sipName_SimplifyDirSeparators, KUrl::SimplifyDirSeparators, 197},
};


pyqt4ClassTypeDef pyqt4Type_kdecore_KUrl = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KUrl,
        {0}
    },
    sipNameNr_KUrl,
    -1,
    -1,
    {0, 0, 1},
    supers_KUrl,
    slots_KUrl,
    59, methods_KUrl,
    15, enummembers_KUrl,
    0, 0,
    init_KUrl,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KUrl,
    release_KUrl,
    cast_KUrl,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_KUrl,
    0,
    0,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktemporaryfile.sip"
#include <ktemporaryfile.h>
#line 11967 "sipkdecorepart4.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcomponentdata.sip"
#include <kcomponentdata.h>
#line 11971 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 11974 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qabstractfileengine.sip"
#include <qabstractfileengine.h>
#line 11977 "sipkdecorepart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qtemporaryfile.sip"
#include <qtemporaryfile.h>
#line 11980 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qfile.sip"
#include <qfile.h>
#line 11983 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 11986 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qfile.sip"
#include <qfile.h>
#line 11989 "sipkdecorepart4.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 11992 "sipkdecorepart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11995 "sipkdecorepart4.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11998 "sipkdecorepart4.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12001 "sipkdecorepart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 12004 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 12007 "sipkdecorepart4.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 12038 "sipkdecorepart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 12041 "sipkdecorepart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 12044 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 12047 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 12050 "sipkdecorepart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12053 "sipkdecorepart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 12056 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 12059 "sipkdecorepart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 12062 "sipkdecorepart4.cpp"


class sipKTemporaryFile : public KTemporaryFile
{
public:
    sipKTemporaryFile(const KComponentData&);
    virtual ~sipKTemporaryFile();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    void sipProtect_setOpenMode(QIODevice::OpenMode);
    void sipProtect_setErrorString(const QString&);
    qint64 sipProtectVirt_readData(bool,char *,qint64);
    qint64 sipProtectVirt_readLineData(bool,char *,qint64);
    qint64 sipProtectVirt_writeData(bool,const char *,PY_LONG_LONG);
    bool sipProtectVirt_open(bool,QIODevice::OpenMode);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QAbstractFileEngine * fileEngine() const;
    bool open(QIODevice::OpenMode);
    bool isSequential() const;
    void close();
    qint64 size() const;
    qint64 pos() const;
    bool seek(qint64);
    bool atEnd() const;
    qint64 readData(char *,qint64);
    qint64 readLineData(char *,qint64);
    qint64 writeData(const char *,PY_LONG_LONG);
    bool reset();
    qint64 bytesAvailable() const;
    qint64 bytesToWrite() const;
    bool canReadLine() const;
    bool waitForReadyRead(int);
    bool waitForBytesWritten(int);
    bool event(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKTemporaryFile(const sipKTemporaryFile &);
    sipKTemporaryFile &operator = (const sipKTemporaryFile &);

    char sipPyMethods[24];
};

sipKTemporaryFile::sipKTemporaryFile(const KComponentData& a0): KTemporaryFile(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKTemporaryFile::~sipKTemporaryFile()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKTemporaryFile::metaObject() const
{
    return sip_kdecore_qt_metaobject(sipPySelf,sipType_KTemporaryFile);
}

int sipKTemporaryFile::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KTemporaryFile::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdecore_qt_metacall(sipPySelf,sipType_KTemporaryFile,_c,_id,_a);

    return _id;
}

void *sipKTemporaryFile::qt_metacast(const char *_clname)
{
    return (sip_kdecore_qt_metacast && sip_kdecore_qt_metacast(sipPySelf,sipType_KTemporaryFile,_clname)) ? this : KTemporaryFile::qt_metacast(_clname);
}

QAbstractFileEngine * sipKTemporaryFile::fileEngine() const
{
    typedef QAbstractFileEngine * (*sipVH_QtCore_12)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_fileEngine);

    if (!meth)
        return QTemporaryFile::fileEngine();

    return ((sipVH_QtCore_12)(sipModuleAPI_kdecore_QtCore->em_virthandlers[12]))(sipGILState,meth);
}

bool sipKTemporaryFile::open(QIODevice::OpenMode a0)
{
    typedef bool (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *,QIODevice::OpenMode);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_open);

    if (!meth)
        return QTemporaryFile::open(a0);

    return ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState,meth,a0);
}

bool sipKTemporaryFile::isSequential() const
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_isSequential);

    if (!meth)
        return QFile::isSequential();

    return ((sipVH_QtCore_1)(sipModuleAPI_kdecore_QtCore->em_virthandlers[1]))(sipGILState,meth);
}

void sipKTemporaryFile::close()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_close);

    if (!meth)
    {
        QFile::close();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kdecore_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

qint64 sipKTemporaryFile::size() const
{
    typedef PY_LONG_LONG (*sipVH_QtCore_16)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_size);

    if (!meth)
        return QFile::size();

    return ((sipVH_QtCore_16)(sipModuleAPI_kdecore_QtCore->em_virthandlers[16]))(sipGILState,meth);
}

qint64 sipKTemporaryFile::pos() const
{
    typedef PY_LONG_LONG (*sipVH_QtCore_16)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_pos);

    if (!meth)
        return QFile::pos();

    return ((sipVH_QtCore_16)(sipModuleAPI_kdecore_QtCore->em_virthandlers[16]))(sipGILState,meth);
}

bool sipKTemporaryFile::seek(qint64 a0)
{
    typedef bool (*sipVH_QtCore_28)(sip_gilstate_t,PyObject *,PY_LONG_LONG);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_seek);

    if (!meth)
        return QFile::seek(a0);

    return ((sipVH_QtCore_28)(sipModuleAPI_kdecore_QtCore->em_virthandlers[28]))(sipGILState,meth,a0);
}

bool sipKTemporaryFile::atEnd() const
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_atEnd);

    if (!meth)
        return QFile::atEnd();

    return ((sipVH_QtCore_1)(sipModuleAPI_kdecore_QtCore->em_virthandlers[1]))(sipGILState,meth);
}

qint64 sipKTemporaryFile::readData(char *a0,qint64 a1)
{
    typedef PY_LONG_LONG (*sipVH_QtCore_15)(sip_gilstate_t,PyObject *,char *,PY_LONG_LONG);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_readData);

    if (!meth)
        return QFile::readData(a0,a1);

    return ((sipVH_QtCore_15)(sipModuleAPI_kdecore_QtCore->em_virthandlers[15]))(sipGILState,meth,a0,a1);
}

qint64 sipKTemporaryFile::readLineData(char *a0,qint64 a1)
{
    typedef PY_LONG_LONG (*sipVH_QtCore_15)(sip_gilstate_t,PyObject *,char *,PY_LONG_LONG);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_readLineData);

    if (!meth)
        return QFile::readLineData(a0,a1);

    return ((sipVH_QtCore_15)(sipModuleAPI_kdecore_QtCore->em_virthandlers[15]))(sipGILState,meth,a0,a1);
}

qint64 sipKTemporaryFile::writeData(const char *a0,PY_LONG_LONG a1)
{
    typedef PY_LONG_LONG (*sipVH_QtCore_14)(sip_gilstate_t,PyObject *,const char *,PY_LONG_LONG);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_writeData);

    if (!meth)
        return QFile::writeData(a0,a1);

    return ((sipVH_QtCore_14)(sipModuleAPI_kdecore_QtCore->em_virthandlers[14]))(sipGILState,meth,a0,a1);
}

bool sipKTemporaryFile::reset()
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_reset);

    if (!meth)
        return QIODevice::reset();

    return ((sipVH_QtCore_1)(sipModuleAPI_kdecore_QtCore->em_virthandlers[1]))(sipGILState,meth);
}

qint64 sipKTemporaryFile::bytesAvailable() const
{
    typedef PY_LONG_LONG (*sipVH_QtCore_16)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_bytesAvailable);

    if (!meth)
        return QIODevice::bytesAvailable();

    return ((sipVH_QtCore_16)(sipModuleAPI_kdecore_QtCore->em_virthandlers[16]))(sipGILState,meth);
}

qint64 sipKTemporaryFile::bytesToWrite() const
{
    typedef PY_LONG_LONG (*sipVH_QtCore_16)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_bytesToWrite);

    if (!meth)
        return QIODevice::bytesToWrite();

    return ((sipVH_QtCore_16)(sipModuleAPI_kdecore_QtCore->em_virthandlers[16]))(sipGILState,meth);
}

bool sipKTemporaryFile::canReadLine() const
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_canReadLine);

    if (!meth)
        return QIODevice::canReadLine();

    return ((sipVH_QtCore_1)(sipModuleAPI_kdecore_QtCore->em_virthandlers[1]))(sipGILState,meth);
}

bool sipKTemporaryFile::waitForReadyRead(int a0)
{
    typedef bool (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_waitForReadyRead);

    if (!meth)
        return QIODevice::waitForReadyRead(a0);

    return ((sipVH_QtCore_17)(sipModuleAPI_kdecore_QtCore->em_virthandlers[17]))(sipGILState,meth,a0);
}

bool sipKTemporaryFile::waitForBytesWritten(int a0)
{
    typedef bool (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_waitForBytesWritten);

    if (!meth)
        return QIODevice::waitForBytesWritten(a0);

    return ((sipVH_QtCore_17)(sipModuleAPI_kdecore_QtCore->em_virthandlers[17]))(sipGILState,meth,a0);
}

bool sipKTemporaryFile::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QObject::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_kdecore_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipKTemporaryFile::eventFilter(QObject *a0,QEvent *a1)
{
    typedef bool (*sipVH_QtCore_21)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_eventFilter);

    if (!meth)
        return QObject::eventFilter(a0,a1);

    return ((sipVH_QtCore_21)(sipModuleAPI_kdecore_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

void sipKTemporaryFile::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    ((sipVH_QtCore_3)(sipModuleAPI_kdecore_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKTemporaryFile::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    ((sipVH_QtCore_20)(sipModuleAPI_kdecore_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKTemporaryFile::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kdecore_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKTemporaryFile::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kdecore_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKTemporaryFile::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kdecore_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

int sipKTemporaryFile::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKTemporaryFile::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKTemporaryFile::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKTemporaryFile::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKTemporaryFile::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKTemporaryFile::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

void sipKTemporaryFile::sipProtect_setOpenMode(QIODevice::OpenMode a0)
{
    QIODevice::setOpenMode(a0);
}

void sipKTemporaryFile::sipProtect_setErrorString(const QString& a0)
{
    QIODevice::setErrorString(a0);
}

qint64 sipKTemporaryFile::sipProtectVirt_readData(bool sipSelfWasArg,char *a0,qint64 a1)
{
    return (sipSelfWasArg ? QFile::readData(a0,a1) : readData(a0,a1));
}

qint64 sipKTemporaryFile::sipProtectVirt_readLineData(bool sipSelfWasArg,char *a0,qint64 a1)
{
    return (sipSelfWasArg ? QFile::readLineData(a0,a1) : readLineData(a0,a1));
}

qint64 sipKTemporaryFile::sipProtectVirt_writeData(bool sipSelfWasArg,const char *a0,PY_LONG_LONG a1)
{
    return (sipSelfWasArg ? QFile::writeData(a0,a1) : writeData(a0,a1));
}

bool sipKTemporaryFile::sipProtectVirt_open(bool sipSelfWasArg,QIODevice::OpenMode a0)
{
    return (sipSelfWasArg ? QTemporaryFile::open(a0) : open(a0));
}


extern "C" {static PyObject *meth_KTemporaryFile_receivers(PyObject *, PyObject *);}
static PyObject *meth_KTemporaryFile_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipKTemporaryFile *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KTemporaryFile,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 12626 "sipkdecorepart4.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KTemporaryFile,sipName_receivers);

    return NULL;
}


extern "C" {static PyObject *meth_KTemporaryFile_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KTemporaryFile_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKTemporaryFile *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KTemporaryFile,&sipCpp,sipType_QTimerEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KTemporaryFile,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KTemporaryFile_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KTemporaryFile_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKTemporaryFile *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KTemporaryFile,&sipCpp,sipType_QChildEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KTemporaryFile,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KTemporaryFile_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KTemporaryFile_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKTemporaryFile *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KTemporaryFile,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KTemporaryFile,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KTemporaryFile_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KTemporaryFile_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKTemporaryFile *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KTemporaryFile,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KTemporaryFile,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KTemporaryFile_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KTemporaryFile_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKTemporaryFile *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KTemporaryFile,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KTemporaryFile,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KTemporaryFile_setOpenMode(PyObject *, PyObject *);}
static PyObject *meth_KTemporaryFile_setOpenMode(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        QIODevice::OpenMode * a0;
        int a0State = 0;
        sipKTemporaryFile *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&sipSelf,sipType_KTemporaryFile,&sipCpp,sipType_QIODevice_OpenMode,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setOpenMode(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_QIODevice_OpenMode,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KTemporaryFile,sipName_setOpenMode);

    return NULL;
}


extern "C" {static PyObject *meth_KTemporaryFile_setErrorString(PyObject *, PyObject *);}
static PyObject *meth_KTemporaryFile_setErrorString(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        sipKTemporaryFile *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&sipSelf,sipType_KTemporaryFile,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setErrorString(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KTemporaryFile,sipName_setErrorString);

    return NULL;
}


extern "C" {static PyObject *meth_KTemporaryFile_readData(PyObject *, PyObject *);}
static PyObject *meth_KTemporaryFile_readData(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        qint64 a0;
        sipKTemporaryFile *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pn",&sipSelf,sipType_KTemporaryFile,&sipCpp,&a0))
        {
            PyObject * sipRes = 0;
            int sipIsErr = 0;

#line 152 "/usr/local/share/py-sip/QtCore/qfile.sip"
        // Return the data read or None if there was an error.
        if (a0 < 0)
        {
            PyErr_SetString(PyExc_ValueError, "maximum length of data to be read cannot be negative");
            sipIsErr = 1;
        }
        else
        {
            char *s = new char[a0];
            qint64 len;
        
            Py_BEGIN_ALLOW_THREADS
            len = sipCpp->sipProtectVirt_readData(sipSelfWasArg, s, a0);
            Py_END_ALLOW_THREADS
        
            if (len < 0)
            {
                Py_INCREF(Py_None);
                sipRes = Py_None;
            }
            else
            {
                sipRes = SIPBytes_FromStringAndSize(s, len);
        
                if (!sipRes)
                    sipIsErr = 1;
            }
        
            delete[] s;
        }
#line 12885 "sipkdecorepart4.cpp"

            if (sipIsErr)
                return 0;

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KTemporaryFile,sipName_readData);

    return NULL;
}


extern "C" {static PyObject *meth_KTemporaryFile_readLineData(PyObject *, PyObject *);}
static PyObject *meth_KTemporaryFile_readLineData(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        qint64 a0;
        sipKTemporaryFile *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pn",&sipSelf,sipType_KTemporaryFile,&sipCpp,&a0))
        {
            PyObject * sipRes = 0;
            int sipIsErr = 0;

#line 186 "/usr/local/share/py-sip/QtCore/qfile.sip"
        // Return the data read or None if there was an error.
        if (a0 < 0)
        {
            PyErr_SetString(PyExc_ValueError, "maximum length of data to be read cannot be negative");
            sipIsErr = 1;
        }
        else
        {
            char *s = new char[a0];
            qint64 len;
        
            Py_BEGIN_ALLOW_THREADS
            len = sipCpp->sipProtectVirt_readLineData(sipSelfWasArg, s, a0);
            Py_END_ALLOW_THREADS
        
            if (len < 0)
            {
                Py_INCREF(Py_None);
                sipRes = Py_None;
            }
            else
            {
                sipRes = SIPBytes_FromStringAndSize(s, len);
        
                if (!sipRes)
                    sipIsErr = 1;
            }
        
            delete[] s;
        }
#line 12947 "sipkdecorepart4.cpp"

            if (sipIsErr)
                return 0;

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KTemporaryFile,sipName_readLineData);

    return NULL;
}


extern "C" {static PyObject *meth_KTemporaryFile_writeData(PyObject *, PyObject *);}
static PyObject *meth_KTemporaryFile_writeData(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const char * a0;
        SIP_SSIZE_T a1;
        sipKTemporaryFile *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pk",&sipSelf,sipType_KTemporaryFile,&sipCpp,&a0,&a1))
        {
            qint64 sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_writeData(sipSelfWasArg,a0,(PY_LONG_LONG)a1);
            Py_END_ALLOW_THREADS

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KTemporaryFile,sipName_writeData);

    return NULL;
}


extern "C" {static PyObject *meth_KTemporaryFile_open(PyObject *, PyObject *);}
static PyObject *meth_KTemporaryFile_open(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KTemporaryFile *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KTemporaryFile,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->open();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    {
        QIODevice::OpenMode * a0;
        int a0State = 0;
        sipKTemporaryFile *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&sipSelf,sipType_KTemporaryFile,&sipCpp,sipType_QIODevice_OpenMode,&a0,&a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_open(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_QIODevice_OpenMode,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KTemporaryFile,sipName_open);

    return NULL;
}


extern "C" {static PyObject *meth_KTemporaryFile_setPrefix(PyObject *, PyObject *);}
static PyObject *meth_KTemporaryFile_setPrefix(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KTemporaryFile *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KTemporaryFile,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPrefix(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KTemporaryFile,sipName_setPrefix);

    return NULL;
}


extern "C" {static PyObject *meth_KTemporaryFile_setSuffix(PyObject *, PyObject *);}
static PyObject *meth_KTemporaryFile_setSuffix(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KTemporaryFile *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KTemporaryFile,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSuffix(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KTemporaryFile,sipName_setSuffix);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KTemporaryFile(void *, const sipTypeDef *);}
static void *cast_KTemporaryFile(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KTemporaryFile)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QTemporaryFile)->ctd_cast((QTemporaryFile *)(KTemporaryFile *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KTemporaryFile(void *, int);}
static void release_KTemporaryFile(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKTemporaryFile *>(sipCppV);
    else
        delete reinterpret_cast<KTemporaryFile *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KTemporaryFile(sipSimpleWrapper *);}
static void dealloc_KTemporaryFile(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKTemporaryFile *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KTemporaryFile(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KTemporaryFile(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KTemporaryFile(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipKTemporaryFile *sipCpp = 0;

    if (!sipCpp)
    {
        const KComponentData& a0def = KGlobal::mainComponent();
        const KComponentData * a0 = &a0def;

        if (sipParseArgs(sipArgsParsed,sipArgs,"|J9",sipType_KComponentData,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKTemporaryFile(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KTemporaryFile[] = {{163, 0, 1}};


static PyMethodDef methods_KTemporaryFile[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KTemporaryFile_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KTemporaryFile_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KTemporaryFile_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KTemporaryFile_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_open), meth_KTemporaryFile_open, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readData), meth_KTemporaryFile_readData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readLineData), meth_KTemporaryFile_readLineData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KTemporaryFile_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setErrorString), meth_KTemporaryFile_setErrorString, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOpenMode), meth_KTemporaryFile_setOpenMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPrefix), meth_KTemporaryFile_setPrefix, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSuffix), meth_KTemporaryFile_setSuffix, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KTemporaryFile_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeData), meth_KTemporaryFile_writeData, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kdecore_KTemporaryFile = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KTemporaryFile,
        {0}
    },
    sipNameNr_KTemporaryFile,
    -1,
    -1,
    {0, 0, 1},
    supers_KTemporaryFile,
    0,
    14, methods_KTemporaryFile,
    0, 0,
    0, 0,
    init_KTemporaryFile,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KTemporaryFile,
    release_KTemporaryFile,
    cast_KTemporaryFile,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KTemporaryFile::staticMetaObject,
    0,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktempdir.sip"
#include <fixx11h.h>
#include <ktempdir.h>
#line 13239 "sipkdecorepart4.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 13243 "sipkdecorepart4.cpp"


class sipKTempDir : public KTempDir
{
public:
    sipKTempDir(const QString&,int);
    ~sipKTempDir();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    bool sipProtect_create(const QString&,int);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKTempDir(const sipKTempDir &);
    sipKTempDir &operator = (const sipKTempDir &);
};

sipKTempDir::sipKTempDir(const QString& a0,int a1): KTempDir(a0,a1), sipPySelf(0)
{
}

sipKTempDir::~sipKTempDir()
{
    sipCommonDtor(sipPySelf);
}

bool sipKTempDir::sipProtect_create(const QString& a0,int a1)
{
    return KTempDir::create(a0,a1);
}


extern "C" {static PyObject *meth_KTempDir_setAutoRemove(PyObject *, PyObject *);}
static PyObject *meth_KTempDir_setAutoRemove(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        KTempDir *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_KTempDir,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAutoRemove(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KTempDir,sipName_setAutoRemove);

    return NULL;
}


extern "C" {static PyObject *meth_KTempDir_autoRemove(PyObject *, PyObject *);}
static PyObject *meth_KTempDir_autoRemove(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KTempDir *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KTempDir,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->autoRemove();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KTempDir,sipName_autoRemove);

    return NULL;
}


extern "C" {static PyObject *meth_KTempDir_status(PyObject *, PyObject *);}
static PyObject *meth_KTempDir_status(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KTempDir *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KTempDir,&sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->status();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KTempDir,sipName_status);

    return NULL;
}


extern "C" {static PyObject *meth_KTempDir_name(PyObject *, PyObject *);}
static PyObject *meth_KTempDir_name(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KTempDir *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KTempDir,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->name());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KTempDir,sipName_name);

    return NULL;
}


extern "C" {static PyObject *meth_KTempDir_unlink(PyObject *, PyObject *);}
static PyObject *meth_KTempDir_unlink(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KTempDir *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KTempDir,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->unlink();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KTempDir,sipName_unlink);

    return NULL;
}


extern "C" {static PyObject *meth_KTempDir_exists(PyObject *, PyObject *);}
static PyObject *meth_KTempDir_exists(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KTempDir *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KTempDir,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->exists();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KTempDir,sipName_exists);

    return NULL;
}


extern "C" {static PyObject *meth_KTempDir_removeDir(PyObject *, PyObject *);}
static PyObject *meth_KTempDir_removeDir(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1",sipType_QString,&a0,&a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KTempDir::removeDir(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KTempDir,sipName_removeDir);

    return NULL;
}


extern "C" {static PyObject *meth_KTempDir_create(PyObject *, PyObject *);}
static PyObject *meth_KTempDir_create(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        int a1;
        sipKTempDir *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1i",&sipSelf,sipType_KTempDir,&sipCpp,sipType_QString,&a0,&a0State,&a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_create(*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(sipArgsParsed,sipName_KTempDir,sipName_create);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KTempDir(void *, const sipTypeDef *);}
static void *cast_KTempDir(void *ptr,const sipTypeDef *targetType)
{
    if (targetType == sipType_KTempDir)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KTempDir(void *, int);}
static void release_KTempDir(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKTempDir *>(sipCppV);
    else
        delete reinterpret_cast<KTempDir *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KTempDir(sipSimpleWrapper *);}
static void dealloc_KTempDir(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKTempDir *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KTempDir(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KTempDir(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KTempDir(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipKTempDir *sipCpp = 0;

    if (!sipCpp)
    {
        const QString& a0def = QString();
        const QString * a0 = &a0def;
        int a0State = 0;
        int a1 = 448;

        if (sipParseArgs(sipArgsParsed,sipArgs,"|J1i",sipType_QString,&a0,&a0State,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKTempDir(*a0,a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


static PyMethodDef methods_KTempDir[] = {
    {SIP_MLNAME_CAST(sipName_autoRemove), meth_KTempDir_autoRemove, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_create), meth_KTempDir_create, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_exists), meth_KTempDir_exists, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_name), meth_KTempDir_name, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeDir), meth_KTempDir_removeDir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAutoRemove), meth_KTempDir_setAutoRemove, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_status), meth_KTempDir_status, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_unlink), meth_KTempDir_unlink, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kdecore_KTempDir = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KTempDir,
        {0}
    },
    sipNameNr_KTempDir,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {0, 0, 1},
    0,
    0,
    8, methods_KTempDir,
    0, 0,
    0, 0,
    init_KTempDir,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KTempDir,
    release_KTempDir,
    cast_KTempDir,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ksavefile.sip"
#include <ksavefile.h>
#line 13631 "sipkdecorepart4.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 13635 "sipkdecorepart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcomponentdata.sip"
#include <kcomponentdata.h>
#line 13638 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 13641 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qfile.sip"
#include <qfile.h>
#line 13644 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qabstractfileengine.sip"
#include <qabstractfileengine.h>
#line 13647 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qfile.sip"
#include <qfile.h>
#line 13650 "sipkdecorepart4.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 13653 "sipkdecorepart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13656 "sipkdecorepart4.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13659 "sipkdecorepart4.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13662 "sipkdecorepart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 13665 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 13668 "sipkdecorepart4.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 13699 "sipkdecorepart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 13702 "sipkdecorepart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 13705 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 13708 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 13711 "sipkdecorepart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13714 "sipkdecorepart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 13717 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 13720 "sipkdecorepart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 13723 "sipkdecorepart4.cpp"


class sipKSaveFile : public KSaveFile
{
public:
    sipKSaveFile();
    sipKSaveFile(const QString&,const KComponentData&);
    virtual ~sipKSaveFile();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    void sipProtect_setOpenMode(QIODevice::OpenMode);
    void sipProtect_setErrorString(const QString&);
    qint64 sipProtectVirt_readData(bool,char *,qint64);
    qint64 sipProtectVirt_readLineData(bool,char *,qint64);
    qint64 sipProtectVirt_writeData(bool,const char *,PY_LONG_LONG);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool open(QIODevice::OpenMode);
    bool isSequential() const;
    void close();
    qint64 size() const;
    qint64 pos() const;
    bool seek(qint64);
    bool atEnd() const;
    QAbstractFileEngine * fileEngine() const;
    qint64 readData(char *,qint64);
    qint64 readLineData(char *,qint64);
    qint64 writeData(const char *,PY_LONG_LONG);
    bool reset();
    qint64 bytesAvailable() const;
    qint64 bytesToWrite() const;
    bool canReadLine() const;
    bool waitForReadyRead(int);
    bool waitForBytesWritten(int);
    bool event(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKSaveFile(const sipKSaveFile &);
    sipKSaveFile &operator = (const sipKSaveFile &);

    char sipPyMethods[24];
};

sipKSaveFile::sipKSaveFile(): KSaveFile(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKSaveFile::sipKSaveFile(const QString& a0,const KComponentData& a1): KSaveFile(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKSaveFile::~sipKSaveFile()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKSaveFile::metaObject() const
{
    return sip_kdecore_qt_metaobject(sipPySelf,sipType_KSaveFile);
}

int sipKSaveFile::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KSaveFile::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdecore_qt_metacall(sipPySelf,sipType_KSaveFile,_c,_id,_a);

    return _id;
}

void *sipKSaveFile::qt_metacast(const char *_clname)
{
    return (sip_kdecore_qt_metacast && sip_kdecore_qt_metacast(sipPySelf,sipType_KSaveFile,_clname)) ? this : KSaveFile::qt_metacast(_clname);
}

bool sipKSaveFile::open(QIODevice::OpenMode a0)
{
    typedef bool (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *,QIODevice::OpenMode);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_open);

    if (!meth)
        return KSaveFile::open(a0);

    return ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState,meth,a0);
}

bool sipKSaveFile::isSequential() const
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_isSequential);

    if (!meth)
        return QFile::isSequential();

    return ((sipVH_QtCore_1)(sipModuleAPI_kdecore_QtCore->em_virthandlers[1]))(sipGILState,meth);
}

void sipKSaveFile::close()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_close);

    if (!meth)
    {
        QFile::close();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kdecore_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

qint64 sipKSaveFile::size() const
{
    typedef PY_LONG_LONG (*sipVH_QtCore_16)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_size);

    if (!meth)
        return QFile::size();

    return ((sipVH_QtCore_16)(sipModuleAPI_kdecore_QtCore->em_virthandlers[16]))(sipGILState,meth);
}

qint64 sipKSaveFile::pos() const
{
    typedef PY_LONG_LONG (*sipVH_QtCore_16)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_pos);

    if (!meth)
        return QFile::pos();

    return ((sipVH_QtCore_16)(sipModuleAPI_kdecore_QtCore->em_virthandlers[16]))(sipGILState,meth);
}

bool sipKSaveFile::seek(qint64 a0)
{
    typedef bool (*sipVH_QtCore_28)(sip_gilstate_t,PyObject *,PY_LONG_LONG);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_seek);

    if (!meth)
        return QFile::seek(a0);

    return ((sipVH_QtCore_28)(sipModuleAPI_kdecore_QtCore->em_virthandlers[28]))(sipGILState,meth,a0);
}

bool sipKSaveFile::atEnd() const
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_atEnd);

    if (!meth)
        return QFile::atEnd();

    return ((sipVH_QtCore_1)(sipModuleAPI_kdecore_QtCore->em_virthandlers[1]))(sipGILState,meth);
}

QAbstractFileEngine * sipKSaveFile::fileEngine() const
{
    typedef QAbstractFileEngine * (*sipVH_QtCore_12)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_fileEngine);

    if (!meth)
        return QFile::fileEngine();

    return ((sipVH_QtCore_12)(sipModuleAPI_kdecore_QtCore->em_virthandlers[12]))(sipGILState,meth);
}

qint64 sipKSaveFile::readData(char *a0,qint64 a1)
{
    typedef PY_LONG_LONG (*sipVH_QtCore_15)(sip_gilstate_t,PyObject *,char *,PY_LONG_LONG);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_readData);

    if (!meth)
        return QFile::readData(a0,a1);

    return ((sipVH_QtCore_15)(sipModuleAPI_kdecore_QtCore->em_virthandlers[15]))(sipGILState,meth,a0,a1);
}

qint64 sipKSaveFile::readLineData(char *a0,qint64 a1)
{
    typedef PY_LONG_LONG (*sipVH_QtCore_15)(sip_gilstate_t,PyObject *,char *,PY_LONG_LONG);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_readLineData);

    if (!meth)
        return QFile::readLineData(a0,a1);

    return ((sipVH_QtCore_15)(sipModuleAPI_kdecore_QtCore->em_virthandlers[15]))(sipGILState,meth,a0,a1);
}

qint64 sipKSaveFile::writeData(const char *a0,PY_LONG_LONG a1)
{
    typedef PY_LONG_LONG (*sipVH_QtCore_14)(sip_gilstate_t,PyObject *,const char *,PY_LONG_LONG);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_writeData);

    if (!meth)
        return QFile::writeData(a0,a1);

    return ((sipVH_QtCore_14)(sipModuleAPI_kdecore_QtCore->em_virthandlers[14]))(sipGILState,meth,a0,a1);
}

bool sipKSaveFile::reset()
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_reset);

    if (!meth)
        return QIODevice::reset();

    return ((sipVH_QtCore_1)(sipModuleAPI_kdecore_QtCore->em_virthandlers[1]))(sipGILState,meth);
}

qint64 sipKSaveFile::bytesAvailable() const
{
    typedef PY_LONG_LONG (*sipVH_QtCore_16)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_bytesAvailable);

    if (!meth)
        return QIODevice::bytesAvailable();

    return ((sipVH_QtCore_16)(sipModuleAPI_kdecore_QtCore->em_virthandlers[16]))(sipGILState,meth);
}

qint64 sipKSaveFile::bytesToWrite() const
{
    typedef PY_LONG_LONG (*sipVH_QtCore_16)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_bytesToWrite);

    if (!meth)
        return QIODevice::bytesToWrite();

    return ((sipVH_QtCore_16)(sipModuleAPI_kdecore_QtCore->em_virthandlers[16]))(sipGILState,meth);
}

bool sipKSaveFile::canReadLine() const
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_canReadLine);

    if (!meth)
        return QIODevice::canReadLine();

    return ((sipVH_QtCore_1)(sipModuleAPI_kdecore_QtCore->em_virthandlers[1]))(sipGILState,meth);
}

bool sipKSaveFile::waitForReadyRead(int a0)
{
    typedef bool (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_waitForReadyRead);

    if (!meth)
        return QIODevice::waitForReadyRead(a0);

    return ((sipVH_QtCore_17)(sipModuleAPI_kdecore_QtCore->em_virthandlers[17]))(sipGILState,meth,a0);
}

bool sipKSaveFile::waitForBytesWritten(int a0)
{
    typedef bool (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_waitForBytesWritten);

    if (!meth)
        return QIODevice::waitForBytesWritten(a0);

    return ((sipVH_QtCore_17)(sipModuleAPI_kdecore_QtCore->em_virthandlers[17]))(sipGILState,meth,a0);
}

bool sipKSaveFile::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QObject::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_kdecore_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipKSaveFile::eventFilter(QObject *a0,QEvent *a1)
{
    typedef bool (*sipVH_QtCore_21)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_eventFilter);

    if (!meth)
        return QObject::eventFilter(a0,a1);

    return ((sipVH_QtCore_21)(sipModuleAPI_kdecore_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

void sipKSaveFile::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    ((sipVH_QtCore_3)(sipModuleAPI_kdecore_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKSaveFile::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    ((sipVH_QtCore_20)(sipModuleAPI_kdecore_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKSaveFile::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kdecore_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKSaveFile::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kdecore_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKSaveFile::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kdecore_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

int sipKSaveFile::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKSaveFile::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKSaveFile::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKSaveFile::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKSaveFile::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKSaveFile::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

void sipKSaveFile::sipProtect_setOpenMode(QIODevice::OpenMode a0)
{
    QIODevice::setOpenMode(a0);
}

void sipKSaveFile::sipProtect_setErrorString(const QString& a0)
{
    QIODevice::setErrorString(a0);
}

qint64 sipKSaveFile::sipProtectVirt_readData(bool sipSelfWasArg,char *a0,qint64 a1)
{
    return (sipSelfWasArg ? QFile::readData(a0,a1) : readData(a0,a1));
}

qint64 sipKSaveFile::sipProtectVirt_readLineData(bool sipSelfWasArg,char *a0,qint64 a1)
{
    return (sipSelfWasArg ? QFile::readLineData(a0,a1) : readLineData(a0,a1));
}

qint64 sipKSaveFile::sipProtectVirt_writeData(bool sipSelfWasArg,const char *a0,PY_LONG_LONG a1)
{
    return (sipSelfWasArg ? QFile::writeData(a0,a1) : writeData(a0,a1));
}


extern "C" {static PyObject *meth_KSaveFile_receivers(PyObject *, PyObject *);}
static PyObject *meth_KSaveFile_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipKSaveFile *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KSaveFile,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 14287 "sipkdecorepart4.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KSaveFile,sipName_receivers);

    return NULL;
}


extern "C" {static PyObject *meth_KSaveFile_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KSaveFile_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKSaveFile *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KSaveFile,&sipCpp,sipType_QTimerEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KSaveFile,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KSaveFile_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KSaveFile_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKSaveFile *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KSaveFile,&sipCpp,sipType_QChildEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KSaveFile,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KSaveFile_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KSaveFile_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKSaveFile *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KSaveFile,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KSaveFile,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KSaveFile_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KSaveFile_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKSaveFile *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KSaveFile,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KSaveFile,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KSaveFile_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KSaveFile_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKSaveFile *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KSaveFile,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KSaveFile,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KSaveFile_setOpenMode(PyObject *, PyObject *);}
static PyObject *meth_KSaveFile_setOpenMode(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        QIODevice::OpenMode * a0;
        int a0State = 0;
        sipKSaveFile *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&sipSelf,sipType_KSaveFile,&sipCpp,sipType_QIODevice_OpenMode,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setOpenMode(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_QIODevice_OpenMode,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KSaveFile,sipName_setOpenMode);

    return NULL;
}


extern "C" {static PyObject *meth_KSaveFile_setErrorString(PyObject *, PyObject *);}
static PyObject *meth_KSaveFile_setErrorString(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        sipKSaveFile *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&sipSelf,sipType_KSaveFile,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setErrorString(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KSaveFile,sipName_setErrorString);

    return NULL;
}


extern "C" {static PyObject *meth_KSaveFile_readData(PyObject *, PyObject *);}
static PyObject *meth_KSaveFile_readData(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        qint64 a0;
        sipKSaveFile *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pn",&sipSelf,sipType_KSaveFile,&sipCpp,&a0))
        {
            PyObject * sipRes = 0;
            int sipIsErr = 0;

#line 152 "/usr/local/share/py-sip/QtCore/qfile.sip"
        // Return the data read or None if there was an error.
        if (a0 < 0)
        {
            PyErr_SetString(PyExc_ValueError, "maximum length of data to be read cannot be negative");
            sipIsErr = 1;
        }
        else
        {
            char *s = new char[a0];
            qint64 len;
        
            Py_BEGIN_ALLOW_THREADS
            len = sipCpp->sipProtectVirt_readData(sipSelfWasArg, s, a0);
            Py_END_ALLOW_THREADS
        
            if (len < 0)
            {
                Py_INCREF(Py_None);
                sipRes = Py_None;
            }
            else
            {
                sipRes = SIPBytes_FromStringAndSize(s, len);
        
                if (!sipRes)
                    sipIsErr = 1;
            }
        
            delete[] s;
        }
#line 14546 "sipkdecorepart4.cpp"

            if (sipIsErr)
                return 0;

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KSaveFile,sipName_readData);

    return NULL;
}


extern "C" {static PyObject *meth_KSaveFile_readLineData(PyObject *, PyObject *);}
static PyObject *meth_KSaveFile_readLineData(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        qint64 a0;
        sipKSaveFile *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pn",&sipSelf,sipType_KSaveFile,&sipCpp,&a0))
        {
            PyObject * sipRes = 0;
            int sipIsErr = 0;

#line 186 "/usr/local/share/py-sip/QtCore/qfile.sip"
        // Return the data read or None if there was an error.
        if (a0 < 0)
        {
            PyErr_SetString(PyExc_ValueError, "maximum length of data to be read cannot be negative");
            sipIsErr = 1;
        }
        else
        {
            char *s = new char[a0];
            qint64 len;
        
            Py_BEGIN_ALLOW_THREADS
            len = sipCpp->sipProtectVirt_readLineData(sipSelfWasArg, s, a0);
            Py_END_ALLOW_THREADS
        
            if (len < 0)
            {
                Py_INCREF(Py_None);
                sipRes = Py_None;
            }
            else
            {
                sipRes = SIPBytes_FromStringAndSize(s, len);
        
                if (!sipRes)
                    sipIsErr = 1;
            }
        
            delete[] s;
        }
#line 14608 "sipkdecorepart4.cpp"

            if (sipIsErr)
                return 0;

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KSaveFile,sipName_readLineData);

    return NULL;
}


extern "C" {static PyObject *meth_KSaveFile_writeData(PyObject *, PyObject *);}
static PyObject *meth_KSaveFile_writeData(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const char * a0;
        SIP_SSIZE_T a1;
        sipKSaveFile *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pk",&sipSelf,sipType_KSaveFile,&sipCpp,&a0,&a1))
        {
            qint64 sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_writeData(sipSelfWasArg,a0,(PY_LONG_LONG)a1);
            Py_END_ALLOW_THREADS

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KSaveFile,sipName_writeData);

    return NULL;
}


extern "C" {static PyObject *meth_KSaveFile_setFileName(PyObject *, PyObject *);}
static PyObject *meth_KSaveFile_setFileName(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KSaveFile *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KSaveFile,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFileName(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KSaveFile,sipName_setFileName);

    return NULL;
}


extern "C" {static PyObject *meth_KSaveFile_fileName(PyObject *, PyObject *);}
static PyObject *meth_KSaveFile_fileName(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KSaveFile *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KSaveFile,&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(sipArgsParsed,sipName_KSaveFile,sipName_fileName);

    return NULL;
}


extern "C" {static PyObject *meth_KSaveFile_error(PyObject *, PyObject *);}
static PyObject *meth_KSaveFile_error(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KSaveFile *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KSaveFile,&sipCpp))
        {
            QFile::FileError sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->error();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QFile_FileError);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KSaveFile,sipName_error);

    return NULL;
}


extern "C" {static PyObject *meth_KSaveFile_errorString(PyObject *, PyObject *);}
static PyObject *meth_KSaveFile_errorString(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KSaveFile *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KSaveFile,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->errorString());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KSaveFile,sipName_errorString);

    return NULL;
}


extern "C" {static PyObject *meth_KSaveFile_open(PyObject *, PyObject *);}
static PyObject *meth_KSaveFile_open(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QIODevice::OpenMode a0def = QIODevice::ReadWrite;
        QIODevice::OpenMode * a0 = &a0def;
        int a0State = 0;
        KSaveFile *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B|J1",&sipSelf,sipType_KSaveFile,&sipCpp,sipType_QIODevice_OpenMode,&a0,&a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KSaveFile::open(*a0) : sipCpp->open(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_QIODevice_OpenMode,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KSaveFile,sipName_open);

    return NULL;
}


extern "C" {static PyObject *meth_KSaveFile_abort(PyObject *, PyObject *);}
static PyObject *meth_KSaveFile_abort(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KSaveFile *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KSaveFile,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->abort();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KSaveFile,sipName_abort);

    return NULL;
}


extern "C" {static PyObject *meth_KSaveFile_finalize(PyObject *, PyObject *);}
static PyObject *meth_KSaveFile_finalize(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KSaveFile *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KSaveFile,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->finalize();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KSaveFile,sipName_finalize);

    return NULL;
}


extern "C" {static PyObject *meth_KSaveFile_backupFile(PyObject *, PyObject *);}
static PyObject *meth_KSaveFile_backupFile(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1|J1",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KSaveFile::backupFile(*a0,*a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KSaveFile,sipName_backupFile);

    return NULL;
}


extern "C" {static PyObject *meth_KSaveFile_simpleBackupFile(PyObject *, PyObject *);}
static PyObject *meth_KSaveFile_simpleBackupFile(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;
        const QString& a2def = QLatin1String("~");
        const QString * a2 = &a2def;
        int a2State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1|J1J1",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,sipType_QString,&a2,&a2State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KSaveFile::simpleBackupFile(*a0,*a1,*a2);
            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 PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KSaveFile,sipName_simpleBackupFile);

    return NULL;
}


extern "C" {static PyObject *meth_KSaveFile_numberedBackupFile(PyObject *, PyObject *);}
static PyObject *meth_KSaveFile_numberedBackupFile(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;
        const QString& a2def = QString::fromLatin1("~");
        const QString * a2 = &a2def;
        int a2State = 0;
        uint a3 = 10;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1|J1J1u",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,sipType_QString,&a2,&a2State,&a3))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KSaveFile::numberedBackupFile(*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 PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KSaveFile,sipName_numberedBackupFile);

    return NULL;
}


extern "C" {static PyObject *meth_KSaveFile_rcsBackupFile(PyObject *, PyObject *);}
static PyObject *meth_KSaveFile_rcsBackupFile(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;
        const QString& a2def = QString();
        const QString * a2 = &a2def;
        int a2State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1|J1J1",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,sipType_QString,&a2,&a2State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KSaveFile::rcsBackupFile(*a0,*a1,*a2);
            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 PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KSaveFile,sipName_rcsBackupFile);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KSaveFile(void *, const sipTypeDef *);}
static void *cast_KSaveFile(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KSaveFile)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QFile)->ctd_cast((QFile *)(KSaveFile *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KSaveFile(void *, int);}
static void release_KSaveFile(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKSaveFile *>(sipCppV);
    else
        delete reinterpret_cast<KSaveFile *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KSaveFile(sipSimpleWrapper *);}
static void dealloc_KSaveFile(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKSaveFile *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KSaveFile(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KSaveFile(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KSaveFile(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipKSaveFile *sipCpp = 0;

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKSaveFile();
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const QString * a0;
        int a0State = 0;
        const KComponentData& a1def = KGlobal::mainComponent();
        const KComponentData * a1 = &a1def;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1|J9",sipType_QString,&a0,&a0State,sipType_KComponentData,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKSaveFile(*a0,*a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KSaveFile[] = {{52, 0, 1}};


static PyMethodDef methods_KSaveFile[] = {
    {SIP_MLNAME_CAST(sipName_abort), meth_KSaveFile_abort, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_backupFile), meth_KSaveFile_backupFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KSaveFile_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KSaveFile_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KSaveFile_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KSaveFile_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_error), meth_KSaveFile_error, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_errorString), meth_KSaveFile_errorString, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fileName), meth_KSaveFile_fileName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_finalize), meth_KSaveFile_finalize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_numberedBackupFile), meth_KSaveFile_numberedBackupFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_open), meth_KSaveFile_open, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rcsBackupFile), meth_KSaveFile_rcsBackupFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readData), meth_KSaveFile_readData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readLineData), meth_KSaveFile_readLineData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KSaveFile_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setErrorString), meth_KSaveFile_setErrorString, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFileName), meth_KSaveFile_setFileName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOpenMode), meth_KSaveFile_setOpenMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_simpleBackupFile), meth_KSaveFile_simpleBackupFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KSaveFile_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeData), meth_KSaveFile_writeData, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kdecore_KSaveFile = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KSaveFile,
        {0}
    },
    sipNameNr_KSaveFile,
    -1,
    -1,
    {0, 0, 1},
    supers_KSaveFile,
    0,
    22, methods_KSaveFile,
    0, 0,
    0, 0,
    init_KSaveFile,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KSaveFile,
    release_KSaveFile,
    cast_KSaveFile,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KSaveFile::staticMetaObject,
    0,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kprocess.sip"
#include <kprocess.h>
#line 15160 "sipkdecorepart4.cpp"

#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 15164 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 15167 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 15170 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 15173 "sipkdecorepart4.cpp"
#line 49 "/usr/local/share/py-sip/QtCore/qprocess.sip"
#include <qprocess.h>
#line 15176 "sipkdecorepart4.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 15179 "sipkdecorepart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15182 "sipkdecorepart4.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15185 "sipkdecorepart4.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15188 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 15191 "sipkdecorepart4.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 15222 "sipkdecorepart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 15225 "sipkdecorepart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 15228 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 15231 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 15234 "sipkdecorepart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15237 "sipkdecorepart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 15240 "sipkdecorepart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 15243 "sipkdecorepart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 15246 "sipkdecorepart4.cpp"


class sipKProcess : public KProcess
{
public:
    sipKProcess(QObject *);
    virtual ~sipKProcess();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    qint64 sipProtectVirt_readLineData(bool,char *,qint64);
    void sipProtect_setOpenMode(QIODevice::OpenMode);
    void sipProtect_setErrorString(const QString&);
    void sipProtect_setProcessState(QProcess::ProcessState);
    void sipProtectVirt_setupChildProcess(bool);
    qint64 sipProtectVirt_readData(bool,char *,qint64);
    qint64 sipProtectVirt_writeData(bool,const char *,PY_LONG_LONG);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool waitForReadyRead(int);
    bool waitForBytesWritten(int);
    qint64 bytesAvailable() const;
    qint64 bytesToWrite() const;
    bool isSequential() const;
    bool canReadLine() const;
    void close();
    bool atEnd() const;
    void setupChildProcess();
    qint64 readData(char *,qint64);
    qint64 writeData(const char *,PY_LONG_LONG);
    bool open(QIODevice::OpenMode);
    qint64 pos() const;
    qint64 size() const;
    bool seek(qint64);
    bool reset();
    qint64 readLineData(char *,qint64);
    bool event(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKProcess(const sipKProcess &);
    sipKProcess &operator = (const sipKProcess &);

    char sipPyMethods[24];
};

sipKProcess::sipKProcess(QObject *a0): KProcess(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKProcess::~sipKProcess()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKProcess::metaObject() const
{
    return sip_kdecore_qt_metaobject(sipPySelf,sipType_KProcess);
}

int sipKProcess::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KProcess::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdecore_qt_metacall(sipPySelf,sipType_KProcess,_c,_id,_a);

    return _id;
}

void *sipKProcess::qt_metacast(const char *_clname)
{
    return (sip_kdecore_qt_metacast && sip_kdecore_qt_metacast(sipPySelf,sipType_KProcess,_clname)) ? this : KProcess::qt_metacast(_clname);
}

bool sipKProcess::waitForReadyRead(int a0)
{
    typedef bool (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_waitForReadyRead);

    if (!meth)
        return QProcess::waitForReadyRead(a0);

    return ((sipVH_QtCore_17)(sipModuleAPI_kdecore_QtCore->em_virthandlers[17]))(sipGILState,meth,a0);
}

bool sipKProcess::waitForBytesWritten(int a0)
{
    typedef bool (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_waitForBytesWritten);

    if (!meth)
        return QProcess::waitForBytesWritten(a0);

    return ((sipVH_QtCore_17)(sipModuleAPI_kdecore_QtCore->em_virthandlers[17]))(sipGILState,meth,a0);
}

qint64 sipKProcess::bytesAvailable() const
{
    typedef PY_LONG_LONG (*sipVH_QtCore_16)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_bytesAvailable);

    if (!meth)
        return QProcess::bytesAvailable();

    return ((sipVH_QtCore_16)(sipModuleAPI_kdecore_QtCore->em_virthandlers[16]))(sipGILState,meth);
}

qint64 sipKProcess::bytesToWrite() const
{
    typedef PY_LONG_LONG (*sipVH_QtCore_16)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_bytesToWrite);

    if (!meth)
        return QProcess::bytesToWrite();

    return ((sipVH_QtCore_16)(sipModuleAPI_kdecore_QtCore->em_virthandlers[16]))(sipGILState,meth);
}

bool sipKProcess::isSequential() const
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_isSequential);

    if (!meth)
        return QProcess::isSequential();

    return ((sipVH_QtCore_1)(sipModuleAPI_kdecore_QtCore->em_virthandlers[1]))(sipGILState,meth);
}

bool sipKProcess::canReadLine() const
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_canReadLine);

    if (!meth)
        return QProcess::canReadLine();

    return ((sipVH_QtCore_1)(sipModuleAPI_kdecore_QtCore->em_virthandlers[1]))(sipGILState,meth);
}

void sipKProcess::close()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_close);

    if (!meth)
    {
        QProcess::close();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kdecore_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

bool sipKProcess::atEnd() const
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_atEnd);

    if (!meth)
        return QProcess::atEnd();

    return ((sipVH_QtCore_1)(sipModuleAPI_kdecore_QtCore->em_virthandlers[1]))(sipGILState,meth);
}

void sipKProcess::setupChildProcess()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_setupChildProcess);

    if (!meth)
    {
        QProcess::setupChildProcess();
        return;
    }

    ((sipVH_QtCore_5)(sipModuleAPI_kdecore_QtCore->em_virthandlers[5]))(sipGILState,meth);
}

qint64 sipKProcess::readData(char *a0,qint64 a1)
{
    typedef PY_LONG_LONG (*sipVH_QtCore_15)(sip_gilstate_t,PyObject *,char *,PY_LONG_LONG);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_readData);

    if (!meth)
        return QProcess::readData(a0,a1);

    return ((sipVH_QtCore_15)(sipModuleAPI_kdecore_QtCore->em_virthandlers[15]))(sipGILState,meth,a0,a1);
}

qint64 sipKProcess::writeData(const char *a0,PY_LONG_LONG a1)
{
    typedef PY_LONG_LONG (*sipVH_QtCore_14)(sip_gilstate_t,PyObject *,const char *,PY_LONG_LONG);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_writeData);

    if (!meth)
        return QProcess::writeData(a0,a1);

    return ((sipVH_QtCore_14)(sipModuleAPI_kdecore_QtCore->em_virthandlers[14]))(sipGILState,meth,a0,a1);
}

bool sipKProcess::open(QIODevice::OpenMode a0)
{
    typedef bool (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *,QIODevice::OpenMode);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_open);

    if (!meth)
        return QIODevice::open(a0);

    return ((sipVH_QtCore_11)(sipModuleAPI_kdecore_QtCore->em_virthandlers[11]))(sipGILState,meth,a0);
}

qint64 sipKProcess::pos() const
{
    typedef PY_LONG_LONG (*sipVH_QtCore_16)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_pos);

    if (!meth)
        return QIODevice::pos();

    return ((sipVH_QtCore_16)(sipModuleAPI_kdecore_QtCore->em_virthandlers[16]))(sipGILState,meth);
}

qint64 sipKProcess::size() const
{
    typedef PY_LONG_LONG (*sipVH_QtCore_16)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_size);

    if (!meth)
        return QIODevice::size();

    return ((sipVH_QtCore_16)(sipModuleAPI_kdecore_QtCore->em_virthandlers[16]))(sipGILState,meth);
}

bool sipKProcess::seek(qint64 a0)
{
    typedef bool (*sipVH_QtCore_28)(sip_gilstate_t,PyObject *,PY_LONG_LONG);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_seek);

    if (!meth)
        return QIODevice::seek(a0);

    return ((sipVH_QtCore_28)(sipModuleAPI_kdecore_QtCore->em_virthandlers[28]))(sipGILState,meth,a0);
}

bool sipKProcess::reset()
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_reset);

    if (!meth)
        return QIODevice::reset();

    return ((sipVH_QtCore_1)(sipModuleAPI_kdecore_QtCore->em_virthandlers[1]))(sipGILState,meth);
}

qint64 sipKProcess::readLineData(char *a0,qint64 a1)
{
    typedef PY_LONG_LONG (*sipVH_QtCore_15)(sip_gilstate_t,PyObject *,char *,PY_LONG_LONG);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_readLineData);

    if (!meth)
        return QIODevice::readLineData(a0,a1);

    return ((sipVH_QtCore_15)(sipModuleAPI_kdecore_QtCore->em_virthandlers[15]))(sipGILState,meth,a0,a1);
}

bool sipKProcess::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QObject::event(a0);

    return ((sipVH_QtCore_13)(sipModuleAPI_kdecore_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipKProcess::eventFilter(QObject *a0,QEvent *a1)
{
    typedef bool (*sipVH_QtCore_21)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_eventFilter);

    if (!meth)
        return QObject::eventFilter(a0,a1);

    return ((sipVH_QtCore_21)(sipModuleAPI_kdecore_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

void sipKProcess::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    ((sipVH_QtCore_3)(sipModuleAPI_kdecore_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKProcess::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    ((sipVH_QtCore_20)(sipModuleAPI_kdecore_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKProcess::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    ((sipVH_QtCore_19)(sipModuleAPI_kdecore_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKProcess::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kdecore_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKProcess::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    ((sipVH_QtCore_18)(sipModuleAPI_kdecore_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

int sipKProcess::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKProcess::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKProcess::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKProcess::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKProcess::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKProcess::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

qint64 sipKProcess::sipProtectVirt_readLineData(bool sipSelfWasArg,char *a0,qint64 a1)
{
    return (sipSelfWasArg ? QIODevice::readLineData(a0,a1) : readLineData(a0,a1));
}

void sipKProcess::sipProtect_setOpenMode(QIODevice::OpenMode a0)
{
    QIODevice::setOpenMode(a0);
}

void sipKProcess::sipProtect_setErrorString(const QString& a0)
{
    QIODevice::setErrorString(a0);
}

void sipKProcess::sipProtect_setProcessState(QProcess::ProcessState a0)
{
    QProcess::setProcessState(a0);
}

void sipKProcess::sipProtectVirt_setupChildProcess(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QProcess::setupChildProcess() : setupChildProcess());
}

qint64 sipKProcess::sipProtectVirt_readData(bool sipSelfWasArg,char *a0,qint64 a1)
{
    return (sipSelfWasArg ? QProcess::readData(a0,a1) : readData(a0,a1));
}

qint64 sipKProcess::sipProtectVirt_writeData(bool sipSelfWasArg,const char *a0,PY_LONG_LONG a1)
{
    return (sipSelfWasArg ? QProcess::writeData(a0,a1) : writeData(a0,a1));
}


extern "C" {static PyObject *meth_KProcess_receivers(PyObject *, PyObject *);}
static PyObject *meth_KProcess_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipKProcess *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KProcess,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 15819 "sipkdecorepart4.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProcess,sipName_receivers);

    return NULL;
}


extern "C" {static PyObject *meth_KProcess_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KProcess_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKProcess *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KProcess,&sipCpp,sipType_QTimerEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProcess,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KProcess_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KProcess_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKProcess *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KProcess,&sipCpp,sipType_QChildEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProcess,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KProcess_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KProcess_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKProcess *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KProcess,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProcess,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KProcess_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KProcess_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKProcess *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KProcess,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProcess,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KProcess_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KProcess_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKProcess *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KProcess,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProcess,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KProcess_readLineData(PyObject *, PyObject *);}
static PyObject *meth_KProcess_readLineData(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        qint64 a0;
        sipKProcess *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pn",&sipSelf,sipType_KProcess,&sipCpp,&a0))
        {
            PyObject * sipRes = 0;
            int sipIsErr = 0;

#line 246 "/usr/local/share/py-sip/QtCore/qiodevice.sip"
        // Return the data read or None if there was an error.
        if (a0 < 0)
        {
            PyErr_SetString(PyExc_ValueError, "maximum length of data to be read cannot be negative");
            sipIsErr = 1;
        }
        else
        {
            char *s = new char[a0];
            qint64 len;
        
            Py_BEGIN_ALLOW_THREADS
            len = sipCpp->sipProtectVirt_readLineData(sipSelfWasArg, s, a0);
            Py_END_ALLOW_THREADS
        
            if (len < 0)
            {
                Py_INCREF(Py_None);
                sipRes = Py_None;
            }
            else
            {
                sipRes = SIPBytes_FromStringAndSize(s, len);
        
                if (!sipRes)
                    sipIsErr = 1;
            }
        
            delete[] s;
        }
#line 16018 "sipkdecorepart4.cpp"

            if (sipIsErr)
                return 0;

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProcess,sipName_readLineData);

    return NULL;
}


extern "C" {static PyObject *meth_KProcess_setOpenMode(PyObject *, PyObject *);}
static PyObject *meth_KProcess_setOpenMode(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        QIODevice::OpenMode * a0;
        int a0State = 0;
        sipKProcess *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&sipSelf,sipType_KProcess,&sipCpp,sipType_QIODevice_OpenMode,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setOpenMode(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_QIODevice_OpenMode,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProcess,sipName_setOpenMode);

    return NULL;
}


extern "C" {static PyObject *meth_KProcess_setErrorString(PyObject *, PyObject *);}
static PyObject *meth_KProcess_setErrorString(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        sipKProcess *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&sipSelf,sipType_KProcess,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setErrorString(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProcess,sipName_setErrorString);

    return NULL;
}


extern "C" {static PyObject *meth_KProcess_setProcessState(PyObject *, PyObject *);}
static PyObject *meth_KProcess_setProcessState(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        QProcess::ProcessState a0;
        sipKProcess *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pE",&sipSelf,sipType_KProcess,&sipCpp,sipType_QProcess_ProcessState,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setProcessState(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProcess,sipName_setProcessState);

    return NULL;
}


extern "C" {static PyObject *meth_KProcess_setupChildProcess(PyObject *, PyObject *);}
static PyObject *meth_KProcess_setupChildProcess(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipKProcess *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KProcess,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_setupChildProcess(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProcess,sipName_setupChildProcess);

    return NULL;
}


extern "C" {static PyObject *meth_KProcess_readData(PyObject *, PyObject *);}
static PyObject *meth_KProcess_readData(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        qint64 a0;
        sipKProcess *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pn",&sipSelf,sipType_KProcess,&sipCpp,&a0))
        {
            PyObject * sipRes = 0;
            int sipIsErr = 0;

#line 165 "/usr/local/share/py-sip/QtCore/qprocess.sip"
        // Return the data read or None if there was an error.
        if (a0 < 0)
        {
            PyErr_SetString(PyExc_ValueError, "maximum length of data to be read cannot be negative");
            sipIsErr = 1;
        }
        else
        {
            char *s = new char[a0];
            qint64 len;
        
            Py_BEGIN_ALLOW_THREADS
            len = sipCpp->sipProtectVirt_readData(sipSelfWasArg, s, a0);
            Py_END_ALLOW_THREADS
        
            if (len < 0)
            {
                Py_INCREF(Py_None);
                sipRes = Py_None;
            }
            else
            {
                sipRes = SIPBytes_FromStringAndSize(s, len);
        
                if (!sipRes)
                    sipIsErr = 1;
            }
        
            delete[] s;
        }
#line 16194 "sipkdecorepart4.cpp"

            if (sipIsErr)
                return 0;

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProcess,sipName_readData);

    return NULL;
}


extern "C" {static PyObject *meth_KProcess_writeData(PyObject *, PyObject *);}
static PyObject *meth_KProcess_writeData(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const char * a0;
        SIP_SSIZE_T a1;
        sipKProcess *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pk",&sipSelf,sipType_KProcess,&sipCpp,&a0,&a1))
        {
            qint64 sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_writeData(sipSelfWasArg,a0,(PY_LONG_LONG)a1);
            Py_END_ALLOW_THREADS

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProcess,sipName_writeData);

    return NULL;
}


extern "C" {static PyObject *meth_KProcess_setOutputChannelMode(PyObject *, PyObject *);}
static PyObject *meth_KProcess_setOutputChannelMode(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KProcess::OutputChannelMode a0;
        KProcess *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BE",&sipSelf,sipType_KProcess,&sipCpp,sipType_KProcess_OutputChannelMode,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setOutputChannelMode(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProcess,sipName_setOutputChannelMode);

    return NULL;
}


extern "C" {static PyObject *meth_KProcess_outputChannelMode(PyObject *, PyObject *);}
static PyObject *meth_KProcess_outputChannelMode(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KProcess *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KProcess,&sipCpp))
        {
            KProcess::OutputChannelMode sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->outputChannelMode();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KProcess_OutputChannelMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProcess,sipName_outputChannelMode);

    return NULL;
}


extern "C" {static PyObject *meth_KProcess_setNextOpenMode(PyObject *, PyObject *);}
static PyObject *meth_KProcess_setNextOpenMode(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        QIODevice::OpenMode * a0;
        int a0State = 0;
        KProcess *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KProcess,&sipCpp,sipType_QIODevice_OpenMode,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setNextOpenMode(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_QIODevice_OpenMode,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProcess,sipName_setNextOpenMode);

    return NULL;
}


extern "C" {static PyObject *meth_KProcess_setEnv(PyObject *, PyObject *);}
static PyObject *meth_KProcess_setEnv(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        bool a2 = 1;
        KProcess *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1J1|b",&sipSelf,sipType_KProcess,&sipCpp,sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State,&a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setEnv(*a0,*a1,a2);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProcess,sipName_setEnv);

    return NULL;
}


extern "C" {static PyObject *meth_KProcess_unsetEnv(PyObject *, PyObject *);}
static PyObject *meth_KProcess_unsetEnv(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KProcess *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KProcess,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->unsetEnv(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProcess,sipName_unsetEnv);

    return NULL;
}


extern "C" {static PyObject *meth_KProcess_clearEnvironment(PyObject *, PyObject *);}
static PyObject *meth_KProcess_clearEnvironment(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KProcess *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KProcess,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->clearEnvironment();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProcess,sipName_clearEnvironment);

    return NULL;
}


extern "C" {static PyObject *meth_KProcess_setProgram(PyObject *, PyObject *);}
static PyObject *meth_KProcess_setProgram(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        const QStringList& a1def = QStringList();
        const QStringList * a1 = &a1def;
        int a1State = 0;
        KProcess *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1|J1",&sipSelf,sipType_KProcess,&sipCpp,sipType_QString,&a0,&a0State,sipType_QStringList,&a1,&a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setProgram(*a0,*a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QStringList *>(a1),sipType_QStringList,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QStringList * a0;
        int a0State = 0;
        KProcess *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KProcess,&sipCpp,sipType_QStringList,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setProgram(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProcess,sipName_setProgram);

    return NULL;
}


extern "C" {static PyObject *meth_KProcess_clearProgram(PyObject *, PyObject *);}
static PyObject *meth_KProcess_clearProgram(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KProcess *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KProcess,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->clearProgram();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProcess,sipName_clearProgram);

    return NULL;
}


extern "C" {static PyObject *meth_KProcess_setShellCommand(PyObject *, PyObject *);}
static PyObject *meth_KProcess_setShellCommand(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KProcess *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KProcess,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setShellCommand(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProcess,sipName_setShellCommand);

    return NULL;
}


extern "C" {static PyObject *meth_KProcess_program(PyObject *, PyObject *);}
static PyObject *meth_KProcess_program(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KProcess *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KProcess,&sipCpp))
        {
            QStringList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->program());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProcess,sipName_program);

    return NULL;
}


extern "C" {static PyObject *meth_KProcess_start(PyObject *, PyObject *);}
static PyObject *meth_KProcess_start(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KProcess *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KProcess,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->start();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProcess,sipName_start);

    return NULL;
}


extern "C" {static PyObject *meth_KProcess_execute(PyObject *, PyObject *);}
static PyObject *meth_KProcess_execute(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        int a0 = -1;
        KProcess *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B|i",&sipSelf,sipType_KProcess,&sipCpp,&a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->execute(a0);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const QString * a0;
        int a0State = 0;
        const QStringList& a1def = QStringList();
        const QStringList * a1 = &a1def;
        int a1State = 0;
        int a2 = -1;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1|J1i",sipType_QString,&a0,&a0State,sipType_QStringList,&a1,&a1State,&a2))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KProcess::execute(*a0,*a1,a2);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QStringList *>(a1),sipType_QStringList,a1State);

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const QStringList * a0;
        int a0State = 0;
        int a1 = -1;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1|i",sipType_QStringList,&a0,&a0State,&a1))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KProcess::execute(*a0,a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProcess,sipName_execute);

    return NULL;
}


extern "C" {static PyObject *meth_KProcess_startDetached(PyObject *, PyObject *);}
static PyObject *meth_KProcess_startDetached(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KProcess *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KProcess,&sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->startDetached();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const QString * a0;
        int a0State = 0;
        const QStringList& a1def = QStringList();
        const QStringList * a1 = &a1def;
        int a1State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1|J1",sipType_QString,&a0,&a0State,sipType_QStringList,&a1,&a1State))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KProcess::startDetached(*a0,*a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QStringList *>(a1),sipType_QStringList,a1State);

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const QStringList * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1",sipType_QStringList,&a0,&a0State))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KProcess::startDetached(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProcess,sipName_startDetached);

    return NULL;
}


extern "C" {static PyObject *meth_KProcess_pid(PyObject *, PyObject *);}
static PyObject *meth_KProcess_pid(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KProcess *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KProcess,&sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->pid();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_KProcess,sipName_pid);

    return NULL;
}


extern "C" {static PyObject *slot_KProcess___lshift__(PyObject *sipArg0,PyObject *sipArg1);}
static PyObject *slot_KProcess___lshift__(PyObject *sipArg0,PyObject *sipArg1)
{
    int sipArgsParsed = 0;

    {
        KProcess * a0;
        const QString * a1;
        int a1State = 0;

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J9J1",sipType_KProcess,&a0,sipType_QString,&a1,&a1State))
        {
            KProcess *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 << *a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromType(sipRes,sipType_KProcess,NULL);
        }
    }

    {
        KProcess * a0;
        const QStringList * a1;
        int a1State = 0;

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J9J1",sipType_KProcess,&a0,sipType_QStringList,&a1,&a1State))
        {
            KProcess *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 << *a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QStringList *>(a1),sipType_QStringList,a1State);

            return sipConvertFromType(sipRes,sipType_KProcess,NULL);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kdecore,lshift_slot,NULL,sipArg0,sipArg1);
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KProcess(void *, const sipTypeDef *);}
static void *cast_KProcess(void *ptr,const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_KProcess)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QProcess)->ctd_cast((QProcess *)(KProcess *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KProcess(void *, int);}
static void release_KProcess(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKProcess *>(sipCppV);
    else
        delete reinterpret_cast<KProcess *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KProcess(sipSimpleWrapper *);}
static void dealloc_KProcess(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKProcess *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KProcess(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KProcess(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KProcess(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **sipOwner, int *sipArgsParsed)
{
    sipKProcess *sipCpp = 0;

    if (!sipCpp)
    {
        QObject * a0 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"|JH",sipType_QObject,&a0,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKProcess(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KProcess[] = {{118, 0, 1}};


/* Define this type's Python slots. */
static sipPySlotDef slots_KProcess[] = {
    {(void *)slot_KProcess___lshift__, lshift_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_KProcess[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KProcess_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clearEnvironment), meth_KProcess_clearEnvironment, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clearProgram), meth_KProcess_clearProgram, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KProcess_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KProcess_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KProcess_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_execute), meth_KProcess_execute, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_outputChannelMode), meth_KProcess_outputChannelMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pid), meth_KProcess_pid, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_program), meth_KProcess_program, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readData), meth_KProcess_readData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readLineData), meth_KProcess_readLineData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KProcess_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setEnv), meth_KProcess_setEnv, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setErrorString), meth_KProcess_setErrorString, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setNextOpenMode), meth_KProcess_setNextOpenMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOpenMode), meth_KProcess_setOpenMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOutputChannelMode), meth_KProcess_setOutputChannelMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setProcessState), meth_KProcess_setProcessState, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setProgram), meth_KProcess_setProgram, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setShellCommand), meth_KProcess_setShellCommand, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setupChildProcess), meth_KProcess_setupChildProcess, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_start), meth_KProcess_start, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_startDetached), meth_KProcess_startDetached, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KProcess_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_unsetEnv), meth_KProcess_unsetEnv, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeData), meth_KProcess_writeData, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KProcess[] = {
    {sipName_ForwardedChannels, KProcess::ForwardedChannels, 116},
    {sipName_MergedChannels, KProcess::MergedChannels, 116},
    {sipName_OnlyStderrChannel, KProcess::OnlyStderrChannel, 116},
    {sipName_OnlyStdoutChannel, KProcess::OnlyStdoutChannel, 116},
    {sipName_SeparateChannels, KProcess::SeparateChannels, 116},
};


pyqt4ClassTypeDef pyqt4Type_kdecore_KProcess = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KProcess,
        {0}
    },
    sipNameNr_KProcess,
    -1,
    -1,
    {0, 0, 1},
    supers_KProcess,
    slots_KProcess,
    27, methods_KProcess,
    5, enummembers_KProcess,
    0, 0,
    init_KProcess,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KProcess,
    release_KProcess,
    cast_KProcess,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KProcess::staticMetaObject,
    0,
    0
};

#line 50 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kmessage.sip"
#include <kmessage.h>
#line 16951 "sipkdecorepart4.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 16955 "sipkdecorepart4.cpp"


class sipKMessageHandler : public KMessageHandler
{
public:
    sipKMessageHandler();
    sipKMessageHandler(const KMessageHandler&);
    virtual ~sipKMessageHandler();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void message(KMessage::MessageType,const QString&,const QString&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKMessageHandler(const sipKMessageHandler &);
    sipKMessageHandler &operator = (const sipKMessageHandler &);

    char sipPyMethods[1];
};

sipKMessageHandler::sipKMessageHandler(): KMessageHandler(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKMessageHandler::sipKMessageHandler(const KMessageHandler& a0): KMessageHandler(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKMessageHandler::~sipKMessageHandler()
{
    sipCommonDtor(sipPySelf);
}

void sipKMessageHandler::message(KMessage::MessageType a0,const QString& a1,const QString& a2)
{
    extern void sipVH_kdecore_20(sip_gilstate_t,PyObject *,KMessage::MessageType,const QString&,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_KMessageHandler,sipName_message);

    if (!meth)
        return;

    sipVH_kdecore_20(sipGILState,meth,a0,a1,a2);
}


extern "C" {static PyObject *meth_KMessageHandler_message(PyObject *, PyObject *);}
static PyObject *meth_KMessageHandler_message(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KMessage::MessageType a0;
        const QString * a1;
        int a1State = 0;
        const QString * a2;
        int a2State = 0;
        KMessageHandler *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BEJ1J1",&sipSelf,sipType_KMessageHandler,&sipCpp,sipType_KMessage_MessageType,&a0,sipType_QString,&a1,&a1State,sipType_QString,&a2,&a2State))
        {
            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_KMessageHandler, sipName_message);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->message(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(sipArgsParsed,sipName_KMessageHandler,sipName_message);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KMessageHandler(void *, const sipTypeDef *);}
static void *cast_KMessageHandler(void *ptr,const sipTypeDef *targetType)
{
    if (targetType == sipType_KMessageHandler)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KMessageHandler(void *, int);}
static void release_KMessageHandler(void *sipCppV,int state)
{
    Py_BEGIN_ALLOW_THREADS

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKMessageHandler *>(sipCppV);
    else
        delete reinterpret_cast<KMessageHandler *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KMessageHandler(sipSimpleWrapper *);}
static void dealloc_KMessageHandler(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKMessageHandler *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KMessageHandler(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_KMessageHandler(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KMessageHandler(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipKMessageHandler *sipCpp = 0;

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKMessageHandler();
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const KMessageHandler * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_KMessageHandler,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKMessageHandler(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


static PyMethodDef methods_KMessageHandler[] = {
    {SIP_MLNAME_CAST(sipName_message), meth_KMessageHandler_message, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kdecore_KMessageHandler = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_KMessageHandler,
        {0}
    },
    sipNameNr_KMessageHandler,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {0, 0, 1},
    0,
    0,
    1, methods_KMessageHandler,
    0, 0,
    0, 0,
    init_KMessageHandler,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KMessageHandler,
    release_KMessageHandler,
    cast_KMessageHandler,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};


#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 17180 "sipkdecorepart4.cpp"
#line 50 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kmessage.sip"
#include <kmessage.h>
#line 17183 "sipkdecorepart4.cpp"


extern "C" {static PyObject *meth_KMessage_setMessageHandler(PyObject *,PyObject *);}
static PyObject *meth_KMessage_setMessageHandler(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KMessageHandler * a0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J8",sipType_KMessageHandler,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            KMessage::setMessageHandler(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_setMessageHandler);

    return NULL;
}


extern "C" {static PyObject *meth_KMessage_message(PyObject *,PyObject *);}
static PyObject *meth_KMessage_message(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KMessage::MessageType a0;
        const QString * a1;
        int a1State = 0;
        const QString& a2def = QString();
        const QString * a2 = &a2def;
        int a2State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"EJ1|J1",sipType_KMessage_MessageType,&a0,sipType_QString,&a1,&a1State,sipType_QString,&a2,&a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            KMessage::message(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. */
    sipNoFunction(sipArgsParsed,sipName_message);

    return NULL;
}


static PyMethodDef methods_KMessage[] = {
    {SIP_MLNAME_CAST(sipName_message), meth_KMessage_message, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMessageHandler), meth_KMessage_setMessageHandler, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KMessage[] = {
    {sipName_Error, KMessage::Error, 107},
    {sipName_Fatal, KMessage::Fatal, 107},
    {sipName_Information, KMessage::Information, 107},
    {sipName_Sorry, KMessage::Sorry, 107},
    {sipName_Warning, KMessage::Warning, 107},
};


pyqt4ClassTypeDef pyqt4Type_kdecore_KMessage = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_NAMESPACE,
        sipNameNr_KMessage,
        {0}
    },
    sipNameNr_KMessage,
    -1,
    -1,
    {0, 0, 1},
    0,
    0,
    2, methods_KMessage,
    5, enummembers_KMessage,
    0, 0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};
