/*
 * Module code.
 *
 * Generated by SIP 4.8.2 on Sun Oct 11 20:13:01 2009
 */

#include "sipAPIkio.h"




extern "C" {static int slot_KIO_JobFlags___bool__(PyObject *sipSelf);}
static int slot_KIO_JobFlags___bool__(PyObject *sipSelf)
{
    KIO::JobFlags *sipCpp = reinterpret_cast<KIO::JobFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KIO_JobFlags));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

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

            return sipRes;
        }
    }
}


extern "C" {static PyObject *slot_KIO_JobFlags___ne__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_KIO_JobFlags___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KIO::JobFlags *sipCpp = reinterpret_cast<KIO::JobFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KIO_JobFlags));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const KIO::JobFlags * a0;
        int a0State = 0;

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

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

            sipReleaseType(const_cast<KIO::JobFlags *>(a0),sipType_KIO_JobFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kio,ne_slot,sipType_KIO_JobFlags,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KIO_JobFlags___eq__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_KIO_JobFlags___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KIO::JobFlags *sipCpp = reinterpret_cast<KIO::JobFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KIO_JobFlags));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const KIO::JobFlags * a0;
        int a0State = 0;

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

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

            sipReleaseType(const_cast<KIO::JobFlags *>(a0),sipType_KIO_JobFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kio,eq_slot,sipType_KIO_JobFlags,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KIO_JobFlags___invert__(PyObject *sipSelf);}
static PyObject *slot_KIO_JobFlags___invert__(PyObject *sipSelf)
{
    KIO::JobFlags *sipCpp = reinterpret_cast<KIO::JobFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KIO_JobFlags));

    if (!sipCpp)
        return 0;


    {
        {
            KIO::JobFlags *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KIO::JobFlags(~(*sipCpp));
            Py_END_ALLOW_THREADS

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


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

    {
        KIO::JobFlags * a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1i",sipType_KIO_JobFlags,&a0,&a0State,&a1))
        {
            KIO::JobFlags *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KIO::JobFlags((*a0 & a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KIO_JobFlags,a0State);

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

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


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

    {
        KIO::JobFlags * a0;
        int a0State = 0;
        KIO::JobFlags * a1;
        int a1State = 0;

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1J1",sipType_KIO_JobFlags,&a0,&a0State,sipType_KIO_JobFlags,&a1,&a1State))
        {
            KIO::JobFlags *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KIO::JobFlags((*a0 ^ *a1));
            Py_END_ALLOW_THREADS

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

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

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


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

    {
        KIO::JobFlags * a0;
        int a0State = 0;
        KIO::JobFlags * a1;
        int a1State = 0;

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1J1",sipType_KIO_JobFlags,&a0,&a0State,sipType_KIO_JobFlags,&a1,&a1State))
        {
            KIO::JobFlags *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KIO::JobFlags((*a0 | *a1));
            Py_END_ALLOW_THREADS

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

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

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


extern "C" {static PyObject *slot_KIO_JobFlags___int__(PyObject *sipSelf);}
static PyObject *slot_KIO_JobFlags___int__(PyObject *sipSelf)
{
    KIO::JobFlags *sipCpp = reinterpret_cast<KIO::JobFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KIO_JobFlags));

    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_KIO_JobFlags___ixor__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_KIO_JobFlags___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KIO_JobFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KIO::JobFlags *sipCpp = reinterpret_cast<KIO::JobFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KIO_JobFlags));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        KIO::JobFlags * a0;
        int a0State = 0;

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

            sipReleaseType(a0,sipType_KIO_JobFlags,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    KIO::JobFlags *sipCpp = reinterpret_cast<KIO::JobFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KIO_JobFlags));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        KIO::JobFlags * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_KIO_JobFlags,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KIO::JobFlags::operator|=(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KIO_JobFlags,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    KIO::JobFlags *sipCpp = reinterpret_cast<KIO::JobFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KIO_JobFlags));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        int a0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1i",&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KIO::JobFlags::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_KIO_JobFlags(void *, const sipTypeDef *);}
static void *cast_KIO_JobFlags(void *ptr,const sipTypeDef *targetType)
{
    if (targetType == sipType_KIO_JobFlags)
        return ptr;

    return NULL;
}


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

    delete reinterpret_cast<KIO::JobFlags *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KIO_JobFlags(void *, const void*);}
static void assign_KIO_JobFlags(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<KIO::JobFlags *>(sipDst) = *reinterpret_cast<const KIO::JobFlags *>(sipSrc);
}


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


extern "C" {static void *init_KIO_JobFlags(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KIO_JobFlags(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    KIO::JobFlags *sipCpp = 0;

    if (!sipCpp)
    {
        const KIO::JobFlags * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1",sipType_KIO_JobFlags,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KIO::JobFlags(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<KIO::JobFlags *>(a0),sipType_KIO_JobFlags,a0State);
        }
    }

    if (!sipCpp)
    {
        int a0;

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

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

    return sipCpp;
}


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

#line 276 "/usr/local/share/py-sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KIO::JobFlags is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KIO_JobFlag)) ||
            sipCanConvertToType(sipPy, sipType_KIO_JobFlags, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KIO_JobFlag)))
{
    *sipCppPtr = new KIO::JobFlags(SIPLong_AsLong(sipPy));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KIO::JobFlags *>(sipConvertToType(sipPy, sipType_KIO_JobFlags, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 459 "sipkiopart4.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KIO_JobFlags[] = {
    {(void *)slot_KIO_JobFlags___bool__, bool_slot},
    {(void *)slot_KIO_JobFlags___ne__, ne_slot},
    {(void *)slot_KIO_JobFlags___eq__, eq_slot},
    {(void *)slot_KIO_JobFlags___invert__, invert_slot},
    {(void *)slot_KIO_JobFlags___and__, and_slot},
    {(void *)slot_KIO_JobFlags___xor__, xor_slot},
    {(void *)slot_KIO_JobFlags___or__, or_slot},
    {(void *)slot_KIO_JobFlags___int__, int_slot},
    {(void *)slot_KIO_JobFlags___ixor__, ixor_slot},
    {(void *)slot_KIO_JobFlags___ior__, ior_slot},
    {(void *)slot_KIO_JobFlags___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef pyqt4Type_kio_KIO_JobFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KIO__JobFlags,
        {0}
    },
    sipNameNr_JobFlags,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {95, 255, 0},
    0,
    slots_KIO_JobFlags,
    0, 0,
    0, 0,
    0, 0,
    init_KIO_JobFlags,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_JobFlags,
    release_KIO_JobFlags,
    cast_KIO_JobFlags,
    convertTo_KIO_JobFlags,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_KIO_JobFlags,
    0,
    1,
    0
};

#line 186 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/global.sip"
#include<qmap.h>
#line 527 "sipkiopart4.cpp"



extern "C" {static void assign_KIO_MetaData(void *, const void*);}
static void assign_KIO_MetaData(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<KIO::MetaData *>(sipDst) = *reinterpret_cast<const KIO::MetaData *>(sipSrc);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_KIO_MetaData(void *, int);}
static void release_KIO_MetaData(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<KIO::MetaData *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_KIO_MetaData(PyObject *, void **, int *, PyObject *);}
static int convertTo_KIO_MetaData(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *)
{
    KIO::MetaData **sipCppPtr = reinterpret_cast<KIO::MetaData **>(sipCppPtrV);

#line 229 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/global.sip"
    // Convert a Python dictionary to a QMap on the heap.

    if (sipIsErr == NULL)
        return PyDict_Check(sipPy);


    QMap<QString,QString> *cppmap = new QMap<QString,QString>;

    PyObject *aelem, *belem;
    SIP_SSIZE_T pos = 0;
    QString *acpp;
    QString *bcpp;

    while (PyDict_Next(sipPy, &pos, &aelem, &belem))
    {
        int iserr = 0;

        acpp = (QString *)sipForceConvertToInstance(aelem, sipClass_QString, NULL, 0, NULL, &iserr);
        bcpp = (QString *)sipForceConvertToInstance(belem, sipClass_QString, NULL, 0, NULL, &iserr);

        if (iserr)
        {
            *sipIsErr = 1;
            delete cppmap;
            return 0;
        }

        cppmap->insert (*acpp, *bcpp);
    }

    *sipCppPtr = (KIO::MetaData *)cppmap;

    return 1;
#line 588 "sipkiopart4.cpp"
}


extern "C" {static PyObject *convertFrom_KIO_MetaData(void *, PyObject *);}
static PyObject *convertFrom_KIO_MetaData(void *sipCppV,PyObject *)
{
   KIO::MetaData *sipCpp = reinterpret_cast<KIO::MetaData *>(sipCppV);

#line 190 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/global.sip"
    // Convert to a Python dict

    if (!sipCpp)
        return PyDict_New();

    PyObject *dict;

    // Create the dictionary.

    if ((dict = PyDict_New()) == NULL)
        return NULL;

    // Get it.

    const QMap<QString,QString> cppmap = *sipCpp;
    QMap<QString,QString>::ConstIterator it;

    for (it = cppmap.begin (); it != cppmap.end (); ++it)
    {
        QString acpp = it.key ();
        QString bcpp = it.value ();
        PyObject *ainst = 0;
        PyObject *binst = 0;
        if (((ainst = sipBuildResult (NULL, "N", new QString (acpp), sipClass_QString)) == NULL)
            || ((binst = sipBuildResult (NULL, "N", new QString (bcpp), sipClass_QString)) == NULL)
            || (PyDict_SetItem (dict, ainst, binst) < 0))
        {
            Py_XDECREF (ainst);
            Py_XDECREF (binst);
            Py_DECREF (dict);
            return NULL;
        }
    }

    return dict;
#line 633 "sipkiopart4.cpp"
}


pyqt4MappedTypeDef pyqt4MappedTypeDef_kio_KIO_MetaData = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_KIO__MetaData,
        {0}
    },
    release_KIO_MetaData,
    convertTo_KIO_MetaData,
    convertFrom_KIO_MetaData
},
    assign_KIO_MetaData
};

#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/slavebase.sip"
#include <slavebase.h>
#line 656 "sipkiopart4.cpp"

#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 660 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtNetwork/qhostinfo.sip"
#include <qhostinfo.h>
#line 663 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 666 "sipkiopart4.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/authinfo.sip"
#include <authinfo.h>
#line 669 "sipkiopart4.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/udsentry.sip"
#include <udsentry.h>
#line 672 "sipkiopart4.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 675 "sipkiopart4.cpp"
#line 321 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 678 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 681 "sipkiopart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kremoteencoding.sip"
#include <kremoteencoding.h>
#line 684 "sipkiopart4.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 687 "sipkiopart4.cpp"
#line 186 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/global.sip"
#include<qmap.h>
#line 690 "sipkiopart4.cpp"
#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 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.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 706 "sipkiopart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfilemetainfoitem.sip"
#include <kfilemetainfoitem.h>
#line 709 "sipkiopart4.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/copyjob.sip"
#include <copyjob.h>
#line 712 "sipkiopart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kdatatool.sip"
#include <kdatatool.h>
#line 715 "sipkiopart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfileitem.sip"
#include <kfileitem.h>
#line 718 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 721 "sipkiopart4.cpp"


class sipKIO_SlaveBase : public KIO::SlaveBase
{
public:
    sipKIO_SlaveBase(const QByteArray&,const QByteArray&,const QByteArray&);
    virtual ~sipKIO_SlaveBase();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void setHost(const QString&,quint16,const QString&,const QString&);
    void setSubUrl(const KUrl&);
    void openConnection();
    void closeConnection();
    void get(const KUrl&);
    void open(const KUrl&,QIODevice::OpenMode);
    void read(KIO::filesize_t);
    void write(const QByteArray&);
    void seek(KIO::filesize_t);
    void close();
    void put(const KUrl&,int,KIO::JobFlags);
    void stat(const KUrl&);
    void mimetype(const KUrl&);
    void listDir(const KUrl&);
    void mkdir(const KUrl&,int);
    void rename(const KUrl&,const KUrl&,KIO::JobFlags);
    void symlink(const QString&,const KUrl&,KIO::JobFlags);
    void chmod(const KUrl&,int);
    void chown(const KUrl&,const QString&,const QString&);
    void setModificationTime(const KUrl&,const QDateTime&);
    void copy(const KUrl&,const KUrl&,int,KIO::JobFlags);
    void del(const KUrl&,bool);
    void setLinkDest(const KUrl&,const QString&);
    void special(const QByteArray&);
    void multiGet(const QByteArray&);
    void slave_status();
    void reparseConfiguration();
    void dispatch(int,const QByteArray&);
    void dispatchOpenCommand(int,const QByteArray&);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[29];
};

sipKIO_SlaveBase::sipKIO_SlaveBase(const QByteArray& a0,const QByteArray& a1,const QByteArray& a2): KIO::SlaveBase(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

void sipKIO_SlaveBase::setHost(const QString& a0,quint16 a1,const QString& a2,const QString& a3)
{
    extern void sipVH_kio_15(sip_gilstate_t,PyObject *,const QString&,unsigned short,const QString&,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KIO::SlaveBase::setHost(a0,a1,a2,a3);
        return;
    }

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

void sipKIO_SlaveBase::setSubUrl(const KUrl& a0)
{
    typedef void (*sipVH_kdecore_61)(sip_gilstate_t,PyObject *,const KUrl&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KIO::SlaveBase::setSubUrl(a0);
        return;
    }

    ((sipVH_kdecore_61)(sipModuleAPI_kio_kdecore->em_virthandlers[61]))(sipGILState,meth,a0);
}

void sipKIO_SlaveBase::openConnection()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KIO::SlaveBase::openConnection();
        return;
    }

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

void sipKIO_SlaveBase::closeConnection()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KIO::SlaveBase::closeConnection();
        return;
    }

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

void sipKIO_SlaveBase::get(const KUrl& a0)
{
    typedef void (*sipVH_kdecore_61)(sip_gilstate_t,PyObject *,const KUrl&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KIO::SlaveBase::get(a0);
        return;
    }

    ((sipVH_kdecore_61)(sipModuleAPI_kio_kdecore->em_virthandlers[61]))(sipGILState,meth,a0);
}

void sipKIO_SlaveBase::open(const KUrl& a0,QIODevice::OpenMode a1)
{
    extern void sipVH_kio_14(sip_gilstate_t,PyObject *,const KUrl&,QIODevice::OpenMode);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KIO::SlaveBase::open(a0,a1);
        return;
    }

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

void sipKIO_SlaveBase::read(KIO::filesize_t a0)
{
    extern void sipVH_kio_13(sip_gilstate_t,PyObject *,unsigned PY_LONG_LONG);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KIO::SlaveBase::read(a0);
        return;
    }

    sipVH_kio_13(sipGILState,meth,a0);
}

void sipKIO_SlaveBase::write(const QByteArray& a0)
{
    typedef void (*sipVH_QtXml_29)(sip_gilstate_t,PyObject *,const QByteArray&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KIO::SlaveBase::write(a0);
        return;
    }

    ((sipVH_QtXml_29)(sipModuleAPI_kio_QtXml->em_virthandlers[29]))(sipGILState,meth,a0);
}

void sipKIO_SlaveBase::seek(KIO::filesize_t a0)
{
    extern void sipVH_kio_13(sip_gilstate_t,PyObject *,unsigned PY_LONG_LONG);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KIO::SlaveBase::seek(a0);
        return;
    }

    sipVH_kio_13(sipGILState,meth,a0);
}

void sipKIO_SlaveBase::close()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KIO::SlaveBase::close();
        return;
    }

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

void sipKIO_SlaveBase::put(const KUrl& a0,int a1,KIO::JobFlags a2)
{
    extern void sipVH_kio_12(sip_gilstate_t,PyObject *,const KUrl&,int,KIO::JobFlags);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KIO::SlaveBase::put(a0,a1,a2);
        return;
    }

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

void sipKIO_SlaveBase::stat(const KUrl& a0)
{
    typedef void (*sipVH_kdecore_61)(sip_gilstate_t,PyObject *,const KUrl&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KIO::SlaveBase::stat(a0);
        return;
    }

    ((sipVH_kdecore_61)(sipModuleAPI_kio_kdecore->em_virthandlers[61]))(sipGILState,meth,a0);
}

void sipKIO_SlaveBase::mimetype(const KUrl& a0)
{
    typedef void (*sipVH_kdecore_61)(sip_gilstate_t,PyObject *,const KUrl&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KIO::SlaveBase::mimetype(a0);
        return;
    }

    ((sipVH_kdecore_61)(sipModuleAPI_kio_kdecore->em_virthandlers[61]))(sipGILState,meth,a0);
}

void sipKIO_SlaveBase::listDir(const KUrl& a0)
{
    typedef void (*sipVH_kdecore_61)(sip_gilstate_t,PyObject *,const KUrl&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KIO::SlaveBase::listDir(a0);
        return;
    }

    ((sipVH_kdecore_61)(sipModuleAPI_kio_kdecore->em_virthandlers[61]))(sipGILState,meth,a0);
}

void sipKIO_SlaveBase::mkdir(const KUrl& a0,int a1)
{
    extern void sipVH_kio_9(sip_gilstate_t,PyObject *,const KUrl&,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KIO::SlaveBase::mkdir(a0,a1);
        return;
    }

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

void sipKIO_SlaveBase::rename(const KUrl& a0,const KUrl& a1,KIO::JobFlags a2)
{
    extern void sipVH_kio_11(sip_gilstate_t,PyObject *,const KUrl&,const KUrl&,KIO::JobFlags);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KIO::SlaveBase::rename(a0,a1,a2);
        return;
    }

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

void sipKIO_SlaveBase::symlink(const QString& a0,const KUrl& a1,KIO::JobFlags a2)
{
    extern void sipVH_kio_10(sip_gilstate_t,PyObject *,const QString&,const KUrl&,KIO::JobFlags);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KIO::SlaveBase::symlink(a0,a1,a2);
        return;
    }

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

void sipKIO_SlaveBase::chmod(const KUrl& a0,int a1)
{
    extern void sipVH_kio_9(sip_gilstate_t,PyObject *,const KUrl&,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KIO::SlaveBase::chmod(a0,a1);
        return;
    }

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

void sipKIO_SlaveBase::chown(const KUrl& a0,const QString& a1,const QString& a2)
{
    extern void sipVH_kio_8(sip_gilstate_t,PyObject *,const KUrl&,const QString&,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KIO::SlaveBase::chown(a0,a1,a2);
        return;
    }

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

void sipKIO_SlaveBase::setModificationTime(const KUrl& a0,const QDateTime& a1)
{
    extern void sipVH_kio_7(sip_gilstate_t,PyObject *,const KUrl&,const QDateTime&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_setModificationTime);

    if (!meth)
    {
        KIO::SlaveBase::setModificationTime(a0,a1);
        return;
    }

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

void sipKIO_SlaveBase::copy(const KUrl& a0,const KUrl& a1,int a2,KIO::JobFlags a3)
{
    extern void sipVH_kio_6(sip_gilstate_t,PyObject *,const KUrl&,const KUrl&,int,KIO::JobFlags);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_copy);

    if (!meth)
    {
        KIO::SlaveBase::copy(a0,a1,a2,a3);
        return;
    }

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

void sipKIO_SlaveBase::del(const KUrl& a0,bool a1)
{
    extern void sipVH_kio_5(sip_gilstate_t,PyObject *,const KUrl&,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_del_);

    if (!meth)
    {
        KIO::SlaveBase::del(a0,a1);
        return;
    }

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

void sipKIO_SlaveBase::setLinkDest(const KUrl& a0,const QString& a1)
{
    extern void sipVH_kio_4(sip_gilstate_t,PyObject *,const KUrl&,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_setLinkDest);

    if (!meth)
    {
        KIO::SlaveBase::setLinkDest(a0,a1);
        return;
    }

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

void sipKIO_SlaveBase::special(const QByteArray& a0)
{
    typedef void (*sipVH_QtXml_29)(sip_gilstate_t,PyObject *,const QByteArray&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_special);

    if (!meth)
    {
        KIO::SlaveBase::special(a0);
        return;
    }

    ((sipVH_QtXml_29)(sipModuleAPI_kio_QtXml->em_virthandlers[29]))(sipGILState,meth,a0);
}

void sipKIO_SlaveBase::multiGet(const QByteArray& a0)
{
    typedef void (*sipVH_QtXml_29)(sip_gilstate_t,PyObject *,const QByteArray&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_multiGet);

    if (!meth)
    {
        KIO::SlaveBase::multiGet(a0);
        return;
    }

    ((sipVH_QtXml_29)(sipModuleAPI_kio_QtXml->em_virthandlers[29]))(sipGILState,meth,a0);
}

void sipKIO_SlaveBase::slave_status()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_slave_status);

    if (!meth)
    {
        KIO::SlaveBase::slave_status();
        return;
    }

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

void sipKIO_SlaveBase::reparseConfiguration()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_reparseConfiguration);

    if (!meth)
    {
        KIO::SlaveBase::reparseConfiguration();
        return;
    }

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

void sipKIO_SlaveBase::dispatch(int a0,const QByteArray& a1)
{
    extern void sipVH_kio_3(sip_gilstate_t,PyObject *,int,const QByteArray&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_dispatch);

    if (!meth)
    {
        KIO::SlaveBase::dispatch(a0,a1);
        return;
    }

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

void sipKIO_SlaveBase::dispatchOpenCommand(int a0,const QByteArray& a1)
{
    extern void sipVH_kio_3(sip_gilstate_t,PyObject *,int,const QByteArray&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_dispatchOpenCommand);

    if (!meth)
    {
        KIO::SlaveBase::dispatchOpenCommand(a0,a1);
        return;
    }

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


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

    {
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KIO_SlaveBase,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->exit();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KIO_SlaveBase,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->dispatchLoop();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QByteArray * a0;
        int a0State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,sipType_QByteArray,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->data(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KIO_SlaveBase,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->dataReq();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KIO_SlaveBase,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->opened();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        const QString * a1;
        int a1State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BiJ1",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,&a0,sipType_QString,&a1,&a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->error(a0,*a1);
            Py_END_ALLOW_THREADS

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KIO_SlaveBase,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->connected();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KIO_SlaveBase,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->finished();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KIO_SlaveBase,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->needSubUrlData();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        bool a1;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1b",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,sipType_QString,&a0,&a0State,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slaveStatus(*a0,a1);
            Py_END_ALLOW_THREADS

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KIO::UDSEntry * a0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,sipType_KIO_UDSEntry,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->statEntry(*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_SlaveBase,sipName_statEntry);

    return NULL;
}


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

    {
        const KIO::UDSEntryList * a0;
        int a0State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,sipType_QList_0200KIO_UDSEntry,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->listEntries(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<KIO::UDSEntryList *>(a0),sipType_QList_0200KIO_UDSEntry,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::filesize_t a0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bo",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,&a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

    {
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KIO_SlaveBase,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->canResume();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::filesize_t a0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bo",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->totalSize(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_SlaveBase,sipName_totalSize);

    return NULL;
}


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

    {
        KIO::filesize_t a0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bo",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->processedSize(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_SlaveBase,sipName_processedSize);

    return NULL;
}


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

    {
        KIO::filesize_t a0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bo",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->position(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_SlaveBase,sipName_position);

    return NULL;
}


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

    {
        KIO::filesize_t a0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bo",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->written(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_SlaveBase,sipName_written);

    return NULL;
}


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

    {
        float a0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bf",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->processedPercent(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_SlaveBase,sipName_processedPercent);

    return NULL;
}


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

    {
        unsigned long a0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bm",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->speed(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_SlaveBase,sipName_speed);

    return NULL;
}


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

    {
        const KUrl * a0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,sipType_KUrl,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->redirection(*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_SlaveBase,sipName_redirection);

    return NULL;
}


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

    {
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KIO_SlaveBase,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->errorPage();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->mimeType(*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_SlaveBase,sipName_mimeType);

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->warning(*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_SlaveBase,sipName_warning);

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->infoMessage(*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_SlaveBase,sipName_infoMessage);

    return NULL;
}


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

    {
        KIO::SlaveBase::MessageBoxType a0;
        const QString * a1;
        int a1State = 0;
        const QString& a2def = QString();
        const QString * a2 = &a2def;
        int a2State = 0;
        const QString& a3def = i18n("&Yes");
        const QString * a3 = &a3def;
        int a3State = 0;
        const QString& a4def = i18n("&No");
        const QString * a4 = &a4def;
        int a4State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BEJ1|J1J1J1",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,sipType_KIO_SlaveBase_MessageBoxType,&a0,sipType_QString,&a1,&a1State,sipType_QString,&a2,&a2State,sipType_QString,&a3,&a3State,sipType_QString,&a4,&a4State))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->messageBox(a0,*a1,*a2,*a3,*a4);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);
            sipReleaseType(const_cast<QString *>(a4),sipType_QString,a4State);

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const QString * a0;
        int a0State = 0;
        KIO::SlaveBase::MessageBoxType a1;
        const QString& a2def = QString();
        const QString * a2 = &a2def;
        int a2State = 0;
        const QString& a3def = i18n("&Yes");
        const QString * a3 = &a3def;
        int a3State = 0;
        const QString& a4def = i18n("&No");
        const QString * a4 = &a4def;
        int a4State = 0;
        const QString& a5def = QString();
        const QString * a5 = &a5def;
        int a5State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1E|J1J1J1J1",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,sipType_QString,&a0,&a0State,sipType_KIO_SlaveBase_MessageBoxType,&a1,sipType_QString,&a2,&a2State,sipType_QString,&a3,&a3State,sipType_QString,&a4,&a4State,sipType_QString,&a5,&a5State))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->messageBox(*a0,a1,*a2,*a3,*a4,*a5);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);
            sipReleaseType(const_cast<QString *>(a4),sipType_QString,a4State);
            sipReleaseType(const_cast<QString *>(a5),sipType_QString,a5State);

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1J1",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMetaData(*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_SlaveBase,sipName_setMetaData);

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        KIO::SlaveBase *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasMetaData(*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_SlaveBase,sipName_hasMetaData);

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        KIO::SlaveBase *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->metaData(*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_SlaveBase,sipName_metaData);

    return NULL;
}


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

    {
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KIO_SlaveBase,&sipCpp))
        {
            KIO::MetaData *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KIO::MetaData(sipCpp->allMetaData());
            Py_END_ALLOW_THREADS

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

            return sipResObj;
        }
    }

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

    return NULL;
}


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

    {
        KIO::SlaveBase *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->config();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KIO::SlaveBase *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->remoteEncoding();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        quint16 a1;
        const QString * a2;
        int a2State = 0;
        const QString * a3;
        int a3State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1tJ1J1",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,sipType_QString,&a0,&a0State,&a1,sipType_QString,&a2,&a2State,sipType_QString,&a3,&a3State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::SlaveBase::setHost(*a0,a1,*a2,*a3) : sipCpp->setHost(*a0,a1,*a2,*a3));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KUrl * a0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,sipType_KUrl,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::SlaveBase::setSubUrl(*a0) : sipCpp->setSubUrl(*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_SlaveBase,sipName_setSubUrl);

    return NULL;
}


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

    {
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KIO_SlaveBase,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::SlaveBase::openConnection() : sipCpp->openConnection());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KIO_SlaveBase,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::SlaveBase::closeConnection() : sipCpp->closeConnection());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KUrl * a0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,sipType_KUrl,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::SlaveBase::get(*a0) : sipCpp->get(*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_SlaveBase,sipName_get);

    return NULL;
}


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

    {
        const KUrl * a0;
        QIODevice::OpenMode * a1;
        int a1State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9J1",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,sipType_KUrl,&a0,sipType_QIODevice_OpenMode,&a1,&a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::SlaveBase::open(*a0,*a1) : sipCpp->open(*a0,*a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a1,sipType_QIODevice_OpenMode,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::filesize_t a0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bo",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::SlaveBase::read(a0) : sipCpp->read(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_SlaveBase,sipName_read);

    return NULL;
}


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

    {
        const QByteArray * a0;
        int a0State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,sipType_QByteArray,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::SlaveBase::write(*a0) : sipCpp->write(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::filesize_t a0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bo",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::SlaveBase::seek(a0) : sipCpp->seek(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_SlaveBase,sipName_seek);

    return NULL;
}


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

    {
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KIO_SlaveBase,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::SlaveBase::close() : sipCpp->close());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KUrl * a0;
        int a1;
        KIO::JobFlags * a2;
        int a2State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9iJ1",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,sipType_KUrl,&a0,&a1,sipType_KIO_JobFlags,&a2,&a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::SlaveBase::put(*a0,a1,*a2) : sipCpp->put(*a0,a1,*a2));
            Py_END_ALLOW_THREADS

            sipReleaseType(a2,sipType_KIO_JobFlags,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KUrl * a0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,sipType_KUrl,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::SlaveBase::stat(*a0) : sipCpp->stat(*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_SlaveBase,sipName_stat);

    return NULL;
}


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

    {
        const KUrl * a0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,sipType_KUrl,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::SlaveBase::mimetype(*a0) : sipCpp->mimetype(*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_SlaveBase,sipName_mimetype);

    return NULL;
}


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

    {
        const KUrl * a0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,sipType_KUrl,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::SlaveBase::listDir(*a0) : sipCpp->listDir(*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_SlaveBase,sipName_listDir);

    return NULL;
}


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

    {
        const KUrl * a0;
        int a1;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9i",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,sipType_KUrl,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::SlaveBase::mkdir(*a0,a1) : sipCpp->mkdir(*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_SlaveBase,sipName_mkdir);

    return NULL;
}


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

    {
        const KUrl * a0;
        const KUrl * a1;
        KIO::JobFlags * a2;
        int a2State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9J9J1",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,sipType_KUrl,&a0,sipType_KUrl,&a1,sipType_KIO_JobFlags,&a2,&a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::SlaveBase::rename(*a0,*a1,*a2) : sipCpp->rename(*a0,*a1,*a2));
            Py_END_ALLOW_THREADS

            sipReleaseType(a2,sipType_KIO_JobFlags,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        const KUrl * a1;
        KIO::JobFlags * a2;
        int a2State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1J9J1",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,sipType_QString,&a0,&a0State,sipType_KUrl,&a1,sipType_KIO_JobFlags,&a2,&a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::SlaveBase::symlink(*a0,*a1,*a2) : sipCpp->symlink(*a0,*a1,*a2));
            Py_END_ALLOW_THREADS

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KUrl * a0;
        int a1;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9i",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,sipType_KUrl,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::SlaveBase::chmod(*a0,a1) : sipCpp->chmod(*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_SlaveBase,sipName_chmod);

    return NULL;
}


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

    {
        const KUrl * a0;
        const QString * a1;
        int a1State = 0;
        const QString * a2;
        int a2State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9J1J1",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,sipType_KUrl,&a0,sipType_QString,&a1,&a1State,sipType_QString,&a2,&a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::SlaveBase::chown(*a0,*a1,*a2) : sipCpp->chown(*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_SlaveBase,sipName_chown);

    return NULL;
}


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

    {
        const KUrl * a0;
        const QDateTime * a1;
        int a1State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9J1",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,sipType_KUrl,&a0,sipType_QDateTime,&a1,&a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::SlaveBase::setModificationTime(*a0,*a1) : sipCpp->setModificationTime(*a0,*a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QDateTime *>(a1),sipType_QDateTime,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KUrl * a0;
        const KUrl * a1;
        int a2;
        KIO::JobFlags * a3;
        int a3State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9J9iJ1",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,sipType_KUrl,&a0,sipType_KUrl,&a1,&a2,sipType_KIO_JobFlags,&a3,&a3State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::SlaveBase::copy(*a0,*a1,a2,*a3) : sipCpp->copy(*a0,*a1,a2,*a3));
            Py_END_ALLOW_THREADS

            sipReleaseType(a3,sipType_KIO_JobFlags,a3State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KUrl * a0;
        bool a1;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9b",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,sipType_KUrl,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::SlaveBase::del(*a0,a1) : sipCpp->del(*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_SlaveBase,sipName_del_);

    return NULL;
}


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

    {
        const KUrl * a0;
        const QString * a1;
        int a1State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9J1",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,sipType_KUrl,&a0,sipType_QString,&a1,&a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::SlaveBase::setLinkDest(*a0,*a1) : sipCpp->setLinkDest(*a0,*a1));
            Py_END_ALLOW_THREADS

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QByteArray * a0;
        int a0State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,sipType_QByteArray,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::SlaveBase::special(*a0) : sipCpp->special(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QByteArray * a0;
        int a0State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,sipType_QByteArray,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::SlaveBase::multiGet(*a0) : sipCpp->multiGet(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KIO_SlaveBase,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::SlaveBase::slave_status() : sipCpp->slave_status());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KIO_SlaveBase,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::SlaveBase::reparseConfiguration() : sipCpp->reparseConfiguration());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::SlaveBase *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->connectTimeout();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KIO::SlaveBase *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->proxyConnectTimeout();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KIO::SlaveBase *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->responseTimeout();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KIO::SlaveBase *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->readTimeout();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        const QByteArray& a1def = QByteArray();
        const QByteArray * a1 = &a1def;
        int a1State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bi|J1",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,&a0,sipType_QByteArray,&a1,&a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTimeoutSpecialCommand(a0,*a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QByteArray *>(a1),sipType_QByteArray,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        const QByteArray * a1;
        int a1State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BiJ1",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,&a0,sipType_QByteArray,&a1,&a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::SlaveBase::dispatch(a0,*a1) : sipCpp->dispatch(a0,*a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QByteArray *>(a1),sipType_QByteArray,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        const QByteArray * a1;
        int a1State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BiJ1",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,&a0,sipType_QByteArray,&a1,&a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::SlaveBase::dispatchOpenCommand(a0,*a1) : sipCpp->dispatchOpenCommand(a0,*a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QByteArray *>(a1),sipType_QByteArray,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QByteArray * a0;
        int a0State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,sipType_QByteArray,&a0,&a0State))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->readData(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_QByteArray,a0State);

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KIO::UDSEntry * a0;
        bool a1;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9b",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,sipType_KIO_UDSEntry,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->listEntry(*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_SlaveBase,sipName_listEntry);

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->connectSlave(*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_SlaveBase,sipName_connectSlave);

    return NULL;
}


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

    {
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KIO_SlaveBase,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->disconnectSlave();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::AuthInfo * a0;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9|J1",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,sipType_KIO_AuthInfo,&a0,sipType_QString,&a1,&a1State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->openPasswordDialog(*a0,*a1);
            Py_END_ALLOW_THREADS

            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_SlaveBase,sipName_openPasswordDialog);

    return NULL;
}


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

    {
        KIO::AuthInfo * a0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,sipType_KIO_AuthInfo,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->checkCachedAuthentication(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KIO::AuthInfo * a0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,sipType_KIO_AuthInfo,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->cacheAuthentication(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const QString& a0def = QString();
        const QString * a0 = &a0def;
        int a0State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B|J1",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,sipType_QString,&a0,&a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->requestNetwork(*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_SlaveBase,sipName_requestNetwork);

    return NULL;
}


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

    {
        const QString& a0def = QString();
        const QString * a0 = &a0def;
        int a0State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B|J1",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->dropNetwork(*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_SlaveBase,sipName_dropNetwork);

    return NULL;
}


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

    {
        int a0;
        int a1;
        QByteArray * a2;
        int a2State = 0;
        int a3;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BiiJ1",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,&a0,&a1,sipType_QByteArray,&a2,&a2State))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->waitForAnswer(a0,a1,*a2,&a3);
            Py_END_ALLOW_THREADS

            sipReleaseType(a2,sipType_QByteArray,a2State);

            return sipBuildResult(0,"(ii)",sipRes,a3);
        }
    }

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

    return NULL;
}


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

    {
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KIO_SlaveBase,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sendMetaData();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KIO_SlaveBase,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sendAndKeepMetaData();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::SlaveBase *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->wasKilled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KIO_SlaveBase,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setKillFlag();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->lookupHost(*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_SlaveBase,sipName_lookupHost);

    return NULL;
}


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

    {
        QHostInfo * a0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KIO_SlaveBase,&sipCpp,sipType_QHostInfo,&a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->waitForHostInfo(*a0);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    return NULL;
}


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

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKIO_SlaveBase *>(sipCppV);
    else
        delete reinterpret_cast<KIO::SlaveBase *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

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

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1J1J1",sipType_QByteArray,&a0,&a0State,sipType_QByteArray,&a1,&a1State,sipType_QByteArray,&a2,&a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKIO_SlaveBase(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);
            sipReleaseType(const_cast<QByteArray *>(a1),sipType_QByteArray,a1State);
            sipReleaseType(const_cast<QByteArray *>(a2),sipType_QByteArray,a2State);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


static PyMethodDef methods_KIO_SlaveBase[] = {
    {SIP_MLNAME_CAST(sipName_allMetaData), meth_KIO_SlaveBase_allMetaData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_cacheAuthentication), meth_KIO_SlaveBase_cacheAuthentication, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_canResume), meth_KIO_SlaveBase_canResume, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_checkCachedAuthentication), meth_KIO_SlaveBase_checkCachedAuthentication, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_chmod), meth_KIO_SlaveBase_chmod, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_chown), meth_KIO_SlaveBase_chown, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_close), meth_KIO_SlaveBase_close, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeConnection), meth_KIO_SlaveBase_closeConnection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_config), meth_KIO_SlaveBase_config, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectSlave), meth_KIO_SlaveBase_connectSlave, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectTimeout), meth_KIO_SlaveBase_connectTimeout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connected), meth_KIO_SlaveBase_connected, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_copy), meth_KIO_SlaveBase_copy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_data), meth_KIO_SlaveBase_data, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dataReq), meth_KIO_SlaveBase_dataReq, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_del_), meth_KIO_SlaveBase_del_, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectSlave), meth_KIO_SlaveBase_disconnectSlave, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dispatch), meth_KIO_SlaveBase_dispatch, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dispatchLoop), meth_KIO_SlaveBase_dispatchLoop, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dispatchOpenCommand), meth_KIO_SlaveBase_dispatchOpenCommand, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropNetwork), meth_KIO_SlaveBase_dropNetwork, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_error), meth_KIO_SlaveBase_error, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_errorPage), meth_KIO_SlaveBase_errorPage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_exit), meth_KIO_SlaveBase_exit, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_finished), meth_KIO_SlaveBase_finished, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_get), meth_KIO_SlaveBase_get, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasMetaData), meth_KIO_SlaveBase_hasMetaData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_infoMessage), meth_KIO_SlaveBase_infoMessage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_listDir), meth_KIO_SlaveBase_listDir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_listEntries), meth_KIO_SlaveBase_listEntries, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_listEntry), meth_KIO_SlaveBase_listEntry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_lookupHost), meth_KIO_SlaveBase_lookupHost, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_messageBox), meth_KIO_SlaveBase_messageBox, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_metaData), meth_KIO_SlaveBase_metaData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mimeType), meth_KIO_SlaveBase_mimeType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mimetype), meth_KIO_SlaveBase_mimetype, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mkdir), meth_KIO_SlaveBase_mkdir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_multiGet), meth_KIO_SlaveBase_multiGet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_needSubUrlData), meth_KIO_SlaveBase_needSubUrlData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_open), meth_KIO_SlaveBase_open, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_openConnection), meth_KIO_SlaveBase_openConnection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_openPasswordDialog), meth_KIO_SlaveBase_openPasswordDialog, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_opened), meth_KIO_SlaveBase_opened, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_position), meth_KIO_SlaveBase_position, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_processedPercent), meth_KIO_SlaveBase_processedPercent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_processedSize), meth_KIO_SlaveBase_processedSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_proxyConnectTimeout), meth_KIO_SlaveBase_proxyConnectTimeout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_put), meth_KIO_SlaveBase_put, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_read), meth_KIO_SlaveBase_read, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readData), meth_KIO_SlaveBase_readData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readTimeout), meth_KIO_SlaveBase_readTimeout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_redirection), meth_KIO_SlaveBase_redirection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_remoteEncoding), meth_KIO_SlaveBase_remoteEncoding, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rename), meth_KIO_SlaveBase_rename, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_reparseConfiguration), meth_KIO_SlaveBase_reparseConfiguration, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_requestNetwork), meth_KIO_SlaveBase_requestNetwork, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_responseTimeout), meth_KIO_SlaveBase_responseTimeout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_seek), meth_KIO_SlaveBase_seek, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sendAndKeepMetaData), meth_KIO_SlaveBase_sendAndKeepMetaData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sendMetaData), meth_KIO_SlaveBase_sendMetaData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHost), meth_KIO_SlaveBase_setHost, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setKillFlag), meth_KIO_SlaveBase_setKillFlag, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLinkDest), meth_KIO_SlaveBase_setLinkDest, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMetaData), meth_KIO_SlaveBase_setMetaData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setModificationTime), meth_KIO_SlaveBase_setModificationTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSubUrl), meth_KIO_SlaveBase_setSubUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTimeoutSpecialCommand), meth_KIO_SlaveBase_setTimeoutSpecialCommand, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slaveStatus), meth_KIO_SlaveBase_slaveStatus, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slave_status), meth_KIO_SlaveBase_slave_status, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_special), meth_KIO_SlaveBase_special, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_speed), meth_KIO_SlaveBase_speed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_stat), meth_KIO_SlaveBase_stat, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_statEntry), meth_KIO_SlaveBase_statEntry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_symlink), meth_KIO_SlaveBase_symlink, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_totalSize), meth_KIO_SlaveBase_totalSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_waitForAnswer), meth_KIO_SlaveBase_waitForAnswer, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_waitForHostInfo), meth_KIO_SlaveBase_waitForHostInfo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_warning), meth_KIO_SlaveBase_warning, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wasKilled), meth_KIO_SlaveBase_wasKilled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_write), meth_KIO_SlaveBase_write, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_written), meth_KIO_SlaveBase_written, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KIO_SlaveBase[] = {
    {sipName_Information, KIO::SlaveBase::Information, 151},
    {sipName_QuestionYesNo, KIO::SlaveBase::QuestionYesNo, 151},
    {sipName_SSLMessageBox, KIO::SlaveBase::SSLMessageBox, 151},
    {sipName_WarningContinueCancel, KIO::SlaveBase::WarningContinueCancel, 151},
    {sipName_WarningYesNo, KIO::SlaveBase::WarningYesNo, 151},
    {sipName_WarningYesNoCancel, KIO::SlaveBase::WarningYesNoCancel, 151},
};


pyqt4ClassTypeDef pyqt4Type_kio_KIO_SlaveBase = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KIO__SlaveBase,
        {0}
    },
    sipNameNr_SlaveBase,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {95, 255, 0},
    0,
    0,
    81, methods_KIO_SlaveBase,
    6, enummembers_KIO_SlaveBase,
    0, 0,
    init_KIO_SlaveBase,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_SlaveBase,
    release_KIO_SlaveBase,
    cast_KIO_SlaveBase,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/forwardingslavebase.sip"
#include <forwardingslavebase.h>
#line 3941 "sipkiopart4.cpp"

#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 3945 "sipkiopart4.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 3948 "sipkiopart4.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/udsentry.sip"
#include <udsentry.h>
#line 3951 "sipkiopart4.cpp"
#line 321 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 3954 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 3957 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3960 "sipkiopart4.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3963 "sipkiopart4.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3966 "sipkiopart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 3969 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 3972 "sipkiopart4.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 4003 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 4006 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 4009 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 4012 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 4015 "sipkiopart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4018 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 4021 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 4024 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 4027 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtNetwork/qhostinfo.sip"
#include <qhostinfo.h>
#line 4030 "sipkiopart4.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/authinfo.sip"
#include <authinfo.h>
#line 4033 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 4036 "sipkiopart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kremoteencoding.sip"
#include <kremoteencoding.h>
#line 4039 "sipkiopart4.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 4042 "sipkiopart4.cpp"
#line 186 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/global.sip"
#include<qmap.h>
#line 4045 "sipkiopart4.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/slavebase.sip"
#include <slavebase.h>
#line 4048 "sipkiopart4.cpp"
#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 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.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 4064 "sipkiopart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfilemetainfoitem.sip"
#include <kfilemetainfoitem.h>
#line 4067 "sipkiopart4.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/copyjob.sip"
#include <copyjob.h>
#line 4070 "sipkiopart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kdatatool.sip"
#include <kdatatool.h>
#line 4073 "sipkiopart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfileitem.sip"
#include <kfileitem.h>
#line 4076 "sipkiopart4.cpp"


class sipKIO_ForwardingSlaveBase : public KIO::ForwardingSlaveBase
{
public:
    sipKIO_ForwardingSlaveBase(const QByteArray&,const QByteArray&,const QByteArray&);
    virtual ~sipKIO_ForwardingSlaveBase();

    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 sipProtect_rewriteUrl(const KUrl&,KUrl&);
    void sipProtectVirt_prepareUDSEntry(bool,KIO::UDSEntry&,bool) const;
    KUrl sipProtect_processedUrl() const;
    KUrl sipProtect_requestedUrl() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void get(const KUrl&);
    void put(const KUrl&,int,KIO::JobFlags);
    void stat(const KUrl&);
    void mimetype(const KUrl&);
    void listDir(const KUrl&);
    void mkdir(const KUrl&,int);
    void rename(const KUrl&,const KUrl&,KIO::JobFlags);
    void symlink(const QString&,const KUrl&,KIO::JobFlags);
    void chmod(const KUrl&,int);
    void setModificationTime(const KUrl&,const QDateTime&);
    void copy(const KUrl&,const KUrl&,int,KIO::JobFlags);
    void del(const KUrl&,bool);
    bool rewriteUrl(const KUrl&,KUrl&);
    void prepareUDSEntry(KIO::UDSEntry&,bool) 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 *);
    void setHost(const QString&,quint16,const QString&,const QString&);
    void setSubUrl(const KUrl&);
    void openConnection();
    void closeConnection();
    void open(const KUrl&,QIODevice::OpenMode);
    void read(KIO::filesize_t);
    void write(const QByteArray&);
    void seek(KIO::filesize_t);
    void close();
    void chown(const KUrl&,const QString&,const QString&);
    void setLinkDest(const KUrl&,const QString&);
    void special(const QByteArray&);
    void multiGet(const QByteArray&);
    void slave_status();
    void reparseConfiguration();
    void dispatch(int,const QByteArray&);
    void dispatchOpenCommand(int,const QByteArray&);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[38];
};

sipKIO_ForwardingSlaveBase::sipKIO_ForwardingSlaveBase(const QByteArray& a0,const QByteArray& a1,const QByteArray& a2): KIO::ForwardingSlaveBase(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKIO_ForwardingSlaveBase::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KIO_ForwardingSlaveBase);
}

int sipKIO_ForwardingSlaveBase::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KIO::ForwardingSlaveBase::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KIO_ForwardingSlaveBase,_c,_id,_a);

    return _id;
}

void *sipKIO_ForwardingSlaveBase::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast && sip_kio_qt_metacast(sipPySelf,sipType_KIO_ForwardingSlaveBase,_clname)) ? this : KIO::ForwardingSlaveBase::qt_metacast(_clname);
}

void sipKIO_ForwardingSlaveBase::get(const KUrl& a0)
{
    typedef void (*sipVH_kdecore_61)(sip_gilstate_t,PyObject *,const KUrl&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KIO::ForwardingSlaveBase::get(a0);
        return;
    }

    ((sipVH_kdecore_61)(sipModuleAPI_kio_kdecore->em_virthandlers[61]))(sipGILState,meth,a0);
}

void sipKIO_ForwardingSlaveBase::put(const KUrl& a0,int a1,KIO::JobFlags a2)
{
    extern void sipVH_kio_12(sip_gilstate_t,PyObject *,const KUrl&,int,KIO::JobFlags);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KIO::ForwardingSlaveBase::put(a0,a1,a2);
        return;
    }

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

void sipKIO_ForwardingSlaveBase::stat(const KUrl& a0)
{
    typedef void (*sipVH_kdecore_61)(sip_gilstate_t,PyObject *,const KUrl&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KIO::ForwardingSlaveBase::stat(a0);
        return;
    }

    ((sipVH_kdecore_61)(sipModuleAPI_kio_kdecore->em_virthandlers[61]))(sipGILState,meth,a0);
}

void sipKIO_ForwardingSlaveBase::mimetype(const KUrl& a0)
{
    typedef void (*sipVH_kdecore_61)(sip_gilstate_t,PyObject *,const KUrl&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KIO::ForwardingSlaveBase::mimetype(a0);
        return;
    }

    ((sipVH_kdecore_61)(sipModuleAPI_kio_kdecore->em_virthandlers[61]))(sipGILState,meth,a0);
}

void sipKIO_ForwardingSlaveBase::listDir(const KUrl& a0)
{
    typedef void (*sipVH_kdecore_61)(sip_gilstate_t,PyObject *,const KUrl&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KIO::ForwardingSlaveBase::listDir(a0);
        return;
    }

    ((sipVH_kdecore_61)(sipModuleAPI_kio_kdecore->em_virthandlers[61]))(sipGILState,meth,a0);
}

void sipKIO_ForwardingSlaveBase::mkdir(const KUrl& a0,int a1)
{
    extern void sipVH_kio_9(sip_gilstate_t,PyObject *,const KUrl&,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KIO::ForwardingSlaveBase::mkdir(a0,a1);
        return;
    }

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

void sipKIO_ForwardingSlaveBase::rename(const KUrl& a0,const KUrl& a1,KIO::JobFlags a2)
{
    extern void sipVH_kio_11(sip_gilstate_t,PyObject *,const KUrl&,const KUrl&,KIO::JobFlags);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KIO::ForwardingSlaveBase::rename(a0,a1,a2);
        return;
    }

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

void sipKIO_ForwardingSlaveBase::symlink(const QString& a0,const KUrl& a1,KIO::JobFlags a2)
{
    extern void sipVH_kio_10(sip_gilstate_t,PyObject *,const QString&,const KUrl&,KIO::JobFlags);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KIO::ForwardingSlaveBase::symlink(a0,a1,a2);
        return;
    }

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

void sipKIO_ForwardingSlaveBase::chmod(const KUrl& a0,int a1)
{
    extern void sipVH_kio_9(sip_gilstate_t,PyObject *,const KUrl&,int);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KIO::ForwardingSlaveBase::chmod(a0,a1);
        return;
    }

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

void sipKIO_ForwardingSlaveBase::setModificationTime(const KUrl& a0,const QDateTime& a1)
{
    extern void sipVH_kio_7(sip_gilstate_t,PyObject *,const KUrl&,const QDateTime&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KIO::ForwardingSlaveBase::setModificationTime(a0,a1);
        return;
    }

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

void sipKIO_ForwardingSlaveBase::copy(const KUrl& a0,const KUrl& a1,int a2,KIO::JobFlags a3)
{
    extern void sipVH_kio_6(sip_gilstate_t,PyObject *,const KUrl&,const KUrl&,int,KIO::JobFlags);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KIO::ForwardingSlaveBase::copy(a0,a1,a2,a3);
        return;
    }

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

void sipKIO_ForwardingSlaveBase::del(const KUrl& a0,bool a1)
{
    extern void sipVH_kio_5(sip_gilstate_t,PyObject *,const KUrl&,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KIO::ForwardingSlaveBase::del(a0,a1);
        return;
    }

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

bool sipKIO_ForwardingSlaveBase::rewriteUrl(const KUrl& a0,KUrl& a1)
{
    extern bool sipVH_kio_46(sip_gilstate_t,PyObject *,const KUrl&,KUrl&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,sipName_ForwardingSlaveBase,sipName_rewriteUrl);

    if (!meth)
        return 0;

    return sipVH_kio_46(sipGILState,meth,a0,a1);
}

void sipKIO_ForwardingSlaveBase::prepareUDSEntry(KIO::UDSEntry& a0,bool a1) const
{
    extern void sipVH_kio_45(sip_gilstate_t,PyObject *,KIO::UDSEntry&,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KIO::ForwardingSlaveBase::prepareUDSEntry(a0,a1);
        return;
    }

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

bool sipKIO_ForwardingSlaveBase::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[15],sipPySelf,NULL,sipName_eventFilter);

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKIO_ForwardingSlaveBase::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[19],sipPySelf,NULL,sipName_connectNotify);

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

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

void sipKIO_ForwardingSlaveBase::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[20],sipPySelf,NULL,sipName_disconnectNotify);

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

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

void sipKIO_ForwardingSlaveBase::setHost(const QString& a0,quint16 a1,const QString& a2,const QString& a3)
{
    extern void sipVH_kio_15(sip_gilstate_t,PyObject *,const QString&,unsigned short,const QString&,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_setHost);

    if (!meth)
    {
        KIO::SlaveBase::setHost(a0,a1,a2,a3);
        return;
    }

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

void sipKIO_ForwardingSlaveBase::setSubUrl(const KUrl& a0)
{
    typedef void (*sipVH_kdecore_61)(sip_gilstate_t,PyObject *,const KUrl&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_setSubUrl);

    if (!meth)
    {
        KIO::SlaveBase::setSubUrl(a0);
        return;
    }

    ((sipVH_kdecore_61)(sipModuleAPI_kio_kdecore->em_virthandlers[61]))(sipGILState,meth,a0);
}

void sipKIO_ForwardingSlaveBase::openConnection()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_openConnection);

    if (!meth)
    {
        KIO::SlaveBase::openConnection();
        return;
    }

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

void sipKIO_ForwardingSlaveBase::closeConnection()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_closeConnection);

    if (!meth)
    {
        KIO::SlaveBase::closeConnection();
        return;
    }

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

void sipKIO_ForwardingSlaveBase::open(const KUrl& a0,QIODevice::OpenMode a1)
{
    extern void sipVH_kio_14(sip_gilstate_t,PyObject *,const KUrl&,QIODevice::OpenMode);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_open);

    if (!meth)
    {
        KIO::SlaveBase::open(a0,a1);
        return;
    }

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

void sipKIO_ForwardingSlaveBase::read(KIO::filesize_t a0)
{
    extern void sipVH_kio_13(sip_gilstate_t,PyObject *,unsigned PY_LONG_LONG);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_read);

    if (!meth)
    {
        KIO::SlaveBase::read(a0);
        return;
    }

    sipVH_kio_13(sipGILState,meth,a0);
}

void sipKIO_ForwardingSlaveBase::write(const QByteArray& a0)
{
    typedef void (*sipVH_QtXml_29)(sip_gilstate_t,PyObject *,const QByteArray&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_write);

    if (!meth)
    {
        KIO::SlaveBase::write(a0);
        return;
    }

    ((sipVH_QtXml_29)(sipModuleAPI_kio_QtXml->em_virthandlers[29]))(sipGILState,meth,a0);
}

void sipKIO_ForwardingSlaveBase::seek(KIO::filesize_t a0)
{
    extern void sipVH_kio_13(sip_gilstate_t,PyObject *,unsigned PY_LONG_LONG);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_seek);

    if (!meth)
    {
        KIO::SlaveBase::seek(a0);
        return;
    }

    sipVH_kio_13(sipGILState,meth,a0);
}

void sipKIO_ForwardingSlaveBase::close()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_close);

    if (!meth)
    {
        KIO::SlaveBase::close();
        return;
    }

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

void sipKIO_ForwardingSlaveBase::chown(const KUrl& a0,const QString& a1,const QString& a2)
{
    extern void sipVH_kio_8(sip_gilstate_t,PyObject *,const KUrl&,const QString&,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_chown);

    if (!meth)
    {
        KIO::SlaveBase::chown(a0,a1,a2);
        return;
    }

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

void sipKIO_ForwardingSlaveBase::setLinkDest(const KUrl& a0,const QString& a1)
{
    extern void sipVH_kio_4(sip_gilstate_t,PyObject *,const KUrl&,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_setLinkDest);

    if (!meth)
    {
        KIO::SlaveBase::setLinkDest(a0,a1);
        return;
    }

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

void sipKIO_ForwardingSlaveBase::special(const QByteArray& a0)
{
    typedef void (*sipVH_QtXml_29)(sip_gilstate_t,PyObject *,const QByteArray&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_special);

    if (!meth)
    {
        KIO::SlaveBase::special(a0);
        return;
    }

    ((sipVH_QtXml_29)(sipModuleAPI_kio_QtXml->em_virthandlers[29]))(sipGILState,meth,a0);
}

void sipKIO_ForwardingSlaveBase::multiGet(const QByteArray& a0)
{
    typedef void (*sipVH_QtXml_29)(sip_gilstate_t,PyObject *,const QByteArray&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_multiGet);

    if (!meth)
    {
        KIO::SlaveBase::multiGet(a0);
        return;
    }

    ((sipVH_QtXml_29)(sipModuleAPI_kio_QtXml->em_virthandlers[29]))(sipGILState,meth,a0);
}

void sipKIO_ForwardingSlaveBase::slave_status()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_slave_status);

    if (!meth)
    {
        KIO::SlaveBase::slave_status();
        return;
    }

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

void sipKIO_ForwardingSlaveBase::reparseConfiguration()
{
    typedef void (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_reparseConfiguration);

    if (!meth)
    {
        KIO::SlaveBase::reparseConfiguration();
        return;
    }

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

void sipKIO_ForwardingSlaveBase::dispatch(int a0,const QByteArray& a1)
{
    extern void sipVH_kio_3(sip_gilstate_t,PyObject *,int,const QByteArray&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_dispatch);

    if (!meth)
    {
        KIO::SlaveBase::dispatch(a0,a1);
        return;
    }

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

void sipKIO_ForwardingSlaveBase::dispatchOpenCommand(int a0,const QByteArray& a1)
{
    extern void sipVH_kio_3(sip_gilstate_t,PyObject *,int,const QByteArray&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_dispatchOpenCommand);

    if (!meth)
    {
        KIO::SlaveBase::dispatchOpenCommand(a0,a1);
        return;
    }

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

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

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

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

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

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

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

bool sipKIO_ForwardingSlaveBase::sipProtect_rewriteUrl(const KUrl& a0,KUrl& a1)
{
    return rewriteUrl(a0,a1);
}

void sipKIO_ForwardingSlaveBase::sipProtectVirt_prepareUDSEntry(bool sipSelfWasArg,KIO::UDSEntry& a0,bool a1) const
{
    (sipSelfWasArg ? KIO::ForwardingSlaveBase::prepareUDSEntry(a0,a1) : prepareUDSEntry(a0,a1));
}

KUrl sipKIO_ForwardingSlaveBase::sipProtect_processedUrl() const
{
    return KIO::ForwardingSlaveBase::processedUrl();
}

KUrl sipKIO_ForwardingSlaveBase::sipProtect_requestedUrl() const
{
    return KIO::ForwardingSlaveBase::requestedUrl();
}


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

    {
        char * a0;
        sipKIO_ForwardingSlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KIO_ForwardingSlaveBase,&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 4939 "sipkiopart4.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipKIO_ForwardingSlaveBase *sipCpp;

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipKIO_ForwardingSlaveBase *sipCpp;

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKIO_ForwardingSlaveBase *sipCpp;

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

    return NULL;
}


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

    {
        char * a0;
        sipKIO_ForwardingSlaveBase *sipCpp;

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

    return NULL;
}


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

    {
        char * a0;
        sipKIO_ForwardingSlaveBase *sipCpp;

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

    return NULL;
}


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

    {
        const KUrl * a0;
        KIO::ForwardingSlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KIO_ForwardingSlaveBase,&sipCpp,sipType_KUrl,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::ForwardingSlaveBase::get(*a0) : sipCpp->get(*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_ForwardingSlaveBase,sipName_get);

    return NULL;
}


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

    {
        const KUrl * a0;
        int a1;
        KIO::JobFlags * a2;
        int a2State = 0;
        KIO::ForwardingSlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9iJ1",&sipSelf,sipType_KIO_ForwardingSlaveBase,&sipCpp,sipType_KUrl,&a0,&a1,sipType_KIO_JobFlags,&a2,&a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::ForwardingSlaveBase::put(*a0,a1,*a2) : sipCpp->put(*a0,a1,*a2));
            Py_END_ALLOW_THREADS

            sipReleaseType(a2,sipType_KIO_JobFlags,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KUrl * a0;
        KIO::ForwardingSlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KIO_ForwardingSlaveBase,&sipCpp,sipType_KUrl,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::ForwardingSlaveBase::stat(*a0) : sipCpp->stat(*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_ForwardingSlaveBase,sipName_stat);

    return NULL;
}


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

    {
        const KUrl * a0;
        KIO::ForwardingSlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KIO_ForwardingSlaveBase,&sipCpp,sipType_KUrl,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::ForwardingSlaveBase::mimetype(*a0) : sipCpp->mimetype(*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_ForwardingSlaveBase,sipName_mimetype);

    return NULL;
}


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

    {
        const KUrl * a0;
        KIO::ForwardingSlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KIO_ForwardingSlaveBase,&sipCpp,sipType_KUrl,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::ForwardingSlaveBase::listDir(*a0) : sipCpp->listDir(*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_ForwardingSlaveBase,sipName_listDir);

    return NULL;
}


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

    {
        const KUrl * a0;
        int a1;
        KIO::ForwardingSlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9i",&sipSelf,sipType_KIO_ForwardingSlaveBase,&sipCpp,sipType_KUrl,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::ForwardingSlaveBase::mkdir(*a0,a1) : sipCpp->mkdir(*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_ForwardingSlaveBase,sipName_mkdir);

    return NULL;
}


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

    {
        const KUrl * a0;
        const KUrl * a1;
        KIO::JobFlags * a2;
        int a2State = 0;
        KIO::ForwardingSlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9J9J1",&sipSelf,sipType_KIO_ForwardingSlaveBase,&sipCpp,sipType_KUrl,&a0,sipType_KUrl,&a1,sipType_KIO_JobFlags,&a2,&a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::ForwardingSlaveBase::rename(*a0,*a1,*a2) : sipCpp->rename(*a0,*a1,*a2));
            Py_END_ALLOW_THREADS

            sipReleaseType(a2,sipType_KIO_JobFlags,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        const KUrl * a1;
        KIO::JobFlags * a2;
        int a2State = 0;
        KIO::ForwardingSlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1J9J1",&sipSelf,sipType_KIO_ForwardingSlaveBase,&sipCpp,sipType_QString,&a0,&a0State,sipType_KUrl,&a1,sipType_KIO_JobFlags,&a2,&a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::ForwardingSlaveBase::symlink(*a0,*a1,*a2) : sipCpp->symlink(*a0,*a1,*a2));
            Py_END_ALLOW_THREADS

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KUrl * a0;
        int a1;
        KIO::ForwardingSlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9i",&sipSelf,sipType_KIO_ForwardingSlaveBase,&sipCpp,sipType_KUrl,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::ForwardingSlaveBase::chmod(*a0,a1) : sipCpp->chmod(*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_ForwardingSlaveBase,sipName_chmod);

    return NULL;
}


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

    {
        const KUrl * a0;
        const QDateTime * a1;
        int a1State = 0;
        KIO::ForwardingSlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9J1",&sipSelf,sipType_KIO_ForwardingSlaveBase,&sipCpp,sipType_KUrl,&a0,sipType_QDateTime,&a1,&a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::ForwardingSlaveBase::setModificationTime(*a0,*a1) : sipCpp->setModificationTime(*a0,*a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QDateTime *>(a1),sipType_QDateTime,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KUrl * a0;
        const KUrl * a1;
        int a2;
        KIO::JobFlags * a3;
        int a3State = 0;
        KIO::ForwardingSlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9J9iJ1",&sipSelf,sipType_KIO_ForwardingSlaveBase,&sipCpp,sipType_KUrl,&a0,sipType_KUrl,&a1,&a2,sipType_KIO_JobFlags,&a3,&a3State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::ForwardingSlaveBase::copy(*a0,*a1,a2,*a3) : sipCpp->copy(*a0,*a1,a2,*a3));
            Py_END_ALLOW_THREADS

            sipReleaseType(a3,sipType_KIO_JobFlags,a3State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KUrl * a0;
        bool a1;
        KIO::ForwardingSlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9b",&sipSelf,sipType_KIO_ForwardingSlaveBase,&sipCpp,sipType_KUrl,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::ForwardingSlaveBase::del(*a0,a1) : sipCpp->del(*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_ForwardingSlaveBase,sipName_del_);

    return NULL;
}


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

    {
        const KUrl * a0;
        KUrl * a1;
        sipKIO_ForwardingSlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9J9",&sipSelf,sipType_KIO_ForwardingSlaveBase,&sipCpp,sipType_KUrl,&a0,sipType_KUrl,&a1))
        {
            bool sipRes;

            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_ForwardingSlaveBase, sipName_rewriteUrl);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_rewriteUrl(*a0,*a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KIO::UDSEntry * a0;
        bool a1 = 0;
        sipKIO_ForwardingSlaveBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9|b",&sipSelf,sipType_KIO_ForwardingSlaveBase,&sipCpp,sipType_KIO_UDSEntry,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_prepareUDSEntry(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_ForwardingSlaveBase,sipName_prepareUDSEntry);

    return NULL;
}


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

    {
        sipKIO_ForwardingSlaveBase *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(sipCpp->sipProtect_processedUrl());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        sipKIO_ForwardingSlaveBase *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(sipCpp->sipProtect_requestedUrl());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    if (targetType == sipType_KIO_ForwardingSlaveBase)
        return ptr;

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

    if ((res = ((const sipClassTypeDef *)sipType_KIO_SlaveBase)->ctd_cast((KIO::SlaveBase *)(KIO::ForwardingSlaveBase *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKIO_ForwardingSlaveBase *>(sipCppV);
    else
        delete reinterpret_cast<KIO::ForwardingSlaveBase *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

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

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1J1J1",sipType_QByteArray,&a0,&a0State,sipType_QByteArray,&a1,&a1State,sipType_QByteArray,&a2,&a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKIO_ForwardingSlaveBase(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);
            sipReleaseType(const_cast<QByteArray *>(a1),sipType_QByteArray,a1State);
            sipReleaseType(const_cast<QByteArray *>(a2),sipType_QByteArray,a2State);
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


static PyMethodDef methods_KIO_ForwardingSlaveBase[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KIO_ForwardingSlaveBase_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_chmod), meth_KIO_ForwardingSlaveBase_chmod, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KIO_ForwardingSlaveBase_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_copy), meth_KIO_ForwardingSlaveBase_copy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KIO_ForwardingSlaveBase_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_del_), meth_KIO_ForwardingSlaveBase_del_, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KIO_ForwardingSlaveBase_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_get), meth_KIO_ForwardingSlaveBase_get, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_listDir), meth_KIO_ForwardingSlaveBase_listDir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mimetype), meth_KIO_ForwardingSlaveBase_mimetype, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mkdir), meth_KIO_ForwardingSlaveBase_mkdir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_prepareUDSEntry), meth_KIO_ForwardingSlaveBase_prepareUDSEntry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_processedUrl), meth_KIO_ForwardingSlaveBase_processedUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_put), meth_KIO_ForwardingSlaveBase_put, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KIO_ForwardingSlaveBase_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rename), meth_KIO_ForwardingSlaveBase_rename, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_requestedUrl), meth_KIO_ForwardingSlaveBase_requestedUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rewriteUrl), meth_KIO_ForwardingSlaveBase_rewriteUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setModificationTime), meth_KIO_ForwardingSlaveBase_setModificationTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_stat), meth_KIO_ForwardingSlaveBase_stat, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_symlink), meth_KIO_ForwardingSlaveBase_symlink, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KIO_ForwardingSlaveBase_timerEvent, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kio_KIO_ForwardingSlaveBase = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIO__ForwardingSlaveBase,
        {0}
    },
    sipNameNr_ForwardingSlaveBase,
    -1,
    -1,
    {95, 255, 0},
    supers_KIO_ForwardingSlaveBase,
    0,
    22, methods_KIO_ForwardingSlaveBase,
    0, 0,
    0, 0,
    init_KIO_ForwardingSlaveBase,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_ForwardingSlaveBase,
    release_KIO_ForwardingSlaveBase,
    cast_KIO_ForwardingSlaveBase,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KIO::ForwardingSlaveBase::staticMetaObject,
    0,
    0
};

#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/fileundomanager.sip"
#include <fileundomanager.h>
#line 5734 "sipkiopart4.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 5738 "sipkiopart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kdatetime.sip"
#include <kdatetime.h>
#line 5741 "sipkiopart4.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 5744 "sipkiopart4.cpp"
#line 43 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 5747 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 5750 "sipkiopart4.cpp"


class sipKIO_FileUndoManager_UiInterface : public KIO::FileUndoManager::UiInterface
{
public:
    sipKIO_FileUndoManager_UiInterface();
    sipKIO_FileUndoManager_UiInterface(const KIO::FileUndoManager::UiInterface&);
    virtual ~sipKIO_FileUndoManager_UiInterface();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void jobError(KIO::Job *);
    bool confirmDeletion(const KUrl::List&);
    bool copiedFileWasModified(const KUrl&,const KUrl&,const KDateTime&,const KDateTime&);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[3];
};

sipKIO_FileUndoManager_UiInterface::sipKIO_FileUndoManager_UiInterface(): KIO::FileUndoManager::UiInterface(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKIO_FileUndoManager_UiInterface::sipKIO_FileUndoManager_UiInterface(const KIO::FileUndoManager::UiInterface& a0): KIO::FileUndoManager::UiInterface(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

void sipKIO_FileUndoManager_UiInterface::jobError(KIO::Job *a0)
{
    extern void sipVH_kio_32(sip_gilstate_t,PyObject *,KIO::Job *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KIO::FileUndoManager::UiInterface::jobError(a0);
        return;
    }

    sipVH_kio_32(sipGILState,meth,a0);
}

bool sipKIO_FileUndoManager_UiInterface::confirmDeletion(const KUrl::List& a0)
{
    extern bool sipVH_kio_48(sip_gilstate_t,PyObject *,const KUrl::List&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KIO::FileUndoManager::UiInterface::confirmDeletion(a0);

    return sipVH_kio_48(sipGILState,meth,a0);
}

bool sipKIO_FileUndoManager_UiInterface::copiedFileWasModified(const KUrl& a0,const KUrl& a1,const KDateTime& a2,const KDateTime& a3)
{
    extern bool sipVH_kio_47(sip_gilstate_t,PyObject *,const KUrl&,const KUrl&,const KDateTime&,const KDateTime&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KIO::FileUndoManager::UiInterface::copiedFileWasModified(a0,a1,a2,a3);

    return sipVH_kio_47(sipGILState,meth,a0,a1,a2,a3);
}


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

    {
        bool a0;
        KIO::FileUndoManager::UiInterface *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_KIO_FileUndoManager_UiInterface,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setShowProgressInfo(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_UiInterface,sipName_setShowProgressInfo);

    return NULL;
}


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

    {
        KIO::FileUndoManager::UiInterface *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->showProgressInfo();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QWidget * a0;
        KIO::FileUndoManager::UiInterface *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KIO_FileUndoManager_UiInterface,&sipCpp,sipType_QWidget,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setParentWidget(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_UiInterface,sipName_setParentWidget);

    return NULL;
}


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

    {
        KIO::FileUndoManager::UiInterface *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->parentWidget();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KIO::Job * a0;
        KIO::FileUndoManager::UiInterface *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KIO_FileUndoManager_UiInterface,&sipCpp,sipType_KIO_Job,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::FileUndoManager::UiInterface::jobError(a0) : sipCpp->jobError(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_UiInterface,sipName_jobError);

    return NULL;
}


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

    {
        const KUrl::List * a0;
        KIO::FileUndoManager::UiInterface *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KIO_FileUndoManager_UiInterface,&sipCpp,sipType_KUrl_List,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KIO::FileUndoManager::UiInterface::confirmDeletion(*a0) : sipCpp->confirmDeletion(*a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KUrl * a0;
        const KUrl * a1;
        const KDateTime * a2;
        const KDateTime * a3;
        KIO::FileUndoManager::UiInterface *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9J9J9J9",&sipSelf,sipType_KIO_FileUndoManager_UiInterface,&sipCpp,sipType_KUrl,&a0,sipType_KUrl,&a1,sipType_KDateTime,&a2,sipType_KDateTime,&a3))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KIO::FileUndoManager::UiInterface::copiedFileWasModified(*a0,*a1,*a2,*a3) : sipCpp->copiedFileWasModified(*a0,*a1,*a2,*a3));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    return NULL;
}


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

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKIO_FileUndoManager_UiInterface *>(sipCppV);
    else
        delete reinterpret_cast<KIO::FileUndoManager::UiInterface *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KIO_FileUndoManager_UiInterface(void *, const void*);}
static void assign_KIO_FileUndoManager_UiInterface(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<KIO::FileUndoManager::UiInterface *>(sipDst) = *reinterpret_cast<const KIO::FileUndoManager::UiInterface *>(sipSrc);
}


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

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


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

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

    if (!sipCpp)
    {
        const KIO::FileUndoManager::UiInterface * a0;

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

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


static PyMethodDef methods_KIO_FileUndoManager_UiInterface[] = {
    {SIP_MLNAME_CAST(sipName_confirmDeletion), meth_KIO_FileUndoManager_UiInterface_confirmDeletion, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_copiedFileWasModified), meth_KIO_FileUndoManager_UiInterface_copiedFileWasModified, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_jobError), meth_KIO_FileUndoManager_UiInterface_jobError, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_parentWidget), meth_KIO_FileUndoManager_UiInterface_parentWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setParentWidget), meth_KIO_FileUndoManager_UiInterface_setParentWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setShowProgressInfo), meth_KIO_FileUndoManager_UiInterface_setShowProgressInfo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showProgressInfo), meth_KIO_FileUndoManager_UiInterface_showProgressInfo, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kio_KIO_FileUndoManager_UiInterface = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KIO__FileUndoManager__UiInterface,
        {0}
    },
    sipNameNr_UiInterface,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {113, 255, 0},
    0,
    0,
    7, methods_KIO_FileUndoManager_UiInterface,
    0, 0,
    0, 0,
    init_KIO_FileUndoManager_UiInterface,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_FileUndoManager_UiInterface,
    release_KIO_FileUndoManager_UiInterface,
    cast_KIO_FileUndoManager_UiInterface,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_KIO_FileUndoManager_UiInterface,
    0,
    0,
    0
};

#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/fileundomanager.sip"
#include <fileundomanager.h>
#line 6178 "sipkiopart4.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 6182 "sipkiopart4.cpp"
#line 50 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/copyjob.sip"
#include <copyjob.h>
#line 6185 "sipkiopart4.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 6188 "sipkiopart4.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 6191 "sipkiopart4.cpp"
#line 43 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 6194 "sipkiopart4.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/fileundomanager.sip"
#include <fileundomanager.h>
#line 6197 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6200 "sipkiopart4.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6203 "sipkiopart4.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6206 "sipkiopart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 6209 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 6212 "sipkiopart4.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 6243 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 6246 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 6249 "sipkiopart4.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 6252 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 6255 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 6258 "sipkiopart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6261 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 6264 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 6267 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 6270 "sipkiopart4.cpp"


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

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KIO::FileUndoManager *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::FileUndoManager::self();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KIO::FileUndoManager::UiInterface * a0;
        KIO::FileUndoManager *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KIO_FileUndoManager,&sipCpp,sipType_KIO_FileUndoManager_UiInterface,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setUiInterface(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_FileUndoManager,sipName_setUiInterface);

    return NULL;
}


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

    {
        KIO::FileUndoManager *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KIO_FileUndoManager,&sipCpp))
        {
            KIO::FileUndoManager::UiInterface *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->uiInterface();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KIO::FileUndoManager::CommandType a0;
        const KUrl::List * a1;
        const KUrl * a2;
        KIO::Job * a3;
        KIO::FileUndoManager *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BEJ9J9J8",&sipSelf,sipType_KIO_FileUndoManager,&sipCpp,sipType_KIO_FileUndoManager_CommandType,&a0,sipType_KUrl_List,&a1,sipType_KUrl,&a2,sipType_KIO_Job,&a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->recordJob(a0,*a1,*a2,a3);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::CopyJob * a0;
        KIO::FileUndoManager *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KIO_FileUndoManager,&sipCpp,sipType_KIO_CopyJob,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->recordCopyJob(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_FileUndoManager,sipName_recordCopyJob);

    return NULL;
}


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

    {
        KIO::FileUndoManager *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->undoAvailable();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KIO::FileUndoManager *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KIO::FileUndoManager *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->newCommandSerialNumber();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLongLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KIO::FileUndoManager *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->currentCommandSerialNumber();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLongLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KIO::FileUndoManager *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KIO_FileUndoManager,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->undo();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KIO_FileUndoManager)
        return ptr;

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

    return NULL;
}


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


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


static PyMethodDef methods_KIO_FileUndoManager[] = {
    {SIP_MLNAME_CAST(sipName_currentCommandSerialNumber), meth_KIO_FileUndoManager_currentCommandSerialNumber, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_newCommandSerialNumber), meth_KIO_FileUndoManager_newCommandSerialNumber, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_recordCopyJob), meth_KIO_FileUndoManager_recordCopyJob, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_recordJob), meth_KIO_FileUndoManager_recordJob, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_self), meth_KIO_FileUndoManager_self, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUiInterface), meth_KIO_FileUndoManager_setUiInterface, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_uiInterface), meth_KIO_FileUndoManager_uiInterface, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_undo), meth_KIO_FileUndoManager_undo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_undoAvailable), meth_KIO_FileUndoManager_undoAvailable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_undoText), meth_KIO_FileUndoManager_undoText, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KIO_FileUndoManager[] = {
    {sipName_Copy, KIO::FileUndoManager::Copy, 114},
    {sipName_Link, KIO::FileUndoManager::Link, 114},
    {sipName_Mkdir, KIO::FileUndoManager::Mkdir, 114},
    {sipName_Move, KIO::FileUndoManager::Move, 114},
    {sipName_Rename, KIO::FileUndoManager::Rename, 114},
    {sipName_Trash, KIO::FileUndoManager::Trash, 114},
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KIO_FileUndoManager[] = {
    {"jobRecordingFinished(KIO::FileUndoManager::CommandType)", 0},
    {"jobRecordingStarted(KIO::FileUndoManager::CommandType)", 0},
    {"undoJobFinished()", 0},
    {"undoTextChanged(const QString&)", 0},
    {"undoAvailable(bool)", &methods_KIO_FileUndoManager[8]},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_kio_KIO_FileUndoManager = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIO__FileUndoManager,
        {0}
    },
    sipNameNr_FileUndoManager,
    -1,
    -1,
    {95, 255, 0},
    supers_KIO_FileUndoManager,
    0,
    10, methods_KIO_FileUndoManager,
    6, enummembers_KIO_FileUndoManager,
    0, 0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    release_KIO_FileUndoManager,
    cast_KIO_FileUndoManager,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KIO::FileUndoManager::staticMetaObject,
    0,
    pyqt4_signals_KIO_FileUndoManager
};

#line 88 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 6651 "sipkiopart4.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 6655 "sipkiopart4.cpp"
#line 186 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/global.sip"
#include<qmap.h>
#line 6658 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 6661 "sipkiopart4.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 6664 "sipkiopart4.cpp"
#line 43 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 6667 "sipkiopart4.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 6674 "sipkiopart4.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 6677 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 6680 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 6683 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 6686 "sipkiopart4.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/jobuidelegate.sip"
#include <jobuidelegate.h>
#line 6689 "sipkiopart4.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 6742 "sipkiopart4.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 6745 "sipkiopart4.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 6748 "sipkiopart4.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 6751 "sipkiopart4.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 6754 "sipkiopart4.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 6757 "sipkiopart4.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 6760 "sipkiopart4.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 6763 "sipkiopart4.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 6766 "sipkiopart4.cpp"
#line 321 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 6769 "sipkiopart4.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 6772 "sipkiopart4.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 6775 "sipkiopart4.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 6778 "sipkiopart4.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 6781 "sipkiopart4.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 6784 "sipkiopart4.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 6787 "sipkiopart4.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 6790 "sipkiopart4.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 6793 "sipkiopart4.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 6808 "sipkiopart4.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 6811 "sipkiopart4.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 6814 "sipkiopart4.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 6817 "sipkiopart4.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 6820 "sipkiopart4.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 6823 "sipkiopart4.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 6826 "sipkiopart4.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 6829 "sipkiopart4.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 6832 "sipkiopart4.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 6835 "sipkiopart4.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 6838 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6841 "sipkiopart4.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6844 "sipkiopart4.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6847 "sipkiopart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 6850 "sipkiopart4.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 6881 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 6884 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 6887 "sipkiopart4.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 6890 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 6893 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 6896 "sipkiopart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6899 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 6902 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 6905 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 6908 "sipkiopart4.cpp"


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

    {
        KIO::SimpleJob *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(sipCpp->url());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KIO::SimpleJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KIO_SimpleJob,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::SimpleJob::putOnHold() : sipCpp->putOnHold());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            KIO::SimpleJob::removeOnHold();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        const QString * a1;
        int a1State = 0;
        KIO::SimpleJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BiJ1",&sipSelf,sipType_KIO_SimpleJob,&sipCpp,&a0,sipType_QString,&a1,&a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotError(a0,*a1);
            Py_END_ALLOW_THREADS

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KIO_SimpleJob)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KIO_Job)->ctd_cast((KIO::Job *)(KIO::SimpleJob *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    delete reinterpret_cast<KIO::SimpleJob *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


static PyMethodDef methods_KIO_SimpleJob[] = {
    {SIP_MLNAME_CAST(sipName_putOnHold), meth_KIO_SimpleJob_putOnHold, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeOnHold), meth_KIO_SimpleJob_removeOnHold, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotError), meth_KIO_SimpleJob_slotError, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_url), meth_KIO_SimpleJob_url, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kio_KIO_SimpleJob = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIO__SimpleJob,
        {0}
    },
    sipNameNr_SimpleJob,
    -1,
    -1,
    {95, 255, 0},
    supers_KIO_SimpleJob,
    0,
    4, methods_KIO_SimpleJob,
    0, 0,
    0, 0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_SimpleJob,
    release_KIO_SimpleJob,
    cast_KIO_SimpleJob,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KIO::SimpleJob::staticMetaObject,
    0,
    0
};

#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/filejob.sip"
#include <filejob.h>
#line 7117 "sipkiopart4.cpp"

#line 43 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 7121 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 7124 "sipkiopart4.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 7127 "sipkiopart4.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 7130 "sipkiopart4.cpp"
#line 186 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/global.sip"
#include<qmap.h>
#line 7133 "sipkiopart4.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 7136 "sipkiopart4.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 7143 "sipkiopart4.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 7146 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 7149 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 7152 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 7155 "sipkiopart4.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/jobuidelegate.sip"
#include <jobuidelegate.h>
#line 7158 "sipkiopart4.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 7211 "sipkiopart4.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 7214 "sipkiopart4.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 7217 "sipkiopart4.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 7220 "sipkiopart4.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 7223 "sipkiopart4.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 7226 "sipkiopart4.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 7229 "sipkiopart4.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 7232 "sipkiopart4.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 7235 "sipkiopart4.cpp"
#line 321 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 7238 "sipkiopart4.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 7241 "sipkiopart4.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 7244 "sipkiopart4.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 7247 "sipkiopart4.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 7250 "sipkiopart4.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 7253 "sipkiopart4.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 7256 "sipkiopart4.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 7259 "sipkiopart4.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 7262 "sipkiopart4.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 7277 "sipkiopart4.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 7280 "sipkiopart4.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 7283 "sipkiopart4.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 7286 "sipkiopart4.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 7289 "sipkiopart4.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 7292 "sipkiopart4.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 7295 "sipkiopart4.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 7298 "sipkiopart4.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 7301 "sipkiopart4.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 7304 "sipkiopart4.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 7307 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7310 "sipkiopart4.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7313 "sipkiopart4.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7316 "sipkiopart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 7319 "sipkiopart4.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 7350 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 7353 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 7356 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 7359 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 7362 "sipkiopart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7365 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 7368 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 7371 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 7374 "sipkiopart4.cpp"


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

    {
        KIO::filesize_t a0;
        KIO::FileJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bo",&sipSelf,sipType_KIO_FileJob,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->read(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_FileJob,sipName_read);

    return NULL;
}


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

    {
        const QByteArray * a0;
        int a0State = 0;
        KIO::FileJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KIO_FileJob,&sipCpp,sipType_QByteArray,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->write(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::FileJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KIO_FileJob,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->close();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::filesize_t a0;
        KIO::FileJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bo",&sipSelf,sipType_KIO_FileJob,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->seek(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_FileJob,sipName_seek);

    return NULL;
}


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

    {
        KIO::FileJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KIO_FileJob,&sipCpp))
        {
            KIO::filesize_t sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->size();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLongLong(sipRes);
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KIO_FileJob)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KIO_SimpleJob)->ctd_cast((KIO::SimpleJob *)(KIO::FileJob *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    delete reinterpret_cast<KIO::FileJob *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


static PyMethodDef methods_KIO_FileJob[] = {
    {SIP_MLNAME_CAST(sipName_close), meth_KIO_FileJob_close, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_read), meth_KIO_FileJob_read, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_seek), meth_KIO_FileJob_seek, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_size), meth_KIO_FileJob_size, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_write), meth_KIO_FileJob_write, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KIO_FileJob[] = {
    {"position(KIO::Job *,KIO::filesize_t)", 0},
    {"written(KIO::Job *,KIO::filesize_t)", 0},
    {"open(KIO::Job *)", 0},
    {"mimetype(KIO::Job *,const QString&)", 0},
    {"redirection(KIO::Job *,const KUrl&)", 0},
    {"data(KIO::Job *,const QByteArray&)", 0},
    {"close(KIO::Job *)", &methods_KIO_FileJob[0]},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_kio_KIO_FileJob = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIO__FileJob,
        {0}
    },
    sipNameNr_FileJob,
    -1,
    -1,
    {95, 255, 0},
    supers_KIO_FileJob,
    0,
    5, methods_KIO_FileJob,
    0, 0,
    0, 0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_FileJob,
    release_KIO_FileJob,
    cast_KIO_FileJob,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KIO::FileJob::staticMetaObject,
    0,
    pyqt4_signals_KIO_FileJob
};

#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/directorysizejob.sip"
#include <directorysizejob.h>
#line 7625 "sipkiopart4.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 7629 "sipkiopart4.cpp"
#line 43 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 7632 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 7635 "sipkiopart4.cpp"
#line 186 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/global.sip"
#include<qmap.h>
#line 7638 "sipkiopart4.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 7645 "sipkiopart4.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 7648 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 7651 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 7654 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 7657 "sipkiopart4.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 7660 "sipkiopart4.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/jobuidelegate.sip"
#include <jobuidelegate.h>
#line 7663 "sipkiopart4.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 7716 "sipkiopart4.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 7719 "sipkiopart4.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 7722 "sipkiopart4.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 7725 "sipkiopart4.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 7728 "sipkiopart4.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 7731 "sipkiopart4.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 7734 "sipkiopart4.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 7737 "sipkiopart4.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 7740 "sipkiopart4.cpp"
#line 321 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 7743 "sipkiopart4.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 7746 "sipkiopart4.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 7749 "sipkiopart4.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 7752 "sipkiopart4.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 7755 "sipkiopart4.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 7758 "sipkiopart4.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 7761 "sipkiopart4.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 7764 "sipkiopart4.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 7767 "sipkiopart4.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 7782 "sipkiopart4.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 7785 "sipkiopart4.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 7788 "sipkiopart4.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 7791 "sipkiopart4.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 7794 "sipkiopart4.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 7797 "sipkiopart4.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 7800 "sipkiopart4.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 7803 "sipkiopart4.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 7806 "sipkiopart4.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 7809 "sipkiopart4.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 7812 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7815 "sipkiopart4.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7818 "sipkiopart4.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7821 "sipkiopart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 7824 "sipkiopart4.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 7855 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 7858 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 7861 "sipkiopart4.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 7864 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 7867 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 7870 "sipkiopart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7873 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 7876 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 7879 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 7882 "sipkiopart4.cpp"


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

    {
        KIO::DirectorySizeJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KIO_DirectorySizeJob,&sipCpp))
        {
            KIO::filesize_t sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->totalSize();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLongLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KIO::DirectorySizeJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KIO_DirectorySizeJob,&sipCpp))
        {
            KIO::filesize_t sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->totalFiles();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLongLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KIO::DirectorySizeJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KIO_DirectorySizeJob,&sipCpp))
        {
            KIO::filesize_t sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->totalSubdirs();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLongLong(sipRes);
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KIO_DirectorySizeJob)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KIO_Job)->ctd_cast((KIO::Job *)(KIO::DirectorySizeJob *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    delete reinterpret_cast<KIO::DirectorySizeJob *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


static PyMethodDef methods_KIO_DirectorySizeJob[] = {
    {SIP_MLNAME_CAST(sipName_totalFiles), meth_KIO_DirectorySizeJob_totalFiles, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_totalSize), meth_KIO_DirectorySizeJob_totalSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_totalSubdirs), meth_KIO_DirectorySizeJob_totalSubdirs, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kio_KIO_DirectorySizeJob = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIO__DirectorySizeJob,
        {0}
    },
    sipNameNr_DirectorySizeJob,
    -1,
    -1,
    {95, 255, 0},
    supers_KIO_DirectorySizeJob,
    0,
    3, methods_KIO_DirectorySizeJob,
    0, 0,
    0, 0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_DirectorySizeJob,
    release_KIO_DirectorySizeJob,
    cast_KIO_DirectorySizeJob,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KIO::DirectorySizeJob::staticMetaObject,
    0,
    0
};

#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/deletejob.sip"
#include <deletejob.h>
#line 8062 "sipkiopart4.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 8066 "sipkiopart4.cpp"
#line 43 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 8069 "sipkiopart4.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 8072 "sipkiopart4.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 8075 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 8078 "sipkiopart4.cpp"
#line 186 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/global.sip"
#include<qmap.h>
#line 8081 "sipkiopart4.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 8088 "sipkiopart4.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 8091 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 8094 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 8097 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 8100 "sipkiopart4.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/jobuidelegate.sip"
#include <jobuidelegate.h>
#line 8103 "sipkiopart4.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 8156 "sipkiopart4.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 8159 "sipkiopart4.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 8162 "sipkiopart4.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 8165 "sipkiopart4.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 8168 "sipkiopart4.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 8171 "sipkiopart4.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 8174 "sipkiopart4.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 8177 "sipkiopart4.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 8180 "sipkiopart4.cpp"
#line 321 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 8183 "sipkiopart4.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 8186 "sipkiopart4.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 8189 "sipkiopart4.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 8192 "sipkiopart4.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 8195 "sipkiopart4.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 8198 "sipkiopart4.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 8201 "sipkiopart4.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 8204 "sipkiopart4.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 8207 "sipkiopart4.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 8222 "sipkiopart4.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 8225 "sipkiopart4.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 8228 "sipkiopart4.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 8231 "sipkiopart4.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 8234 "sipkiopart4.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 8237 "sipkiopart4.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 8240 "sipkiopart4.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 8243 "sipkiopart4.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 8246 "sipkiopart4.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 8249 "sipkiopart4.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 8252 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8255 "sipkiopart4.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8258 "sipkiopart4.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8261 "sipkiopart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 8264 "sipkiopart4.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 8295 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 8298 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 8301 "sipkiopart4.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 8304 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 8307 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 8310 "sipkiopart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8313 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 8316 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 8319 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 8322 "sipkiopart4.cpp"


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

    {
        KIO::DeleteJob *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl::List(sipCpp->urls());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    if (targetType == sipType_KIO_DeleteJob)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KIO_Job)->ctd_cast((KIO::Job *)(KIO::DeleteJob *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    delete reinterpret_cast<KIO::DeleteJob *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


static PyMethodDef methods_KIO_DeleteJob[] = {
    {SIP_MLNAME_CAST(sipName_urls), meth_KIO_DeleteJob_urls, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KIO_DeleteJob[] = {
    {"deleting(KIO::Job *,const KUrl&)", 0},
    {"processedDirs(KIO::Job *,unsigned long)", 0},
    {"processedFiles(KIO::Job *,unsigned long)", 0},
    {"totalDirs(KJob *,unsigned long)", 0},
    {"totalFiles(KJob *,unsigned long)", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_kio_KIO_DeleteJob = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIO__DeleteJob,
        {0}
    },
    sipNameNr_DeleteJob,
    -1,
    -1,
    {95, 255, 0},
    supers_KIO_DeleteJob,
    0,
    1, methods_KIO_DeleteJob,
    0, 0,
    0, 0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_DeleteJob,
    release_KIO_DeleteJob,
    cast_KIO_DeleteJob,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KIO::DeleteJob::staticMetaObject,
    0,
    pyqt4_signals_KIO_DeleteJob
};

#line 160 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 8457 "sipkiopart4.cpp"

#line 186 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/global.sip"
#include<qmap.h>
#line 8461 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 8464 "sipkiopart4.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 8467 "sipkiopart4.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 8470 "sipkiopart4.cpp"
#line 43 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 8473 "sipkiopart4.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 8476 "sipkiopart4.cpp"
#line 321 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 8479 "sipkiopart4.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 8486 "sipkiopart4.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 8489 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 8492 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 8495 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 8498 "sipkiopart4.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/jobuidelegate.sip"
#include <jobuidelegate.h>
#line 8501 "sipkiopart4.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 8554 "sipkiopart4.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 8557 "sipkiopart4.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 8560 "sipkiopart4.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 8563 "sipkiopart4.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 8566 "sipkiopart4.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 8569 "sipkiopart4.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 8572 "sipkiopart4.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 8575 "sipkiopart4.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 8578 "sipkiopart4.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 8581 "sipkiopart4.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 8584 "sipkiopart4.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 8587 "sipkiopart4.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 8590 "sipkiopart4.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 8593 "sipkiopart4.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 8596 "sipkiopart4.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 8599 "sipkiopart4.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 8602 "sipkiopart4.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 8617 "sipkiopart4.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 8620 "sipkiopart4.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 8623 "sipkiopart4.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 8626 "sipkiopart4.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 8629 "sipkiopart4.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 8632 "sipkiopart4.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 8635 "sipkiopart4.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 8638 "sipkiopart4.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 8641 "sipkiopart4.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 8644 "sipkiopart4.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 8647 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8650 "sipkiopart4.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8653 "sipkiopart4.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8656 "sipkiopart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 8659 "sipkiopart4.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 8690 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 8693 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 8696 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 8699 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 8702 "sipkiopart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8705 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 8708 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 8711 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 8714 "sipkiopart4.cpp"


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

    {
        const QDateTime * a0;
        int a0State = 0;
        KIO::TransferJob *sipCpp;

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::TransferJob *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isErrorPage();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        KIO::TransferJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_KIO_TransferJob,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAsyncDataEnabled(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_TransferJob,sipName_setAsyncDataEnabled);

    return NULL;
}


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

    {
        const QByteArray * a0;
        int a0State = 0;
        KIO::TransferJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KIO_TransferJob,&sipCpp,sipType_QByteArray,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sendAsyncData(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        KIO::TransferJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_KIO_TransferJob,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setReportDataSent(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_TransferJob,sipName_setReportDataSent);

    return NULL;
}


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

    {
        KIO::TransferJob *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->reportDataSent();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KIO::TransferJob *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KIO::filesize_t a0;
        KIO::TransferJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bo",&sipSelf,sipType_KIO_TransferJob,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTotalSize(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_TransferJob,sipName_setTotalSize);

    return NULL;
}


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

    if (targetType == sipType_KIO_TransferJob)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KIO_SimpleJob)->ctd_cast((KIO::SimpleJob *)(KIO::TransferJob *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    delete reinterpret_cast<KIO::TransferJob *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


static PyMethodDef methods_KIO_TransferJob[] = {
    {SIP_MLNAME_CAST(sipName_isErrorPage), meth_KIO_TransferJob_isErrorPage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mimetype), meth_KIO_TransferJob_mimetype, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_reportDataSent), meth_KIO_TransferJob_reportDataSent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sendAsyncData), meth_KIO_TransferJob_sendAsyncData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAsyncDataEnabled), meth_KIO_TransferJob_setAsyncDataEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setModificationTime), meth_KIO_TransferJob_setModificationTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setReportDataSent), meth_KIO_TransferJob_setReportDataSent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTotalSize), meth_KIO_TransferJob_setTotalSize, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KIO_TransferJob[] = {
    {"canResume(KIO::Job *,KIO::filesize_t)", 0},
    {"permanentRedirection(KIO::Job *,const KUrl&,const KUrl&)", 0},
    {"redirection(KIO::Job *,const KUrl&)", 0},
    {"dataReq(KIO::Job *,QByteArray&)", 0},
    {"data(KIO::Job *,const QByteArray&)", 0},
    {"mimetype(KIO::Job *,const QString&)", &methods_KIO_TransferJob[1]},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_kio_KIO_TransferJob = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIO__TransferJob,
        {0}
    },
    sipNameNr_TransferJob,
    -1,
    -1,
    {95, 255, 0},
    supers_KIO_TransferJob,
    0,
    8, methods_KIO_TransferJob,
    0, 0,
    0, 0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_TransferJob,
    release_KIO_TransferJob,
    cast_KIO_TransferJob,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KIO::TransferJob::staticMetaObject,
    0,
    pyqt4_signals_KIO_TransferJob
};

#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/davjob.sip"
#include <davjob.h>
#line 9052 "sipkiopart4.cpp"

#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 9056 "sipkiopart4.cpp"
#line 221 "/usr/local/share/py-sip/QtXml/qdom.sip"
#include <qdom.h>
#line 9059 "sipkiopart4.cpp"
#line 186 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/global.sip"
#include<qmap.h>
#line 9062 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 9065 "sipkiopart4.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 9068 "sipkiopart4.cpp"
#line 43 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 9071 "sipkiopart4.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 9074 "sipkiopart4.cpp"
#line 321 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 9077 "sipkiopart4.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 9084 "sipkiopart4.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 9087 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 9090 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 9093 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 9096 "sipkiopart4.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/jobuidelegate.sip"
#include <jobuidelegate.h>
#line 9099 "sipkiopart4.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 9152 "sipkiopart4.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 9155 "sipkiopart4.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 9158 "sipkiopart4.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 9161 "sipkiopart4.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 9164 "sipkiopart4.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 9167 "sipkiopart4.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 9170 "sipkiopart4.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 9173 "sipkiopart4.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 9176 "sipkiopart4.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 9179 "sipkiopart4.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 9182 "sipkiopart4.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 9185 "sipkiopart4.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 9188 "sipkiopart4.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 9191 "sipkiopart4.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 9194 "sipkiopart4.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 9197 "sipkiopart4.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 9200 "sipkiopart4.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 9215 "sipkiopart4.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 9218 "sipkiopart4.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 9221 "sipkiopart4.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 9224 "sipkiopart4.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 9227 "sipkiopart4.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 9230 "sipkiopart4.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 9233 "sipkiopart4.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 9236 "sipkiopart4.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 9239 "sipkiopart4.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 9242 "sipkiopart4.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 9245 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9248 "sipkiopart4.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9251 "sipkiopart4.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9254 "sipkiopart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 9257 "sipkiopart4.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 9288 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 9291 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 9294 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 9297 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 9300 "sipkiopart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9303 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 9306 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 9309 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 9312 "sipkiopart4.cpp"


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

    {
        KIO::DavJob *sipCpp;

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

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

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

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

    return NULL;
}


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

    if (targetType == sipType_KIO_DavJob)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KIO_TransferJob)->ctd_cast((KIO::TransferJob *)(KIO::DavJob *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    delete reinterpret_cast<KIO::DavJob *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


static PyMethodDef methods_KIO_DavJob[] = {
    {SIP_MLNAME_CAST(sipName_response), meth_KIO_DavJob_response, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kio_KIO_DavJob = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIO__DavJob,
        {0}
    },
    sipNameNr_DavJob,
    -1,
    -1,
    {95, 255, 0},
    supers_KIO_DavJob,
    0,
    1, methods_KIO_DavJob,
    0, 0,
    0, 0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_DavJob,
    release_KIO_DavJob,
    cast_KIO_DavJob,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KIO::DavJob::staticMetaObject,
    0,
    0
};

#line 50 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/copyjob.sip"
#include <copyjob.h>
#line 9436 "sipkiopart4.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 9440 "sipkiopart4.cpp"
#line 43 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 9443 "sipkiopart4.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 9446 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 9449 "sipkiopart4.cpp"
#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 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.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 9465 "sipkiopart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfilemetainfoitem.sip"
#include <kfilemetainfoitem.h>
#line 9468 "sipkiopart4.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/udsentry.sip"
#include <udsentry.h>
#line 9471 "sipkiopart4.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/copyjob.sip"
#include <copyjob.h>
#line 9474 "sipkiopart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kdatatool.sip"
#include <kdatatool.h>
#line 9477 "sipkiopart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/kfileitem.sip"
#include <kfileitem.h>
#line 9480 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 9483 "sipkiopart4.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 9486 "sipkiopart4.cpp"
#line 186 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/global.sip"
#include<qmap.h>
#line 9489 "sipkiopart4.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 9496 "sipkiopart4.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 9499 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 9502 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 9505 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 9508 "sipkiopart4.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/jobuidelegate.sip"
#include <jobuidelegate.h>
#line 9511 "sipkiopart4.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 9564 "sipkiopart4.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 9567 "sipkiopart4.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 9570 "sipkiopart4.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 9573 "sipkiopart4.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 9576 "sipkiopart4.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 9579 "sipkiopart4.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 9582 "sipkiopart4.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 9585 "sipkiopart4.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 9588 "sipkiopart4.cpp"
#line 321 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 9591 "sipkiopart4.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 9594 "sipkiopart4.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 9597 "sipkiopart4.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 9600 "sipkiopart4.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 9603 "sipkiopart4.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 9606 "sipkiopart4.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 9609 "sipkiopart4.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 9612 "sipkiopart4.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 9615 "sipkiopart4.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 9630 "sipkiopart4.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 9633 "sipkiopart4.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 9636 "sipkiopart4.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 9639 "sipkiopart4.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 9642 "sipkiopart4.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 9645 "sipkiopart4.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 9648 "sipkiopart4.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 9651 "sipkiopart4.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 9654 "sipkiopart4.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 9657 "sipkiopart4.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 9660 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9663 "sipkiopart4.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9666 "sipkiopart4.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9669 "sipkiopart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 9672 "sipkiopart4.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 9703 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 9706 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 9709 "sipkiopart4.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 9712 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 9715 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 9718 "sipkiopart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9721 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 9724 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 9727 "sipkiopart4.cpp"


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

    {
        KIO::CopyJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KIO_CopyJob,&sipCpp))
        {
            KIO::CopyJob::CopyMode sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->operationMode();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KIO_CopyJob_CopyMode);
        }
    }

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

    return NULL;
}


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

    {
        KIO::CopyJob *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl::List(sipCpp->srcUrls());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KIO::CopyJob *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(sipCpp->destUrl());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        bool a0;
        KIO::CopyJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_KIO_CopyJob,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDefaultPermissions(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_CopyJob,sipName_setDefaultPermissions);

    return NULL;
}


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

    {
        bool a0;
        KIO::CopyJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_KIO_CopyJob,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAutoSkip(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_CopyJob,sipName_setAutoSkip);

    return NULL;
}


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

    {
        bool a0;
        KIO::CopyJob *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_KIO_CopyJob,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setWriteIntoExistingDirectories(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_CopyJob,sipName_setWriteIntoExistingDirectories);

    return NULL;
}


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

    {
        KIO::CopyJob *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KIO::CopyJob::doSuspend() : sipCpp->doSuspend());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KIO_CopyJob)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KIO_Job)->ctd_cast((KIO::Job *)(KIO::CopyJob *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    delete reinterpret_cast<KIO::CopyJob *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


static PyMethodDef methods_KIO_CopyJob[] = {
    {SIP_MLNAME_CAST(sipName_destUrl), meth_KIO_CopyJob_destUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doSuspend), meth_KIO_CopyJob_doSuspend, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_operationMode), meth_KIO_CopyJob_operationMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAutoSkip), meth_KIO_CopyJob_setAutoSkip, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefaultPermissions), meth_KIO_CopyJob_setDefaultPermissions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setWriteIntoExistingDirectories), meth_KIO_CopyJob_setWriteIntoExistingDirectories, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_srcUrls), meth_KIO_CopyJob_srcUrls, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KIO_CopyJob[] = {
    {sipName_Copy, KIO::CopyJob::Copy, 106},
    {sipName_Link, KIO::CopyJob::Link, 106},
    {sipName_Move, KIO::CopyJob::Move, 106},
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KIO_CopyJob[] = {
    {"copyingLinkDone(KIO::Job *,const KUrl&,const QString&,const KUrl&)", 0},
    {"copyingDone(KIO::Job *,const KUrl&,const KUrl&,time_t,bool,bool)", 0},
    {"renamed(KIO::Job *,const KUrl&,const KUrl&)", 0},
    {"creatingDir(KIO::Job *,const KUrl&)", 0},
    {"moving(KIO::Job *,const KUrl&,const KUrl&)", 0},
    {"linking(KIO::Job *,const QString&,const KUrl&)", 0},
    {"copying(KIO::Job *,const KUrl&,const KUrl&)", 0},
    {"processedDirs(KIO::Job *,unsigned long)", 0},
    {"processedFiles(KIO::Job *,unsigned long)", 0},
    {"aboutToCreate(KIO::Job *,const QList<KIO::CopyInfo>&)", 0},
    {"totalDirs(KJob *,unsigned long)", 0},
    {"totalFiles(KJob *,unsigned long)", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_kio_KIO_CopyJob = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIO__CopyJob,
        {0}
    },
    sipNameNr_CopyJob,
    -1,
    -1,
    {95, 255, 0},
    supers_KIO_CopyJob,
    0,
    7, methods_KIO_CopyJob,
    3, enummembers_KIO_CopyJob,
    0, 0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_CopyJob,
    release_KIO_CopyJob,
    cast_KIO_CopyJob,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KIO::CopyJob::staticMetaObject,
    0,
    pyqt4_signals_KIO_CopyJob
};

#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/copyjob.sip"
#include <copyjob.h>
#line 10044 "sipkiopart4.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 10048 "sipkiopart4.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 10051 "sipkiopart4.cpp"


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

    return NULL;
}


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

    delete reinterpret_cast<KIO::CopyInfo *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KIO_CopyInfo(void *, const void*);}
static void assign_KIO_CopyInfo(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<KIO::CopyInfo *>(sipDst) = *reinterpret_cast<const KIO::CopyInfo *>(sipSrc);
}


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


extern "C" {static void *init_KIO_CopyInfo(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KIO_CopyInfo(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    KIO::CopyInfo *sipCpp = 0;

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

    if (!sipCpp)
    {
        const KIO::CopyInfo * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_KIO_CopyInfo,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KIO::CopyInfo(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    return sipCpp;
}


extern "C" {static PyObject *varget_KIO_CopyInfo_ctime(void *, PyObject *);}
static PyObject *varget_KIO_CopyInfo_ctime(void *sipSelf, PyObject *)
{
    time_t sipVal;
    KIO::CopyInfo *sipCpp = reinterpret_cast<KIO::CopyInfo *>(sipSelf);

    sipVal = sipCpp->ctime;

    return PyLong_FromLong(sipVal);
}


extern "C" {static int varset_KIO_CopyInfo_ctime(void *, PyObject *, PyObject *);}
static int varset_KIO_CopyInfo_ctime(void *sipSelf, PyObject *sipPy, PyObject *)
{
    time_t sipVal;
    KIO::CopyInfo *sipCpp = reinterpret_cast<KIO::CopyInfo *>(sipSelf);

    sipVal = PyLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->ctime = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_KIO_CopyInfo_linkDest(void *, PyObject *);}
static PyObject *varget_KIO_CopyInfo_linkDest(void *sipSelf, PyObject *)
{
    QString *sipVal;
    KIO::CopyInfo *sipCpp = reinterpret_cast<KIO::CopyInfo *>(sipSelf);

    sipVal = &sipCpp->linkDest;

    return sipConvertFromType(sipVal,sipType_QString, NULL);
}


extern "C" {static int varset_KIO_CopyInfo_linkDest(void *, PyObject *, PyObject *);}
static int varset_KIO_CopyInfo_linkDest(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString *sipVal;
    KIO::CopyInfo *sipCpp = reinterpret_cast<KIO::CopyInfo *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->linkDest = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KIO_CopyInfo_mtime(void *, PyObject *);}
static PyObject *varget_KIO_CopyInfo_mtime(void *sipSelf, PyObject *)
{
    time_t sipVal;
    KIO::CopyInfo *sipCpp = reinterpret_cast<KIO::CopyInfo *>(sipSelf);

    sipVal = sipCpp->mtime;

    return PyLong_FromLong(sipVal);
}


extern "C" {static int varset_KIO_CopyInfo_mtime(void *, PyObject *, PyObject *);}
static int varset_KIO_CopyInfo_mtime(void *sipSelf, PyObject *sipPy, PyObject *)
{
    time_t sipVal;
    KIO::CopyInfo *sipCpp = reinterpret_cast<KIO::CopyInfo *>(sipSelf);

    sipVal = PyLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->mtime = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_KIO_CopyInfo_permissions(void *, PyObject *);}
static PyObject *varget_KIO_CopyInfo_permissions(void *sipSelf, PyObject *)
{
    int sipVal;
    KIO::CopyInfo *sipCpp = reinterpret_cast<KIO::CopyInfo *>(sipSelf);

    sipVal = sipCpp->permissions;

    return SIPLong_FromLong(sipVal);
}


extern "C" {static int varset_KIO_CopyInfo_permissions(void *, PyObject *, PyObject *);}
static int varset_KIO_CopyInfo_permissions(void *sipSelf, PyObject *sipPy, PyObject *)
{
    int sipVal;
    KIO::CopyInfo *sipCpp = reinterpret_cast<KIO::CopyInfo *>(sipSelf);

    sipVal = (int)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->permissions = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_KIO_CopyInfo_size(void *, PyObject *);}
static PyObject *varget_KIO_CopyInfo_size(void *sipSelf, PyObject *)
{
    KIO::filesize_t sipVal;
    KIO::CopyInfo *sipCpp = reinterpret_cast<KIO::CopyInfo *>(sipSelf);

    sipVal = sipCpp->size;

    return PyLong_FromUnsignedLongLong(sipVal);
}


extern "C" {static int varset_KIO_CopyInfo_size(void *, PyObject *, PyObject *);}
static int varset_KIO_CopyInfo_size(void *sipSelf, PyObject *sipPy, PyObject *)
{
    KIO::filesize_t sipVal;
    KIO::CopyInfo *sipCpp = reinterpret_cast<KIO::CopyInfo *>(sipSelf);

    sipVal = PyLong_AsUnsignedLongLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->size = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_KIO_CopyInfo_uDest(void *, PyObject *);}
static PyObject *varget_KIO_CopyInfo_uDest(void *sipSelf, PyObject *)
{
    KUrl *sipVal;
    KIO::CopyInfo *sipCpp = reinterpret_cast<KIO::CopyInfo *>(sipSelf);

    sipVal = &sipCpp->uDest;

    return sipConvertFromType(sipVal,sipType_KUrl, NULL);
}


extern "C" {static int varset_KIO_CopyInfo_uDest(void *, PyObject *, PyObject *);}
static int varset_KIO_CopyInfo_uDest(void *sipSelf, PyObject *sipPy, PyObject *)
{
    KUrl *sipVal;
    KIO::CopyInfo *sipCpp = reinterpret_cast<KIO::CopyInfo *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast<KUrl *>(sipForceConvertToType(sipPy,sipType_KUrl,NULL,SIP_NOT_NONE,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->uDest = *sipVal;

    return 0;
}


extern "C" {static PyObject *varget_KIO_CopyInfo_uSource(void *, PyObject *);}
static PyObject *varget_KIO_CopyInfo_uSource(void *sipSelf, PyObject *)
{
    KUrl *sipVal;
    KIO::CopyInfo *sipCpp = reinterpret_cast<KIO::CopyInfo *>(sipSelf);

    sipVal = &sipCpp->uSource;

    return sipConvertFromType(sipVal,sipType_KUrl, NULL);
}


extern "C" {static int varset_KIO_CopyInfo_uSource(void *, PyObject *, PyObject *);}
static int varset_KIO_CopyInfo_uSource(void *sipSelf, PyObject *sipPy, PyObject *)
{
    KUrl *sipVal;
    KIO::CopyInfo *sipCpp = reinterpret_cast<KIO::CopyInfo *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast<KUrl *>(sipForceConvertToType(sipPy,sipType_KUrl,NULL,SIP_NOT_NONE,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->uSource = *sipVal;

    return 0;
}

sipVariableDef variables_KIO_CopyInfo[] = {
    {sipName_ctime, varget_KIO_CopyInfo_ctime, varset_KIO_CopyInfo_ctime, 0},
    {sipName_linkDest, varget_KIO_CopyInfo_linkDest, varset_KIO_CopyInfo_linkDest, 0},
    {sipName_mtime, varget_KIO_CopyInfo_mtime, varset_KIO_CopyInfo_mtime, 0},
    {sipName_permissions, varget_KIO_CopyInfo_permissions, varset_KIO_CopyInfo_permissions, 0},
    {sipName_size, varget_KIO_CopyInfo_size, varset_KIO_CopyInfo_size, 0},
    {sipName_uDest, varget_KIO_CopyInfo_uDest, varset_KIO_CopyInfo_uDest, 0},
    {sipName_uSource, varget_KIO_CopyInfo_uSource, varset_KIO_CopyInfo_uSource, 0},
};


pyqt4ClassTypeDef pyqt4Type_kio_KIO_CopyInfo = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KIO__CopyInfo,
        {0}
    },
    sipNameNr_CopyInfo,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {95, 255, 0},
    0,
    0,
    0, 0,
    0, 0,
    7, variables_KIO_CopyInfo,
    init_KIO_CopyInfo,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_CopyInfo,
    release_KIO_CopyInfo,
    cast_KIO_CopyInfo,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_KIO_CopyInfo,
    0,
    0,
    0
};

#line 58 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/connection.sip"
#include <connection.h>
#line 10394 "sipkiopart4.cpp"

#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 10398 "sipkiopart4.cpp"
#line 30 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/connection.sip"
#include <connection.h>
#line 10401 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 10404 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10407 "sipkiopart4.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10410 "sipkiopart4.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10413 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 10416 "sipkiopart4.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 10447 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 10450 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 10453 "sipkiopart4.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 10456 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 10459 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 10462 "sipkiopart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10465 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 10468 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 10471 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 10474 "sipkiopart4.cpp"


class sipKIO_ConnectionServer : public KIO::ConnectionServer
{
public:
    sipKIO_ConnectionServer(QObject *);
    virtual ~sipKIO_ConnectionServer();

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

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

    char sipPyMethods[7];
};

sipKIO_ConnectionServer::sipKIO_ConnectionServer(QObject *a0): KIO::ConnectionServer(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKIO_ConnectionServer::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KIO_ConnectionServer);
}

int sipKIO_ConnectionServer::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KIO::ConnectionServer::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KIO_ConnectionServer,_c,_id,_a);

    return _id;
}

void *sipKIO_ConnectionServer::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast && sip_kio_qt_metacast(sipPySelf,sipType_KIO_ConnectionServer,_clname)) ? this : KIO::ConnectionServer::qt_metacast(_clname);
}

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

bool sipKIO_ConnectionServer::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[1],sipPySelf,NULL,sipName_eventFilter);

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKIO_ConnectionServer::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[5],sipPySelf,NULL,sipName_connectNotify);

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

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

void sipKIO_ConnectionServer::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[6],sipPySelf,NULL,sipName_disconnectNotify);

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

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

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

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

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

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

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

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


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

    {
        char * a0;
        sipKIO_ConnectionServer *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KIO_ConnectionServer,&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 10727 "sipkiopart4.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipKIO_ConnectionServer *sipCpp;

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipKIO_ConnectionServer *sipCpp;

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKIO_ConnectionServer *sipCpp;

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

    return NULL;
}


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

    {
        char * a0;
        sipKIO_ConnectionServer *sipCpp;

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

    return NULL;
}


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

    {
        char * a0;
        sipKIO_ConnectionServer *sipCpp;

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

    return NULL;
}


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

    {
        KIO::ConnectionServer *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KIO_ConnectionServer,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->listenForRemote();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::ConnectionServer *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isListening();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KIO::ConnectionServer *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KIO_ConnectionServer,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->close();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::ConnectionServer *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KIO::ConnectionServer *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KIO_ConnectionServer,&sipCpp))
        {
            KIO::Connection *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->nextPendingConnection();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KIO::Connection * a0;
        KIO::ConnectionServer *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KIO_ConnectionServer,&sipCpp,sipType_KIO_Connection,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setNextPendingConnection(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_ConnectionServer,sipName_setNextPendingConnection);

    return NULL;
}


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

    if (targetType == sipType_KIO_ConnectionServer)
        return ptr;

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

    return NULL;
}


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

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKIO_ConnectionServer *>(sipCppV);
    else
        delete reinterpret_cast<KIO::ConnectionServer *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

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

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

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


static PyMethodDef methods_KIO_ConnectionServer[] = {
    {SIP_MLNAME_CAST(sipName_address), meth_KIO_ConnectionServer_address, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KIO_ConnectionServer_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_close), meth_KIO_ConnectionServer_close, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KIO_ConnectionServer_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KIO_ConnectionServer_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KIO_ConnectionServer_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isListening), meth_KIO_ConnectionServer_isListening, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_listenForRemote), meth_KIO_ConnectionServer_listenForRemote, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_nextPendingConnection), meth_KIO_ConnectionServer_nextPendingConnection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KIO_ConnectionServer_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setNextPendingConnection), meth_KIO_ConnectionServer_setNextPendingConnection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KIO_ConnectionServer_timerEvent, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KIO_ConnectionServer[] = {
    {"newConnection()", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_kio_KIO_ConnectionServer = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIO__ConnectionServer,
        {0}
    },
    sipNameNr_ConnectionServer,
    -1,
    -1,
    {95, 255, 0},
    supers_KIO_ConnectionServer,
    0,
    12, methods_KIO_ConnectionServer,
    0, 0,
    0, 0,
    init_KIO_ConnectionServer,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_ConnectionServer,
    release_KIO_ConnectionServer,
    cast_KIO_ConnectionServer,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KIO::ConnectionServer::staticMetaObject,
    0,
    pyqt4_signals_KIO_ConnectionServer
};

#line 30 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/connection.sip"
#include <connection.h>
#line 11182 "sipkiopart4.cpp"

#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 11186 "sipkiopart4.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 11189 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 11192 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11195 "sipkiopart4.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11198 "sipkiopart4.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11201 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 11204 "sipkiopart4.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 11235 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 11238 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 11241 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 11244 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 11247 "sipkiopart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11250 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 11253 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 11256 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 11259 "sipkiopart4.cpp"


class sipKIO_Connection : public KIO::Connection
{
public:
    sipKIO_Connection(QObject *);
    virtual ~sipKIO_Connection();

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

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

    char sipPyMethods[7];
};

sipKIO_Connection::sipKIO_Connection(QObject *a0): KIO::Connection(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKIO_Connection::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KIO_Connection);
}

int sipKIO_Connection::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KIO::Connection::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KIO_Connection,_c,_id,_a);

    return _id;
}

void *sipKIO_Connection::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast && sip_kio_qt_metacast(sipPySelf,sipType_KIO_Connection,_clname)) ? this : KIO::Connection::qt_metacast(_clname);
}

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

bool sipKIO_Connection::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[1],sipPySelf,NULL,sipName_eventFilter);

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

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

void sipKIO_Connection::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[5],sipPySelf,NULL,sipName_connectNotify);

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

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

void sipKIO_Connection::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[6],sipPySelf,NULL,sipName_disconnectNotify);

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

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

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

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

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

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

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

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


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

    {
        char * a0;
        sipKIO_Connection *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KIO_Connection,&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 11512 "sipkiopart4.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipKIO_Connection *sipCpp;

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipKIO_Connection *sipCpp;

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKIO_Connection *sipCpp;

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

    return NULL;
}


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

    {
        char * a0;
        sipKIO_Connection *sipCpp;

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

    return NULL;
}


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

    {
        char * a0;
        sipKIO_Connection *sipCpp;

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        KIO::Connection *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KIO_Connection,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->connectToRemote(*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_Connection,sipName_connectToRemote);

    return NULL;
}


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

    {
        KIO::Connection *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KIO_Connection,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->close();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::Connection *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KIO_Connection,&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_Connection,sipName_errorString);

    return NULL;
}


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

    {
        KIO::Connection *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isConnected();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KIO::Connection *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->inited();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        const QByteArray& a1def = QByteArray();
        const QByteArray * a1 = &a1def;
        int a1State = 0;
        KIO::Connection *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bi|J1",&sipSelf,sipType_KIO_Connection,&sipCpp,&a0,sipType_QByteArray,&a1,&a1State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->send(a0,*a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QByteArray *>(a1),sipType_QByteArray,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        const QByteArray * a1;
        int a1State = 0;
        KIO::Connection *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BiJ1",&sipSelf,sipType_KIO_Connection,&sipCpp,&a0,sipType_QByteArray,&a1,&a1State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sendnow(a0,*a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QByteArray *>(a1),sipType_QByteArray,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KIO::Connection *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasTaskAvailable();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        int a0 = 30000;
        KIO::Connection *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B|i",&sipSelf,sipType_KIO_Connection,&sipCpp,&a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KIO::Connection *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KIO_Connection,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->suspend();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::Connection *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KIO_Connection,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->resume();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::Connection *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->suspended();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KIO_Connection)
        return ptr;

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

    return NULL;
}


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

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKIO_Connection *>(sipCppV);
    else
        delete reinterpret_cast<KIO::Connection *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

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

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

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


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


static PyMethodDef methods_KIO_Connection[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KIO_Connection_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_close), meth_KIO_Connection_close, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KIO_Connection_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectToRemote), meth_KIO_Connection_connectToRemote, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KIO_Connection_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KIO_Connection_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_errorString), meth_KIO_Connection_errorString, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasTaskAvailable), meth_KIO_Connection_hasTaskAvailable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inited), meth_KIO_Connection_inited, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isConnected), meth_KIO_Connection_isConnected, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KIO_Connection_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resume), meth_KIO_Connection_resume, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_send), meth_KIO_Connection_send, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sendnow), meth_KIO_Connection_sendnow, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_suspend), meth_KIO_Connection_suspend, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_suspended), meth_KIO_Connection_suspended, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KIO_Connection_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_waitForIncomingTask), meth_KIO_Connection_waitForIncomingTask, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KIO_Connection[] = {
    {"readyRead()", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_kio_KIO_Connection = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIO__Connection,
        {0}
    },
    sipNameNr_Connection,
    -1,
    -1,
    {95, 255, 0},
    supers_KIO_Connection,
    0,
    18, methods_KIO_Connection,
    0, 0,
    0, 0,
    init_KIO_Connection,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_Connection,
    release_KIO_Connection,
    cast_KIO_Connection,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KIO::Connection::staticMetaObject,
    0,
    pyqt4_signals_KIO_Connection
};

#line 43 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 12149 "sipkiopart4.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 12153 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 12156 "sipkiopart4.cpp"
#line 186 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/global.sip"
#include<qmap.h>
#line 12159 "sipkiopart4.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 12166 "sipkiopart4.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 12169 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 12172 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 12175 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 12178 "sipkiopart4.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 12181 "sipkiopart4.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/jobuidelegate.sip"
#include <jobuidelegate.h>
#line 12184 "sipkiopart4.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 12237 "sipkiopart4.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 12240 "sipkiopart4.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 12243 "sipkiopart4.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 12246 "sipkiopart4.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 12249 "sipkiopart4.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 12252 "sipkiopart4.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 12255 "sipkiopart4.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 12258 "sipkiopart4.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 12261 "sipkiopart4.cpp"
#line 321 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 12264 "sipkiopart4.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 12267 "sipkiopart4.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 12270 "sipkiopart4.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 12273 "sipkiopart4.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 12276 "sipkiopart4.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 12279 "sipkiopart4.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 12282 "sipkiopart4.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 12285 "sipkiopart4.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 12288 "sipkiopart4.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 12303 "sipkiopart4.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 12306 "sipkiopart4.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 12309 "sipkiopart4.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 12312 "sipkiopart4.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 12315 "sipkiopart4.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 12318 "sipkiopart4.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 12321 "sipkiopart4.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 12324 "sipkiopart4.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 12327 "sipkiopart4.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 12330 "sipkiopart4.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 12333 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12336 "sipkiopart4.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12339 "sipkiopart4.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12342 "sipkiopart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 12345 "sipkiopart4.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 12376 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 12379 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 12382 "sipkiopart4.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 12385 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 12388 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 12391 "sipkiopart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12394 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 12397 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 12400 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 12403 "sipkiopart4.cpp"


class sipKIO_Job : public KIO::Job
{
public:
    sipKIO_Job();
    virtual ~sipKIO_Job();

    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_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 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&);
    bool sipProtectVirt_doKill(bool);
    bool sipProtectVirt_doSuspend(bool);
    bool sipProtectVirt_doResume(bool);
    bool sipProtectVirt_addSubjob(bool,KJob *);
    bool sipProtectVirt_removeSubjob(bool,KJob *);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool doKill();
    bool doSuspend();
    bool doResume();
    bool addSubjob(KJob *);
    bool removeSubjob(KJob *);
    void slotResult(KJob *);
    void slotInfoMessage(KJob *,const QString&,const QString&);
    void start();
    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:
    sipKIO_Job(const sipKIO_Job &);
    sipKIO_Job &operator = (const sipKIO_Job &);

    char sipPyMethods[16];
};

sipKIO_Job::sipKIO_Job(): KIO::Job(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKIO_Job::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KIO_Job);
}

int sipKIO_Job::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KIO::Job::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kio_qt_metacall(sipPySelf,sipType_KIO_Job,_c,_id,_a);

    return _id;
}

void *sipKIO_Job::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast && sip_kio_qt_metacast(sipPySelf,sipType_KIO_Job,_clname)) ? this : KIO::Job::qt_metacast(_clname);
}

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KIO::Job::doKill();

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KIO::Job::doSuspend();

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

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KIO::Job::doResume();

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

bool sipKIO_Job::addSubjob(KJob *a0)
{
    typedef bool (*sipVH_kdecore_19)(sip_gilstate_t,PyObject *,KJob *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KIO::Job::addSubjob(a0);

    return ((sipVH_kdecore_19)(sipModuleAPI_kio_kdecore->em_virthandlers[19]))(sipGILState,meth,a0);
}

bool sipKIO_Job::removeSubjob(KJob *a0)
{
    typedef bool (*sipVH_kdecore_19)(sip_gilstate_t,PyObject *,KJob *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KIO::Job::removeSubjob(a0);

    return ((sipVH_kdecore_19)(sipModuleAPI_kio_kdecore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKIO_Job::slotResult(KJob *a0)
{
    typedef void (*sipVH_kdecore_18)(sip_gilstate_t,PyObject *,KJob *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_kdecore_18)(sipModuleAPI_kio_kdecore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKIO_Job::slotInfoMessage(KJob *a0,const QString& a1,const QString& a2)
{
    typedef 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_slotInfoMessage);

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

    ((sipVH_kdecore_14)(sipModuleAPI_kio_kdecore->em_virthandlers[14]))(sipGILState,meth,a0,a1,a2);
}

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

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KIO::Job::start();
        return;
    }

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

QString sipKIO_Job::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 KIO::Job::errorString();

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

bool sipKIO_Job::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_kio_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipKIO_Job::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_kio_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

void sipKIO_Job::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_kio_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKIO_Job::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_kio_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKIO_Job::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_kio_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKIO_Job::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_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKIO_Job::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_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

bool sipKIO_Job::sipProtectVirt_doKill(bool sipSelfWasArg)
{
    return (sipSelfWasArg ? KIO::Job::doKill() : doKill());
}

bool sipKIO_Job::sipProtectVirt_doSuspend(bool sipSelfWasArg)
{
    return (sipSelfWasArg ? KIO::Job::doSuspend() : doSuspend());
}

bool sipKIO_Job::sipProtectVirt_doResume(bool sipSelfWasArg)
{
    return (sipSelfWasArg ? KIO::Job::doResume() : doResume());
}

bool sipKIO_Job::sipProtectVirt_addSubjob(bool sipSelfWasArg,KJob *a0)
{
    return (sipSelfWasArg ? KIO::Job::addSubjob(a0) : addSubjob(a0));
}

bool sipKIO_Job::sipProtectVirt_removeSubjob(bool sipSelfWasArg,KJob *a0)
{
    return (sipSelfWasArg ? KIO::Job::removeSubjob(a0) : removeSubjob(a0));
}


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

    {
        char * a0;
        sipKIO_Job *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KIO_Job,&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 12923 "sipkiopart4.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipKIO_Job *sipCpp;

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipKIO_Job *sipCpp;

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKIO_Job *sipCpp;

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

    return NULL;
}


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

    {
        char * a0;
        sipKIO_Job *sipCpp;

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

    return NULL;
}


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

    {
        char * a0;
        sipKIO_Job *sipCpp;

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&sipSelf,sipType_KIO_Job,&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_Job,sipName_setCapabilities);

    return NULL;
}


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

    {
        int a0;
        sipKIO_Job *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pi",&sipSelf,sipType_KIO_Job,&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_Job,sipName_setError);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&sipSelf,sipType_KIO_Job,&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_Job,sipName_setErrorText);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pEo",&sipSelf,sipType_KIO_Job,&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_Job,sipName_setProcessedAmount);

    return NULL;
}


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

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pEo",&sipSelf,sipType_KIO_Job,&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_Job,sipName_setTotalAmount);

    return NULL;
}


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

    {
        unsigned long a0;
        sipKIO_Job *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pm",&sipSelf,sipType_KIO_Job,&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_Job,sipName_setPercent);

    return NULL;
}


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

    {
        sipKIO_Job *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KIO_Job,&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_Job,sipName_emitResult);

    return NULL;
}


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

    {
        qulonglong a0;
        qulonglong a1;
        sipKIO_Job *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"poo",&sipSelf,sipType_KIO_Job,&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_Job,sipName_emitPercent);

    return NULL;
}


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

    {
        unsigned long a0;
        sipKIO_Job *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pm",&sipSelf,sipType_KIO_Job,&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_Job,sipName_emitSpeed);

    return NULL;
}


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

    {
        sipKIO_Job *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KIO_Job,&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_Job,sipName_hasSubjobs);

    return NULL;
}


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

    {
        sipKIO_Job *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KIO_Job,&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_Job,sipName_subjobs);

    return NULL;
}


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

    {
        sipKIO_Job *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KIO_Job,&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_Job,sipName_clearSubjobs);

    return NULL;
}


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

    {
        KJob * a0;
        sipKIO_Job *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KIO_Job,&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_Job,sipName_slotResult);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_Job_slotInfoMessage(PyObject *, PyObject *);}
static PyObject *meth_KIO_Job_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;
        sipKIO_Job *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8J1J1",&sipSelf,sipType_KIO_Job,&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_Job,sipName_slotInfoMessage);

    return NULL;
}


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

    {
        KIO::Job *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KIO_Job,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::Job::start() : 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_Job,sipName_start);

    return NULL;
}


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

    {
        KIO::Job *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KIO_Job,&sipCpp))
        {
            KIO::JobUiDelegate *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->ui();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        sipKIO_Job *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KIO_Job,&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_Job,sipName_doKill);

    return NULL;
}


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

    {
        sipKIO_Job *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KIO_Job,&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_Job,sipName_doSuspend);

    return NULL;
}


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

    {
        sipKIO_Job *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KIO_Job,&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_Job,sipName_doResume);

    return NULL;
}


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

    {
        KIO::Job *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString((sipSelfWasArg ? sipCpp->KIO::Job::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_Job,sipName_errorString);

    return NULL;
}


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

    {
        const KUrl * a0 = 0;
        int a1 = -1;
        KIO::Job *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B|J8i",&sipSelf,sipType_KIO_Job,&sipCpp,sipType_KUrl,&a0,&a1))
        {
            QStringList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->detailedErrorStrings(a0,a1));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        QWidget * a0 = 0;
        KIO::Job *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B|J:",&sipSelf,sipType_KIO_Job,&sipCpp,sipType_QWidget,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->showErrorDialog(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_Job,sipName_showErrorDialog);

    return NULL;
}


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

    {
        KIO::Job *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isInteractive();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KIO::Job * a0;
        KIO::Job *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KIO_Job,&sipCpp,sipType_KIO_Job,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setParentJob(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_Job,sipName_setParentJob);

    return NULL;
}


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

    {
        KIO::Job *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KIO_Job,&sipCpp))
        {
            KIO::Job *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->parentJob();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KIO::MetaData * a0;
        int a0State = 0;
        KIO::Job *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KIO_Job,&sipCpp,sipType_KIO_MetaData,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMetaData(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<KIO::MetaData *>(a0),sipType_KIO_MetaData,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        KIO::Job *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1J1",&sipSelf,sipType_KIO_Job,&sipCpp,sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addMetaData(*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;
        }
    }

    {
        const QMap<QString,QString> * a0;
        int a0State = 0;
        KIO::Job *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KIO_Job,&sipCpp,sipType_QMap_0200QString_0200QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addMetaData(*a0);
            Py_END_ALLOW_THREADS

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QMap<QString,QString> * a0;
        int a0State = 0;
        KIO::Job *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KIO_Job,&sipCpp,sipType_QMap_0200QString_0200QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->mergeMetaData(*a0);
            Py_END_ALLOW_THREADS

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::Job *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KIO_Job,&sipCpp))
        {
            KIO::MetaData *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KIO::MetaData(sipCpp->outgoingMetaData());
            Py_END_ALLOW_THREADS

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

            return sipResObj;
        }
    }

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

    return NULL;
}


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

    {
        KIO::Job *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KIO_Job,&sipCpp))
        {
            KIO::MetaData *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KIO::MetaData(sipCpp->metaData());
            Py_END_ALLOW_THREADS

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

            return sipResObj;
        }
    }

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        KIO::Job *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->queryMetaData(*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_Job,sipName_queryMetaData);

    return NULL;
}


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

    {
        KJob * a0;
        sipKIO_Job *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KIO_Job,&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_Job,sipName_addSubjob);

    return NULL;
}


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

    {
        KJob * a0;
        sipKIO_Job *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KIO_Job,&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_Job,sipName_removeSubjob);

    return NULL;
}


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

    if (targetType == sipType_KIO_Job)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KCompositeJob)->ctd_cast((KCompositeJob *)(KIO::Job *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKIO_Job *>(sipCppV);
    else
        delete reinterpret_cast<KIO::Job *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

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

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KIO_Job[] = {{23, 3, 1}};


static PyMethodDef methods_KIO_Job[] = {
    {SIP_MLNAME_CAST(sipName_addMetaData), meth_KIO_Job_addMetaData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addSubjob), meth_KIO_Job_addSubjob, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KIO_Job_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clearSubjobs), meth_KIO_Job_clearSubjobs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KIO_Job_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KIO_Job_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_detailedErrorStrings), meth_KIO_Job_detailedErrorStrings, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KIO_Job_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doKill), meth_KIO_Job_doKill, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doResume), meth_KIO_Job_doResume, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doSuspend), meth_KIO_Job_doSuspend, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_emitPercent), meth_KIO_Job_emitPercent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_emitResult), meth_KIO_Job_emitResult, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_emitSpeed), meth_KIO_Job_emitSpeed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_errorString), meth_KIO_Job_errorString, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasSubjobs), meth_KIO_Job_hasSubjobs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isInteractive), meth_KIO_Job_isInteractive, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mergeMetaData), meth_KIO_Job_mergeMetaData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_metaData), meth_KIO_Job_metaData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_outgoingMetaData), meth_KIO_Job_outgoingMetaData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_parentJob), meth_KIO_Job_parentJob, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_queryMetaData), meth_KIO_Job_queryMetaData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KIO_Job_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeSubjob), meth_KIO_Job_removeSubjob, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCapabilities), meth_KIO_Job_setCapabilities, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setError), meth_KIO_Job_setError, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setErrorText), meth_KIO_Job_setErrorText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMetaData), meth_KIO_Job_setMetaData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setParentJob), meth_KIO_Job_setParentJob, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPercent), meth_KIO_Job_setPercent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setProcessedAmount), meth_KIO_Job_setProcessedAmount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTotalAmount), meth_KIO_Job_setTotalAmount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showErrorDialog), meth_KIO_Job_showErrorDialog, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotInfoMessage), meth_KIO_Job_slotInfoMessage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotResult), meth_KIO_Job_slotResult, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_start), meth_KIO_Job_start, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_subjobs), meth_KIO_Job_subjobs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KIO_Job_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ui), meth_KIO_Job_ui, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KIO_Job[] = {
    {"connected(KIO::Job *)", 0},
    {"canceled(KJob *)", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_kio_KIO_Job = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIO__Job,
        {0}
    },
    sipNameNr_Job,
    -1,
    -1,
    {95, 255, 0},
    supers_KIO_Job,
    0,
    39, methods_KIO_Job,
    0, 0,
    0, 0,
    init_KIO_Job,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_Job,
    release_KIO_Job,
    cast_KIO_Job,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KIO::Job::staticMetaObject,
    0,
    pyqt4_signals_KIO_Job
};

#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/chmodjob.sip"
#include <chmodjob.h>
#line 14204 "sipkiopart4.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 14208 "sipkiopart4.cpp"
#line 43 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 14211 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 14214 "sipkiopart4.cpp"
#line 186 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/global.sip"
#include<qmap.h>
#line 14217 "sipkiopart4.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 14224 "sipkiopart4.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 14227 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 14230 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 14233 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 14236 "sipkiopart4.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 14239 "sipkiopart4.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/jobuidelegate.sip"
#include <jobuidelegate.h>
#line 14242 "sipkiopart4.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 14295 "sipkiopart4.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 14298 "sipkiopart4.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 14301 "sipkiopart4.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 14304 "sipkiopart4.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 14307 "sipkiopart4.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 14310 "sipkiopart4.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 14313 "sipkiopart4.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 14316 "sipkiopart4.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 14319 "sipkiopart4.cpp"
#line 321 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 14322 "sipkiopart4.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 14325 "sipkiopart4.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 14328 "sipkiopart4.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 14331 "sipkiopart4.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 14334 "sipkiopart4.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 14337 "sipkiopart4.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 14340 "sipkiopart4.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 14343 "sipkiopart4.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 14346 "sipkiopart4.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 14361 "sipkiopart4.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 14364 "sipkiopart4.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 14367 "sipkiopart4.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 14370 "sipkiopart4.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 14373 "sipkiopart4.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 14376 "sipkiopart4.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 14379 "sipkiopart4.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 14382 "sipkiopart4.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 14385 "sipkiopart4.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 14388 "sipkiopart4.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 14391 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14394 "sipkiopart4.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14397 "sipkiopart4.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 14400 "sipkiopart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 14403 "sipkiopart4.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 14434 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 14437 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 14440 "sipkiopart4.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 14443 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 14446 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 14449 "sipkiopart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 14452 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 14455 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 14458 "sipkiopart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 14461 "sipkiopart4.cpp"


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

    if (targetType == sipType_KIO_ChmodJob)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KIO_Job)->ctd_cast((KIO::Job *)(KIO::ChmodJob *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    delete reinterpret_cast<KIO::ChmodJob *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


pyqt4ClassTypeDef pyqt4Type_kio_KIO_ChmodJob = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIO__ChmodJob,
        {0}
    },
    sipNameNr_ChmodJob,
    -1,
    -1,
    {95, 255, 0},
    supers_KIO_ChmodJob,
    0,
    0, 0,
    0, 0,
    0, 0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_ChmodJob,
    release_KIO_ChmodJob,
    cast_KIO_ChmodJob,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KIO::ChmodJob::staticMetaObject,
    0,
    0
};

#line 69 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/authinfo.sip"
#include <authinfo.h>
#line 14553 "sipkiopart4.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 14557 "sipkiopart4.cpp"
#line 43 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 14560 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 14563 "sipkiopart4.cpp"


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

    return NULL;
}


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

    delete reinterpret_cast<KIO::NetRC::AutoLogin *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KIO_NetRC_AutoLogin(void *, const void*);}
static void assign_KIO_NetRC_AutoLogin(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<KIO::NetRC::AutoLogin *>(sipDst) = *reinterpret_cast<const KIO::NetRC::AutoLogin *>(sipSrc);
}


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


extern "C" {static void *init_KIO_NetRC_AutoLogin(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KIO_NetRC_AutoLogin(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    KIO::NetRC::AutoLogin *sipCpp = 0;

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KIO::NetRC::AutoLogin();
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const KIO::NetRC::AutoLogin * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_KIO_NetRC_AutoLogin,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KIO::NetRC::AutoLogin(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    return sipCpp;
}


extern "C" {static PyObject *varget_KIO_NetRC_AutoLogin_login(void *, PyObject *);}
static PyObject *varget_KIO_NetRC_AutoLogin_login(void *sipSelf, PyObject *)
{
    QString *sipVal;
    KIO::NetRC::AutoLogin *sipCpp = reinterpret_cast<KIO::NetRC::AutoLogin *>(sipSelf);

    sipVal = &sipCpp->login;

    return sipConvertFromType(sipVal,sipType_QString, NULL);
}


extern "C" {static int varset_KIO_NetRC_AutoLogin_login(void *, PyObject *, PyObject *);}
static int varset_KIO_NetRC_AutoLogin_login(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString *sipVal;
    KIO::NetRC::AutoLogin *sipCpp = reinterpret_cast<KIO::NetRC::AutoLogin *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->login = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KIO_NetRC_AutoLogin_macdef(void *, PyObject *);}
static PyObject *varget_KIO_NetRC_AutoLogin_macdef(void *sipSelf, PyObject *)
{
    QMap<QString,QStringList> *sipVal;
    KIO::NetRC::AutoLogin *sipCpp = reinterpret_cast<KIO::NetRC::AutoLogin *>(sipSelf);

    sipVal = &sipCpp->macdef;

    return sipConvertFromType(sipVal, sipType_QMap_0200QString_0200QStringList, NULL);
}


extern "C" {static int varset_KIO_NetRC_AutoLogin_macdef(void *, PyObject *, PyObject *);}
static int varset_KIO_NetRC_AutoLogin_macdef(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QMap<QString,QStringList> *sipVal;
    KIO::NetRC::AutoLogin *sipCpp = reinterpret_cast<KIO::NetRC::AutoLogin *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QMap<QString,QStringList> *>(sipForceConvertToType(sipPy,sipType_QMap_0200QString_0200QStringList,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->macdef = *sipVal;

    sipReleaseType(sipVal, sipType_QMap_0200QString_0200QStringList, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KIO_NetRC_AutoLogin_machine(void *, PyObject *);}
static PyObject *varget_KIO_NetRC_AutoLogin_machine(void *sipSelf, PyObject *)
{
    QString *sipVal;
    KIO::NetRC::AutoLogin *sipCpp = reinterpret_cast<KIO::NetRC::AutoLogin *>(sipSelf);

    sipVal = &sipCpp->machine;

    return sipConvertFromType(sipVal,sipType_QString, NULL);
}


extern "C" {static int varset_KIO_NetRC_AutoLogin_machine(void *, PyObject *, PyObject *);}
static int varset_KIO_NetRC_AutoLogin_machine(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString *sipVal;
    KIO::NetRC::AutoLogin *sipCpp = reinterpret_cast<KIO::NetRC::AutoLogin *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->machine = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KIO_NetRC_AutoLogin_password(void *, PyObject *);}
static PyObject *varget_KIO_NetRC_AutoLogin_password(void *sipSelf, PyObject *)
{
    QString *sipVal;
    KIO::NetRC::AutoLogin *sipCpp = reinterpret_cast<KIO::NetRC::AutoLogin *>(sipSelf);

    sipVal = &sipCpp->password;

    return sipConvertFromType(sipVal,sipType_QString, NULL);
}


extern "C" {static int varset_KIO_NetRC_AutoLogin_password(void *, PyObject *, PyObject *);}
static int varset_KIO_NetRC_AutoLogin_password(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString *sipVal;
    KIO::NetRC::AutoLogin *sipCpp = reinterpret_cast<KIO::NetRC::AutoLogin *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->password = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KIO_NetRC_AutoLogin_type(void *, PyObject *);}
static PyObject *varget_KIO_NetRC_AutoLogin_type(void *sipSelf, PyObject *)
{
    QString *sipVal;
    KIO::NetRC::AutoLogin *sipCpp = reinterpret_cast<KIO::NetRC::AutoLogin *>(sipSelf);

    sipVal = &sipCpp->type;

    return sipConvertFromType(sipVal,sipType_QString, NULL);
}


extern "C" {static int varset_KIO_NetRC_AutoLogin_type(void *, PyObject *, PyObject *);}
static int varset_KIO_NetRC_AutoLogin_type(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString *sipVal;
    KIO::NetRC::AutoLogin *sipCpp = reinterpret_cast<KIO::NetRC::AutoLogin *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->type = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}

sipVariableDef variables_KIO_NetRC_AutoLogin[] = {
    {sipName_login, varget_KIO_NetRC_AutoLogin_login, varset_KIO_NetRC_AutoLogin_login, 0},
    {sipName_macdef, varget_KIO_NetRC_AutoLogin_macdef, varset_KIO_NetRC_AutoLogin_macdef, 0},
    {sipName_machine, varget_KIO_NetRC_AutoLogin_machine, varset_KIO_NetRC_AutoLogin_machine, 0},
    {sipName_password, varget_KIO_NetRC_AutoLogin_password, varset_KIO_NetRC_AutoLogin_password, 0},
    {sipName_type, varget_KIO_NetRC_AutoLogin_type, varset_KIO_NetRC_AutoLogin_type, 0},
};


pyqt4ClassTypeDef pyqt4Type_kio_KIO_NetRC_AutoLogin = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KIO__NetRC__AutoLogin,
        {0}
    },
    sipNameNr_AutoLogin,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {133, 255, 0},
    0,
    0,
    0, 0,
    0, 0,
    5, variables_KIO_NetRC_AutoLogin,
    init_KIO_NetRC_AutoLogin,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_NetRC_AutoLogin,
    release_KIO_NetRC_AutoLogin,
    cast_KIO_NetRC_AutoLogin,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_KIO_NetRC_AutoLogin,
    0,
    0,
    0
};

#line 69 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/authinfo.sip"
#include <authinfo.h>
#line 14862 "sipkiopart4.cpp"

#line 69 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/authinfo.sip"
#include <authinfo.h>
#line 14866 "sipkiopart4.cpp"


extern "C" {static int slot_KIO_NetRC_LookUpMode___bool__(PyObject *sipSelf);}
static int slot_KIO_NetRC_LookUpMode___bool__(PyObject *sipSelf)
{
    KIO::NetRC::LookUpMode *sipCpp = reinterpret_cast<KIO::NetRC::LookUpMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KIO_NetRC_LookUpMode));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

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

            return sipRes;
        }
    }
}


extern "C" {static PyObject *slot_KIO_NetRC_LookUpMode___ne__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_KIO_NetRC_LookUpMode___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KIO::NetRC::LookUpMode *sipCpp = reinterpret_cast<KIO::NetRC::LookUpMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KIO_NetRC_LookUpMode));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const KIO::NetRC::LookUpMode * a0;
        int a0State = 0;

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

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

            sipReleaseType(const_cast<KIO::NetRC::LookUpMode *>(a0),sipType_KIO_NetRC_LookUpMode,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kio,ne_slot,sipType_KIO_NetRC_LookUpMode,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KIO_NetRC_LookUpMode___eq__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_KIO_NetRC_LookUpMode___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KIO::NetRC::LookUpMode *sipCpp = reinterpret_cast<KIO::NetRC::LookUpMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KIO_NetRC_LookUpMode));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const KIO::NetRC::LookUpMode * a0;
        int a0State = 0;

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

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

            sipReleaseType(const_cast<KIO::NetRC::LookUpMode *>(a0),sipType_KIO_NetRC_LookUpMode,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_kio,eq_slot,sipType_KIO_NetRC_LookUpMode,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KIO_NetRC_LookUpMode___invert__(PyObject *sipSelf);}
static PyObject *slot_KIO_NetRC_LookUpMode___invert__(PyObject *sipSelf)
{
    KIO::NetRC::LookUpMode *sipCpp = reinterpret_cast<KIO::NetRC::LookUpMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KIO_NetRC_LookUpMode));

    if (!sipCpp)
        return 0;


    {
        {
            KIO::NetRC::LookUpMode *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KIO::NetRC::LookUpMode(~(*sipCpp));
            Py_END_ALLOW_THREADS

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


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

    {
        KIO::NetRC::LookUpMode * a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1i",sipType_KIO_NetRC_LookUpMode,&a0,&a0State,&a1))
        {
            KIO::NetRC::LookUpMode *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KIO::NetRC::LookUpMode((*a0 & a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KIO_NetRC_LookUpMode,a0State);

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

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


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

    {
        KIO::NetRC::LookUpMode * a0;
        int a0State = 0;
        KIO::NetRC::LookUpMode * a1;
        int a1State = 0;

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1J1",sipType_KIO_NetRC_LookUpMode,&a0,&a0State,sipType_KIO_NetRC_LookUpMode,&a1,&a1State))
        {
            KIO::NetRC::LookUpMode *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KIO::NetRC::LookUpMode((*a0 ^ *a1));
            Py_END_ALLOW_THREADS

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

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

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


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

    {
        KIO::NetRC::LookUpMode * a0;
        int a0State = 0;
        KIO::NetRC::LookUpMode * a1;
        int a1State = 0;

        if (sipParsePair(&sipArgsParsed,sipArg0,sipArg1,"J1J1",sipType_KIO_NetRC_LookUpMode,&a0,&a0State,sipType_KIO_NetRC_LookUpMode,&a1,&a1State))
        {
            KIO::NetRC::LookUpMode *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KIO::NetRC::LookUpMode((*a0 | *a1));
            Py_END_ALLOW_THREADS

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

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

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


extern "C" {static PyObject *slot_KIO_NetRC_LookUpMode___int__(PyObject *sipSelf);}
static PyObject *slot_KIO_NetRC_LookUpMode___int__(PyObject *sipSelf)
{
    KIO::NetRC::LookUpMode *sipCpp = reinterpret_cast<KIO::NetRC::LookUpMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KIO_NetRC_LookUpMode));

    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_KIO_NetRC_LookUpMode___ixor__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_KIO_NetRC_LookUpMode___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KIO_NetRC_LookUpMode)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KIO::NetRC::LookUpMode *sipCpp = reinterpret_cast<KIO::NetRC::LookUpMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KIO_NetRC_LookUpMode));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        KIO::NetRC::LookUpMode * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_KIO_NetRC_LookUpMode,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KIO::NetRC::LookUpMode::operator^=(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KIO_NetRC_LookUpMode,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    KIO::NetRC::LookUpMode *sipCpp = reinterpret_cast<KIO::NetRC::LookUpMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KIO_NetRC_LookUpMode));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        KIO::NetRC::LookUpMode * a0;
        int a0State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J1",sipType_KIO_NetRC_LookUpMode,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KIO::NetRC::LookUpMode::operator|=(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_KIO_NetRC_LookUpMode,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    KIO::NetRC::LookUpMode *sipCpp = reinterpret_cast<KIO::NetRC::LookUpMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KIO_NetRC_LookUpMode));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        int a0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1i",&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KIO::NetRC::LookUpMode::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_KIO_NetRC_LookUpMode(void *, const sipTypeDef *);}
static void *cast_KIO_NetRC_LookUpMode(void *ptr,const sipTypeDef *targetType)
{
    if (targetType == sipType_KIO_NetRC_LookUpMode)
        return ptr;

    return NULL;
}


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

    delete reinterpret_cast<KIO::NetRC::LookUpMode *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KIO_NetRC_LookUpMode(void *, const void*);}
static void assign_KIO_NetRC_LookUpMode(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<KIO::NetRC::LookUpMode *>(sipDst) = *reinterpret_cast<const KIO::NetRC::LookUpMode *>(sipSrc);
}


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


extern "C" {static void *init_KIO_NetRC_LookUpMode(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KIO_NetRC_LookUpMode(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    KIO::NetRC::LookUpMode *sipCpp = 0;

    if (!sipCpp)
    {
        const KIO::NetRC::LookUpMode * a0;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J1",sipType_KIO_NetRC_LookUpMode,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KIO::NetRC::LookUpMode(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<KIO::NetRC::LookUpMode *>(a0),sipType_KIO_NetRC_LookUpMode,a0State);
        }
    }

    if (!sipCpp)
    {
        int a0;

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

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KIO::NetRC::LookUpMode();
            Py_END_ALLOW_THREADS
        }
    }

    return sipCpp;
}


extern "C" {static int convertTo_KIO_NetRC_LookUpMode(PyObject *, void **, int *, PyObject *);}
static int convertTo_KIO_NetRC_LookUpMode(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    KIO::NetRC::LookUpMode **sipCppPtr = reinterpret_cast<KIO::NetRC::LookUpMode **>(sipCppPtrV);

#line 276 "/usr/local/share/py-sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KIO::NetRC::LookUpMode is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KIO_NetRC_LookUpModeFlag)) ||
            sipCanConvertToType(sipPy, sipType_KIO_NetRC_LookUpMode, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KIO_NetRC_LookUpModeFlag)))
{
    *sipCppPtr = new KIO::NetRC::LookUpMode(SIPLong_AsLong(sipPy));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KIO::NetRC::LookUpMode *>(sipConvertToType(sipPy, sipType_KIO_NetRC_LookUpMode, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 15315 "sipkiopart4.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KIO_NetRC_LookUpMode[] = {
    {(void *)slot_KIO_NetRC_LookUpMode___bool__, bool_slot},
    {(void *)slot_KIO_NetRC_LookUpMode___ne__, ne_slot},
    {(void *)slot_KIO_NetRC_LookUpMode___eq__, eq_slot},
    {(void *)slot_KIO_NetRC_LookUpMode___invert__, invert_slot},
    {(void *)slot_KIO_NetRC_LookUpMode___and__, and_slot},
    {(void *)slot_KIO_NetRC_LookUpMode___xor__, xor_slot},
    {(void *)slot_KIO_NetRC_LookUpMode___or__, or_slot},
    {(void *)slot_KIO_NetRC_LookUpMode___int__, int_slot},
    {(void *)slot_KIO_NetRC_LookUpMode___ixor__, ixor_slot},
    {(void *)slot_KIO_NetRC_LookUpMode___ior__, ior_slot},
    {(void *)slot_KIO_NetRC_LookUpMode___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef pyqt4Type_kio_KIO_NetRC_LookUpMode = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KIO__NetRC__LookUpMode,
        {0}
    },
    sipNameNr_LookUpMode,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {133, 255, 0},
    0,
    slots_KIO_NetRC_LookUpMode,
    0, 0,
    0, 0,
    0, 0,
    init_KIO_NetRC_LookUpMode,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_NetRC_LookUpMode,
    release_KIO_NetRC_LookUpMode,
    cast_KIO_NetRC_LookUpMode,
    convertTo_KIO_NetRC_LookUpMode,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_KIO_NetRC_LookUpMode,
    0,
    1,
    0
};

#line 69 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/authinfo.sip"
#include <authinfo.h>
#line 15383 "sipkiopart4.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 15387 "sipkiopart4.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 15390 "sipkiopart4.cpp"
#line 69 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/authinfo.sip"
#include <authinfo.h>
#line 15393 "sipkiopart4.cpp"
#line 69 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/authinfo.sip"
#include <authinfo.h>
#line 15396 "sipkiopart4.cpp"


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

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            KIO::NetRC *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KIO::NetRC::self();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KUrl * a0;
        KIO::NetRC::AutoLogin * a1;
        bool a2 = 0;
        const QString& a3def = QString();
        const QString * a3 = &a3def;
        int a3State = 0;
        KIO::NetRC::LookUpMode a4def = KIO::NetRC::LookUpMode(KIO::NetRC::exactOnly) | KIO::NetRC::defaultOnly;
        KIO::NetRC::LookUpMode * a4 = &a4def;
        int a4State = 0;
        KIO::NetRC *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9J9|bJ1J1",&sipSelf,sipType_KIO_NetRC,&sipCpp,sipType_KUrl,&a0,sipType_KIO_NetRC_AutoLogin,&a1,&a2,sipType_QString,&a3,&a3State,sipType_KIO_NetRC_LookUpMode,&a4,&a4State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->lookup(*a0,*a1,a2,*a3,*a4);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);
            sipReleaseType(a4,sipType_KIO_NetRC_LookUpMode,a4State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KIO::NetRC *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KIO_NetRC,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->reload();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    return NULL;
}


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


static PyMethodDef methods_KIO_NetRC[] = {
    {SIP_MLNAME_CAST(sipName_lookup), meth_KIO_NetRC_lookup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_reload), meth_KIO_NetRC_reload, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_self), meth_KIO_NetRC_self, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KIO_NetRC[] = {
    {sipName_defaultOnly, KIO::NetRC::defaultOnly, 136},
    {sipName_exactOnly, KIO::NetRC::exactOnly, 136},
    {sipName_presetOnly, KIO::NetRC::presetOnly, 136},
};


pyqt4ClassTypeDef pyqt4Type_kio_KIO_NetRC = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KIO__NetRC,
        {0}
    },
    sipNameNr_NetRC,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {95, 255, 0},
    0,
    0,
    3, methods_KIO_NetRC,
    3, enummembers_KIO_NetRC,
    0, 0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    release_KIO_NetRC,
    cast_KIO_NetRC,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/authinfo.sip"
#include <authinfo.h>
#line 15567 "sipkiopart4.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 15571 "sipkiopart4.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 15574 "sipkiopart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 15577 "sipkiopart4.cpp"


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

    {
        KIO::AuthInfo *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isModified();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        KIO::AuthInfo *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_KIO_AuthInfo,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setModified(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_AuthInfo,sipName_setModified);

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        const QVariant * a1;
        int a1State = 0;
        KIO::AuthInfo *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1J1",&sipSelf,sipType_KIO_AuthInfo,&sipCpp,sipType_QString,&a0,&a0State,sipType_QVariant,&a1,&a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setExtraField(*a0,*a1);
            Py_END_ALLOW_THREADS

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        KIO::AuthInfo::FieldFlags a1;
        KIO::AuthInfo *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1E",&sipSelf,sipType_KIO_AuthInfo,&sipCpp,sipType_QString,&a0,&a0State,sipType_KIO_AuthInfo_FieldFlags,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setExtraFieldFlags(*a0,a1);
            Py_END_ALLOW_THREADS

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        KIO::AuthInfo *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KIO_AuthInfo,&sipCpp,sipType_QString,&a0,&a0State))
        {
            QVariant *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->getExtraField(*a0));
            Py_END_ALLOW_THREADS

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

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

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

    return NULL;
}


extern "C" {static PyObject *meth_KIO_AuthInfo_getExtraFieldFlags(PyObject *, PyObject *);}
static PyObject *meth_KIO_AuthInfo_getExtraFieldFlags(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KIO::AuthInfo *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KIO_AuthInfo,&sipCpp,sipType_QString,&a0,&a0State))
        {
            KIO::AuthInfo::FieldFlags sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->getExtraFieldFlags(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromEnum(sipRes,sipType_KIO_AuthInfo_FieldFlags);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_AuthInfo,sipName_getExtraFieldFlags);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_AuthInfo_registerMetaTypes(PyObject *, PyObject *);}
static PyObject *meth_KIO_AuthInfo_registerMetaTypes(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            KIO::AuthInfo::registerMetaTypes();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_AuthInfo,sipName_registerMetaTypes);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_KIO_AuthInfo(void *, const sipTypeDef *);}
static void *cast_KIO_AuthInfo(void *ptr,const sipTypeDef *targetType)
{
    if (targetType == sipType_KIO_AuthInfo)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KIO_AuthInfo(void *, int);}
static void release_KIO_AuthInfo(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KIO::AuthInfo *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KIO_AuthInfo(void *, const void*);}
static void assign_KIO_AuthInfo(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<KIO::AuthInfo *>(sipDst) = *reinterpret_cast<const KIO::AuthInfo *>(sipSrc);
}


extern "C" {static void dealloc_KIO_AuthInfo(sipSimpleWrapper *);}
static void dealloc_KIO_AuthInfo(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KIO_AuthInfo(sipSelf->u.cppPtr,0);
    }
}


extern "C" {static void *init_KIO_AuthInfo(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KIO_AuthInfo(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    KIO::AuthInfo *sipCpp = 0;

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KIO::AuthInfo();
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const KIO::AuthInfo * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_KIO_AuthInfo,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KIO::AuthInfo(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    return sipCpp;
}


static PyMethodDef methods_KIO_AuthInfo[] = {
    {SIP_MLNAME_CAST(sipName_getExtraField), meth_KIO_AuthInfo_getExtraField, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getExtraFieldFlags), meth_KIO_AuthInfo_getExtraFieldFlags, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isModified), meth_KIO_AuthInfo_isModified, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_registerMetaTypes), meth_KIO_AuthInfo_registerMetaTypes, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setExtraField), meth_KIO_AuthInfo_setExtraField, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setExtraFieldFlags), meth_KIO_AuthInfo_setExtraFieldFlags, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setModified), meth_KIO_AuthInfo_setModified, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KIO_AuthInfo[] = {
    {sipName_ExtraFieldMandatory, KIO::AuthInfo::ExtraFieldMandatory, 98},
    {sipName_ExtraFieldNoFlags, KIO::AuthInfo::ExtraFieldNoFlags, 98},
    {sipName_ExtraFieldReadOnly, KIO::AuthInfo::ExtraFieldReadOnly, 98},
};


extern "C" {static PyObject *varget_KIO_AuthInfo_caption(void *, PyObject *);}
static PyObject *varget_KIO_AuthInfo_caption(void *sipSelf, PyObject *)
{
    QString *sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    sipVal = &sipCpp->caption;

    return sipConvertFromType(sipVal,sipType_QString, NULL);
}


extern "C" {static int varset_KIO_AuthInfo_caption(void *, PyObject *, PyObject *);}
static int varset_KIO_AuthInfo_caption(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString *sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->caption = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KIO_AuthInfo_comment(void *, PyObject *);}
static PyObject *varget_KIO_AuthInfo_comment(void *sipSelf, PyObject *)
{
    QString *sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    sipVal = &sipCpp->comment;

    return sipConvertFromType(sipVal,sipType_QString, NULL);
}


extern "C" {static int varset_KIO_AuthInfo_comment(void *, PyObject *, PyObject *);}
static int varset_KIO_AuthInfo_comment(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString *sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->comment = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KIO_AuthInfo_commentLabel(void *, PyObject *);}
static PyObject *varget_KIO_AuthInfo_commentLabel(void *sipSelf, PyObject *)
{
    QString *sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    sipVal = &sipCpp->commentLabel;

    return sipConvertFromType(sipVal,sipType_QString, NULL);
}


extern "C" {static int varset_KIO_AuthInfo_commentLabel(void *, PyObject *, PyObject *);}
static int varset_KIO_AuthInfo_commentLabel(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString *sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->commentLabel = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KIO_AuthInfo_digestInfo(void *, PyObject *);}
static PyObject *varget_KIO_AuthInfo_digestInfo(void *sipSelf, PyObject *)
{
    QString *sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    sipVal = &sipCpp->digestInfo;

    return sipConvertFromType(sipVal,sipType_QString, NULL);
}


extern "C" {static int varset_KIO_AuthInfo_digestInfo(void *, PyObject *, PyObject *);}
static int varset_KIO_AuthInfo_digestInfo(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString *sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->digestInfo = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KIO_AuthInfo_keepPassword(void *, PyObject *);}
static PyObject *varget_KIO_AuthInfo_keepPassword(void *sipSelf, PyObject *)
{
    bool sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    sipVal = sipCpp->keepPassword;

    return PyBool_FromLong(sipVal);
}


extern "C" {static int varset_KIO_AuthInfo_keepPassword(void *, PyObject *, PyObject *);}
static int varset_KIO_AuthInfo_keepPassword(void *sipSelf, PyObject *sipPy, PyObject *)
{
    bool sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    sipVal = (bool)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->keepPassword = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_KIO_AuthInfo_password(void *, PyObject *);}
static PyObject *varget_KIO_AuthInfo_password(void *sipSelf, PyObject *)
{
    QString *sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    sipVal = &sipCpp->password;

    return sipConvertFromType(sipVal,sipType_QString, NULL);
}


extern "C" {static int varset_KIO_AuthInfo_password(void *, PyObject *, PyObject *);}
static int varset_KIO_AuthInfo_password(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString *sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->password = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KIO_AuthInfo_prompt(void *, PyObject *);}
static PyObject *varget_KIO_AuthInfo_prompt(void *sipSelf, PyObject *)
{
    QString *sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    sipVal = &sipCpp->prompt;

    return sipConvertFromType(sipVal,sipType_QString, NULL);
}


extern "C" {static int varset_KIO_AuthInfo_prompt(void *, PyObject *, PyObject *);}
static int varset_KIO_AuthInfo_prompt(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString *sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->prompt = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KIO_AuthInfo_readOnly(void *, PyObject *);}
static PyObject *varget_KIO_AuthInfo_readOnly(void *sipSelf, PyObject *)
{
    bool sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    sipVal = sipCpp->readOnly;

    return PyBool_FromLong(sipVal);
}


extern "C" {static int varset_KIO_AuthInfo_readOnly(void *, PyObject *, PyObject *);}
static int varset_KIO_AuthInfo_readOnly(void *sipSelf, PyObject *sipPy, PyObject *)
{
    bool sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    sipVal = (bool)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->readOnly = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_KIO_AuthInfo_realmValue(void *, PyObject *);}
static PyObject *varget_KIO_AuthInfo_realmValue(void *sipSelf, PyObject *)
{
    QString *sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    sipVal = &sipCpp->realmValue;

    return sipConvertFromType(sipVal,sipType_QString, NULL);
}


extern "C" {static int varset_KIO_AuthInfo_realmValue(void *, PyObject *, PyObject *);}
static int varset_KIO_AuthInfo_realmValue(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString *sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->realmValue = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KIO_AuthInfo_url(void *, PyObject *);}
static PyObject *varget_KIO_AuthInfo_url(void *sipSelf, PyObject *)
{
    KUrl *sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    sipVal = &sipCpp->url;

    return sipConvertFromType(sipVal,sipType_KUrl, NULL);
}


extern "C" {static int varset_KIO_AuthInfo_url(void *, PyObject *, PyObject *);}
static int varset_KIO_AuthInfo_url(void *sipSelf, PyObject *sipPy, PyObject *)
{
    KUrl *sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast<KUrl *>(sipForceConvertToType(sipPy,sipType_KUrl,NULL,SIP_NOT_NONE,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->url = *sipVal;

    return 0;
}


extern "C" {static PyObject *varget_KIO_AuthInfo_username(void *, PyObject *);}
static PyObject *varget_KIO_AuthInfo_username(void *sipSelf, PyObject *)
{
    QString *sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    sipVal = &sipCpp->username;

    return sipConvertFromType(sipVal,sipType_QString, NULL);
}


extern "C" {static int varset_KIO_AuthInfo_username(void *, PyObject *, PyObject *);}
static int varset_KIO_AuthInfo_username(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString *sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->username = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_KIO_AuthInfo_verifyPath(void *, PyObject *);}
static PyObject *varget_KIO_AuthInfo_verifyPath(void *sipSelf, PyObject *)
{
    bool sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    sipVal = sipCpp->verifyPath;

    return PyBool_FromLong(sipVal);
}


extern "C" {static int varset_KIO_AuthInfo_verifyPath(void *, PyObject *, PyObject *);}
static int varset_KIO_AuthInfo_verifyPath(void *sipSelf, PyObject *sipPy, PyObject *)
{
    bool sipVal;
    KIO::AuthInfo *sipCpp = reinterpret_cast<KIO::AuthInfo *>(sipSelf);

    sipVal = (bool)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->verifyPath = sipVal;

    return 0;
}

sipVariableDef variables_KIO_AuthInfo[] = {
    {sipName_caption, varget_KIO_AuthInfo_caption, varset_KIO_AuthInfo_caption, 0},
    {sipName_comment, varget_KIO_AuthInfo_comment, varset_KIO_AuthInfo_comment, 0},
    {sipName_commentLabel, varget_KIO_AuthInfo_commentLabel, varset_KIO_AuthInfo_commentLabel, 0},
    {sipName_digestInfo, varget_KIO_AuthInfo_digestInfo, varset_KIO_AuthInfo_digestInfo, 0},
    {sipName_keepPassword, varget_KIO_AuthInfo_keepPassword, varset_KIO_AuthInfo_keepPassword, 0},
    {sipName_password, varget_KIO_AuthInfo_password, varset_KIO_AuthInfo_password, 0},
    {sipName_prompt, varget_KIO_AuthInfo_prompt, varset_KIO_AuthInfo_prompt, 0},
    {sipName_readOnly, varget_KIO_AuthInfo_readOnly, varset_KIO_AuthInfo_readOnly, 0},
    {sipName_realmValue, varget_KIO_AuthInfo_realmValue, varset_KIO_AuthInfo_realmValue, 0},
    {sipName_url, varget_KIO_AuthInfo_url, varset_KIO_AuthInfo_url, 0},
    {sipName_username, varget_KIO_AuthInfo_username, varset_KIO_AuthInfo_username, 0},
    {sipName_verifyPath, varget_KIO_AuthInfo_verifyPath, varset_KIO_AuthInfo_verifyPath, 0},
};


pyqt4ClassTypeDef pyqt4Type_kio_KIO_AuthInfo = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KIO__AuthInfo,
        {0}
    },
    sipNameNr_AuthInfo,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {95, 255, 0},
    0,
    0,
    7, methods_KIO_AuthInfo,
    3, enummembers_KIO_AuthInfo,
    12, variables_KIO_AuthInfo,
    init_KIO_AuthInfo,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_AuthInfo,
    release_KIO_AuthInfo,
    cast_KIO_AuthInfo,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_KIO_AuthInfo,
    0,
    0,
    0
};
