/*
 * Module code.
 *
 * Generated by SIP 4.11.2 on Mon Feb 14 20:06:44 2011
 */

#include "sipAPIkio.h"

#line 48 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kautomount.sip"
#include <kautomount.h>
#line 12 "sipkiopart6.cpp"

#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 16 "sipkiopart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 19 "sipkiopart6.cpp"
#line 315 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 22 "sipkiopart6.cpp"
#line 303 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 25 "sipkiopart6.cpp"
#line 39 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 28 "sipkiopart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 31 "sipkiopart6.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 34 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 37 "sipkiopart6.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 40 "sipkiopart6.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "sipkiopart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 46 "sipkiopart6.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 49 "sipkiopart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 52 "sipkiopart6.cpp"


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

    if (targetType == sipType_KAutoUnmount)
        return ptr;

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

    return NULL;
}


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


    Py_END_ALLOW_THREADS
}


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

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

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

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KAutoUnmount[] = {{133, 0, 1}};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KAutoUnmount[] = {
    {"error()", 0, 0},
    {"finished()", 0, 0},
    {0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kio_KAutoUnmount = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KAutoUnmount,
        {0}
    },
    {
        sipNameNr_KAutoUnmount,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KAutoUnmount,
    0,
    init_KAutoUnmount,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    release_KAutoUnmount,
    cast_KAutoUnmount,
    0,
    0,
    0
},
    &KAutoUnmount::staticMetaObject,
    0,
    pyqt4_signals_KAutoUnmount
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kautomount.sip"
#include <kautomount.h>
#line 173 "sipkiopart6.cpp"

#line 42 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 177 "sipkiopart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 180 "sipkiopart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 183 "sipkiopart6.cpp"
#line 315 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 186 "sipkiopart6.cpp"
#line 303 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 189 "sipkiopart6.cpp"
#line 39 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 192 "sipkiopart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 195 "sipkiopart6.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 198 "sipkiopart6.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 201 "sipkiopart6.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 204 "sipkiopart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 207 "sipkiopart6.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 210 "sipkiopart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 213 "sipkiopart6.cpp"


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

    if (targetType == sipType_KAutoMount)
        return ptr;

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

    return NULL;
}


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


    Py_END_ALLOW_THREADS
}


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

    {
        bool a0;
        const QByteArray * a1;
        int a1State = 0;
        const QString * a2;
        int a2State = 0;
        const QString * a3;
        int a3State = 0;
        const QString * a4;
        int a4State = 0;
        bool a5 = 1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "bJ1J1J1J1|b", &a0, sipType_QByteArray, &a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_QString,&a4, &a4State, &a5))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KAutoMount(a0,*a1,*a2,*a3,*a4,a5);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a1),sipType_QByteArray,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 sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KAutoMount[] = {{133, 0, 1}};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KAutoMount[] = {
    {"error()", 0, 0},
    {"finished()", 0, 0},
    {0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kio_KAutoMount = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KAutoMount,
        {0}
    },
    {
        sipNameNr_KAutoMount,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KAutoMount,
    0,
    init_KAutoMount,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    release_KAutoMount,
    cast_KAutoMount,
    0,
    0,
    0
},
    &KAutoMount::staticMetaObject,
    0,
    pyqt4_signals_KAutoMount
};

#line 156 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/karchive.sip"
#include <karchive.h>
#line 342 "sipkiopart6.cpp"

#line 35 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/karchive.sip"
#include <karchive.h>
#line 346 "sipkiopart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 349 "sipkiopart6.cpp"
#line 93 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/karchive.sip"
#include <karchive.h>
#line 352 "sipkiopart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 355 "sipkiopart6.cpp"
#line 343 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 358 "sipkiopart6.cpp"


class sipKArchiveDirectory : public KArchiveDirectory
{
public:
    sipKArchiveDirectory(KArchive *,const QString&,int,int,const QString&,const QString&,const QString&);
    virtual ~sipKArchiveDirectory();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    KArchive * sipProtect_archive() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool isDirectory() const;
    bool isFile() const;

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[2];
};

sipKArchiveDirectory::sipKArchiveDirectory(KArchive *a0,const QString& a1,int a2,int a3,const QString& a4,const QString& a5,const QString& a6): KArchiveDirectory(a0,a1,a2,a3,a4,a5,a6), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

bool sipKArchiveDirectory::isDirectory() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KArchiveDirectory::isDirectory();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_kio_QtCore->em_virthandlers[7]))(sipGILState,meth);
}

bool sipKArchiveDirectory::isFile() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KArchiveEntry::isFile();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_kio_QtCore->em_virthandlers[7]))(sipGILState,meth);
}

KArchive * sipKArchiveDirectory::sipProtect_archive() const
{
    return KArchiveEntry::archive();
}


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

    {
        sipKArchiveDirectory *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_archive();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KArchiveDirectory *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KArchiveDirectory, &sipCpp, sipType_QString,&a0, &a0State))
        {
            const KArchiveEntry *sipRes;

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

            return sipConvertFromType(const_cast<KArchiveEntry *>(sipRes),sipType_KArchiveEntry,NULL);
        }
    }

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

    return NULL;
}


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

    {
        KArchiveEntry * a0;
        KArchiveDirectory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KArchiveDirectory, &sipCpp, sipType_KArchiveEntry, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addEntry(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KArchiveDirectory_isDirectory(PyObject *, PyObject *);}
static PyObject *meth_KArchiveDirectory_isDirectory(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KArchiveDirectory *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KArchiveDirectory::isDirectory() : sipCpp->isDirectory());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|b", &sipSelf, sipType_KArchiveDirectory, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->copyTo(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KArchiveDirectory)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KArchiveEntry)->ctd_cast((KArchiveEntry *)(KArchiveDirectory *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKArchiveDirectory *>(sipCppV);
    else
        delete reinterpret_cast<KArchiveDirectory *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KArchiveDirectory(sipSimpleWrapper *);}
static void dealloc_KArchiveDirectory(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKArchiveDirectory *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KArchiveDirectory(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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

    {
        KArchive * a0;
        const QString * a1;
        int a1State = 0;
        int a2;
        int a3;
        const QString * a4;
        int a4State = 0;
        const QString * a5;
        int a5State = 0;
        const QString * a6;
        int a6State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8J1iiJ1J1J1", sipType_KArchive, &a0, sipType_QString,&a1, &a1State, &a2, &a3, sipType_QString,&a4, &a4State, sipType_QString,&a5, &a5State, sipType_QString,&a6, &a6State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKArchiveDirectory(a0,*a1,a2,a3,*a4,*a5,*a6);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a4),sipType_QString,a4State);
            sipReleaseType(const_cast<QString *>(a5),sipType_QString,a5State);
            sipReleaseType(const_cast<QString *>(a6),sipType_QString,a6State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KArchiveDirectory[] = {{8, 255, 1}};


static PyMethodDef methods_KArchiveDirectory[] = {
    {SIP_MLNAME_CAST(sipName_addEntry), meth_KArchiveDirectory_addEntry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_archive), meth_KArchiveDirectory_archive, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_copyTo), meth_KArchiveDirectory_copyTo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_entries), meth_KArchiveDirectory_entries, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_entry), meth_KArchiveDirectory_entry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isDirectory), meth_KArchiveDirectory_isDirectory, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kio_KArchiveDirectory = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KArchiveDirectory,
        {0}
    },
    {
        sipNameNr_KArchiveDirectory,
        {0, 0, 1},
        6, methods_KArchiveDirectory,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KArchiveDirectory,
    0,
    init_KArchiveDirectory,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KArchiveDirectory,
    0,
    0,
    0,
    release_KArchiveDirectory,
    cast_KArchiveDirectory,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 126 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/karchive.sip"
#include <karchive.h>
#line 754 "sipkiopart6.cpp"

#line 35 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/karchive.sip"
#include <karchive.h>
#line 758 "sipkiopart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 761 "sipkiopart6.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 764 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 767 "sipkiopart6.cpp"
#line 343 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 770 "sipkiopart6.cpp"


class sipKArchiveFile : public KArchiveFile
{
public:
    sipKArchiveFile(KArchive *,const QString&,int,int,const QString&,const QString&,const QString&,qint64,qint64);
    virtual ~sipKArchiveFile();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    KArchive * sipProtect_archive() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QByteArray data() const;
    QIODevice * createDevice() const;
    bool isFile() const;
    bool isDirectory() const;

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[4];
};

sipKArchiveFile::sipKArchiveFile(KArchive *a0,const QString& a1,int a2,int a3,const QString& a4,const QString& a5,const QString& a6,qint64 a7,qint64 a8): KArchiveFile(a0,a1,a2,a3,a4,a5,a6,a7,a8), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

QByteArray sipKArchiveFile::data() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KArchiveFile::data();

    typedef QByteArray (*sipVH_QtCore_14)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_14)(sipModuleAPI_kio_QtCore->em_virthandlers[14]))(sipGILState,meth);
}

QIODevice * sipKArchiveFile::createDevice() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KArchiveFile::createDevice();

    extern QIODevice * sipVH_kio_20(sip_gilstate_t,PyObject *);

    return sipVH_kio_20(sipGILState,meth);
}

bool sipKArchiveFile::isFile() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KArchiveFile::isFile();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_kio_QtCore->em_virthandlers[7]))(sipGILState,meth);
}

bool sipKArchiveFile::isDirectory() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KArchiveEntry::isDirectory();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_kio_QtCore->em_virthandlers[7]))(sipGILState,meth);
}

KArchive * sipKArchiveFile::sipProtect_archive() const
{
    return KArchiveEntry::archive();
}


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

    {
        sipKArchiveFile *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_archive();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KArchiveFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KArchiveFile, &sipCpp))
        {
            qint64 sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->position();
            Py_END_ALLOW_THREADS

            return PyLong_FromLongLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KArchiveFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KArchiveFile, &sipCpp))
        {
            qint64 sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->size();
            Py_END_ALLOW_THREADS

            return PyLong_FromLongLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        qint64 a0;
        KArchiveFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_KArchiveFile, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSize(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KArchiveFile_data(PyObject *, PyObject *);}
static PyObject *meth_KArchiveFile_data(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KArchiveFile *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray((sipSelfWasArg ? sipCpp->KArchiveFile::data() : sipCpp->data()));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


extern "C" {static PyObject *meth_KArchiveFile_createDevice(PyObject *, PyObject *);}
static PyObject *meth_KArchiveFile_createDevice(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KArchiveFile *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KArchiveFile::createDevice() : sipCpp->createDevice());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


extern "C" {static PyObject *meth_KArchiveFile_isFile(PyObject *, PyObject *);}
static PyObject *meth_KArchiveFile_isFile(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KArchiveFile *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KArchiveFile::isFile() : sipCpp->isFile());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KArchiveFile)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KArchiveEntry)->ctd_cast((KArchiveEntry *)(KArchiveFile *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKArchiveFile *>(sipCppV);
    else
        delete reinterpret_cast<KArchiveFile *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KArchiveFile(sipSimpleWrapper *);}
static void dealloc_KArchiveFile(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKArchiveFile *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KArchiveFile(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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

    {
        KArchive * a0;
        const QString * a1;
        int a1State = 0;
        int a2;
        int a3;
        const QString * a4;
        int a4State = 0;
        const QString * a5;
        int a5State = 0;
        const QString * a6;
        int a6State = 0;
        qint64 a7;
        qint64 a8;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8J1iiJ1J1J1nn", sipType_KArchive, &a0, sipType_QString,&a1, &a1State, &a2, &a3, sipType_QString,&a4, &a4State, sipType_QString,&a5, &a5State, sipType_QString,&a6, &a6State, &a7, &a8))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKArchiveFile(a0,*a1,a2,a3,*a4,*a5,*a6,a7,a8);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a4),sipType_QString,a4State);
            sipReleaseType(const_cast<QString *>(a5),sipType_QString,a5State);
            sipReleaseType(const_cast<QString *>(a6),sipType_QString,a6State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KArchiveFile[] = {{8, 255, 1}};


static PyMethodDef methods_KArchiveFile[] = {
    {SIP_MLNAME_CAST(sipName_archive), meth_KArchiveFile_archive, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_copyTo), meth_KArchiveFile_copyTo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createDevice), meth_KArchiveFile_createDevice, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_data), meth_KArchiveFile_data, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isFile), meth_KArchiveFile_isFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_position), meth_KArchiveFile_position, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSize), meth_KArchiveFile_setSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_size), meth_KArchiveFile_size, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kio_KArchiveFile = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KArchiveFile,
        {0}
    },
    {
        sipNameNr_KArchiveFile,
        {0, 0, 1},
        8, methods_KArchiveFile,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KArchiveFile,
    0,
    init_KArchiveFile,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KArchiveFile,
    0,
    0,
    0,
    release_KArchiveFile,
    cast_KArchiveFile,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 93 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/karchive.sip"
#include <karchive.h>
#line 1254 "sipkiopart6.cpp"

#line 35 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/karchive.sip"
#include <karchive.h>
#line 1258 "sipkiopart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 1261 "sipkiopart6.cpp"
#line 343 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 1264 "sipkiopart6.cpp"


class sipKArchiveEntry : public KArchiveEntry
{
public:
    sipKArchiveEntry(KArchive *,const QString&,int,int,const QString&,const QString&,const QString&);
    virtual ~sipKArchiveEntry();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    KArchive * sipProtect_archive() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool isFile() const;
    bool isDirectory() const;

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[2];
};

sipKArchiveEntry::sipKArchiveEntry(KArchive *a0,const QString& a1,int a2,int a3,const QString& a4,const QString& a5,const QString& a6): KArchiveEntry(a0,a1,a2,a3,a4,a5,a6), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

bool sipKArchiveEntry::isFile() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KArchiveEntry::isFile();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_kio_QtCore->em_virthandlers[7]))(sipGILState,meth);
}

bool sipKArchiveEntry::isDirectory() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KArchiveEntry::isDirectory();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_kio_QtCore->em_virthandlers[7]))(sipGILState,meth);
}

KArchive * sipKArchiveEntry::sipProtect_archive() const
{
    return KArchiveEntry::archive();
}


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

    {
        KArchiveEntry *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDateTime(sipCpp->datetime());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KArchiveEntry *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->date();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KArchiveEntry *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KArchiveEntry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KArchiveEntry, &sipCpp))
        {
            mode_t sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->permissions();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KArchiveEntry *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KArchiveEntry *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KArchiveEntry *sipCpp;

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

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

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

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

    return NULL;
}


extern "C" {static PyObject *meth_KArchiveEntry_isFile(PyObject *, PyObject *);}
static PyObject *meth_KArchiveEntry_isFile(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KArchiveEntry *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KArchiveEntry::isFile() : sipCpp->isFile());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KArchiveEntry_isDirectory(PyObject *, PyObject *);}
static PyObject *meth_KArchiveEntry_isDirectory(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KArchiveEntry *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KArchiveEntry::isDirectory() : sipCpp->isDirectory());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipKArchiveEntry *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_archive();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKArchiveEntry *>(sipCppV);
    else
        delete reinterpret_cast<KArchiveEntry *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KArchiveEntry(sipSimpleWrapper *);}
static void dealloc_KArchiveEntry(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKArchiveEntry *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KArchiveEntry(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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

    {
        KArchive * a0;
        const QString * a1;
        int a1State = 0;
        int a2;
        int a3;
        const QString * a4;
        int a4State = 0;
        const QString * a5;
        int a5State = 0;
        const QString * a6;
        int a6State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8J1iiJ1J1J1", sipType_KArchive, &a0, sipType_QString,&a1, &a1State, &a2, &a3, sipType_QString,&a4, &a4State, sipType_QString,&a5, &a5State, sipType_QString,&a6, &a6State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKArchiveEntry(a0,*a1,a2,a3,*a4,*a5,*a6);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a4),sipType_QString,a4State);
            sipReleaseType(const_cast<QString *>(a5),sipType_QString,a5State);
            sipReleaseType(const_cast<QString *>(a6),sipType_QString,a6State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KArchiveEntry[] = {
    {SIP_MLNAME_CAST(sipName_archive), meth_KArchiveEntry_archive, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_date), meth_KArchiveEntry_date, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_datetime), meth_KArchiveEntry_datetime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_group), meth_KArchiveEntry_group, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isDirectory), meth_KArchiveEntry_isDirectory, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isFile), meth_KArchiveEntry_isFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_name), meth_KArchiveEntry_name, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_permissions), meth_KArchiveEntry_permissions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_symLinkTarget), meth_KArchiveEntry_symLinkTarget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_user), meth_KArchiveEntry_user, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kio_KArchiveEntry = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KArchiveEntry,
        {0}
    },
    {
        sipNameNr_KArchiveEntry,
        {0, 0, 1},
        10, methods_KArchiveEntry,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_KArchiveEntry,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KArchiveEntry,
    0,
    0,
    0,
    release_KArchiveEntry,
    cast_KArchiveEntry,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 35 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kar.sip"
#include <kar.h>
#line 1758 "sipkiopart6.cpp"

#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 1762 "sipkiopart6.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 1765 "sipkiopart6.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 1768 "sipkiopart6.cpp"
#line 156 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/karchive.sip"
#include <karchive.h>
#line 1771 "sipkiopart6.cpp"


class sipKAr : public KAr
{
public:
    sipKAr(const QString&);
    sipKAr(QIODevice *);
    virtual ~sipKAr();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    KArchiveDirectory * sipProtectVirt_rootDir(bool);
    KArchiveDirectory * sipProtect_findOrCreate(const QString&);
    bool sipProtectVirt_createDevice(bool,QIODevice::OpenMode);
    void sipProtect_setDevice(QIODevice *);
    void sipProtect_setRootDir(KArchiveDirectory *);
    bool sipProtectVirt_doPrepareWriting(bool,const QString&,const QString&,const QString&,qint64,mode_t,time_t,time_t,time_t);
    bool sipProtectVirt_doFinishWriting(bool,qint64);
    bool sipProtectVirt_doWriteDir(bool,const QString&,const QString&,const QString&,mode_t,time_t,time_t,time_t);
    bool sipProtectVirt_doWriteSymLink(bool,const QString&,const QString&,const QString&,const QString&,mode_t,time_t,time_t,time_t);
    bool sipProtectVirt_openArchive(bool,QIODevice::OpenMode);
    bool sipProtectVirt_closeArchive(bool);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool doPrepareWriting(const QString&,const QString&,const QString&,qint64,mode_t,time_t,time_t,time_t);
    bool doFinishWriting(qint64);
    bool doWriteDir(const QString&,const QString&,const QString&,mode_t,time_t,time_t,time_t);
    bool doWriteSymLink(const QString&,const QString&,const QString&,const QString&,mode_t,time_t,time_t,time_t);
    bool openArchive(QIODevice::OpenMode);
    bool closeArchive();
    bool open(QIODevice::OpenMode);
    bool close();
    bool writeDir(const QString&,const QString&,const QString&,mode_t,time_t,time_t,time_t);
    bool writeSymLink(const QString&,const QString&,const QString&,const QString&,mode_t,time_t,time_t,time_t);
    bool writeFile(const QString&,const QString&,const QString&,const char *,qint64,mode_t,time_t,time_t,time_t);
    bool prepareWriting(const QString&,const QString&,const QString&,qint64,mode_t,time_t,time_t,time_t);
    bool writeData(const char *,qint64);
    bool finishWriting(qint64);
    KArchiveDirectory * rootDir();
    bool createDevice(QIODevice::OpenMode);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[16];
};

sipKAr::sipKAr(const QString& a0): KAr(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKAr::sipKAr(QIODevice *a0): KAr(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

bool sipKAr::doPrepareWriting(const QString& a0,const QString& a1,const QString& a2,qint64 a3,mode_t a4,time_t a5,time_t a6,time_t a7)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KAr::doPrepareWriting(a0,a1,a2,a3,a4,a5,a6,a7);

    extern bool sipVH_kio_22(sip_gilstate_t,PyObject *,const QString&,const QString&,const QString&,PY_LONG_LONG,uint,long,long,long);

    return sipVH_kio_22(sipGILState,meth,a0,a1,a2,a3,a4,a5,a6,a7);
}

bool sipKAr::doFinishWriting(qint64 a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KAr::doFinishWriting(a0);

    typedef bool (*sipVH_QtCore_32)(sip_gilstate_t,PyObject *,PY_LONG_LONG);

    return ((sipVH_QtCore_32)(sipModuleAPI_kio_QtCore->em_virthandlers[32]))(sipGILState,meth,a0);
}

bool sipKAr::doWriteDir(const QString& a0,const QString& a1,const QString& a2,mode_t a3,time_t a4,time_t a5,time_t a6)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KAr::doWriteDir(a0,a1,a2,a3,a4,a5,a6);

    extern bool sipVH_kio_21(sip_gilstate_t,PyObject *,const QString&,const QString&,const QString&,uint,long,long,long);

    return sipVH_kio_21(sipGILState,meth,a0,a1,a2,a3,a4,a5,a6);
}

bool sipKAr::doWriteSymLink(const QString& a0,const QString& a1,const QString& a2,const QString& a3,mode_t a4,time_t a5,time_t a6,time_t a7)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KAr::doWriteSymLink(a0,a1,a2,a3,a4,a5,a6,a7);

    extern bool sipVH_kio_23(sip_gilstate_t,PyObject *,const QString&,const QString&,const QString&,const QString&,uint,long,long,long);

    return sipVH_kio_23(sipGILState,meth,a0,a1,a2,a3,a4,a5,a6,a7);
}

bool sipKAr::openArchive(QIODevice::OpenMode a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KAr::openArchive(a0);

    typedef bool (*sipVH_QtCore_15)(sip_gilstate_t,PyObject *,QIODevice::OpenMode);

    return ((sipVH_QtCore_15)(sipModuleAPI_kio_QtCore->em_virthandlers[15]))(sipGILState,meth,a0);
}

bool sipKAr::closeArchive()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KAr::closeArchive();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_kio_QtCore->em_virthandlers[7]))(sipGILState,meth);
}

bool sipKAr::open(QIODevice::OpenMode a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KArchive::open(a0);

    typedef bool (*sipVH_QtCore_15)(sip_gilstate_t,PyObject *,QIODevice::OpenMode);

    return ((sipVH_QtCore_15)(sipModuleAPI_kio_QtCore->em_virthandlers[15]))(sipGILState,meth,a0);
}

bool sipKAr::close()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KArchive::close();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_kio_QtCore->em_virthandlers[7]))(sipGILState,meth);
}

bool sipKAr::writeDir(const QString& a0,const QString& a1,const QString& a2,mode_t a3,time_t a4,time_t a5,time_t a6)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KArchive::writeDir(a0,a1,a2,a3,a4,a5,a6);

    extern bool sipVH_kio_21(sip_gilstate_t,PyObject *,const QString&,const QString&,const QString&,uint,long,long,long);

    return sipVH_kio_21(sipGILState,meth,a0,a1,a2,a3,a4,a5,a6);
}

bool sipKAr::writeSymLink(const QString& a0,const QString& a1,const QString& a2,const QString& a3,mode_t a4,time_t a5,time_t a6,time_t a7)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KArchive::writeSymLink(a0,a1,a2,a3,a4,a5,a6,a7);

    extern bool sipVH_kio_23(sip_gilstate_t,PyObject *,const QString&,const QString&,const QString&,const QString&,uint,long,long,long);

    return sipVH_kio_23(sipGILState,meth,a0,a1,a2,a3,a4,a5,a6,a7);
}

bool sipKAr::writeFile(const QString& a0,const QString& a1,const QString& a2,const char *a3,qint64 a4,mode_t a5,time_t a6,time_t a7,time_t a8)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KArchive::writeFile(a0,a1,a2,a3,a4,a5,a6,a7,a8);

    extern bool sipVH_kio_74(sip_gilstate_t,PyObject *,const QString&,const QString&,const QString&,const char *,PY_LONG_LONG,uint,long,long,long);

    return sipVH_kio_74(sipGILState,meth,a0,a1,a2,a3,a4,a5,a6,a7,a8);
}

bool sipKAr::prepareWriting(const QString& a0,const QString& a1,const QString& a2,qint64 a3,mode_t a4,time_t a5,time_t a6,time_t a7)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KArchive::prepareWriting(a0,a1,a2,a3,a4,a5,a6,a7);

    extern bool sipVH_kio_22(sip_gilstate_t,PyObject *,const QString&,const QString&,const QString&,PY_LONG_LONG,uint,long,long,long);

    return sipVH_kio_22(sipGILState,meth,a0,a1,a2,a3,a4,a5,a6,a7);
}

bool sipKAr::writeData(const char *a0,qint64 a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KArchive::writeData(a0,a1);

    extern bool sipVH_kio_24(sip_gilstate_t,PyObject *,const char *,PY_LONG_LONG);

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

bool sipKAr::finishWriting(qint64 a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KArchive::finishWriting(a0);

    typedef bool (*sipVH_QtCore_32)(sip_gilstate_t,PyObject *,PY_LONG_LONG);

    return ((sipVH_QtCore_32)(sipModuleAPI_kio_QtCore->em_virthandlers[32]))(sipGILState,meth,a0);
}

KArchiveDirectory * sipKAr::rootDir()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KArchive::rootDir();

    extern KArchiveDirectory * sipVH_kio_73(sip_gilstate_t,PyObject *);

    return sipVH_kio_73(sipGILState,meth);
}

bool sipKAr::createDevice(QIODevice::OpenMode a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KArchive::createDevice(a0);

    typedef bool (*sipVH_QtCore_15)(sip_gilstate_t,PyObject *,QIODevice::OpenMode);

    return ((sipVH_QtCore_15)(sipModuleAPI_kio_QtCore->em_virthandlers[15]))(sipGILState,meth,a0);
}

KArchiveDirectory * sipKAr::sipProtectVirt_rootDir(bool sipSelfWasArg)
{
    return (sipSelfWasArg ? KArchive::rootDir() : rootDir());
}

KArchiveDirectory * sipKAr::sipProtect_findOrCreate(const QString& a0)
{
    return KArchive::findOrCreate(a0);
}

bool sipKAr::sipProtectVirt_createDevice(bool sipSelfWasArg,QIODevice::OpenMode a0)
{
    return (sipSelfWasArg ? KArchive::createDevice(a0) : createDevice(a0));
}

void sipKAr::sipProtect_setDevice(QIODevice *a0)
{
    KArchive::setDevice(a0);
}

void sipKAr::sipProtect_setRootDir(KArchiveDirectory *a0)
{
    KArchive::setRootDir(a0);
}

bool sipKAr::sipProtectVirt_doPrepareWriting(bool sipSelfWasArg,const QString& a0,const QString& a1,const QString& a2,qint64 a3,mode_t a4,time_t a5,time_t a6,time_t a7)
{
    return (sipSelfWasArg ? KAr::doPrepareWriting(a0,a1,a2,a3,a4,a5,a6,a7) : doPrepareWriting(a0,a1,a2,a3,a4,a5,a6,a7));
}

bool sipKAr::sipProtectVirt_doFinishWriting(bool sipSelfWasArg,qint64 a0)
{
    return (sipSelfWasArg ? KAr::doFinishWriting(a0) : doFinishWriting(a0));
}

bool sipKAr::sipProtectVirt_doWriteDir(bool sipSelfWasArg,const QString& a0,const QString& a1,const QString& a2,mode_t a3,time_t a4,time_t a5,time_t a6)
{
    return (sipSelfWasArg ? KAr::doWriteDir(a0,a1,a2,a3,a4,a5,a6) : doWriteDir(a0,a1,a2,a3,a4,a5,a6));
}

bool sipKAr::sipProtectVirt_doWriteSymLink(bool sipSelfWasArg,const QString& a0,const QString& a1,const QString& a2,const QString& a3,mode_t a4,time_t a5,time_t a6,time_t a7)
{
    return (sipSelfWasArg ? KAr::doWriteSymLink(a0,a1,a2,a3,a4,a5,a6,a7) : doWriteSymLink(a0,a1,a2,a3,a4,a5,a6,a7));
}

bool sipKAr::sipProtectVirt_openArchive(bool sipSelfWasArg,QIODevice::OpenMode a0)
{
    return (sipSelfWasArg ? KAr::openArchive(a0) : openArchive(a0));
}

bool sipKAr::sipProtectVirt_closeArchive(bool sipSelfWasArg)
{
    return (sipSelfWasArg ? KAr::closeArchive() : closeArchive());
}


extern "C" {static PyObject *meth_KAr_rootDir(PyObject *, PyObject *);}
static PyObject *meth_KAr_rootDir(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipKAr *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

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

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

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

    return NULL;
}


extern "C" {static PyObject *meth_KAr_createDevice(PyObject *, PyObject *);}
static PyObject *meth_KAr_createDevice(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QIODevice::OpenMode * a0;
        int a0State = 0;
        sipKAr *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_createDevice(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QIODevice_OpenMode,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QIODevice * a0;
        sipKAr *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KAr, &sipCpp, sipType_QIODevice, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setDevice(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KArchiveDirectory * a0;
        sipKAr *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KAr, &sipCpp, sipType_KArchiveDirectory, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setRootDir(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KAr_doPrepareWriting(PyObject *, PyObject *);}
static PyObject *meth_KAr_doPrepareWriting(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        const QString * a2;
        int a2State = 0;
        qint64 a3;
        mode_t a4;
        time_t a5;
        time_t a6;
        time_t a7;
        sipKAr *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J1nulll", &sipSelf, sipType_KAr, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, &a3, &a4, &a5, &a6, &a7))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_doPrepareWriting(sipSelfWasArg,*a0,*a1,*a2,a3,a4,a5,a6,a7);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KAr_doFinishWriting(PyObject *, PyObject *);}
static PyObject *meth_KAr_doFinishWriting(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        qint64 a0;
        sipKAr *sipCpp;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KAr_doWriteDir(PyObject *, PyObject *);}
static PyObject *meth_KAr_doWriteDir(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        const QString * a2;
        int a2State = 0;
        mode_t a3;
        time_t a4;
        time_t a5;
        time_t a6;
        sipKAr *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J1ulll", &sipSelf, sipType_KAr, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, &a3, &a4, &a5, &a6))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_doWriteDir(sipSelfWasArg,*a0,*a1,*a2,a3,a4,a5,a6);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KAr_doWriteSymLink(PyObject *, PyObject *);}
static PyObject *meth_KAr_doWriteSymLink(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        const QString * a2;
        int a2State = 0;
        const QString * a3;
        int a3State = 0;
        mode_t a4;
        time_t a5;
        time_t a6;
        time_t a7;
        sipKAr *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J1J1ulll", &sipSelf, sipType_KAr, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, &a4, &a5, &a6, &a7))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_doWriteSymLink(sipSelfWasArg,*a0,*a1,*a2,*a3,a4,a5,a6,a7);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KAr_openArchive(PyObject *, PyObject *);}
static PyObject *meth_KAr_openArchive(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QIODevice::OpenMode * a0;
        int a0State = 0;
        sipKAr *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_openArchive(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QIODevice_OpenMode,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KAr_closeArchive(PyObject *, PyObject *);}
static PyObject *meth_KAr_closeArchive(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipKAr *sipCpp;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KAr)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KArchive)->ctd_cast((KArchive *)(KAr *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKAr *>(sipCppV);
    else
        delete reinterpret_cast<KAr *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KAr(sipSimpleWrapper *);}
static void dealloc_KAr(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKAr *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KAr(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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

    {
        const QString * a0;
        int a0State = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QIODevice * a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8", sipType_QIODevice, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKAr(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KAr[] = {{6, 255, 1}};


static PyMethodDef methods_KAr[] = {
    {SIP_MLNAME_CAST(sipName_closeArchive), meth_KAr_closeArchive, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createDevice), meth_KAr_createDevice, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doFinishWriting), meth_KAr_doFinishWriting, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doPrepareWriting), meth_KAr_doPrepareWriting, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doWriteDir), meth_KAr_doWriteDir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doWriteSymLink), meth_KAr_doWriteSymLink, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_findOrCreate), meth_KAr_findOrCreate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_openArchive), meth_KAr_openArchive, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rootDir), meth_KAr_rootDir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDevice), meth_KAr_setDevice, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRootDir), meth_KAr_setRootDir, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kio_KAr = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KAr,
        {0}
    },
    {
        sipNameNr_KAr,
        {0, 0, 1},
        11, methods_KAr,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KAr,
    0,
    init_KAr,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KAr,
    0,
    0,
    0,
    release_KAr,
    cast_KAr,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 35 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/karchive.sip"
#include <karchive.h>
#line 2654 "sipkiopart6.cpp"

#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 2658 "sipkiopart6.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 2661 "sipkiopart6.cpp"
#line 156 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/karchive.sip"
#include <karchive.h>
#line 2664 "sipkiopart6.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 2667 "sipkiopart6.cpp"


class sipKArchive : public KArchive
{
public:
    sipKArchive(const QString&);
    sipKArchive(QIODevice *);
    virtual ~sipKArchive();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    bool sipProtect_openArchive(QIODevice::OpenMode);
    bool sipProtect_closeArchive();
    KArchiveDirectory * sipProtectVirt_rootDir(bool);
    bool sipProtect_doWriteDir(const QString&,const QString&,const QString&,mode_t,time_t,time_t,time_t);
    bool sipProtect_doWriteSymLink(const QString&,const QString&,const QString&,const QString&,mode_t,time_t,time_t,time_t);
    bool sipProtect_doPrepareWriting(const QString&,const QString&,const QString&,qint64,mode_t,time_t,time_t,time_t);
    bool sipProtect_doFinishWriting(qint64);
    KArchiveDirectory * sipProtect_findOrCreate(const QString&);
    bool sipProtectVirt_createDevice(bool,QIODevice::OpenMode);
    void sipProtect_setDevice(QIODevice *);
    void sipProtect_setRootDir(KArchiveDirectory *);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool open(QIODevice::OpenMode);
    bool close();
    bool writeDir(const QString&,const QString&,const QString&,mode_t,time_t,time_t,time_t);
    bool writeSymLink(const QString&,const QString&,const QString&,const QString&,mode_t,time_t,time_t,time_t);
    bool writeFile(const QString&,const QString&,const QString&,const char *,qint64,mode_t,time_t,time_t,time_t);
    bool prepareWriting(const QString&,const QString&,const QString&,qint64,mode_t,time_t,time_t,time_t);
    bool writeData(const char *,qint64);
    bool finishWriting(qint64);
    bool openArchive(QIODevice::OpenMode);
    bool closeArchive();
    KArchiveDirectory * rootDir();
    bool doWriteDir(const QString&,const QString&,const QString&,mode_t,time_t,time_t,time_t);
    bool doWriteSymLink(const QString&,const QString&,const QString&,const QString&,mode_t,time_t,time_t,time_t);
    bool doPrepareWriting(const QString&,const QString&,const QString&,qint64,mode_t,time_t,time_t,time_t);
    bool doFinishWriting(qint64);
    bool createDevice(QIODevice::OpenMode);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[16];
};

sipKArchive::sipKArchive(const QString& a0): KArchive(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKArchive::sipKArchive(QIODevice *a0): KArchive(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

bool sipKArchive::open(QIODevice::OpenMode a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KArchive::open(a0);

    typedef bool (*sipVH_QtCore_15)(sip_gilstate_t,PyObject *,QIODevice::OpenMode);

    return ((sipVH_QtCore_15)(sipModuleAPI_kio_QtCore->em_virthandlers[15]))(sipGILState,meth,a0);
}

bool sipKArchive::close()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KArchive::close();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_kio_QtCore->em_virthandlers[7]))(sipGILState,meth);
}

bool sipKArchive::writeDir(const QString& a0,const QString& a1,const QString& a2,mode_t a3,time_t a4,time_t a5,time_t a6)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KArchive::writeDir(a0,a1,a2,a3,a4,a5,a6);

    extern bool sipVH_kio_21(sip_gilstate_t,PyObject *,const QString&,const QString&,const QString&,uint,long,long,long);

    return sipVH_kio_21(sipGILState,meth,a0,a1,a2,a3,a4,a5,a6);
}

bool sipKArchive::writeSymLink(const QString& a0,const QString& a1,const QString& a2,const QString& a3,mode_t a4,time_t a5,time_t a6,time_t a7)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KArchive::writeSymLink(a0,a1,a2,a3,a4,a5,a6,a7);

    extern bool sipVH_kio_23(sip_gilstate_t,PyObject *,const QString&,const QString&,const QString&,const QString&,uint,long,long,long);

    return sipVH_kio_23(sipGILState,meth,a0,a1,a2,a3,a4,a5,a6,a7);
}

bool sipKArchive::writeFile(const QString& a0,const QString& a1,const QString& a2,const char *a3,qint64 a4,mode_t a5,time_t a6,time_t a7,time_t a8)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KArchive::writeFile(a0,a1,a2,a3,a4,a5,a6,a7,a8);

    extern bool sipVH_kio_74(sip_gilstate_t,PyObject *,const QString&,const QString&,const QString&,const char *,PY_LONG_LONG,uint,long,long,long);

    return sipVH_kio_74(sipGILState,meth,a0,a1,a2,a3,a4,a5,a6,a7,a8);
}

bool sipKArchive::prepareWriting(const QString& a0,const QString& a1,const QString& a2,qint64 a3,mode_t a4,time_t a5,time_t a6,time_t a7)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KArchive::prepareWriting(a0,a1,a2,a3,a4,a5,a6,a7);

    extern bool sipVH_kio_22(sip_gilstate_t,PyObject *,const QString&,const QString&,const QString&,PY_LONG_LONG,uint,long,long,long);

    return sipVH_kio_22(sipGILState,meth,a0,a1,a2,a3,a4,a5,a6,a7);
}

bool sipKArchive::writeData(const char *a0,qint64 a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KArchive::writeData(a0,a1);

    extern bool sipVH_kio_24(sip_gilstate_t,PyObject *,const char *,PY_LONG_LONG);

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

bool sipKArchive::finishWriting(qint64 a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KArchive::finishWriting(a0);

    typedef bool (*sipVH_QtCore_32)(sip_gilstate_t,PyObject *,PY_LONG_LONG);

    return ((sipVH_QtCore_32)(sipModuleAPI_kio_QtCore->em_virthandlers[32]))(sipGILState,meth,a0);
}

bool sipKArchive::openArchive(QIODevice::OpenMode a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,sipName_KArchive,sipName_openArchive);

    if (!meth)
        return 0;

    typedef bool (*sipVH_QtCore_15)(sip_gilstate_t,PyObject *,QIODevice::OpenMode);

    return ((sipVH_QtCore_15)(sipModuleAPI_kio_QtCore->em_virthandlers[15]))(sipGILState,meth,a0);
}

bool sipKArchive::closeArchive()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,sipName_KArchive,sipName_closeArchive);

    if (!meth)
        return 0;

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_kio_QtCore->em_virthandlers[7]))(sipGILState,meth);
}

KArchiveDirectory * sipKArchive::rootDir()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KArchive::rootDir();

    extern KArchiveDirectory * sipVH_kio_73(sip_gilstate_t,PyObject *);

    return sipVH_kio_73(sipGILState,meth);
}

bool sipKArchive::doWriteDir(const QString& a0,const QString& a1,const QString& a2,mode_t a3,time_t a4,time_t a5,time_t a6)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,sipName_KArchive,sipName_doWriteDir);

    if (!meth)
        return 0;

    extern bool sipVH_kio_21(sip_gilstate_t,PyObject *,const QString&,const QString&,const QString&,uint,long,long,long);

    return sipVH_kio_21(sipGILState,meth,a0,a1,a2,a3,a4,a5,a6);
}

bool sipKArchive::doWriteSymLink(const QString& a0,const QString& a1,const QString& a2,const QString& a3,mode_t a4,time_t a5,time_t a6,time_t a7)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,sipName_KArchive,sipName_doWriteSymLink);

    if (!meth)
        return 0;

    extern bool sipVH_kio_23(sip_gilstate_t,PyObject *,const QString&,const QString&,const QString&,const QString&,uint,long,long,long);

    return sipVH_kio_23(sipGILState,meth,a0,a1,a2,a3,a4,a5,a6,a7);
}

bool sipKArchive::doPrepareWriting(const QString& a0,const QString& a1,const QString& a2,qint64 a3,mode_t a4,time_t a5,time_t a6,time_t a7)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,sipName_KArchive,sipName_doPrepareWriting);

    if (!meth)
        return 0;

    extern bool sipVH_kio_22(sip_gilstate_t,PyObject *,const QString&,const QString&,const QString&,PY_LONG_LONG,uint,long,long,long);

    return sipVH_kio_22(sipGILState,meth,a0,a1,a2,a3,a4,a5,a6,a7);
}

bool sipKArchive::doFinishWriting(qint64 a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,sipName_KArchive,sipName_doFinishWriting);

    if (!meth)
        return 0;

    typedef bool (*sipVH_QtCore_32)(sip_gilstate_t,PyObject *,PY_LONG_LONG);

    return ((sipVH_QtCore_32)(sipModuleAPI_kio_QtCore->em_virthandlers[32]))(sipGILState,meth,a0);
}

bool sipKArchive::createDevice(QIODevice::OpenMode a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KArchive::createDevice(a0);

    typedef bool (*sipVH_QtCore_15)(sip_gilstate_t,PyObject *,QIODevice::OpenMode);

    return ((sipVH_QtCore_15)(sipModuleAPI_kio_QtCore->em_virthandlers[15]))(sipGILState,meth,a0);
}

bool sipKArchive::sipProtect_openArchive(QIODevice::OpenMode a0)
{
    return openArchive(a0);
}

bool sipKArchive::sipProtect_closeArchive()
{
    return closeArchive();
}

KArchiveDirectory * sipKArchive::sipProtectVirt_rootDir(bool sipSelfWasArg)
{
    return (sipSelfWasArg ? KArchive::rootDir() : rootDir());
}

bool sipKArchive::sipProtect_doWriteDir(const QString& a0,const QString& a1,const QString& a2,mode_t a3,time_t a4,time_t a5,time_t a6)
{
    return doWriteDir(a0,a1,a2,a3,a4,a5,a6);
}

bool sipKArchive::sipProtect_doWriteSymLink(const QString& a0,const QString& a1,const QString& a2,const QString& a3,mode_t a4,time_t a5,time_t a6,time_t a7)
{
    return doWriteSymLink(a0,a1,a2,a3,a4,a5,a6,a7);
}

bool sipKArchive::sipProtect_doPrepareWriting(const QString& a0,const QString& a1,const QString& a2,qint64 a3,mode_t a4,time_t a5,time_t a6,time_t a7)
{
    return doPrepareWriting(a0,a1,a2,a3,a4,a5,a6,a7);
}

bool sipKArchive::sipProtect_doFinishWriting(qint64 a0)
{
    return doFinishWriting(a0);
}

KArchiveDirectory * sipKArchive::sipProtect_findOrCreate(const QString& a0)
{
    return KArchive::findOrCreate(a0);
}

bool sipKArchive::sipProtectVirt_createDevice(bool sipSelfWasArg,QIODevice::OpenMode a0)
{
    return (sipSelfWasArg ? KArchive::createDevice(a0) : createDevice(a0));
}

void sipKArchive::sipProtect_setDevice(QIODevice *a0)
{
    KArchive::setDevice(a0);
}

void sipKArchive::sipProtect_setRootDir(KArchiveDirectory *a0)
{
    KArchive::setRootDir(a0);
}


extern "C" {static PyObject *meth_KArchive_open(PyObject *, PyObject *);}
static PyObject *meth_KArchive_open(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QIODevice::OpenMode * a0;
        int a0State = 0;
        KArchive *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KArchive::open(*a0) : sipCpp->open(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QIODevice_OpenMode,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KArchive_close(PyObject *, PyObject *);}
static PyObject *meth_KArchive_close(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KArchive *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KArchive::close() : sipCpp->close());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KArchive *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isOpen();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KArchive *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KArchive, &sipCpp))
        {
            QIODevice::OpenMode *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QIODevice::OpenMode(sipCpp->mode());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KArchive *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->device();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KArchive *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KArchive *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->directory();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(const_cast<KArchiveDirectory *>(sipRes),sipType_KArchiveDirectory,NULL);
        }
    }

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

    return NULL;
}


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

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

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KArchive_writeDir(PyObject *, PyObject *);}
static PyObject *meth_KArchive_writeDir(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        const QString * a2;
        int a2State = 0;
        mode_t a3 = 16877;
        time_t a4 = KArchive::UnknownTime;
        time_t a5 = KArchive::UnknownTime;
        time_t a6 = KArchive::UnknownTime;
        KArchive *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J1|ulll", &sipSelf, sipType_KArchive, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, &a3, &a4, &a5, &a6))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KArchive::writeDir(*a0,*a1,*a2,a3,a4,a5,a6) : sipCpp->writeDir(*a0,*a1,*a2,a3,a4,a5,a6));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KArchive_writeSymLink(PyObject *, PyObject *);}
static PyObject *meth_KArchive_writeSymLink(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        const QString * a2;
        int a2State = 0;
        const QString * a3;
        int a3State = 0;
        mode_t a4 = 41453;
        time_t a5 = KArchive::UnknownTime;
        time_t a6 = KArchive::UnknownTime;
        time_t a7 = KArchive::UnknownTime;
        KArchive *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J1J1|ulll", &sipSelf, sipType_KArchive, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, &a4, &a5, &a6, &a7))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KArchive::writeSymLink(*a0,*a1,*a2,*a3,a4,a5,a6,a7) : sipCpp->writeSymLink(*a0,*a1,*a2,*a3,a4,a5,a6,a7));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KArchive_writeFile(PyObject *, PyObject *);}
static PyObject *meth_KArchive_writeFile(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        const QString * a2;
        int a2State = 0;
        const char * a3;
        PyObject *a3Keep;
        qint64 a4;
        mode_t a5 = 33188;
        time_t a6 = KArchive::UnknownTime;
        time_t a7 = KArchive::UnknownTime;
        time_t a8 = KArchive::UnknownTime;
        KArchive *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J1AAn|ulll", &sipSelf, sipType_KArchive, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, &a3Keep, &a3, &a4, &a5, &a6, &a7, &a8))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KArchive::writeFile(*a0,*a1,*a2,a3,a4,a5,a6,a7,a8) : sipCpp->writeFile(*a0,*a1,*a2,a3,a4,a5,a6,a7,a8));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            Py_DECREF(a3Keep);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KArchive_prepareWriting(PyObject *, PyObject *);}
static PyObject *meth_KArchive_prepareWriting(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        const QString * a2;
        int a2State = 0;
        qint64 a3;
        mode_t a4 = 33188;
        time_t a5 = KArchive::UnknownTime;
        time_t a6 = KArchive::UnknownTime;
        time_t a7 = KArchive::UnknownTime;
        KArchive *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J1n|ulll", &sipSelf, sipType_KArchive, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, &a3, &a4, &a5, &a6, &a7))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KArchive::prepareWriting(*a0,*a1,*a2,a3,a4,a5,a6,a7) : sipCpp->prepareWriting(*a0,*a1,*a2,a3,a4,a5,a6,a7));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KArchive_writeData(PyObject *, PyObject *);}
static PyObject *meth_KArchive_writeData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const char * a0;
        PyObject *a0Keep;
        qint64 a1;
        KArchive *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAAn", &sipSelf, sipType_KArchive, &sipCpp, &a0Keep, &a0, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KArchive::writeData(a0,a1) : sipCpp->writeData(a0,a1));
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KArchive_finishWriting(PyObject *, PyObject *);}
static PyObject *meth_KArchive_finishWriting(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        qint64 a0;
        KArchive *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KArchive::finishWriting(a0) : sipCpp->finishWriting(a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QIODevice::OpenMode * a0;
        int a0State = 0;
        sipKArchive *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KArchive, sipName_openArchive);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_openArchive(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QIODevice_OpenMode,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipKArchive *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KArchive, sipName_closeArchive);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_closeArchive();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KArchive_rootDir(PyObject *, PyObject *);}
static PyObject *meth_KArchive_rootDir(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipKArchive *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        const QString * a2;
        int a2State = 0;
        mode_t a3;
        time_t a4;
        time_t a5;
        time_t a6;
        sipKArchive *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J1ulll", &sipSelf, sipType_KArchive, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, &a3, &a4, &a5, &a6))
        {
            bool sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KArchive, sipName_doWriteDir);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_doWriteDir(*a0,*a1,*a2,a3,a4,a5,a6);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        const QString * a2;
        int a2State = 0;
        const QString * a3;
        int a3State = 0;
        mode_t a4;
        time_t a5;
        time_t a6;
        time_t a7;
        sipKArchive *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J1J1ulll", &sipSelf, sipType_KArchive, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, &a4, &a5, &a6, &a7))
        {
            bool sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KArchive, sipName_doWriteSymLink);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_doWriteSymLink(*a0,*a1,*a2,*a3,a4,a5,a6,a7);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        const QString * a2;
        int a2State = 0;
        qint64 a3;
        mode_t a4;
        time_t a5;
        time_t a6;
        time_t a7;
        sipKArchive *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J1nulll", &sipSelf, sipType_KArchive, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, &a3, &a4, &a5, &a6, &a7))
        {
            bool sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KArchive, sipName_doPrepareWriting);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_doPrepareWriting(*a0,*a1,*a2,a3,a4,a5,a6,a7);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        qint64 a0;
        sipKArchive *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KArchive, sipName_doFinishWriting);
                return NULL;
            }

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

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

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

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

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

    return NULL;
}


extern "C" {static PyObject *meth_KArchive_createDevice(PyObject *, PyObject *);}
static PyObject *meth_KArchive_createDevice(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QIODevice::OpenMode * a0;
        int a0State = 0;
        sipKArchive *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_createDevice(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QIODevice_OpenMode,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QIODevice * a0;
        sipKArchive *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KArchive, &sipCpp, sipType_QIODevice, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setDevice(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KArchiveDirectory * a0;
        sipKArchive *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KArchive, &sipCpp, sipType_KArchiveDirectory, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setRootDir(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKArchive *>(sipCppV);
    else
        delete reinterpret_cast<KArchive *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KArchive(sipSimpleWrapper *);}
static void dealloc_KArchive(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKArchive *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KArchive(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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

    {
        const QString * a0;
        int a0State = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QIODevice * a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8", sipType_QIODevice, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKArchive(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KArchive[] = {
    {SIP_MLNAME_CAST(sipName_addLocalDirectory), meth_KArchive_addLocalDirectory, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addLocalFile), meth_KArchive_addLocalFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_close), meth_KArchive_close, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeArchive), meth_KArchive_closeArchive, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createDevice), meth_KArchive_createDevice, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_device), meth_KArchive_device, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_directory), meth_KArchive_directory, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doFinishWriting), meth_KArchive_doFinishWriting, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doPrepareWriting), meth_KArchive_doPrepareWriting, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doWriteDir), meth_KArchive_doWriteDir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doWriteSymLink), meth_KArchive_doWriteSymLink, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fileName), meth_KArchive_fileName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_findOrCreate), meth_KArchive_findOrCreate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_finishWriting), meth_KArchive_finishWriting, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isOpen), meth_KArchive_isOpen, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mode), meth_KArchive_mode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_open), meth_KArchive_open, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_openArchive), meth_KArchive_openArchive, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_prepareWriting), meth_KArchive_prepareWriting, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rootDir), meth_KArchive_rootDir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDevice), meth_KArchive_setDevice, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRootDir), meth_KArchive_setRootDir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeData), meth_KArchive_writeData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeDir), meth_KArchive_writeDir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeFile), meth_KArchive_writeFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeSymLink), meth_KArchive_writeSymLink, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KArchive[] = {
    {sipName_UnknownTime, KArchive::UnknownTime, -1},
};


pyqt4ClassTypeDef sipTypeDef_kio_KArchive = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_KArchive,
        {0}
    },
    {
        sipNameNr_KArchive,
        {0, 0, 1},
        26, methods_KArchive,
        1, enummembers_KArchive,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_KArchive,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KArchive,
    0,
    0,
    0,
    release_KArchive,
    cast_KArchive,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 100 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kacl.sip"
#include <qlist.h>
#line 4089 "sipkiopart6.cpp"



extern "C" {static void assign_ACLUserPermissionsList(void *, SIP_SSIZE_T, const void *);}
static void assign_ACLUserPermissionsList(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<ACLUserPermissionsList *>(sipDst)[sipDstIdx] = *reinterpret_cast<const ACLUserPermissionsList *>(sipSrc);
}


extern "C" {static void *array_ACLUserPermissionsList(SIP_SSIZE_T);}
static void *array_ACLUserPermissionsList(SIP_SSIZE_T sipNrElem)
{
    return new ACLUserPermissionsList[sipNrElem];
}


extern "C" {static void *copy_ACLUserPermissionsList(const void *, SIP_SSIZE_T);}
static void *copy_ACLUserPermissionsList(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new ACLUserPermissionsList(reinterpret_cast<const ACLUserPermissionsList *>(sipSrc)[sipSrcIdx]);
}


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



extern "C" {static int convertTo_ACLUserPermissionsList(PyObject *, void **, int *, PyObject *);}
static int convertTo_ACLUserPermissionsList(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *)
{
    ACLUserPermissionsList **sipCppPtr = reinterpret_cast<ACLUserPermissionsList **>(sipCppPtrV);

#line 137 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kacl.sip"
    if (sipIsErr == NULL)
        return PyList_Check(sipPy);

    QList<QPair<QString, unsigned short> > *cpplist = new QList<QPair<QString, unsigned short> >;

    QString p1;
    int iserr = 0;

    for (int i = 0; i < PyList_Size (sipPy); i++)
    {
        PyObject *elem = PyList_GET_ITEM (sipPy, i);
        PyObject *pyp1 = PyTuple_GET_ITEM (elem, 0);
        p1 = *(QString *)sipForceConvertToType(pyp1, sipType_QString, NULL, 0, NULL, &iserr);
        if (iserr)
        {
            *sipIsErr = 1;
            delete cpplist;
            return 0;
        }
#if PY_MAJOR_VERSION >= 3
        ushort p2 = (ushort)(PyLong_AsLong (PyTuple_GET_ITEM (elem, 1)));
#else
        ushort p2 = (ushort)(PyInt_AS_LONG (PyTuple_GET_ITEM (elem, 1)));
#endif
        cpplist->append (QPair<QString, unsigned short> (p1, p2));
    }

    *sipCppPtr = cpplist;

    return 1;
#line 4161 "sipkiopart6.cpp"
}


extern "C" {static PyObject *convertFrom_ACLUserPermissionsList(void *, PyObject *);}
static PyObject *convertFrom_ACLUserPermissionsList(void *sipCppV,PyObject *)
{
   ACLUserPermissionsList *sipCpp = reinterpret_cast<ACLUserPermissionsList *>(sipCppV);

#line 104 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kacl.sip"
    if (!sipCpp)
        return PyList_New(0);

    // Create the list
    PyObject *pylist;
    if ((pylist = PyList_New(0)) == NULL)
        return NULL;

    QList<QPair<QString, unsigned short> > *cpplist = (QList<QPair<QString, unsigned short> > *)sipCpp;
    PyObject *inst = NULL;

    // Get it.
    QList<QPair<QString, unsigned short> >::Iterator it;
    for( it = cpplist->begin(); it != cpplist->end(); ++it )
    {
        QString s = (*it).first;
        ushort  u = (*it).second;
        PyObject *pys = sipBuildResult (NULL, "N", new QString (s), sipType_QString);
        if ((pys == NULL) || ((inst = Py_BuildValue ("Ni", pys, u)) == NULL)
            || PyList_Append (pylist, inst) < 0)
        {
            Py_XDECREF (inst);
            Py_XDECREF (pys);
            Py_DECREF (pylist);
            return NULL;
        }
    }

    return pylist;
#line 4200 "sipkiopart6.cpp"
}


sipMappedTypeDef sipTypeDef_kio_ACLUserPermissionsList = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_ACLUserPermissionsList,
        {0}
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_ACLUserPermissionsList,
    array_ACLUserPermissionsList,
    copy_ACLUserPermissionsList,
    release_ACLUserPermissionsList,
    convertTo_ACLUserPermissionsList,
    convertFrom_ACLUserPermissionsList
};

#line 46 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kacl.sip"
#include <kacl.h>
#line 4231 "sipkiopart6.cpp"

#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 4235 "sipkiopart6.cpp"
#line 100 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kacl.sip"
#include <qlist.h>
#line 4238 "sipkiopart6.cpp"


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

    {
        KACL *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isValid();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KACL *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KACL, &sipCpp))
        {
            unsigned short sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->ownerPermissions();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        unsigned short a0;
        KACL *sipCpp;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KACL *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KACL, &sipCpp))
        {
            unsigned short sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->owningGroupPermissions();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        unsigned short a0;
        KACL *sipCpp;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KACL *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KACL, &sipCpp))
        {
            unsigned short sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->othersPermissions();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        unsigned short a0;
        KACL *sipCpp;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KACL *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KACL, &sipCpp))
        {
            mode_t sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->basePermissions();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KACL *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isExtended();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        KACL *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KACL, &sipCpp))
        {
            unsigned short sipRes;

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

            return sipBuildResult(0,"(tb)",sipRes,a0);
        }
    }

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

    return NULL;
}


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

    {
        unsigned short a0;
        KACL *sipCpp;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KACL, &sipCpp, sipType_QString,&a0, &a0State))
        {
            unsigned short sipRes;

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

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

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        unsigned short a1;
        KACL *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1t", &sipSelf, sipType_KACL, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KACL *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new ACLUserPermissionsList(sipCpp->allUserPermissions());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const ACLUserPermissionsList * a0;
        int a0State = 0;
        KACL *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->setAllUserPermissions(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<ACLUserPermissionsList *>(a0),sipType_ACLUserPermissionsList,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KACL, &sipCpp, sipType_QString,&a0, &a0State))
        {
            unsigned short sipRes;

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

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

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        unsigned short a1;
        KACL *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1t", &sipSelf, sipType_KACL, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KACL *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new ACLGroupPermissionsList(sipCpp->allGroupPermissions());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const ACLGroupPermissionsList * a0;
        int a0State = 0;
        KACL *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->setAllGroupPermissions(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<ACLGroupPermissionsList *>(a0),sipType_ACLUserPermissionsList,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KACL *sipCpp;

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

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

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

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

    return NULL;
}


extern "C" {static PyObject *slot_KACL___ne__(PyObject *,PyObject *);}
static PyObject *slot_KACL___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KACL *sipCpp = reinterpret_cast<KACL *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KACL));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KACL * a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_KACL, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->KACL::operator!=(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_KACL___eq__(PyObject *,PyObject *);}
static PyObject *slot_KACL___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KACL *sipCpp = reinterpret_cast<KACL *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KACL));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KACL * a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_KACL, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->KACL::operator==(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


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

    return NULL;
}


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

    delete reinterpret_cast<KACL *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KACL(void *, SIP_SSIZE_T, const void *);}
static void assign_KACL(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KACL *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KACL *>(sipSrc);
}


extern "C" {static void *array_KACL(SIP_SSIZE_T);}
static void *array_KACL(SIP_SSIZE_T sipNrElem)
{
    return new KACL[sipNrElem];
}


extern "C" {static void *copy_KACL(const void *, SIP_SSIZE_T);}
static void *copy_KACL(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KACL(reinterpret_cast<const KACL *>(sipSrc)[sipSrcIdx]);
}


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


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

    {
        const QString * a0;
        int a0State = 0;

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

            return sipCpp;
        }
    }

    {
        const KACL * a0;

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

            return sipCpp;
        }
    }

    {
        mode_t a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "u", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KACL(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

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

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KACL[] = {
    {(void *)slot_KACL___ne__, ne_slot},
    {(void *)slot_KACL___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_KACL[] = {
    {SIP_MLNAME_CAST(sipName_allGroupPermissions), meth_KACL_allGroupPermissions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_allUserPermissions), meth_KACL_allUserPermissions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_asString), meth_KACL_asString, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_basePermissions), meth_KACL_basePermissions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isExtended), meth_KACL_isExtended, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isValid), meth_KACL_isValid, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_maskPermissions), meth_KACL_maskPermissions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_namedGroupPermissions), meth_KACL_namedGroupPermissions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_namedUserPermissions), meth_KACL_namedUserPermissions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_othersPermissions), meth_KACL_othersPermissions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ownerPermissions), meth_KACL_ownerPermissions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_owningGroupPermissions), meth_KACL_owningGroupPermissions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setACL), meth_KACL_setACL, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAllGroupPermissions), meth_KACL_setAllGroupPermissions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAllUserPermissions), meth_KACL_setAllUserPermissions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMaskPermissions), meth_KACL_setMaskPermissions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setNamedGroupPermissions), meth_KACL_setNamedGroupPermissions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setNamedUserPermissions), meth_KACL_setNamedUserPermissions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOthersPermissions), meth_KACL_setOthersPermissions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOwnerPermissions), meth_KACL_setOwnerPermissions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOwningGroupPermissions), meth_KACL_setOwningGroupPermissions, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kio_KACL = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KACL,
        {0}
    },
    {
        sipNameNr_KACL,
        {0, 0, 1},
        21, methods_KACL,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    slots_KACL,
    init_KACL,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KACL,
    assign_KACL,
    array_KACL,
    copy_KACL,
    release_KACL,
    cast_KACL,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kabstractfilewidget.sip"
#include <kabstractfilewidget.h>
#line 5106 "sipkiopart6.cpp"

#line 40 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 5110 "sipkiopart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 5113 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdeui/kactioncollection.sip"
#include <kactioncollection.h>
#line 5116 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kfilefiltercombo.sip"
#include <kfilefiltercombo.h>
#line 5119 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kurlcombobox.sip"
#include <kurlcombobox.h>
#line 5122 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdeui/kpushbutton.sip"
#include <kpushbutton.h>
#line 5125 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdeui/ktoolbar.sip"
#include <ktoolbar.h>
#line 5128 "sipkiopart6.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kfile.sip"
#include <kfile.h>
#line 5131 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kpreviewwidgetbase.sip"
#include <kpreviewwidgetbase.h>
#line 5134 "sipkiopart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 5137 "sipkiopart6.cpp"
#line 340 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 5140 "sipkiopart6.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kmimetype.sip"
#include <kmimetype.h>
#line 5143 "sipkiopart6.cpp"
#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 5146 "sipkiopart6.cpp"
#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 5149 "sipkiopart6.cpp"


class sipKAbstractFileWidget : public KAbstractFileWidget
{
public:
    sipKAbstractFileWidget();
    sipKAbstractFileWidget(const KAbstractFileWidget&);
    virtual ~sipKAbstractFileWidget();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    KUrl selectedUrl() const;
    KUrl::List selectedUrls() const;
    KUrl baseUrl() const;
    QString selectedFile() const;
    QStringList selectedFiles() const;
    void setUrl(const KUrl&,bool);
    void setSelection(const QString&);
    void setOperationMode(KAbstractFileWidget::OperationMode);
    KAbstractFileWidget::OperationMode operationMode() const;
    void setKeepLocation(bool);
    bool keepsLocation() const;
    void setFilter(const QString&);
    QString currentFilter() const;
    KMimeType::Ptr currentFilterMimeType();
    void setMimeFilter(const QStringList&,const QString&);
    QString currentMimeFilter() const;
    void clearFilter();
    void setPreviewWidget(KPreviewWidgetBase *);
    void setMode(KFile::Modes);
    KFile::Modes mode() const;
    void setLocationLabel(const QString&);
    KToolBar * toolBar() const;
    KPushButton * okButton() const;
    KPushButton * cancelButton() const;
    KUrlComboBox * locationEdit() const;
    KFileFilterCombo * filterWidget() const;
    KActionCollection * actionCollection() const;
    void setCustomWidget(QWidget *);
    void setCustomWidget(const QString&,QWidget *);
    void slotOk();
    void accept();
    void slotCancel();
    void virtual_hook(int,void *);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[33];
};

sipKAbstractFileWidget::sipKAbstractFileWidget(): KAbstractFileWidget(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKAbstractFileWidget::sipKAbstractFileWidget(const KAbstractFileWidget& a0): KAbstractFileWidget(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

KUrl sipKAbstractFileWidget::selectedUrl() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KUrl();

    extern KUrl sipVH_kio_45(sip_gilstate_t,PyObject *);

    return sipVH_kio_45(sipGILState,meth);
}

KUrl::List sipKAbstractFileWidget::selectedUrls() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,sipName_KAbstractFileWidget,sipName_selectedUrls);

    if (!meth)
        return KUrl::List();

    extern KUrl::List sipVH_kio_46(sip_gilstate_t,PyObject *);

    return sipVH_kio_46(sipGILState,meth);
}

KUrl sipKAbstractFileWidget::baseUrl() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,sipName_KAbstractFileWidget,sipName_baseUrl);

    if (!meth)
        return KUrl();

    extern KUrl sipVH_kio_45(sip_gilstate_t,PyObject *);

    return sipVH_kio_45(sipGILState,meth);
}

QString sipKAbstractFileWidget::selectedFile() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QString();

    typedef QString (*sipVH_QtCore_62)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_62)(sipModuleAPI_kio_QtCore->em_virthandlers[62]))(sipGILState,meth);
}

QStringList sipKAbstractFileWidget::selectedFiles() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QStringList();

    typedef QStringList (*sipVH_QtCore_27)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_27)(sipModuleAPI_kio_QtCore->em_virthandlers[27]))(sipGILState,meth);
}

void sipKAbstractFileWidget::setUrl(const KUrl& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,sipName_KAbstractFileWidget,sipName_setUrl);

    if (!meth)
        return;

    extern void sipVH_kio_5(sip_gilstate_t,PyObject *,const KUrl&,bool);

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

void sipKAbstractFileWidget::setSelection(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,sipName_KAbstractFileWidget,sipName_setSelection);

    if (!meth)
        return;

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t,PyObject *,const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kio_QtCore->em_virthandlers[33]))(sipGILState,meth,a0);
}

void sipKAbstractFileWidget::setOperationMode(KAbstractFileWidget::OperationMode a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,sipName_KAbstractFileWidget,sipName_setOperationMode);

    if (!meth)
        return;

    extern void sipVH_kio_44(sip_gilstate_t,PyObject *,KAbstractFileWidget::OperationMode);

    sipVH_kio_44(sipGILState,meth,a0);
}

KAbstractFileWidget::OperationMode sipKAbstractFileWidget::operationMode() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return (KAbstractFileWidget::OperationMode)0;

    extern KAbstractFileWidget::OperationMode sipVH_kio_43(sip_gilstate_t,PyObject *);

    return sipVH_kio_43(sipGILState,meth);
}

void sipKAbstractFileWidget::setKeepLocation(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,sipName_KAbstractFileWidget,sipName_setKeepLocation);

    if (!meth)
        return;

    typedef void (*sipVH_QtNetwork_1)(sip_gilstate_t,PyObject *,bool);

    ((sipVH_QtNetwork_1)(sipModuleAPI_kio_QtNetwork->em_virthandlers[1]))(sipGILState,meth,a0);
}

bool sipKAbstractFileWidget::keepsLocation() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,sipName_KAbstractFileWidget,sipName_keepsLocation);

    if (!meth)
        return 0;

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_kio_QtCore->em_virthandlers[7]))(sipGILState,meth);
}

void sipKAbstractFileWidget::setFilter(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,sipName_KAbstractFileWidget,sipName_setFilter);

    if (!meth)
        return;

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t,PyObject *,const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kio_QtCore->em_virthandlers[33]))(sipGILState,meth,a0);
}

QString sipKAbstractFileWidget::currentFilter() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,sipName_KAbstractFileWidget,sipName_currentFilter);

    if (!meth)
        return QString();

    typedef QString (*sipVH_QtCore_62)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_62)(sipModuleAPI_kio_QtCore->em_virthandlers[62]))(sipGILState,meth);
}

KMimeType::Ptr sipKAbstractFileWidget::currentFilterMimeType()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,sipName_KAbstractFileWidget,sipName_currentFilterMimeType);

    if (!meth)
        return KMimeType::Ptr();

    extern KSharedPtr<KMimeType> sipVH_kio_42(sip_gilstate_t,PyObject *);

    return sipVH_kio_42(sipGILState,meth);
}

void sipKAbstractFileWidget::setMimeFilter(const QStringList& a0,const QString& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,sipName_KAbstractFileWidget,sipName_setMimeFilter);

    if (!meth)
        return;

    extern void sipVH_kio_41(sip_gilstate_t,PyObject *,const QStringList&,const QString&);

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

QString sipKAbstractFileWidget::currentMimeFilter() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,sipName_KAbstractFileWidget,sipName_currentMimeFilter);

    if (!meth)
        return QString();

    typedef QString (*sipVH_QtCore_62)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_62)(sipModuleAPI_kio_QtCore->em_virthandlers[62]))(sipGILState,meth);
}

void sipKAbstractFileWidget::clearFilter()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,sipName_KAbstractFileWidget,sipName_clearFilter);

    if (!meth)
        return;

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipKAbstractFileWidget::setPreviewWidget(KPreviewWidgetBase *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,sipName_KAbstractFileWidget,sipName_setPreviewWidget);

    if (!meth)
        return;

    extern void sipVH_kio_40(sip_gilstate_t,PyObject *,KPreviewWidgetBase *);

    sipVH_kio_40(sipGILState,meth,a0);
}

void sipKAbstractFileWidget::setMode(KFile::Modes a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,sipName_KAbstractFileWidget,sipName_setMode);

    if (!meth)
        return;

    extern void sipVH_kio_39(sip_gilstate_t,PyObject *,KFile::Modes);

    sipVH_kio_39(sipGILState,meth,a0);
}

KFile::Modes sipKAbstractFileWidget::mode() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,sipName_KAbstractFileWidget,sipName_mode);

    if (!meth)
        return KFile::Modes();

    extern KFile::Modes sipVH_kio_38(sip_gilstate_t,PyObject *);

    return sipVH_kio_38(sipGILState,meth);
}

void sipKAbstractFileWidget::setLocationLabel(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,sipName_KAbstractFileWidget,sipName_setLocationLabel);

    if (!meth)
        return;

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t,PyObject *,const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kio_QtCore->em_virthandlers[33]))(sipGILState,meth,a0);
}

KToolBar * sipKAbstractFileWidget::toolBar() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,sipName_KAbstractFileWidget,sipName_toolBar);

    if (!meth)
        return 0;

    extern KToolBar * sipVH_kio_79(sip_gilstate_t,PyObject *);

    return sipVH_kio_79(sipGILState,meth);
}

KPushButton * sipKAbstractFileWidget::okButton() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,sipName_KAbstractFileWidget,sipName_okButton);

    if (!meth)
        return 0;

    extern KPushButton * sipVH_kio_78(sip_gilstate_t,PyObject *);

    return sipVH_kio_78(sipGILState,meth);
}

KPushButton * sipKAbstractFileWidget::cancelButton() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,sipName_KAbstractFileWidget,sipName_cancelButton);

    if (!meth)
        return 0;

    extern KPushButton * sipVH_kio_78(sip_gilstate_t,PyObject *);

    return sipVH_kio_78(sipGILState,meth);
}

KUrlComboBox * sipKAbstractFileWidget::locationEdit() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,sipName_KAbstractFileWidget,sipName_locationEdit);

    if (!meth)
        return 0;

    extern KUrlComboBox * sipVH_kio_77(sip_gilstate_t,PyObject *);

    return sipVH_kio_77(sipGILState,meth);
}

KFileFilterCombo * sipKAbstractFileWidget::filterWidget() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,sipName_KAbstractFileWidget,sipName_filterWidget);

    if (!meth)
        return 0;

    extern KFileFilterCombo * sipVH_kio_76(sip_gilstate_t,PyObject *);

    return sipVH_kio_76(sipGILState,meth);
}

KActionCollection * sipKAbstractFileWidget::actionCollection() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,sipName_KAbstractFileWidget,sipName_actionCollection);

    if (!meth)
        return 0;

    typedef KActionCollection * (*sipVH_kdeui_19)(sip_gilstate_t,PyObject *);

    return ((sipVH_kdeui_19)(sipModuleAPI_kio_kdeui->em_virthandlers[19]))(sipGILState,meth);
}

void sipKAbstractFileWidget::setCustomWidget(QWidget *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,sipName_KAbstractFileWidget,sipName_setCustomWidget);

    if (!meth)
        return;

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,QWidget *);

    ((sipVH_QtGui_7)(sipModuleAPI_kio_QtGui->em_virthandlers[7]))(sipGILState,meth,a0);
}

void sipKAbstractFileWidget::setCustomWidget(const QString& a0,QWidget *a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,sipName_KAbstractFileWidget,sipName_setCustomWidget);

    if (!meth)
        return;

    extern void sipVH_kio_37(sip_gilstate_t,PyObject *,const QString&,QWidget *);

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

void sipKAbstractFileWidget::slotOk()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,sipName_KAbstractFileWidget,sipName_slotOk);

    if (!meth)
        return;

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipKAbstractFileWidget::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,sipName_KAbstractFileWidget,sipName_accept);

    if (!meth)
        return;

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipKAbstractFileWidget::slotCancel()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,sipName_KAbstractFileWidget,sipName_slotCancel);

    if (!meth)
        return;

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipKAbstractFileWidget::virtual_hook(int a0,void *a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,sipName_KAbstractFileWidget,sipName_virtual_hook);

    if (!meth)
        return;

    extern void sipVH_kio_75(sip_gilstate_t,PyObject *,int,void *);

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


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

    {
        KAbstractFileWidget *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_selectedUrl);
                return NULL;
            }

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

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

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

    return NULL;
}


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

    {
        KAbstractFileWidget *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_selectedUrls);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl::List(sipCpp->selectedUrls());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KAbstractFileWidget *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_baseUrl);
                return NULL;
            }

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

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

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

    return NULL;
}


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

    {
        KAbstractFileWidget *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_selectedFile);
                return NULL;
            }

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

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

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

    return NULL;
}


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

    {
        KAbstractFileWidget *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_selectedFiles);
                return NULL;
            }

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

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

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

    return NULL;
}


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

    {
        const KUrl * a0;
        bool a1 = 1;
        KAbstractFileWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9|b", &sipSelf, sipType_KAbstractFileWidget, &sipCpp, sipType_KUrl, &a0, &a1))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_setUrl);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setUrl(*a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KAbstractFileWidget, &sipCpp, sipType_QString,&a0, &a0State))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_setSelection);
                return NULL;
            }

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KAbstractFileWidget::OperationMode a0;
        KAbstractFileWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KAbstractFileWidget, &sipCpp, sipType_KAbstractFileWidget_OperationMode, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_setOperationMode);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setOperationMode(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KAbstractFileWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KAbstractFileWidget, &sipCpp))
        {
            KAbstractFileWidget::OperationMode sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_operationMode);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->operationMode();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KAbstractFileWidget_OperationMode);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        KAbstractFileWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KAbstractFileWidget, &sipCpp, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_setKeepLocation);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setKeepLocation(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KAbstractFileWidget *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_keepsLocation);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->keepsLocation();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KAbstractFileWidget, &sipCpp, sipType_QString,&a0, &a0State))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_setFilter);
                return NULL;
            }

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KAbstractFileWidget *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_currentFilter);
                return NULL;
            }

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

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

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

    return NULL;
}


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

    {
        KAbstractFileWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KAbstractFileWidget, &sipCpp))
        {
            KMimeType::Ptr *sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_currentFilterMimeType);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KMimeType::Ptr(sipCpp->currentFilterMimeType());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|J1", &sipSelf, sipType_KAbstractFileWidget, &sipCpp, sipType_QStringList,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_setMimeFilter);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMimeFilter(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,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(sipParseErr, sipName_KAbstractFileWidget, sipName_setMimeFilter, NULL);

    return NULL;
}


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

    {
        KAbstractFileWidget *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_currentMimeFilter);
                return NULL;
            }

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

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

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

    return NULL;
}


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

    {
        KAbstractFileWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KAbstractFileWidget, &sipCpp))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_clearFilter);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->clearFilter();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KPreviewWidgetBase * a0;
        KAbstractFileWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KAbstractFileWidget, &sipCpp, sipType_KPreviewWidgetBase, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_setPreviewWidget);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPreviewWidget(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KFile::Modes * a0;
        int a0State = 0;
        KAbstractFileWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KAbstractFileWidget, &sipCpp, sipType_KFile_Modes, &a0, &a0State))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_setMode);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMode(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KFile_Modes,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KAbstractFileWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KAbstractFileWidget, &sipCpp))
        {
            KFile::Modes *sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_mode);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFile::Modes(sipCpp->mode());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KAbstractFileWidget, &sipCpp, sipType_QString,&a0, &a0State))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_setLocationLabel);
                return NULL;
            }

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KAbstractFileWidget *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_toolBar);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->toolBar();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KAbstractFileWidget *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_okButton);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->okButton();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KAbstractFileWidget *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_cancelButton);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->cancelButton();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KAbstractFileWidget *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_locationEdit);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->locationEdit();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KAbstractFileWidget *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_filterWidget);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->filterWidget();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KAbstractFileWidget *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_actionCollection);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->actionCollection();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        QWidget * a0;
        KAbstractFileWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KAbstractFileWidget, &sipCpp, sipType_QWidget, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_setCustomWidget);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCustomWidget(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J8", &sipSelf, sipType_KAbstractFileWidget, &sipCpp, sipType_QString,&a0, &a0State, sipType_QWidget, &a1))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_setCustomWidget);
                return NULL;
            }

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KAbstractFileWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KAbstractFileWidget, &sipCpp))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_slotOk);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotOk();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KAbstractFileWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KAbstractFileWidget, &sipCpp))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_accept);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->accept();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KAbstractFileWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KAbstractFileWidget, &sipCpp))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_slotCancel);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotCancel();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        void * a1;
        KAbstractFileWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Biv", &sipSelf, sipType_KAbstractFileWidget, &sipCpp, &a0, &a1))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KAbstractFileWidget, sipName_virtual_hook);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->virtual_hook(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        KAbstractFileWidget *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        KAbstractFileWidget *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKAbstractFileWidget *>(sipCppV);
    else
        delete reinterpret_cast<KAbstractFileWidget *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KAbstractFileWidget(sipSimpleWrapper *);}
static void dealloc_KAbstractFileWidget(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKAbstractFileWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KAbstractFileWidget(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const KAbstractFileWidget * a0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KAbstractFileWidget[] = {
    {SIP_MLNAME_CAST(sipName_accept), meth_KAbstractFileWidget_accept, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_actionCollection), meth_KAbstractFileWidget_actionCollection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_baseUrl), meth_KAbstractFileWidget_baseUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_cancelButton), meth_KAbstractFileWidget_cancelButton, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clearFilter), meth_KAbstractFileWidget_clearFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentFilter), meth_KAbstractFileWidget_currentFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentFilterMimeType), meth_KAbstractFileWidget_currentFilterMimeType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentMimeFilter), meth_KAbstractFileWidget_currentMimeFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_filterWidget), meth_KAbstractFileWidget_filterWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keepsLocation), meth_KAbstractFileWidget_keepsLocation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_locationEdit), meth_KAbstractFileWidget_locationEdit, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mode), meth_KAbstractFileWidget_mode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_okButton), meth_KAbstractFileWidget_okButton, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_operationMode), meth_KAbstractFileWidget_operationMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectedFile), meth_KAbstractFileWidget_selectedFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectedFiles), meth_KAbstractFileWidget_selectedFiles, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectedUrl), meth_KAbstractFileWidget_selectedUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectedUrls), meth_KAbstractFileWidget_selectedUrls, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setConfirmOverwrite), meth_KAbstractFileWidget_setConfirmOverwrite, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCustomWidget), meth_KAbstractFileWidget_setCustomWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFilter), meth_KAbstractFileWidget_setFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setInlinePreviewShown), meth_KAbstractFileWidget_setInlinePreviewShown, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setKeepLocation), meth_KAbstractFileWidget_setKeepLocation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLocationLabel), meth_KAbstractFileWidget_setLocationLabel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMimeFilter), meth_KAbstractFileWidget_setMimeFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMode), meth_KAbstractFileWidget_setMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOperationMode), meth_KAbstractFileWidget_setOperationMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPreviewWidget), meth_KAbstractFileWidget_setPreviewWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSelection), meth_KAbstractFileWidget_setSelection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUrl), meth_KAbstractFileWidget_setUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotCancel), meth_KAbstractFileWidget_slotCancel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotOk), meth_KAbstractFileWidget_slotOk, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toolBar), meth_KAbstractFileWidget_toolBar, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_virtual_hook), meth_KAbstractFileWidget_virtual_hook, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KAbstractFileWidget[] = {
    {sipName_Opening, KAbstractFileWidget::Opening, 4},
    {sipName_Other, KAbstractFileWidget::Other, 4},
    {sipName_Saving, KAbstractFileWidget::Saving, 4},
};


pyqt4ClassTypeDef sipTypeDef_kio_KAbstractFileWidget = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_KAbstractFileWidget,
        {0}
    },
    {
        sipNameNr_KAbstractFileWidget,
        {0, 0, 1},
        34, methods_KAbstractFileWidget,
        3, enummembers_KAbstractFileWidget,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_KAbstractFileWidget,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KAbstractFileWidget,
    0,
    0,
    0,
    release_KAbstractFileWidget,
    cast_KAbstractFileWidget,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 111 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kabstractfilemodule.sip"
#include <kabstractfilemodule.h>
#line 7069 "sipkiopart6.cpp"

#line 39 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 7073 "sipkiopart6.cpp"
#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 7076 "sipkiopart6.cpp"
#line 40 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 7079 "sipkiopart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 7082 "sipkiopart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7085 "sipkiopart6.cpp"
#line 315 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7088 "sipkiopart6.cpp"
#line 303 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7091 "sipkiopart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 7094 "sipkiopart6.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 7097 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 7100 "sipkiopart6.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7103 "sipkiopart6.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 7106 "sipkiopart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 7109 "sipkiopart6.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 7112 "sipkiopart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 7115 "sipkiopart6.cpp"


class sipKAbstractFileModule : public KAbstractFileModule
{
public:
    sipKAbstractFileModule(QObject *);
    virtual ~sipKAbstractFileModule();

    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.
     */
    QObject * sipProtect_sender() const;
    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:
    QWidget * createFileWidget(const KUrl&,QWidget *);
    KUrl getStartUrl(const KUrl&,QString&);
    void setStartDir(const KUrl&);
    KUrl selectDirectory(const KUrl&,bool,QWidget *,const QString&);
    bool event(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[11];
};

sipKAbstractFileModule::sipKAbstractFileModule(QObject *a0): KAbstractFileModule(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKAbstractFileModule::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KAbstractFileModule);
}

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

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

    return _id;
}

void *sipKAbstractFileModule::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast && sip_kio_qt_metacast(sipPySelf,sipType_KAbstractFileModule,_clname)) ? this : KAbstractFileModule::qt_metacast(_clname);
}

QWidget * sipKAbstractFileModule::createFileWidget(const KUrl& a0,QWidget *a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_KAbstractFileModule,sipName_createFileWidget);

    if (!meth)
        return 0;

    extern QWidget * sipVH_kio_82(sip_gilstate_t,PyObject *,const KUrl&,QWidget *);

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

KUrl sipKAbstractFileModule::getStartUrl(const KUrl& a0,QString& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,sipName_KAbstractFileModule,sipName_getStartUrl);

    if (!meth)
        return KUrl();

    extern KUrl sipVH_kio_81(sip_gilstate_t,PyObject *,const KUrl&,QString&);

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

void sipKAbstractFileModule::setStartDir(const KUrl& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,sipName_KAbstractFileModule,sipName_setStartDir);

    if (!meth)
        return;

    typedef void (*sipVH_kdecore_47)(sip_gilstate_t,PyObject *,const KUrl&);

    ((sipVH_kdecore_47)(sipModuleAPI_kio_kdecore->em_virthandlers[47]))(sipGILState,meth,a0);
}

KUrl sipKAbstractFileModule::selectDirectory(const KUrl& a0,bool a1,QWidget *a2,const QString& a3)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,sipName_KAbstractFileModule,sipName_selectDirectory);

    if (!meth)
        return KUrl();

    extern KUrl sipVH_kio_80(sip_gilstate_t,PyObject *,const KUrl&,bool,QWidget *,const QString&);

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

bool sipKAbstractFileModule::event(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *,QEvent *);

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

bool sipKAbstractFileModule::eventFilter(QObject *a0,QEvent *a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

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

void sipKAbstractFileModule::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t,PyObject *,QTimerEvent *);

    ((sipVH_QtCore_9)(sipModuleAPI_kio_QtCore->em_virthandlers[9]))(sipGILState,meth,a0);
}

void sipKAbstractFileModule::childEvent(QChildEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t,PyObject *,QChildEvent *);

    ((sipVH_QtCore_25)(sipModuleAPI_kio_QtCore->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipKAbstractFileModule::customEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipKAbstractFileModule::connectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState,meth,a0);
}

void sipKAbstractFileModule::disconnectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState,meth,a0);
}

QObject * sipKAbstractFileModule::sipProtect_sender() const
{
    return QObject::sender();
}

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

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

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

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

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

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


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

    {
        sipKAbstractFileModule *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KAbstractFileModule, &sipCpp))
        {
            QObject *sipRes = 0;

#line 529 "/usr/local/share/py-sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp->sender());
        #else
            sipRes = helper(sipCpp->sipProtect_sender());
        #endif
#line 7439 "sipkiopart6.cpp"

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

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

    return NULL;
}


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

    {
        char * a0;
        sipKAbstractFileModule *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KAbstractFileModule, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 546 "/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)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp, a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 7481 "sipkiopart6.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractFileModule_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KAbstractFileModule_timerEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKAbstractFileModule *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KAbstractFileModule, &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(sipParseErr, sipName_KAbstractFileModule, sipName_timerEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractFileModule_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KAbstractFileModule_childEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKAbstractFileModule *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KAbstractFileModule, &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(sipParseErr, sipName_KAbstractFileModule, sipName_childEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractFileModule_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KAbstractFileModule_customEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKAbstractFileModule *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KAbstractFileModule, &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(sipParseErr, sipName_KAbstractFileModule, sipName_customEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractFileModule_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KAbstractFileModule_connectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKAbstractFileModule *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KAbstractFileModule, &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(sipParseErr, sipName_KAbstractFileModule, sipName_connectNotify, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KAbstractFileModule_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KAbstractFileModule_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKAbstractFileModule *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KAbstractFileModule, &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(sipParseErr, sipName_KAbstractFileModule, sipName_disconnectNotify, NULL);

    return NULL;
}


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

    {
        const KUrl * a0;
        QWidget * a1;
        KAbstractFileModule *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J:", &sipSelf, sipType_KAbstractFileModule, &sipCpp, sipType_KUrl, &a0, sipType_QWidget, &a1))
        {
            QWidget *sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KAbstractFileModule, sipName_createFileWidget);
                return NULL;
            }

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

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

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

    return NULL;
}


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

    {
        const KUrl * a0;
        QString * a1;
        int a1State = 0;
        KAbstractFileModule *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J1", &sipSelf, sipType_KAbstractFileModule, &sipCpp, sipType_KUrl, &a0, sipType_QString,&a1, &a1State))
        {
            KUrl *sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KAbstractFileModule, sipName_getStartUrl);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(sipCpp->getStartUrl(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_QString,a1State);

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

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

    return NULL;
}


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

    {
        const KUrl * a0;
        KAbstractFileModule *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KAbstractFileModule, &sipCpp, sipType_KUrl, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KAbstractFileModule, sipName_setStartDir);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setStartDir(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KUrl * a0;
        bool a1;
        QWidget * a2;
        const QString * a3;
        int a3State = 0;
        KAbstractFileModule *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9bJ:J1", &sipSelf, sipType_KAbstractFileModule, &sipCpp, sipType_KUrl, &a0, &a1, sipType_QWidget, &a2, sipType_QString,&a3, &a3State))
        {
            KUrl *sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KAbstractFileModule, sipName_selectDirectory);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(sipCpp->selectDirectory(*a0,a1,a2,*a3));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

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

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

    return NULL;
}


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

    if (targetType == sipType_KAbstractFileModule)
        return ptr;

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

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKAbstractFileModule *>(sipCppV);
    else
        delete reinterpret_cast<KAbstractFileModule *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KAbstractFileModule(sipSimpleWrapper *);}
static void dealloc_KAbstractFileModule(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKAbstractFileModule *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KAbstractFileModule(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_KAbstractFileModule(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_KAbstractFileModule(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKAbstractFileModule *sipCpp = 0;

    {
        QObject * a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKAbstractFileModule(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KAbstractFileModule[] = {{133, 0, 1}};


static PyMethodDef methods_KAbstractFileModule[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KAbstractFileModule_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KAbstractFileModule_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createFileWidget), meth_KAbstractFileModule_createFileWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KAbstractFileModule_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KAbstractFileModule_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getStartUrl), meth_KAbstractFileModule_getStartUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KAbstractFileModule_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectDirectory), meth_KAbstractFileModule_selectDirectory, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), meth_KAbstractFileModule_sender, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setStartDir), meth_KAbstractFileModule_setStartDir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KAbstractFileModule_timerEvent, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kio_KAbstractFileModule = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KAbstractFileModule,
        {0}
    },
    {
        sipNameNr_KAbstractFileModule,
        {0, 0, 1},
        11, methods_KAbstractFileModule,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KAbstractFileModule,
    0,
    init_KAbstractFileModule,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KAbstractFileModule,
    0,
    0,
    0,
    release_KAbstractFileModule,
    cast_KAbstractFileModule,
    0,
    0,
    0
},
    &KAbstractFileModule::staticMetaObject,
    0,
    0
};

#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/jobuidelegate.sip"
#include <jobuidelegate.h>
#line 7921 "sipkiopart6.cpp"

#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 7925 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 7928 "sipkiopart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 7931 "sipkiopart6.cpp"
#line 40 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 7934 "sipkiopart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7937 "sipkiopart6.cpp"
#line 315 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7940 "sipkiopart6.cpp"
#line 303 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7943 "sipkiopart6.cpp"
#line 39 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 7946 "sipkiopart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 7949 "sipkiopart6.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 7952 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 7955 "sipkiopart6.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7958 "sipkiopart6.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 7961 "sipkiopart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 7964 "sipkiopart6.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 7967 "sipkiopart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 7970 "sipkiopart6.cpp"


class sipKIO_JobUiDelegate : public KIO::JobUiDelegate
{
public:
    sipKIO_JobUiDelegate();
    virtual ~sipKIO_JobUiDelegate();

    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.
     */
    QObject * sipProtect_sender() const;
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    KJob * sipProtect_job();
    void sipProtectVirt_slotWarning(bool,KJob *,const QString&,const QString&);

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[12];
};

sipKIO_JobUiDelegate::sipKIO_JobUiDelegate(): KIO::JobUiDelegate(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKIO_JobUiDelegate::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KIO_JobUiDelegate);
}

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

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

    return _id;
}

void *sipKIO_JobUiDelegate::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast && sip_kio_qt_metacast(sipPySelf,sipType_KIO_JobUiDelegate,_clname)) ? this : KIO::JobUiDelegate::qt_metacast(_clname);
}

void sipKIO_JobUiDelegate::setWindow(QWidget *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KIO::JobUiDelegate::setWindow(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,QWidget *);

    ((sipVH_QtGui_7)(sipModuleAPI_kio_QtGui->em_virthandlers[7]))(sipGILState,meth,a0);
}

KIO::RenameDialog_Result sipKIO_JobUiDelegate::askFileRename(KJob *a0,const QString& a1,const QString& a2,const QString& a3,KIO::RenameDialog_Mode a4,QString& a5,KIO::filesize_t a6,KIO::filesize_t a7,time_t a8,time_t a9,time_t a10,time_t a11)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KIO::JobUiDelegate::askFileRename(a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11);

    extern KIO::RenameDialog_Result sipVH_kio_84(sip_gilstate_t,PyObject *,KJob *,const QString&,const QString&,const QString&,KIO::RenameDialog_Mode,QString&,unsigned PY_LONG_LONG,unsigned PY_LONG_LONG,long,long,long,long);

    return sipVH_kio_84(sipGILState,meth,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11);
}

KIO::SkipDialog_Result sipKIO_JobUiDelegate::askSkip(KJob *a0,bool a1,const QString& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KIO::JobUiDelegate::askSkip(a0,a1,a2);

    extern KIO::SkipDialog_Result sipVH_kio_83(sip_gilstate_t,PyObject *,KJob *,bool,const QString&);

    return sipVH_kio_83(sipGILState,meth,a0,a1,a2);
}

void sipKIO_JobUiDelegate::showErrorMessage()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipKIO_JobUiDelegate::slotWarning(KJob *a0,const QString& a1,const QString& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    typedef void (*sipVH_kdecore_23)(sip_gilstate_t,PyObject *,KJob *,const QString&,const QString&);

    ((sipVH_kdecore_23)(sipModuleAPI_kio_kdecore->em_virthandlers[23]))(sipGILState,meth,a0,a1,a2);
}

bool sipKIO_JobUiDelegate::event(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *,QEvent *);

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

bool sipKIO_JobUiDelegate::eventFilter(QObject *a0,QEvent *a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

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

void sipKIO_JobUiDelegate::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t,PyObject *,QTimerEvent *);

    ((sipVH_QtCore_9)(sipModuleAPI_kio_QtCore->em_virthandlers[9]))(sipGILState,meth,a0);
}

void sipKIO_JobUiDelegate::childEvent(QChildEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t,PyObject *,QChildEvent *);

    ((sipVH_QtCore_25)(sipModuleAPI_kio_QtCore->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipKIO_JobUiDelegate::customEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipKIO_JobUiDelegate::connectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState,meth,a0);
}

void sipKIO_JobUiDelegate::disconnectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState,meth,a0);
}

QObject * sipKIO_JobUiDelegate::sipProtect_sender() const
{
    return QObject::sender();
}

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

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

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

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

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

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

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

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


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

    {
        sipKIO_JobUiDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIO_JobUiDelegate, &sipCpp))
        {
            QObject *sipRes = 0;

#line 529 "/usr/local/share/py-sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp->sender());
        #else
            sipRes = helper(sipCpp->sipProtect_sender());
        #endif
#line 8331 "sipkiopart6.cpp"

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

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

    return NULL;
}


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

    {
        char * a0;
        sipKIO_JobUiDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KIO_JobUiDelegate, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 546 "/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)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp, a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 8373 "sipkiopart6.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KIO_JobUiDelegate_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_JobUiDelegate_timerEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKIO_JobUiDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KIO_JobUiDelegate, &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(sipParseErr, sipName_JobUiDelegate, sipName_timerEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_JobUiDelegate_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_JobUiDelegate_childEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKIO_JobUiDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KIO_JobUiDelegate, &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(sipParseErr, sipName_JobUiDelegate, sipName_childEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_JobUiDelegate_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_JobUiDelegate_customEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKIO_JobUiDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KIO_JobUiDelegate, &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(sipParseErr, sipName_JobUiDelegate, sipName_customEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_JobUiDelegate_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KIO_JobUiDelegate_connectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKIO_JobUiDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KIO_JobUiDelegate, &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(sipParseErr, sipName_JobUiDelegate, sipName_connectNotify, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_JobUiDelegate_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KIO_JobUiDelegate_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKIO_JobUiDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KIO_JobUiDelegate, &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(sipParseErr, sipName_JobUiDelegate, sipName_disconnectNotify, NULL);

    return NULL;
}


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

    {
        sipKIO_JobUiDelegate *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_job();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


extern "C" {static PyObject *meth_KIO_JobUiDelegate_slotWarning(PyObject *, PyObject *);}
static PyObject *meth_KIO_JobUiDelegate_slotWarning(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J1J1", &sipSelf, sipType_KIO_JobUiDelegate, &sipCpp, sipType_KJob, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_slotWarning(sipSelfWasArg,a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KIO_JobUiDelegate_setWindow(PyObject *, PyObject *);}
static PyObject *meth_KIO_JobUiDelegate_setWindow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget * a0;
        KIO::JobUiDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KIO_JobUiDelegate, &sipCpp, sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::JobUiDelegate::setWindow(a0) : sipCpp->setWindow(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KIO_JobUiDelegate_askFileRename(PyObject *, PyObject *);}
static PyObject *meth_KIO_JobUiDelegate_askFileRename(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KJob * a0;
        const QString * a1;
        int a1State = 0;
        const QString * a2;
        int a2State = 0;
        const QString * a3;
        int a3State = 0;
        KIO::RenameDialog_Mode a4;
        QString * a5;
        int a5State = 0;
        KIO::filesize_t a6 = -1;
        KIO::filesize_t a7 = -1;
        time_t a8 = -1;
        time_t a9 = -1;
        time_t a10 = -1;
        time_t a11 = -1;
        KIO::JobUiDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J1J1J1EJ1|oollll", &sipSelf, sipType_KIO_JobUiDelegate, &sipCpp, sipType_KJob, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_KIO_RenameDialog_Mode, &a4, sipType_QString,&a5, &a5State, &a6, &a7, &a8, &a9, &a10, &a11))
        {
            KIO::RenameDialog_Result sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KIO::JobUiDelegate::askFileRename(a0,*a1,*a2,*a3,a4,*a5,a6,a7,a8,a9,a10,a11) : sipCpp->askFileRename(a0,*a1,*a2,*a3,a4,*a5,a6,a7,a8,a9,a10,a11));
            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(a5,sipType_QString,a5State);

            return sipConvertFromEnum(sipRes,sipType_KIO_RenameDialog_Result);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KIO_JobUiDelegate_askSkip(PyObject *, PyObject *);}
static PyObject *meth_KIO_JobUiDelegate_askSkip(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KJob * a0;
        bool a1;
        const QString * a2;
        int a2State = 0;
        KIO::JobUiDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8bJ1", &sipSelf, sipType_KIO_JobUiDelegate, &sipCpp, sipType_KJob, &a0, &a1, sipType_QString,&a2, &a2State))
        {
            KIO::SkipDialog_Result sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KIO::JobUiDelegate::askSkip(a0,a1,*a2) : sipCpp->askSkip(a0,a1,*a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            return sipConvertFromEnum(sipRes,sipType_KIO_SkipDialog_Result);
        }
    }

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

    return NULL;
}


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

    {
        const KUrl::List * a0;
        KIO::JobUiDelegate::DeletionType a1;
        KIO::JobUiDelegate::ConfirmationType a2;
        KIO::JobUiDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9EE", &sipSelf, sipType_KIO_JobUiDelegate, &sipCpp, sipType_KUrl_List, &a0, sipType_KIO_JobUiDelegate_DeletionType, &a1, sipType_KIO_JobUiDelegate_ConfirmationType, &a2))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KIO_JobUiDelegate)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KDialogJobUiDelegate)->ctd_cast((KDialogJobUiDelegate *)(KIO::JobUiDelegate *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKIO_JobUiDelegate *>(sipCppV);
    else
        delete reinterpret_cast<KIO::JobUiDelegate *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KIO_JobUiDelegate(sipSimpleWrapper *);}
static void dealloc_KIO_JobUiDelegate(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKIO_JobUiDelegate *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KIO_JobUiDelegate(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KIO_JobUiDelegate[] = {{86, 7, 1}};


static PyMethodDef methods_KIO_JobUiDelegate[] = {
    {SIP_MLNAME_CAST(sipName_askDeleteConfirmation), meth_KIO_JobUiDelegate_askDeleteConfirmation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_askFileRename), meth_KIO_JobUiDelegate_askFileRename, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_askSkip), meth_KIO_JobUiDelegate_askSkip, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KIO_JobUiDelegate_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KIO_JobUiDelegate_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KIO_JobUiDelegate_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KIO_JobUiDelegate_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_job), meth_KIO_JobUiDelegate_job, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KIO_JobUiDelegate_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), meth_KIO_JobUiDelegate_sender, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setWindow), meth_KIO_JobUiDelegate_setWindow, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotWarning), meth_KIO_JobUiDelegate_slotWarning, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KIO_JobUiDelegate_timerEvent, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KIO_JobUiDelegate[] = {
    {sipName_DefaultConfirmation, KIO::JobUiDelegate::DefaultConfirmation, 129},
    {sipName_Delete, KIO::JobUiDelegate::Delete, 130},
    {sipName_EmptyTrash, KIO::JobUiDelegate::EmptyTrash, 130},
    {sipName_ForceConfirmation, KIO::JobUiDelegate::ForceConfirmation, 129},
    {sipName_Trash, KIO::JobUiDelegate::Trash, 130},
};


pyqt4ClassTypeDef sipTypeDef_kio_KIO_JobUiDelegate = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIO__JobUiDelegate,
        {0}
    },
    {
        sipNameNr_JobUiDelegate,
        {99, 255, 0},
        13, methods_KIO_JobUiDelegate,
        5, enummembers_KIO_JobUiDelegate,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KIO_JobUiDelegate,
    0,
    init_KIO_JobUiDelegate,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_JobUiDelegate,
    0,
    0,
    0,
    release_KIO_JobUiDelegate,
    cast_KIO_JobUiDelegate,
    0,
    0,
    0
},
    &KIO::JobUiDelegate::staticMetaObject,
    0,
    0
};

#line 373 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 8873 "sipkiopart6.cpp"

#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 8877 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 8880 "sipkiopart6.cpp"
#line 187 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/global.sip"
#include<qmap.h>
#line 8883 "sipkiopart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 8886 "sipkiopart6.cpp"
#line 43 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 8889 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 8892 "sipkiopart6.cpp"
#line 343 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 8895 "sipkiopart6.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 8898 "sipkiopart6.cpp"
#line 82 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 8901 "sipkiopart6.cpp"
#line 40 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 8904 "sipkiopart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 8907 "sipkiopart6.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/jobuidelegate.sip"
#include <jobuidelegate.h>
#line 8910 "sipkiopart6.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 8913 "sipkiopart6.cpp"
#line 673 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/typedefs.sip"
#include <qpair.h>
#line 8916 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 8919 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kjobuidelegate.sip"
#include <kjobuidelegate.h>
#line 8922 "sipkiopart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8925 "sipkiopart6.cpp"
#line 315 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8928 "sipkiopart6.cpp"
#line 303 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8931 "sipkiopart6.cpp"
#line 39 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 8934 "sipkiopart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 8937 "sipkiopart6.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 8940 "sipkiopart6.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8943 "sipkiopart6.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 8946 "sipkiopart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 8949 "sipkiopart6.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 8952 "sipkiopart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 8955 "sipkiopart6.cpp"


class sipKIO_SpecialJob : public KIO::SpecialJob
{
public:
    sipKIO_SpecialJob(const KUrl&,const QByteArray&);
    virtual ~sipKIO_SpecialJob();

    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.
     */
    QObject * sipProtect_sender() const;
    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_slotInfoMessage(bool,KJob *,const QString&,const QString&);
    bool sipProtectVirt_addSubjob(bool,KJob *);
    bool sipProtectVirt_removeSubjob(bool,KJob *);
    bool sipProtectVirt_doSuspend(bool);
    bool sipProtectVirt_doKill(bool);
    void sipProtectVirt_slotWarning(bool,const QString&);
    void sipProtect_storeSSLSessionFromJob(const KUrl&);
    void sipProtectVirt_slotResult(bool,KJob *);
    bool sipProtectVirt_doResume(bool);
    void sipProtectVirt_slotRedirection(bool,const KUrl&);
    void sipProtectVirt_slotFinished(bool);
    void sipProtectVirt_slotData(bool,const QByteArray&);
    void sipProtectVirt_slotDataReq(bool);
    void sipProtectVirt_slotMimetype(bool,const QString&);
    void sipProtectVirt_slotMetaData(bool,const KIO::MetaData&);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void slotResult(KJob *);
    bool doResume();
    void slotRedirection(const KUrl&);
    void slotFinished();
    void slotData(const QByteArray&);
    void slotDataReq();
    void slotMimetype(const QString&);
    void slotMetaData(const KIO::MetaData&);
    bool doSuspend();
    bool doKill();
    void putOnHold();
    void slotWarning(const QString&);
    bool addSubjob(KJob *);
    bool removeSubjob(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_SpecialJob(const sipKIO_SpecialJob &);
    sipKIO_SpecialJob &operator = (const sipKIO_SpecialJob &);

    char sipPyMethods[24];
};

sipKIO_SpecialJob::sipKIO_SpecialJob(const KUrl& a0,const QByteArray& a1): KIO::SpecialJob(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKIO_SpecialJob::metaObject() const
{
    return sip_kio_qt_metaobject(sipPySelf,sipType_KIO_SpecialJob);
}

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

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

    return _id;
}

void *sipKIO_SpecialJob::qt_metacast(const char *_clname)
{
    return (sip_kio_qt_metacast && sip_kio_qt_metacast(sipPySelf,sipType_KIO_SpecialJob,_clname)) ? this : KIO::SpecialJob::qt_metacast(_clname);
}

void sipKIO_SpecialJob::slotResult(KJob *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    typedef void (*sipVH_kdecore_27)(sip_gilstate_t,PyObject *,KJob *);

    ((sipVH_kdecore_27)(sipModuleAPI_kio_kdecore->em_virthandlers[27]))(sipGILState,meth,a0);
}

bool sipKIO_SpecialJob::doResume()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KIO::TransferJob::doResume();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_kio_QtCore->em_virthandlers[7]))(sipGILState,meth);
}

void sipKIO_SpecialJob::slotRedirection(const KUrl& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KIO::TransferJob::slotRedirection(a0);
        return;
    }

    typedef void (*sipVH_kdecore_47)(sip_gilstate_t,PyObject *,const KUrl&);

    ((sipVH_kdecore_47)(sipModuleAPI_kio_kdecore->em_virthandlers[47]))(sipGILState,meth,a0);
}

void sipKIO_SpecialJob::slotFinished()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KIO::TransferJob::slotFinished();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipKIO_SpecialJob::slotData(const QByteArray& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KIO::TransferJob::slotData(a0);
        return;
    }

    typedef void (*sipVH_QtXml_29)(sip_gilstate_t,PyObject *,const QByteArray&);

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

void sipKIO_SpecialJob::slotDataReq()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KIO::TransferJob::slotDataReq();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipKIO_SpecialJob::slotMimetype(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KIO::TransferJob::slotMimetype(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t,PyObject *,const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kio_QtCore->em_virthandlers[33]))(sipGILState,meth,a0);
}

void sipKIO_SpecialJob::slotMetaData(const KIO::MetaData& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KIO::TransferJob::slotMetaData(a0);
        return;
    }

    extern void sipVH_kio_16(sip_gilstate_t,PyObject *,const KIO::MetaData&);

    sipVH_kio_16(sipGILState,meth,a0);
}

bool sipKIO_SpecialJob::doSuspend()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KIO::SimpleJob::doSuspend();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_kio_QtCore->em_virthandlers[7]))(sipGILState,meth);
}

bool sipKIO_SpecialJob::doKill()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KIO::SimpleJob::doKill();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_kio_QtCore->em_virthandlers[7]))(sipGILState,meth);
}

void sipKIO_SpecialJob::putOnHold()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KIO::SimpleJob::putOnHold();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipKIO_SpecialJob::slotWarning(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KIO::SimpleJob::slotWarning(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t,PyObject *,const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kio_QtCore->em_virthandlers[33]))(sipGILState,meth,a0);
}

bool sipKIO_SpecialJob::addSubjob(KJob *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KIO::Job::addSubjob(a0);

    typedef bool (*sipVH_kdecore_53)(sip_gilstate_t,PyObject *,KJob *);

    return ((sipVH_kdecore_53)(sipModuleAPI_kio_kdecore->em_virthandlers[53]))(sipGILState,meth,a0);
}

bool sipKIO_SpecialJob::removeSubjob(KJob *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KIO::Job::removeSubjob(a0);

    typedef bool (*sipVH_kdecore_53)(sip_gilstate_t,PyObject *,KJob *);

    return ((sipVH_kdecore_53)(sipModuleAPI_kio_kdecore->em_virthandlers[53]))(sipGILState,meth,a0);
}

void sipKIO_SpecialJob::slotInfoMessage(KJob *a0,const QString& a1,const QString& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    typedef void (*sipVH_kdecore_23)(sip_gilstate_t,PyObject *,KJob *,const QString&,const QString&);

    ((sipVH_kdecore_23)(sipModuleAPI_kio_kdecore->em_virthandlers[23]))(sipGILState,meth,a0,a1,a2);
}

void sipKIO_SpecialJob::start()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KIO::Job::start();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

QString sipKIO_SpecialJob::errorString() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KIO::Job::errorString();

    typedef QString (*sipVH_QtCore_62)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_62)(sipModuleAPI_kio_QtCore->em_virthandlers[62]))(sipGILState,meth);
}

bool sipKIO_SpecialJob::event(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *,QEvent *);

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

bool sipKIO_SpecialJob::eventFilter(QObject *a0,QEvent *a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

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

void sipKIO_SpecialJob::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t,PyObject *,QTimerEvent *);

    ((sipVH_QtCore_9)(sipModuleAPI_kio_QtCore->em_virthandlers[9]))(sipGILState,meth,a0);
}

void sipKIO_SpecialJob::childEvent(QChildEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t,PyObject *,QChildEvent *);

    ((sipVH_QtCore_25)(sipModuleAPI_kio_QtCore->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipKIO_SpecialJob::customEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipKIO_SpecialJob::connectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState,meth,a0);
}

void sipKIO_SpecialJob::disconnectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState,meth,a0);
}

QObject * sipKIO_SpecialJob::sipProtect_sender() const
{
    return QObject::sender();
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

bool sipKIO_SpecialJob::sipProtectVirt_addSubjob(bool sipSelfWasArg,KJob *a0)
{
    return (sipSelfWasArg ? KIO::Job::addSubjob(a0) : addSubjob(a0));
}

bool sipKIO_SpecialJob::sipProtectVirt_removeSubjob(bool sipSelfWasArg,KJob *a0)
{
    return (sipSelfWasArg ? KIO::Job::removeSubjob(a0) : removeSubjob(a0));
}

bool sipKIO_SpecialJob::sipProtectVirt_doSuspend(bool sipSelfWasArg)
{
    return (sipSelfWasArg ? KIO::SimpleJob::doSuspend() : doSuspend());
}

bool sipKIO_SpecialJob::sipProtectVirt_doKill(bool sipSelfWasArg)
{
    return (sipSelfWasArg ? KIO::SimpleJob::doKill() : doKill());
}

void sipKIO_SpecialJob::sipProtectVirt_slotWarning(bool sipSelfWasArg,const QString& a0)
{
    (sipSelfWasArg ? KIO::SimpleJob::slotWarning(a0) : slotWarning(a0));
}

void sipKIO_SpecialJob::sipProtect_storeSSLSessionFromJob(const KUrl& a0)
{
    KIO::SimpleJob::storeSSLSessionFromJob(a0);
}

void sipKIO_SpecialJob::sipProtectVirt_slotResult(bool sipSelfWasArg,KJob *a0)
{
    (sipSelfWasArg ? KIO::TransferJob::slotResult(a0) : slotResult(a0));
}

bool sipKIO_SpecialJob::sipProtectVirt_doResume(bool sipSelfWasArg)
{
    return (sipSelfWasArg ? KIO::TransferJob::doResume() : doResume());
}

void sipKIO_SpecialJob::sipProtectVirt_slotRedirection(bool sipSelfWasArg,const KUrl& a0)
{
    (sipSelfWasArg ? KIO::TransferJob::slotRedirection(a0) : slotRedirection(a0));
}

void sipKIO_SpecialJob::sipProtectVirt_slotFinished(bool sipSelfWasArg)
{
    (sipSelfWasArg ? KIO::TransferJob::slotFinished() : slotFinished());
}

void sipKIO_SpecialJob::sipProtectVirt_slotData(bool sipSelfWasArg,const QByteArray& a0)
{
    (sipSelfWasArg ? KIO::TransferJob::slotData(a0) : slotData(a0));
}

void sipKIO_SpecialJob::sipProtectVirt_slotDataReq(bool sipSelfWasArg)
{
    (sipSelfWasArg ? KIO::TransferJob::slotDataReq() : slotDataReq());
}

void sipKIO_SpecialJob::sipProtectVirt_slotMimetype(bool sipSelfWasArg,const QString& a0)
{
    (sipSelfWasArg ? KIO::TransferJob::slotMimetype(a0) : slotMimetype(a0));
}

void sipKIO_SpecialJob::sipProtectVirt_slotMetaData(bool sipSelfWasArg,const KIO::MetaData& a0)
{
    (sipSelfWasArg ? KIO::TransferJob::slotMetaData(a0) : slotMetaData(a0));
}


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

    {
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIO_SpecialJob, &sipCpp))
        {
            QObject *sipRes = 0;

#line 529 "/usr/local/share/py-sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp->sender());
        #else
            sipRes = helper(sipCpp->sipProtect_sender());
        #endif
#line 9682 "sipkiopart6.cpp"

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

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

    return NULL;
}


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

    {
        char * a0;
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KIO_SpecialJob, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 546 "/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)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp, a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 9724 "sipkiopart6.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_timerEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KIO_SpecialJob, &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(sipParseErr, sipName_SpecialJob, sipName_timerEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_childEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KIO_SpecialJob, &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(sipParseErr, sipName_SpecialJob, sipName_childEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_customEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KIO_SpecialJob, &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(sipParseErr, sipName_SpecialJob, sipName_customEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_connectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KIO_SpecialJob, &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(sipParseErr, sipName_SpecialJob, sipName_connectNotify, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KIO_SpecialJob, &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(sipParseErr, sipName_SpecialJob, sipName_disconnectNotify, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KIO_SpecialJob, &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(sipParseErr, sipName_SpecialJob, sipName_setCapabilities, NULL);

    return NULL;
}


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

    {
        int a0;
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KIO_SpecialJob, &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(sipParseErr, sipName_SpecialJob, sipName_setError, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KIO_SpecialJob, &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(sipParseErr, sipName_SpecialJob, sipName_setErrorText, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BEo", &sipSelf, sipType_KIO_SpecialJob, &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(sipParseErr, sipName_SpecialJob, sipName_setProcessedAmount, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BEo", &sipSelf, sipType_KIO_SpecialJob, &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(sipParseErr, sipName_SpecialJob, sipName_setTotalAmount, NULL);

    return NULL;
}


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

    {
        unsigned long a0;
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bm", &sipSelf, sipType_KIO_SpecialJob, &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(sipParseErr, sipName_SpecialJob, sipName_setPercent, NULL);

    return NULL;
}


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

    {
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIO_SpecialJob, &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(sipParseErr, sipName_SpecialJob, sipName_emitResult, NULL);

    return NULL;
}


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

    {
        qulonglong a0;
        qulonglong a1;
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Boo", &sipSelf, sipType_KIO_SpecialJob, &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(sipParseErr, sipName_SpecialJob, sipName_emitPercent, NULL);

    return NULL;
}


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

    {
        unsigned long a0;
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bm", &sipSelf, sipType_KIO_SpecialJob, &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(sipParseErr, sipName_SpecialJob, sipName_emitSpeed, NULL);

    return NULL;
}


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

    {
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIO_SpecialJob, &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(sipParseErr, sipName_SpecialJob, sipName_hasSubjobs, NULL);

    return NULL;
}


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

    {
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIO_SpecialJob, &sipCpp))
        {
            QList<KJob *> *sipRes;

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

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

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

    return NULL;
}


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

    {
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIO_SpecialJob, &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(sipParseErr, sipName_SpecialJob, sipName_clearSubjobs, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_slotInfoMessage(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_slotInfoMessage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J1J1", &sipSelf, sipType_KIO_SpecialJob, &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(sipParseErr, sipName_SpecialJob, sipName_slotInfoMessage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_addSubjob(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_addSubjob(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KJob * a0;
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KIO_SpecialJob, &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(sipParseErr, sipName_SpecialJob, sipName_addSubjob, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_removeSubjob(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_removeSubjob(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KJob * a0;
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KIO_SpecialJob, &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(sipParseErr, sipName_SpecialJob, sipName_removeSubjob, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_doSuspend(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_doSuspend(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIO_SpecialJob, &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(sipParseErr, sipName_SpecialJob, sipName_doSuspend, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_doKill(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_doKill(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIO_SpecialJob, &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(sipParseErr, sipName_SpecialJob, sipName_doKill, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_slotWarning(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_slotWarning(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KUrl * a0;
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KIO_SpecialJob, &sipCpp, sipType_KUrl, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_storeSSLSessionFromJob(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_slotResult(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_slotResult(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KJob * a0;
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KIO_SpecialJob, &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(sipParseErr, sipName_SpecialJob, sipName_slotResult, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_doResume(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_doResume(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIO_SpecialJob, &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(sipParseErr, sipName_SpecialJob, sipName_doResume, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_slotRedirection(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_slotRedirection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KUrl * a0;
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KIO_SpecialJob, &sipCpp, sipType_KUrl, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_slotRedirection(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_slotFinished(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_slotFinished(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIO_SpecialJob, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_slotFinished(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_slotData(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_slotData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KIO_SpecialJob, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_slotData(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_slotDataReq(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_slotDataReq(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIO_SpecialJob, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_slotDataReq(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_slotMimetype(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_slotMimetype(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SpecialJob_slotMetaData(PyObject *, PyObject *);}
static PyObject *meth_KIO_SpecialJob_slotMetaData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KIO::MetaData * a0;
        int a0State = 0;
        sipKIO_SpecialJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KIO_SpecialJob, &sipCpp, sipType_KIO_MetaData,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_slotMetaData(sipSelfWasArg,*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(sipParseErr, sipName_SpecialJob, sipName_slotMetaData, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KIO_SpecialJob, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setArguments(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::SpecialJob *sipCpp;

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

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

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

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

    return NULL;
}


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

    if (targetType == sipType_KIO_SpecialJob)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KIO_TransferJob)->ctd_cast((KIO::TransferJob *)(KIO::SpecialJob *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKIO_SpecialJob *>(sipCppV);
    else
        delete reinterpret_cast<KIO::SpecialJob *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KIO_SpecialJob(sipSimpleWrapper *);}
static void dealloc_KIO_SpecialJob(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKIO_SpecialJob *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KIO_SpecialJob(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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

    {
        const KUrl * a0;
        const QByteArray& a1def = QByteArray();
        const QByteArray * a1 = &a1def;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9|J1", sipType_KUrl, &a0, sipType_QByteArray, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKIO_SpecialJob(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a1),sipType_QByteArray,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KIO_SpecialJob[] = {{170, 255, 1}};


static PyMethodDef methods_KIO_SpecialJob[] = {
    {SIP_MLNAME_CAST(sipName_addSubjob), meth_KIO_SpecialJob_addSubjob, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_arguments), meth_KIO_SpecialJob_arguments, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KIO_SpecialJob_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clearSubjobs), meth_KIO_SpecialJob_clearSubjobs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KIO_SpecialJob_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KIO_SpecialJob_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KIO_SpecialJob_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doKill), meth_KIO_SpecialJob_doKill, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doResume), meth_KIO_SpecialJob_doResume, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doSuspend), meth_KIO_SpecialJob_doSuspend, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_emitPercent), meth_KIO_SpecialJob_emitPercent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_emitResult), meth_KIO_SpecialJob_emitResult, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_emitSpeed), meth_KIO_SpecialJob_emitSpeed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasSubjobs), meth_KIO_SpecialJob_hasSubjobs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KIO_SpecialJob_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeSubjob), meth_KIO_SpecialJob_removeSubjob, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), meth_KIO_SpecialJob_sender, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setArguments), meth_KIO_SpecialJob_setArguments, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCapabilities), meth_KIO_SpecialJob_setCapabilities, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setError), meth_KIO_SpecialJob_setError, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setErrorText), meth_KIO_SpecialJob_setErrorText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPercent), meth_KIO_SpecialJob_setPercent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setProcessedAmount), meth_KIO_SpecialJob_setProcessedAmount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTotalAmount), meth_KIO_SpecialJob_setTotalAmount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotData), meth_KIO_SpecialJob_slotData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotDataReq), meth_KIO_SpecialJob_slotDataReq, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotFinished), meth_KIO_SpecialJob_slotFinished, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotInfoMessage), meth_KIO_SpecialJob_slotInfoMessage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotMetaData), meth_KIO_SpecialJob_slotMetaData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotMimetype), meth_KIO_SpecialJob_slotMimetype, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotRedirection), meth_KIO_SpecialJob_slotRedirection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotResult), meth_KIO_SpecialJob_slotResult, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotWarning), meth_KIO_SpecialJob_slotWarning, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_storeSSLSessionFromJob), meth_KIO_SpecialJob_storeSSLSessionFromJob, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_subjobs), meth_KIO_SpecialJob_subjobs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KIO_SpecialJob_timerEvent, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kio_KIO_SpecialJob = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIO__SpecialJob,
        {0}
    },
    {
        sipNameNr_SpecialJob,
        {99, 255, 0},
        36, methods_KIO_SpecialJob,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KIO_SpecialJob,
    0,
    init_KIO_SpecialJob,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_SpecialJob,
    0,
    0,
    0,
    release_KIO_SpecialJob,
    cast_KIO_SpecialJob,
    0,
    0,
    0
},
    &KIO::SpecialJob::staticMetaObject,
    0,
    0
};

#line 339 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 10863 "sipkiopart6.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 10867 "sipkiopart6.cpp"
#line 187 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/global.sip"
#include<qmap.h>
#line 10870 "sipkiopart6.cpp"
#line 43 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 10873 "sipkiopart6.cpp"
#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 10876 "sipkiopart6.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 10879 "sipkiopart6.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/udsentry.sip"
#include <udsentry.h>
#line 10882 "sipkiopart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 10885 "sipkiopart6.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 10888 "sipkiopart6.cpp"
#line 82 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 10891 "sipkiopart6.cpp"
#line 40 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 10894 "sipkiopart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 10897 "sipkiopart6.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/jobuidelegate.sip"
#include <jobuidelegate.h>
#line 10900 "sipkiopart6.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 10903 "sipkiopart6.cpp"
#line 673 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/typedefs.sip"
#include <qpair.h>
#line 10906 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 10909 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kjobuidelegate.sip"
#include <kjobuidelegate.h>
#line 10912 "sipkiopart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10915 "sipkiopart6.cpp"
#line 315 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10918 "sipkiopart6.cpp"
#line 303 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10921 "sipkiopart6.cpp"
#line 39 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 10924 "sipkiopart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 10927 "sipkiopart6.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 10930 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 10933 "sipkiopart6.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10936 "sipkiopart6.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 10939 "sipkiopart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 10942 "sipkiopart6.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 10945 "sipkiopart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 10948 "sipkiopart6.cpp"


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

    {
        KIO::ListJob *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        bool a0;
        KIO::ListJob *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KIO_ListJob)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KIO_SimpleJob)->ctd_cast((KIO::SimpleJob *)(KIO::ListJob *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KIO_ListJob[] = {{153, 255, 1}};


static PyMethodDef methods_KIO_ListJob[] = {
    {SIP_MLNAME_CAST(sipName_redirectionUrl), meth_KIO_ListJob_redirectionUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUnrestricted), meth_KIO_ListJob_setUnrestricted, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KIO_ListJob[] = {
    {"permanentRedirection(KIO::Job *,KUrl,KUrl)", 0, 0},
    {"redirection(KIO::Job *,KUrl)", 0, 0},
    {"entries(KIO::Job *,KIO::UDSEntryList)", 0, 0},
    {0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kio_KIO_ListJob = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIO__ListJob,
        {0}
    },
    {
        sipNameNr_ListJob,
        {99, 255, 0},
        2, methods_KIO_ListJob,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KIO_ListJob,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_ListJob,
    0,
    0,
    0,
    release_KIO_ListJob,
    cast_KIO_ListJob,
    0,
    0,
    0
},
    &KIO::ListJob::staticMetaObject,
    0,
    pyqt4_signals_KIO_ListJob
};

#line 305 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 11114 "sipkiopart6.cpp"

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 11118 "sipkiopart6.cpp"
#line 43 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 11121 "sipkiopart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 11124 "sipkiopart6.cpp"
#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 11127 "sipkiopart6.cpp"
#line 343 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 11130 "sipkiopart6.cpp"
#line 187 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/global.sip"
#include<qmap.h>
#line 11133 "sipkiopart6.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 11136 "sipkiopart6.cpp"
#line 82 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 11139 "sipkiopart6.cpp"
#line 40 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 11142 "sipkiopart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 11145 "sipkiopart6.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/jobuidelegate.sip"
#include <jobuidelegate.h>
#line 11148 "sipkiopart6.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 11151 "sipkiopart6.cpp"
#line 673 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/typedefs.sip"
#include <qpair.h>
#line 11154 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 11157 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kjobuidelegate.sip"
#include <kjobuidelegate.h>
#line 11160 "sipkiopart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11163 "sipkiopart6.cpp"
#line 315 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11166 "sipkiopart6.cpp"
#line 303 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11169 "sipkiopart6.cpp"
#line 39 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 11172 "sipkiopart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 11175 "sipkiopart6.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 11178 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 11181 "sipkiopart6.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11184 "sipkiopart6.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 11187 "sipkiopart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 11190 "sipkiopart6.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 11193 "sipkiopart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 11196 "sipkiopart6.cpp"


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "Bo", &sipSelf, sipType_KIO_FileCopyJob, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSourceSize(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QDateTime * a0;
        int a0State = 0;
        KIO::FileCopyJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KIO_FileCopyJob, &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(sipParseErr, sipName_FileCopyJob, sipName_setModificationTime, NULL);

    return NULL;
}


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

    {
        KIO::FileCopyJob *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KIO::FileCopyJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIO_FileCopyJob, &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(sipParseErr, sipName_FileCopyJob, sipName_destUrl, NULL);

    return NULL;
}


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

    {
        KIO::FileCopyJob *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->doSuspend();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KIO::FileCopyJob *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->doResume();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KIO_FileCopyJob)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KIO_Job)->ctd_cast((KIO::Job *)(KIO::FileCopyJob *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KIO_FileCopyJob[] = {{125, 255, 1}};


static PyMethodDef methods_KIO_FileCopyJob[] = {
    {SIP_MLNAME_CAST(sipName_destUrl), meth_KIO_FileCopyJob_destUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doResume), meth_KIO_FileCopyJob_doResume, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doSuspend), meth_KIO_FileCopyJob_doSuspend, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setModificationTime), meth_KIO_FileCopyJob_setModificationTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSourceSize), meth_KIO_FileCopyJob_setSourceSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_srcUrl), meth_KIO_FileCopyJob_srcUrl, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KIO_FileCopyJob[] = {
    {"mimetype(KIO::Job *,QString)", 0, 0},
    {0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kio_KIO_FileCopyJob = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIO__FileCopyJob,
        {0}
    },
    {
        sipNameNr_FileCopyJob,
        {99, 255, 0},
        6, methods_KIO_FileCopyJob,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KIO_FileCopyJob,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_FileCopyJob,
    0,
    0,
    0,
    release_KIO_FileCopyJob,
    cast_KIO_FileCopyJob,
    0,
    0,
    0
},
    &KIO::FileCopyJob::staticMetaObject,
    0,
    pyqt4_signals_KIO_FileCopyJob
};

#line 282 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 11474 "sipkiopart6.cpp"

#line 187 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/global.sip"
#include<qmap.h>
#line 11478 "sipkiopart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 11481 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 11484 "sipkiopart6.cpp"
#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 11487 "sipkiopart6.cpp"
#line 43 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 11490 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 11493 "sipkiopart6.cpp"
#line 343 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 11496 "sipkiopart6.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 11499 "sipkiopart6.cpp"
#line 82 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 11502 "sipkiopart6.cpp"
#line 40 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 11505 "sipkiopart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 11508 "sipkiopart6.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/jobuidelegate.sip"
#include <jobuidelegate.h>
#line 11511 "sipkiopart6.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 11514 "sipkiopart6.cpp"
#line 673 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/typedefs.sip"
#include <qpair.h>
#line 11517 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 11520 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kjobuidelegate.sip"
#include <kjobuidelegate.h>
#line 11523 "sipkiopart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11526 "sipkiopart6.cpp"
#line 315 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11529 "sipkiopart6.cpp"
#line 303 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11532 "sipkiopart6.cpp"
#line 39 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 11535 "sipkiopart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 11538 "sipkiopart6.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 11541 "sipkiopart6.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11544 "sipkiopart6.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 11547 "sipkiopart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 11550 "sipkiopart6.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 11553 "sipkiopart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 11556 "sipkiopart6.cpp"


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

    if (targetType == sipType_KIO_MimetypeJob)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KIO_TransferJob)->ctd_cast((KIO::TransferJob *)(KIO::MimetypeJob *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KIO_MimetypeJob[] = {{170, 255, 1}};


pyqt4ClassTypeDef sipTypeDef_kio_KIO_MimetypeJob = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIO__MimetypeJob,
        {0}
    },
    {
        sipNameNr_MimetypeJob,
        {99, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KIO_MimetypeJob,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_MimetypeJob,
    0,
    0,
    0,
    release_KIO_MimetypeJob,
    cast_KIO_MimetypeJob,
    0,
    0,
    0
},
    &KIO::MimetypeJob::staticMetaObject,
    0,
    0
};

#line 248 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 11653 "sipkiopart6.cpp"

#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 11657 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 11660 "sipkiopart6.cpp"
#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 11663 "sipkiopart6.cpp"
#line 187 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/global.sip"
#include<qmap.h>
#line 11666 "sipkiopart6.cpp"
#line 43 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 11669 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 11672 "sipkiopart6.cpp"
#line 343 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 11675 "sipkiopart6.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 11678 "sipkiopart6.cpp"
#line 82 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 11681 "sipkiopart6.cpp"
#line 40 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 11684 "sipkiopart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 11687 "sipkiopart6.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/jobuidelegate.sip"
#include <jobuidelegate.h>
#line 11690 "sipkiopart6.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 11693 "sipkiopart6.cpp"
#line 673 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/typedefs.sip"
#include <qpair.h>
#line 11696 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 11699 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kjobuidelegate.sip"
#include <kjobuidelegate.h>
#line 11702 "sipkiopart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11705 "sipkiopart6.cpp"
#line 315 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11708 "sipkiopart6.cpp"
#line 303 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11711 "sipkiopart6.cpp"
#line 39 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 11714 "sipkiopart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 11717 "sipkiopart6.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 11720 "sipkiopart6.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11723 "sipkiopart6.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 11726 "sipkiopart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 11729 "sipkiopart6.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 11732 "sipkiopart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 11735 "sipkiopart6.cpp"


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

    {
        long a0;
        const KUrl * a1;
        const KIO::MetaData * a2;
        int a2State = 0;
        KIO::MultiGetJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BlJ9J1", &sipSelf, sipType_KIO_MultiGetJob, &sipCpp, &a0, sipType_KUrl, &a1, sipType_KIO_MetaData,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->get(a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<KIO::MetaData *>(a2),sipType_KIO_MetaData,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KIO_MultiGetJob)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KIO_TransferJob)->ctd_cast((KIO::TransferJob *)(KIO::MultiGetJob *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KIO_MultiGetJob[] = {{170, 255, 1}};


static PyMethodDef methods_KIO_MultiGetJob[] = {
    {SIP_MLNAME_CAST(sipName_get), meth_KIO_MultiGetJob_get, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KIO_MultiGetJob[] = {
    {"result(long)", 0, 0},
    {"mimetype(long,QString)", 0, 0},
    {"data(long,QByteArray)", 0, 0},
    {0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kio_KIO_MultiGetJob = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIO__MultiGetJob,
        {0}
    },
    {
        sipNameNr_MultiGetJob,
        {99, 255, 0},
        1, methods_KIO_MultiGetJob,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KIO_MultiGetJob,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_MultiGetJob,
    0,
    0,
    0,
    release_KIO_MultiGetJob,
    cast_KIO_MultiGetJob,
    0,
    0,
    0
},
    &KIO::MultiGetJob::staticMetaObject,
    0,
    pyqt4_signals_KIO_MultiGetJob
};

#line 222 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 11877 "sipkiopart6.cpp"

#line 42 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 11881 "sipkiopart6.cpp"
#line 187 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/global.sip"
#include<qmap.h>
#line 11884 "sipkiopart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 11887 "sipkiopart6.cpp"
#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 11890 "sipkiopart6.cpp"
#line 43 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 11893 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 11896 "sipkiopart6.cpp"
#line 343 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 11899 "sipkiopart6.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 11902 "sipkiopart6.cpp"
#line 82 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 11905 "sipkiopart6.cpp"
#line 40 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 11908 "sipkiopart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 11911 "sipkiopart6.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/jobuidelegate.sip"
#include <jobuidelegate.h>
#line 11914 "sipkiopart6.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 11917 "sipkiopart6.cpp"
#line 673 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/typedefs.sip"
#include <qpair.h>
#line 11920 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 11923 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kjobuidelegate.sip"
#include <kjobuidelegate.h>
#line 11926 "sipkiopart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11929 "sipkiopart6.cpp"
#line 315 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11932 "sipkiopart6.cpp"
#line 303 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11935 "sipkiopart6.cpp"
#line 39 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 11938 "sipkiopart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 11941 "sipkiopart6.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 11944 "sipkiopart6.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11947 "sipkiopart6.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 11950 "sipkiopart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 11953 "sipkiopart6.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 11956 "sipkiopart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 11959 "sipkiopart6.cpp"


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KIO_StoredTransferJob, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setData(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::StoredTransferJob *sipCpp;

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

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

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

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

    return NULL;
}


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

    if (targetType == sipType_KIO_StoredTransferJob)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KIO_TransferJob)->ctd_cast((KIO::TransferJob *)(KIO::StoredTransferJob *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KIO_StoredTransferJob[] = {{170, 255, 1}};


static PyMethodDef methods_KIO_StoredTransferJob[] = {
    {SIP_MLNAME_CAST(sipName_data), meth_KIO_StoredTransferJob_data, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setData), meth_KIO_StoredTransferJob_setData, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kio_KIO_StoredTransferJob = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIO__StoredTransferJob,
        {0}
    },
    {
        sipNameNr_StoredTransferJob,
        {99, 255, 0},
        2, methods_KIO_StoredTransferJob,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KIO_StoredTransferJob,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_StoredTransferJob,
    0,
    0,
    0,
    release_KIO_StoredTransferJob,
    cast_KIO_StoredTransferJob,
    0,
    0,
    0
},
    &KIO::StoredTransferJob::staticMetaObject,
    0,
    0
};

#line 130 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 12118 "sipkiopart6.cpp"

#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 12122 "sipkiopart6.cpp"
#line 187 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/global.sip"
#include<qmap.h>
#line 12125 "sipkiopart6.cpp"
#line 43 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 12128 "sipkiopart6.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/udsentry.sip"
#include <udsentry.h>
#line 12131 "sipkiopart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 12134 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 12137 "sipkiopart6.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 12140 "sipkiopart6.cpp"
#line 82 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 12143 "sipkiopart6.cpp"
#line 40 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 12146 "sipkiopart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 12149 "sipkiopart6.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/jobuidelegate.sip"
#include <jobuidelegate.h>
#line 12152 "sipkiopart6.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 12155 "sipkiopart6.cpp"
#line 673 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/typedefs.sip"
#include <qpair.h>
#line 12158 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 12161 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kjobuidelegate.sip"
#include <kjobuidelegate.h>
#line 12164 "sipkiopart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12167 "sipkiopart6.cpp"
#line 315 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12170 "sipkiopart6.cpp"
#line 303 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12173 "sipkiopart6.cpp"
#line 39 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 12176 "sipkiopart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 12179 "sipkiopart6.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 12182 "sipkiopart6.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 12185 "sipkiopart6.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12188 "sipkiopart6.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 12191 "sipkiopart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 12194 "sipkiopart6.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 12197 "sipkiopart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 12200 "sipkiopart6.cpp"


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

    {
        KIO::StatJob::StatSide a0;
        KIO::StatJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KIO_StatJob, &sipCpp, sipType_KIO_StatJob_StatSide, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSide(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        bool a0;
        KIO::StatJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BXb", &sipSelf, sipType_KIO_StatJob, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSide(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        short a0;
        KIO::StatJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bh", &sipSelf, sipType_KIO_StatJob, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDetails(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KIO::StatJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIO_StatJob, &sipCpp))
        {
            KIO::UDSEntry *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KIO::UDSEntry(sipCpp->statResult());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KIO::StatJob *sipCpp;

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

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

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

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

    return NULL;
}


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

    if (targetType == sipType_KIO_StatJob)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KIO_SimpleJob)->ctd_cast((KIO::SimpleJob *)(KIO::StatJob *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KIO_StatJob[] = {{153, 255, 1}};


static PyMethodDef methods_KIO_StatJob[] = {
    {SIP_MLNAME_CAST(sipName_mostLocalUrl), meth_KIO_StatJob_mostLocalUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDetails), meth_KIO_StatJob_setDetails, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSide), meth_KIO_StatJob_setSide, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_statResult), meth_KIO_StatJob_statResult, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KIO_StatJob[] = {
    {sipName_DestinationSide, KIO::StatJob::DestinationSide, 165},
    {sipName_SourceSide, KIO::StatJob::SourceSide, 165},
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KIO_StatJob[] = {
    {"permanentRedirection(KIO::Job *,KUrl,KUrl)", 0, 0},
    {"redirection(KIO::Job *,KUrl)", 0, 0},
    {0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kio_KIO_StatJob = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIO__StatJob,
        {0}
    },
    {
        sipNameNr_StatJob,
        {99, 255, 0},
        4, methods_KIO_StatJob,
        2, enummembers_KIO_StatJob,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KIO_StatJob,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_StatJob,
    0,
    0,
    0,
    release_KIO_StatJob,
    cast_KIO_StatJob,
    0,
    0,
    0
},
    &KIO::StatJob::staticMetaObject,
    0,
    pyqt4_signals_KIO_StatJob
};




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

            return sipRes;
        }
    }
}


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

    PyObject *sipParseErr = NULL;

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

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

#line 331 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != a0->operator int());
#line 12485 "sipkiopart6.cpp"
            sipReleaseType(const_cast<KIO::JobFlags *>(a0),sipType_KIO_JobFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


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

    PyObject *sipParseErr = NULL;

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

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

#line 326 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() == a0->operator int());
#line 12521 "sipkiopart6.cpp"
            sipReleaseType(const_cast<KIO::JobFlags *>(a0),sipType_KIO_JobFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_KIO_JobFlags___invert__(PyObject *);}
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 *,PyObject *);}
static PyObject *slot_KIO_JobFlags___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

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

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


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

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

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

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

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

#line 320 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = new KIO::JobFlags(*a0 ^ a1);
#line 12628 "sipkiopart6.cpp"
            sipReleaseType(a0,sipType_KIO_JobFlags,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


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

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

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

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

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

#line 315 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = new KIO::JobFlags(*a0 | a1);
#line 12680 "sipkiopart6.cpp"
            sipReleaseType(a0,sipType_KIO_JobFlags,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


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

    PyObject *sipParseErr = NULL;

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

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    PyObject *sipParseErr = NULL;

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

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    PyObject *sipParseErr = NULL;

    {
        int a0;

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

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* 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 *, SIP_SSIZE_T, const void *);}
static void assign_KIO_JobFlags(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KIO::JobFlags *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KIO::JobFlags *>(sipSrc);
}


extern "C" {static void *array_KIO_JobFlags(SIP_SSIZE_T);}
static void *array_KIO_JobFlags(SIP_SSIZE_T sipNrElem)
{
    return new KIO::JobFlags[sipNrElem];
}


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


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


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

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

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "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);

            return sipCpp;
        }
    }

    {
        int a0;

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

            return sipCpp;
        }
    }

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

            return sipCpp;
        }
    }

    return NULL;
}


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 341 "/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 12973 "sipkiopart6.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 sipTypeDef_kio_KIO_JobFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KIO__JobFlags,
        {0}
    },
    {
        sipNameNr_JobFlags,
        {99, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    slots_KIO_JobFlags,
    init_KIO_JobFlags,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_JobFlags,
    assign_KIO_JobFlags,
    array_KIO_JobFlags,
    copy_KIO_JobFlags,
    release_KIO_JobFlags,
    cast_KIO_JobFlags,
    convertTo_KIO_JobFlags,
    0,
    0
},
    0,
    1,
    0
};

#line 187 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/global.sip"
#include<qmap.h>
#line 13046 "sipkiopart6.cpp"



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


extern "C" {static void *array_KIO_MetaData(SIP_SSIZE_T);}
static void *array_KIO_MetaData(SIP_SSIZE_T sipNrElem)
{
    return new KIO::MetaData[sipNrElem];
}


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


/* 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 230 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/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 *)sipForceConvertToType(aelem, sipType_QString, NULL, 0, NULL, &iserr);
        bcpp = (QString *)sipForceConvertToType(belem, sipType_QString, NULL, 0, NULL, &iserr);

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

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

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

    return 1;
#line 13121 "sipkiopart6.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 191 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/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), sipType_QString)) == NULL)
            || ((binst = sipBuildResult (NULL, "N", new QString (bcpp), sipType_QString)) == NULL)
            || (PyDict_SetItem (dict, ainst, binst) < 0))
        {
            Py_XDECREF (ainst);
            Py_XDECREF (binst);
            Py_DECREF (dict);
            return NULL;
        }
    }

    return dict;
#line 13166 "sipkiopart6.cpp"
}


sipMappedTypeDef sipTypeDef_kio_KIO_MetaData = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_KIO__MetaData,
        {0}
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_KIO_MetaData,
    array_KIO_MetaData,
    copy_KIO_MetaData,
    release_KIO_MetaData,
    convertTo_KIO_MetaData,
    convertFrom_KIO_MetaData
};

#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/forwardingslavebase.sip"
#include <forwardingslavebase.h>
#line 13197 "sipkiopart6.cpp"

#line 42 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 13201 "sipkiopart6.cpp"
#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 13204 "sipkiopart6.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/udsentry.sip"
#include <udsentry.h>
#line 13207 "sipkiopart6.cpp"
#line 343 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 13210 "sipkiopart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 13213 "sipkiopart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13216 "sipkiopart6.cpp"
#line 315 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13219 "sipkiopart6.cpp"
#line 303 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13222 "sipkiopart6.cpp"
#line 39 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 13225 "sipkiopart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 13228 "sipkiopart6.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 13231 "sipkiopart6.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13234 "sipkiopart6.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 13237 "sipkiopart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 13240 "sipkiopart6.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 13243 "sipkiopart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 13246 "sipkiopart6.cpp"
#line 36 "/usr/local/share/py-sip/QtNetwork/qhostinfo.sip"
#include <qhostinfo.h>
#line 13249 "sipkiopart6.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/authinfo.sip"
#include <authinfo.h>
#line 13252 "sipkiopart6.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 13255 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kremoteencoding.sip"
#include <kremoteencoding.h>
#line 13258 "sipkiopart6.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 13261 "sipkiopart6.cpp"
#line 187 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/global.sip"
#include<qmap.h>
#line 13264 "sipkiopart6.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/slavebase.sip"
#include <slavebase.h>
#line 13267 "sipkiopart6.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 13270 "sipkiopart6.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.
     */
    QObject * sipProtect_sender() const;
    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)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    typedef void (*sipVH_kdecore_47)(sip_gilstate_t,PyObject *,const KUrl&);

    ((sipVH_kdecore_47)(sipModuleAPI_kio_kdecore->em_virthandlers[47]))(sipGILState,meth,a0);
}

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

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

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

    extern void sipVH_kio_12(sip_gilstate_t,PyObject *,const KUrl&,int,KIO::JobFlags);

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

void sipKIO_ForwardingSlaveBase::stat(const KUrl& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    typedef void (*sipVH_kdecore_47)(sip_gilstate_t,PyObject *,const KUrl&);

    ((sipVH_kdecore_47)(sipModuleAPI_kio_kdecore->em_virthandlers[47]))(sipGILState,meth,a0);
}

void sipKIO_ForwardingSlaveBase::mimetype(const KUrl& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    typedef void (*sipVH_kdecore_47)(sip_gilstate_t,PyObject *,const KUrl&);

    ((sipVH_kdecore_47)(sipModuleAPI_kio_kdecore->em_virthandlers[47]))(sipGILState,meth,a0);
}

void sipKIO_ForwardingSlaveBase::listDir(const KUrl& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KIO::ForwardingSlaveBase::listDir(a0);
        return;
    }

    typedef void (*sipVH_kdecore_47)(sip_gilstate_t,PyObject *,const KUrl&);

    ((sipVH_kdecore_47)(sipModuleAPI_kio_kdecore->em_virthandlers[47]))(sipGILState,meth,a0);
}

void sipKIO_ForwardingSlaveBase::mkdir(const KUrl& a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_mkdir);

    if (!meth)
    {
        KIO::ForwardingSlaveBase::mkdir(a0,a1);
        return;
    }

    extern void sipVH_kio_9(sip_gilstate_t,PyObject *,const KUrl&,int);

    sipVH_kio_9(sipGILState,meth,a0,a1);
}

void sipKIO_ForwardingSlaveBase::rename(const KUrl& a0,const KUrl& a1,KIO::JobFlags a2)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_rename);

    if (!meth)
    {
        KIO::ForwardingSlaveBase::rename(a0,a1,a2);
        return;
    }

    extern void sipVH_kio_11(sip_gilstate_t,PyObject *,const KUrl&,const KUrl&,KIO::JobFlags);

    sipVH_kio_11(sipGILState,meth,a0,a1,a2);
}

void sipKIO_ForwardingSlaveBase::symlink(const QString& a0,const KUrl& a1,KIO::JobFlags a2)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_symlink);

    if (!meth)
    {
        KIO::ForwardingSlaveBase::symlink(a0,a1,a2);
        return;
    }

    extern void sipVH_kio_10(sip_gilstate_t,PyObject *,const QString&,const KUrl&,KIO::JobFlags);

    sipVH_kio_10(sipGILState,meth,a0,a1,a2);
}

void sipKIO_ForwardingSlaveBase::chmod(const KUrl& a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_chmod);

    if (!meth)
    {
        KIO::ForwardingSlaveBase::chmod(a0,a1);
        return;
    }

    extern void sipVH_kio_9(sip_gilstate_t,PyObject *,const KUrl&,int);

    sipVH_kio_9(sipGILState,meth,a0,a1);
}

void sipKIO_ForwardingSlaveBase::setModificationTime(const KUrl& a0,const QDateTime& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_setModificationTime);

    if (!meth)
    {
        KIO::ForwardingSlaveBase::setModificationTime(a0,a1);
        return;
    }

    extern void sipVH_kio_7(sip_gilstate_t,PyObject *,const KUrl&,const QDateTime&);

    sipVH_kio_7(sipGILState,meth,a0,a1);
}

void sipKIO_ForwardingSlaveBase::copy(const KUrl& a0,const KUrl& a1,int a2,KIO::JobFlags a3)
{
    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;
    }

    extern void sipVH_kio_6(sip_gilstate_t,PyObject *,const KUrl&,const KUrl&,int,KIO::JobFlags);

    sipVH_kio_6(sipGILState,meth,a0,a1,a2,a3);
}

void sipKIO_ForwardingSlaveBase::del(const KUrl& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_del_);

    if (!meth)
    {
        KIO::ForwardingSlaveBase::del(a0,a1);
        return;
    }

    extern void sipVH_kio_5(sip_gilstate_t,PyObject *,const KUrl&,bool);

    sipVH_kio_5(sipGILState,meth,a0,a1);
}

bool sipKIO_ForwardingSlaveBase::rewriteUrl(const KUrl& a0,KUrl& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,sipName_ForwardingSlaveBase,sipName_rewriteUrl);

    if (!meth)
        return 0;

    extern bool sipVH_kio_86(sip_gilstate_t,PyObject *,const KUrl&,KUrl&);

    return sipVH_kio_86(sipGILState,meth,a0,a1);
}

void sipKIO_ForwardingSlaveBase::prepareUDSEntry(KIO::UDSEntry& a0,bool a1) const
{
    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;
    }

    extern void sipVH_kio_85(sip_gilstate_t,PyObject *,KIO::UDSEntry&,bool);

    sipVH_kio_85(sipGILState,meth,a0,a1);
}

bool sipKIO_ForwardingSlaveBase::event(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QObject::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *,QEvent *);

    return ((sipVH_QtCore_5)(sipModuleAPI_kio_QtCore->em_virthandlers[5]))(sipGILState,meth,a0);
}

bool sipKIO_ForwardingSlaveBase::eventFilter(QObject *a0,QEvent *a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_eventFilter);

    if (!meth)
        return QObject::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    return ((sipVH_QtCore_18)(sipModuleAPI_kio_QtCore->em_virthandlers[18]))(sipGILState,meth,a0,a1);
}

void sipKIO_ForwardingSlaveBase::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t,PyObject *,QTimerEvent *);

    ((sipVH_QtCore_9)(sipModuleAPI_kio_QtCore->em_virthandlers[9]))(sipGILState,meth,a0);
}

void sipKIO_ForwardingSlaveBase::childEvent(QChildEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t,PyObject *,QChildEvent *);

    ((sipVH_QtCore_25)(sipModuleAPI_kio_QtCore->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipKIO_ForwardingSlaveBase::customEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_kio_QtCore->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipKIO_ForwardingSlaveBase::connectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState,meth,a0);
}

void sipKIO_ForwardingSlaveBase::disconnectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_kio_QtCore->em_virthandlers[24]))(sipGILState,meth,a0);
}

void sipKIO_ForwardingSlaveBase::setHost(const QString& a0,quint16 a1,const QString& a2,const QString& a3)
{
    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;
    }

    extern void sipVH_kio_15(sip_gilstate_t,PyObject *,const QString&,unsigned short,const QString&,const QString&);

    sipVH_kio_15(sipGILState,meth,a0,a1,a2,a3);
}

void sipKIO_ForwardingSlaveBase::setSubUrl(const KUrl& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_setSubUrl);

    if (!meth)
    {
        KIO::SlaveBase::setSubUrl(a0);
        return;
    }

    typedef void (*sipVH_kdecore_47)(sip_gilstate_t,PyObject *,const KUrl&);

    ((sipVH_kdecore_47)(sipModuleAPI_kio_kdecore->em_virthandlers[47]))(sipGILState,meth,a0);
}

void sipKIO_ForwardingSlaveBase::openConnection()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_openConnection);

    if (!meth)
    {
        KIO::SlaveBase::openConnection();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipKIO_ForwardingSlaveBase::closeConnection()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_closeConnection);

    if (!meth)
    {
        KIO::SlaveBase::closeConnection();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipKIO_ForwardingSlaveBase::open(const KUrl& a0,QIODevice::OpenMode a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_open);

    if (!meth)
    {
        KIO::SlaveBase::open(a0,a1);
        return;
    }

    extern void sipVH_kio_14(sip_gilstate_t,PyObject *,const KUrl&,QIODevice::OpenMode);

    sipVH_kio_14(sipGILState,meth,a0,a1);
}

void sipKIO_ForwardingSlaveBase::read(KIO::filesize_t a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_read);

    if (!meth)
    {
        KIO::SlaveBase::read(a0);
        return;
    }

    extern void sipVH_kio_13(sip_gilstate_t,PyObject *,unsigned PY_LONG_LONG);

    sipVH_kio_13(sipGILState,meth,a0);
}

void sipKIO_ForwardingSlaveBase::write(const QByteArray& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_write);

    if (!meth)
    {
        KIO::SlaveBase::write(a0);
        return;
    }

    typedef void (*sipVH_QtXml_29)(sip_gilstate_t,PyObject *,const QByteArray&);

    ((sipVH_QtXml_29)(sipModuleAPI_kio_QtXml->em_virthandlers[29]))(sipGILState,meth,a0);
}

void sipKIO_ForwardingSlaveBase::seek(KIO::filesize_t a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_seek);

    if (!meth)
    {
        KIO::SlaveBase::seek(a0);
        return;
    }

    extern void sipVH_kio_13(sip_gilstate_t,PyObject *,unsigned PY_LONG_LONG);

    sipVH_kio_13(sipGILState,meth,a0);
}

void sipKIO_ForwardingSlaveBase::close()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_close);

    if (!meth)
    {
        KIO::SlaveBase::close();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipKIO_ForwardingSlaveBase::chown(const KUrl& a0,const QString& a1,const QString& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_chown);

    if (!meth)
    {
        KIO::SlaveBase::chown(a0,a1,a2);
        return;
    }

    extern void sipVH_kio_8(sip_gilstate_t,PyObject *,const KUrl&,const QString&,const QString&);

    sipVH_kio_8(sipGILState,meth,a0,a1,a2);
}

void sipKIO_ForwardingSlaveBase::setLinkDest(const KUrl& a0,const QString& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_setLinkDest);

    if (!meth)
    {
        KIO::SlaveBase::setLinkDest(a0,a1);
        return;
    }

    extern void sipVH_kio_4(sip_gilstate_t,PyObject *,const KUrl&,const QString&);

    sipVH_kio_4(sipGILState,meth,a0,a1);
}

void sipKIO_ForwardingSlaveBase::special(const QByteArray& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_special);

    if (!meth)
    {
        KIO::SlaveBase::special(a0);
        return;
    }

    typedef void (*sipVH_QtXml_29)(sip_gilstate_t,PyObject *,const QByteArray&);

    ((sipVH_QtXml_29)(sipModuleAPI_kio_QtXml->em_virthandlers[29]))(sipGILState,meth,a0);
}

void sipKIO_ForwardingSlaveBase::multiGet(const QByteArray& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_multiGet);

    if (!meth)
    {
        KIO::SlaveBase::multiGet(a0);
        return;
    }

    typedef void (*sipVH_QtXml_29)(sip_gilstate_t,PyObject *,const QByteArray&);

    ((sipVH_QtXml_29)(sipModuleAPI_kio_QtXml->em_virthandlers[29]))(sipGILState,meth,a0);
}

void sipKIO_ForwardingSlaveBase::slave_status()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_slave_status);

    if (!meth)
    {
        KIO::SlaveBase::slave_status();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipKIO_ForwardingSlaveBase::reparseConfiguration()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_reparseConfiguration);

    if (!meth)
    {
        KIO::SlaveBase::reparseConfiguration();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipKIO_ForwardingSlaveBase::dispatch(int a0,const QByteArray& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_dispatch);

    if (!meth)
    {
        KIO::SlaveBase::dispatch(a0,a1);
        return;
    }

    extern void sipVH_kio_3(sip_gilstate_t,PyObject *,int,const QByteArray&);

    sipVH_kio_3(sipGILState,meth,a0,a1);
}

void sipKIO_ForwardingSlaveBase::dispatchOpenCommand(int a0,const QByteArray& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_dispatchOpenCommand);

    if (!meth)
    {
        KIO::SlaveBase::dispatchOpenCommand(a0,a1);
        return;
    }

    extern void sipVH_kio_3(sip_gilstate_t,PyObject *,int,const QByteArray&);

    sipVH_kio_3(sipGILState,meth,a0,a1);
}

QObject * sipKIO_ForwardingSlaveBase::sipProtect_sender() const
{
    return QObject::sender();
}

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_sender(PyObject *, PyObject *);}
static PyObject *meth_KIO_ForwardingSlaveBase_sender(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipKIO_ForwardingSlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIO_ForwardingSlaveBase, &sipCpp))
        {
            QObject *sipRes = 0;

#line 529 "/usr/local/share/py-sip/QtCore/qobject.sip"
        typedef QObject *(*helper_func)(QObject *);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_sender");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp->sender());
        #else
            sipRes = helper(sipCpp->sipProtect_sender());
        #endif
#line 14140 "sipkiopart6.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ForwardingSlaveBase, sipName_sender, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_ForwardingSlaveBase_receivers(PyObject *, PyObject *);}
static PyObject *meth_KIO_ForwardingSlaveBase_receivers(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        char * a0;
        sipKIO_ForwardingSlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KIO_ForwardingSlaveBase, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 546 "/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)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp, a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 14182 "sipkiopart6.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ForwardingSlaveBase, sipName_receivers, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_ForwardingSlaveBase_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_ForwardingSlaveBase_timerEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKIO_ForwardingSlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &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(sipParseErr, sipName_ForwardingSlaveBase, sipName_timerEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_ForwardingSlaveBase_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_ForwardingSlaveBase_childEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKIO_ForwardingSlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &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(sipParseErr, sipName_ForwardingSlaveBase, sipName_childEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_ForwardingSlaveBase_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KIO_ForwardingSlaveBase_customEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKIO_ForwardingSlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &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(sipParseErr, sipName_ForwardingSlaveBase, sipName_customEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_ForwardingSlaveBase_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KIO_ForwardingSlaveBase_connectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKIO_ForwardingSlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &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(sipParseErr, sipName_ForwardingSlaveBase, sipName_connectNotify, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_ForwardingSlaveBase_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KIO_ForwardingSlaveBase_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKIO_ForwardingSlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &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(sipParseErr, sipName_ForwardingSlaveBase, sipName_disconnectNotify, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_ForwardingSlaveBase_get(PyObject *, PyObject *);}
static PyObject *meth_KIO_ForwardingSlaveBase_get(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KUrl * a0;
        KIO::ForwardingSlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_ForwardingSlaveBase, sipName_get, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_ForwardingSlaveBase_put(PyObject *, PyObject *);}
static PyObject *meth_KIO_ForwardingSlaveBase_put(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KUrl * a0;
        int a1;
        KIO::JobFlags * a2;
        int a2State = 0;
        KIO::ForwardingSlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_ForwardingSlaveBase, sipName_put, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_ForwardingSlaveBase_stat(PyObject *, PyObject *);}
static PyObject *meth_KIO_ForwardingSlaveBase_stat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KUrl * a0;
        KIO::ForwardingSlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_ForwardingSlaveBase, sipName_stat, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_ForwardingSlaveBase_mimetype(PyObject *, PyObject *);}
static PyObject *meth_KIO_ForwardingSlaveBase_mimetype(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KUrl * a0;
        KIO::ForwardingSlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_ForwardingSlaveBase, sipName_mimetype, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_ForwardingSlaveBase_listDir(PyObject *, PyObject *);}
static PyObject *meth_KIO_ForwardingSlaveBase_listDir(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KUrl * a0;
        KIO::ForwardingSlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_ForwardingSlaveBase, sipName_listDir, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_ForwardingSlaveBase_mkdir(PyObject *, PyObject *);}
static PyObject *meth_KIO_ForwardingSlaveBase_mkdir(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KUrl * a0;
        int a1;
        KIO::ForwardingSlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_ForwardingSlaveBase, sipName_mkdir, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_ForwardingSlaveBase_rename(PyObject *, PyObject *);}
static PyObject *meth_KIO_ForwardingSlaveBase_rename(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KUrl * a0;
        const KUrl * a1;
        KIO::JobFlags * a2;
        int a2State = 0;
        KIO::ForwardingSlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_ForwardingSlaveBase, sipName_rename, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_ForwardingSlaveBase_symlink(PyObject *, PyObject *);}
static PyObject *meth_KIO_ForwardingSlaveBase_symlink(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    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(&sipParseErr, 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(sipParseErr, sipName_ForwardingSlaveBase, sipName_symlink, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_ForwardingSlaveBase_chmod(PyObject *, PyObject *);}
static PyObject *meth_KIO_ForwardingSlaveBase_chmod(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KUrl * a0;
        int a1;
        KIO::ForwardingSlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_ForwardingSlaveBase, sipName_chmod, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_ForwardingSlaveBase_setModificationTime(PyObject *, PyObject *);}
static PyObject *meth_KIO_ForwardingSlaveBase_setModificationTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KUrl * a0;
        const QDateTime * a1;
        int a1State = 0;
        KIO::ForwardingSlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_ForwardingSlaveBase, sipName_setModificationTime, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_ForwardingSlaveBase_copy(PyObject *, PyObject *);}
static PyObject *meth_KIO_ForwardingSlaveBase_copy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    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(&sipParseErr, 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(sipParseErr, sipName_ForwardingSlaveBase, sipName_copy, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_ForwardingSlaveBase_del_(PyObject *, PyObject *);}
static PyObject *meth_KIO_ForwardingSlaveBase_del_(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KUrl * a0;
        bool a1;
        KIO::ForwardingSlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_ForwardingSlaveBase, sipName_del_, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_ForwardingSlaveBase_rewriteUrl(PyObject *, PyObject *);}
static PyObject *meth_KIO_ForwardingSlaveBase_rewriteUrl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const KUrl * a0;
        KUrl * a1;
        sipKIO_ForwardingSlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J9", &sipSelf, sipType_KIO_ForwardingSlaveBase, &sipCpp, sipType_KUrl, &a0, sipType_KUrl, &a1))
        {
            bool sipRes;

            if (!sipOrigSelf)
            {
                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(sipParseErr, sipName_ForwardingSlaveBase, sipName_rewriteUrl, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_ForwardingSlaveBase_prepareUDSEntry(PyObject *, PyObject *);}
static PyObject *meth_KIO_ForwardingSlaveBase_prepareUDSEntry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KIO::UDSEntry * a0;
        bool a1 = 0;
        sipKIO_ForwardingSlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9|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(sipParseErr, sipName_ForwardingSlaveBase, sipName_prepareUDSEntry, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_ForwardingSlaveBase_processedUrl(PyObject *, PyObject *);}
static PyObject *meth_KIO_ForwardingSlaveBase_processedUrl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipKIO_ForwardingSlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &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(sipParseErr, sipName_ForwardingSlaveBase, sipName_processedUrl, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_ForwardingSlaveBase_requestedUrl(PyObject *, PyObject *);}
static PyObject *meth_KIO_ForwardingSlaveBase_requestedUrl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipKIO_ForwardingSlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &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(sipParseErr, sipName_ForwardingSlaveBase, sipName_requestedUrl, NULL);

    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 sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & 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 *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KIO_ForwardingSlaveBase(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_KIO_ForwardingSlaveBase(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_KIO_ForwardingSlaveBase(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipKIO_ForwardingSlaveBase *sipCpp = 0;

    {
        const QByteArray * a0;
        int a0State = 0;
        const QByteArray * a1;
        int a1State = 0;
        const QByteArray * a2;
        int a2State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "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);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KIO_ForwardingSlaveBase[] = {{133, 0, 0}, {157, 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_sender), meth_KIO_ForwardingSlaveBase_sender, 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 sipTypeDef_kio_KIO_ForwardingSlaveBase = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIO__ForwardingSlaveBase,
        {0}
    },
    {
        sipNameNr_ForwardingSlaveBase,
        {99, 255, 0},
        23, methods_KIO_ForwardingSlaveBase,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KIO_ForwardingSlaveBase,
    0,
    init_KIO_ForwardingSlaveBase,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_ForwardingSlaveBase,
    0,
    0,
    0,
    release_KIO_ForwardingSlaveBase,
    cast_KIO_ForwardingSlaveBase,
    0,
    0,
    0
},
    &KIO::ForwardingSlaveBase::staticMetaObject,
    0,
    0
};

#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/slavebase.sip"
#include <slavebase.h>
#line 14977 "sipkiopart6.cpp"

#line 42 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 14981 "sipkiopart6.cpp"
#line 36 "/usr/local/share/py-sip/QtNetwork/qhostinfo.sip"
#include <qhostinfo.h>
#line 14984 "sipkiopart6.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 14987 "sipkiopart6.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/authinfo.sip"
#include <authinfo.h>
#line 14990 "sipkiopart6.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/udsentry.sip"
#include <udsentry.h>
#line 14993 "sipkiopart6.cpp"
#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 14996 "sipkiopart6.cpp"
#line 343 "/usr/local/share/py-sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 14999 "sipkiopart6.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 15002 "sipkiopart6.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/kremoteencoding.sip"
#include <kremoteencoding.h>
#line 15005 "sipkiopart6.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 15008 "sipkiopart6.cpp"
#line 187 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/global.sip"
#include<qmap.h>
#line 15011 "sipkiopart6.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 15014 "sipkiopart6.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)
{
    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;
    }

    extern void sipVH_kio_15(sip_gilstate_t,PyObject *,const QString&,unsigned short,const QString&,const QString&);

    sipVH_kio_15(sipGILState,meth,a0,a1,a2,a3);
}

void sipKIO_SlaveBase::setSubUrl(const KUrl& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_setSubUrl);

    if (!meth)
    {
        KIO::SlaveBase::setSubUrl(a0);
        return;
    }

    typedef void (*sipVH_kdecore_47)(sip_gilstate_t,PyObject *,const KUrl&);

    ((sipVH_kdecore_47)(sipModuleAPI_kio_kdecore->em_virthandlers[47]))(sipGILState,meth,a0);
}

void sipKIO_SlaveBase::openConnection()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_openConnection);

    if (!meth)
    {
        KIO::SlaveBase::openConnection();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipKIO_SlaveBase::closeConnection()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_closeConnection);

    if (!meth)
    {
        KIO::SlaveBase::closeConnection();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipKIO_SlaveBase::get(const KUrl& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_get);

    if (!meth)
    {
        KIO::SlaveBase::get(a0);
        return;
    }

    typedef void (*sipVH_kdecore_47)(sip_gilstate_t,PyObject *,const KUrl&);

    ((sipVH_kdecore_47)(sipModuleAPI_kio_kdecore->em_virthandlers[47]))(sipGILState,meth,a0);
}

void sipKIO_SlaveBase::open(const KUrl& a0,QIODevice::OpenMode a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_open);

    if (!meth)
    {
        KIO::SlaveBase::open(a0,a1);
        return;
    }

    extern void sipVH_kio_14(sip_gilstate_t,PyObject *,const KUrl&,QIODevice::OpenMode);

    sipVH_kio_14(sipGILState,meth,a0,a1);
}

void sipKIO_SlaveBase::read(KIO::filesize_t a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_read);

    if (!meth)
    {
        KIO::SlaveBase::read(a0);
        return;
    }

    extern void sipVH_kio_13(sip_gilstate_t,PyObject *,unsigned PY_LONG_LONG);

    sipVH_kio_13(sipGILState,meth,a0);
}

void sipKIO_SlaveBase::write(const QByteArray& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_write);

    if (!meth)
    {
        KIO::SlaveBase::write(a0);
        return;
    }

    typedef void (*sipVH_QtXml_29)(sip_gilstate_t,PyObject *,const QByteArray&);

    ((sipVH_QtXml_29)(sipModuleAPI_kio_QtXml->em_virthandlers[29]))(sipGILState,meth,a0);
}

void sipKIO_SlaveBase::seek(KIO::filesize_t a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_seek);

    if (!meth)
    {
        KIO::SlaveBase::seek(a0);
        return;
    }

    extern void sipVH_kio_13(sip_gilstate_t,PyObject *,unsigned PY_LONG_LONG);

    sipVH_kio_13(sipGILState,meth,a0);
}

void sipKIO_SlaveBase::close()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_close);

    if (!meth)
    {
        KIO::SlaveBase::close();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipKIO_SlaveBase::put(const KUrl& a0,int a1,KIO::JobFlags a2)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_put);

    if (!meth)
    {
        KIO::SlaveBase::put(a0,a1,a2);
        return;
    }

    extern void sipVH_kio_12(sip_gilstate_t,PyObject *,const KUrl&,int,KIO::JobFlags);

    sipVH_kio_12(sipGILState,meth,a0,a1,a2);
}

void sipKIO_SlaveBase::stat(const KUrl& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_stat);

    if (!meth)
    {
        KIO::SlaveBase::stat(a0);
        return;
    }

    typedef void (*sipVH_kdecore_47)(sip_gilstate_t,PyObject *,const KUrl&);

    ((sipVH_kdecore_47)(sipModuleAPI_kio_kdecore->em_virthandlers[47]))(sipGILState,meth,a0);
}

void sipKIO_SlaveBase::mimetype(const KUrl& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_mimetype);

    if (!meth)
    {
        KIO::SlaveBase::mimetype(a0);
        return;
    }

    typedef void (*sipVH_kdecore_47)(sip_gilstate_t,PyObject *,const KUrl&);

    ((sipVH_kdecore_47)(sipModuleAPI_kio_kdecore->em_virthandlers[47]))(sipGILState,meth,a0);
}

void sipKIO_SlaveBase::listDir(const KUrl& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_listDir);

    if (!meth)
    {
        KIO::SlaveBase::listDir(a0);
        return;
    }

    typedef void (*sipVH_kdecore_47)(sip_gilstate_t,PyObject *,const KUrl&);

    ((sipVH_kdecore_47)(sipModuleAPI_kio_kdecore->em_virthandlers[47]))(sipGILState,meth,a0);
}

void sipKIO_SlaveBase::mkdir(const KUrl& a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_mkdir);

    if (!meth)
    {
        KIO::SlaveBase::mkdir(a0,a1);
        return;
    }

    extern void sipVH_kio_9(sip_gilstate_t,PyObject *,const KUrl&,int);

    sipVH_kio_9(sipGILState,meth,a0,a1);
}

void sipKIO_SlaveBase::rename(const KUrl& a0,const KUrl& a1,KIO::JobFlags a2)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_rename);

    if (!meth)
    {
        KIO::SlaveBase::rename(a0,a1,a2);
        return;
    }

    extern void sipVH_kio_11(sip_gilstate_t,PyObject *,const KUrl&,const KUrl&,KIO::JobFlags);

    sipVH_kio_11(sipGILState,meth,a0,a1,a2);
}

void sipKIO_SlaveBase::symlink(const QString& a0,const KUrl& a1,KIO::JobFlags a2)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_symlink);

    if (!meth)
    {
        KIO::SlaveBase::symlink(a0,a1,a2);
        return;
    }

    extern void sipVH_kio_10(sip_gilstate_t,PyObject *,const QString&,const KUrl&,KIO::JobFlags);

    sipVH_kio_10(sipGILState,meth,a0,a1,a2);
}

void sipKIO_SlaveBase::chmod(const KUrl& a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_chmod);

    if (!meth)
    {
        KIO::SlaveBase::chmod(a0,a1);
        return;
    }

    extern void sipVH_kio_9(sip_gilstate_t,PyObject *,const KUrl&,int);

    sipVH_kio_9(sipGILState,meth,a0,a1);
}

void sipKIO_SlaveBase::chown(const KUrl& a0,const QString& a1,const QString& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_chown);

    if (!meth)
    {
        KIO::SlaveBase::chown(a0,a1,a2);
        return;
    }

    extern void sipVH_kio_8(sip_gilstate_t,PyObject *,const KUrl&,const QString&,const QString&);

    sipVH_kio_8(sipGILState,meth,a0,a1,a2);
}

void sipKIO_SlaveBase::setModificationTime(const KUrl& a0,const QDateTime& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_setModificationTime);

    if (!meth)
    {
        KIO::SlaveBase::setModificationTime(a0,a1);
        return;
    }

    extern void sipVH_kio_7(sip_gilstate_t,PyObject *,const KUrl&,const QDateTime&);

    sipVH_kio_7(sipGILState,meth,a0,a1);
}

void sipKIO_SlaveBase::copy(const KUrl& a0,const KUrl& a1,int a2,KIO::JobFlags a3)
{
    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;
    }

    extern void sipVH_kio_6(sip_gilstate_t,PyObject *,const KUrl&,const KUrl&,int,KIO::JobFlags);

    sipVH_kio_6(sipGILState,meth,a0,a1,a2,a3);
}

void sipKIO_SlaveBase::del(const KUrl& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_del_);

    if (!meth)
    {
        KIO::SlaveBase::del(a0,a1);
        return;
    }

    extern void sipVH_kio_5(sip_gilstate_t,PyObject *,const KUrl&,bool);

    sipVH_kio_5(sipGILState,meth,a0,a1);
}

void sipKIO_SlaveBase::setLinkDest(const KUrl& a0,const QString& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_setLinkDest);

    if (!meth)
    {
        KIO::SlaveBase::setLinkDest(a0,a1);
        return;
    }

    extern void sipVH_kio_4(sip_gilstate_t,PyObject *,const KUrl&,const QString&);

    sipVH_kio_4(sipGILState,meth,a0,a1);
}

void sipKIO_SlaveBase::special(const QByteArray& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_special);

    if (!meth)
    {
        KIO::SlaveBase::special(a0);
        return;
    }

    typedef void (*sipVH_QtXml_29)(sip_gilstate_t,PyObject *,const QByteArray&);

    ((sipVH_QtXml_29)(sipModuleAPI_kio_QtXml->em_virthandlers[29]))(sipGILState,meth,a0);
}

void sipKIO_SlaveBase::multiGet(const QByteArray& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_multiGet);

    if (!meth)
    {
        KIO::SlaveBase::multiGet(a0);
        return;
    }

    typedef void (*sipVH_QtXml_29)(sip_gilstate_t,PyObject *,const QByteArray&);

    ((sipVH_QtXml_29)(sipModuleAPI_kio_QtXml->em_virthandlers[29]))(sipGILState,meth,a0);
}

void sipKIO_SlaveBase::slave_status()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_slave_status);

    if (!meth)
    {
        KIO::SlaveBase::slave_status();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipKIO_SlaveBase::reparseConfiguration()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_reparseConfiguration);

    if (!meth)
    {
        KIO::SlaveBase::reparseConfiguration();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kio_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipKIO_SlaveBase::dispatch(int a0,const QByteArray& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_dispatch);

    if (!meth)
    {
        KIO::SlaveBase::dispatch(a0,a1);
        return;
    }

    extern void sipVH_kio_3(sip_gilstate_t,PyObject *,int,const QByteArray&);

    sipVH_kio_3(sipGILState,meth,a0,a1);
}

void sipKIO_SlaveBase::dispatchOpenCommand(int a0,const QByteArray& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_dispatchOpenCommand);

    if (!meth)
    {
        KIO::SlaveBase::dispatchOpenCommand(a0,a1);
        return;
    }

    extern void sipVH_kio_3(sip_gilstate_t,PyObject *,int,const QByteArray&);

    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)
{
    PyObject *sipParseErr = NULL;

    {
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_exit, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_dispatchLoop(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_dispatchLoop(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_dispatchLoop, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_data(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_data(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QByteArray * a0;
        int a0State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_data, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_dataReq(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_dataReq(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_dataReq, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_opened(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_opened(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_opened, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_error(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_error(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QString * a1;
        int a1State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_error, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_connected(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_connected(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_connected, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_finished(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_finished(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_finished, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_needSubUrlData(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_needSubUrlData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_needSubUrlData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_slaveStatus(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_slaveStatus(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        bool a1;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_slaveStatus, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_statEntry(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_statEntry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KIO::UDSEntry * a0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_statEntry, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_listEntries(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_listEntries(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KIO::UDSEntryList * a0;
        int a0State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KIO_SlaveBase, &sipCpp, sipType_QList_0100KIO_UDSEntry,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->listEntries(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<KIO::UDSEntryList *>(a0),sipType_QList_0100KIO_UDSEntry,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_SlaveBase, sipName_listEntries, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_canResume(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_canResume(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KIO::filesize_t a0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_canResume, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_totalSize(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_totalSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KIO::filesize_t a0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_totalSize, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_processedSize(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_processedSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KIO::filesize_t a0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_processedSize, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_position(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_position(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KIO::filesize_t a0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_position, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_written(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_written(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KIO::filesize_t a0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_written, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_processedPercent(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_processedPercent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        float a0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_processedPercent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_speed(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_speed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        unsigned long a0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_speed, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_redirection(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_redirection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KUrl * a0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_redirection, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_errorPage(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_errorPage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_errorPage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_mimeType(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_mimeType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_mimeType, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_warning(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_warning(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_warning, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_infoMessage(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_infoMessage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_infoMessage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_messageBox(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_messageBox(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        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(&sipParseErr, 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(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_messageBox, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_setMetaData(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_setMetaData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        const QString * a1;
        int a1State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_setMetaData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_hasMetaData(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_hasMetaData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_hasMetaData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_metaData(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_metaData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_metaData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_allMetaData(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_allMetaData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIO_SlaveBase, &sipCpp))
        {
            KIO::MetaData *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KIO::MetaData(sipCpp->allMetaData());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KIO_MetaData,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_SlaveBase, sipName_allMetaData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_config(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_config(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_config, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_remoteEncoding(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_remoteEncoding(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_remoteEncoding, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_setHost(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_setHost(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    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(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_setHost, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_setSubUrl(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_setSubUrl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KUrl * a0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_setSubUrl, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_openConnection(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_openConnection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_openConnection, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_closeConnection(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_closeConnection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_closeConnection, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_get(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_get(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KUrl * a0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_get, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_open(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_open(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KUrl * a0;
        QIODevice::OpenMode * a1;
        int a1State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_open, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_read(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_read(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KIO::filesize_t a0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_read, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_write(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_write(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray * a0;
        int a0State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_write, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_seek(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_seek(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KIO::filesize_t a0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_seek, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_close(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_close(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_close, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_put(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_put(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KUrl * a0;
        int a1;
        KIO::JobFlags * a2;
        int a2State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_put, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_stat(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_stat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KUrl * a0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_stat, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_mimetype(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_mimetype(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KUrl * a0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_mimetype, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_listDir(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_listDir(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KUrl * a0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_listDir, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_mkdir(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_mkdir(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KUrl * a0;
        int a1;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_mkdir, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_rename(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_rename(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KUrl * a0;
        const KUrl * a1;
        KIO::JobFlags * a2;
        int a2State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_rename, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_symlink(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_symlink(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    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(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_symlink, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_chmod(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_chmod(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KUrl * a0;
        int a1;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_chmod, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_chown(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_chown(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    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(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_chown, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_setModificationTime(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_setModificationTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KUrl * a0;
        const QDateTime * a1;
        int a1State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_setModificationTime, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_copy(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_copy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    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(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_copy, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_del_(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_del_(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KUrl * a0;
        bool a1;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_del_, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_setLinkDest(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_setLinkDest(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KUrl * a0;
        const QString * a1;
        int a1State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_setLinkDest, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_special(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_special(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray * a0;
        int a0State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_special, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_multiGet(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_multiGet(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray * a0;
        int a0State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_multiGet, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_slave_status(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_slave_status(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_slave_status, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_reparseConfiguration(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_reparseConfiguration(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_reparseConfiguration, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_connectTimeout(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_connectTimeout(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_connectTimeout, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_proxyConnectTimeout(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_proxyConnectTimeout(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_proxyConnectTimeout, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_responseTimeout(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_responseTimeout(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_responseTimeout, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_readTimeout(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_readTimeout(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_readTimeout, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_setTimeoutSpecialCommand(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_setTimeoutSpecialCommand(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QByteArray& a1def = QByteArray();
        const QByteArray * a1 = &a1def;
        int a1State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_setTimeoutSpecialCommand, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_dispatch(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_dispatch(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const QByteArray * a1;
        int a1State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_dispatch, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_dispatchOpenCommand(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_dispatchOpenCommand(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const QByteArray * a1;
        int a1State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_dispatchOpenCommand, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_readData(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_readData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QByteArray * a0;
        int a0State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_readData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_listEntry(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_listEntry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KIO::UDSEntry * a0;
        bool a1;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_listEntry, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_connectSlave(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_connectSlave(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_connectSlave, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_disconnectSlave(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_disconnectSlave(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_disconnectSlave, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_openPasswordDialog(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_openPasswordDialog(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KIO::AuthInfo * a0;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_openPasswordDialog, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_checkCachedAuthentication(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_checkCachedAuthentication(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KIO::AuthInfo * a0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_checkCachedAuthentication, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_cacheAuthentication(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_cacheAuthentication(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KIO::AuthInfo * a0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_cacheAuthentication, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_requestNetwork(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_requestNetwork(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString& a0def = QString();
        const QString * a0 = &a0def;
        int a0State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_requestNetwork, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_dropNetwork(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_dropNetwork(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString& a0def = QString();
        const QString * a0 = &a0def;
        int a0State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_dropNetwork, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_waitForAnswer(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_waitForAnswer(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        QByteArray * a2;
        int a2State = 0;
        int a3;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_waitForAnswer, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_sendMetaData(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_sendMetaData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_sendMetaData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_sendAndKeepMetaData(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_sendAndKeepMetaData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_sendAndKeepMetaData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_wasKilled(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_wasKilled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_wasKilled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_setKillFlag(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_setKillFlag(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_setKillFlag, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_lookupHost(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_lookupHost(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_lookupHost, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_SlaveBase_waitForHostInfo(PyObject *, PyObject *);}
static PyObject *meth_KIO_SlaveBase_waitForHostInfo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QHostInfo * a0;
        KIO::SlaveBase *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_SlaveBase, sipName_waitForHostInfo, NULL);

    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 sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & 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 *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KIO_SlaveBase(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_KIO_SlaveBase(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_KIO_SlaveBase(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipKIO_SlaveBase *sipCpp = 0;

    {
        const QByteArray * a0;
        int a0State = 0;
        const QByteArray * a1;
        int a1State = 0;
        const QByteArray * a2;
        int a2State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "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);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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, 158},
    {sipName_QuestionYesNo, KIO::SlaveBase::QuestionYesNo, 158},
    {sipName_SSLMessageBox, KIO::SlaveBase::SSLMessageBox, 158},
    {sipName_WarningContinueCancel, KIO::SlaveBase::WarningContinueCancel, 158},
    {sipName_WarningYesNo, KIO::SlaveBase::WarningYesNo, 158},
    {sipName_WarningYesNoCancel, KIO::SlaveBase::WarningYesNoCancel, 158},
};


pyqt4ClassTypeDef sipTypeDef_kio_KIO_SlaveBase = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KIO__SlaveBase,
        {0}
    },
    {
        sipNameNr_SlaveBase,
        {99, 255, 0},
        81, methods_KIO_SlaveBase,
        6, enummembers_KIO_SlaveBase,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_KIO_SlaveBase,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIO_SlaveBase,
    0,
    0,
    0,
    release_KIO_SlaveBase,
    cast_KIO_SlaveBase,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/fileundomanager.sip"
#include <fileundomanager.h>
#line 18201 "sipkiopart6.cpp"

#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 18205 "sipkiopart6.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kdatetime.sip"
#include <kdatetime.h>
#line 18208 "sipkiopart6.cpp"
#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 18211 "sipkiopart6.cpp"
#line 43 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.5.5/python/pykde4/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 18214 "sipkiopart6.cpp"
#line 40 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 18217 "sipkiopart6.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&);
    void virtual_hook(int,void *);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKIO_FileUndoManager_UiInterface(const sipKIO_FileUndoManager_UiInterface &);
    sipKIO_FileUndoManager_UiInterface &operator = (const sipKIO_FileUndoManager_UiInterface &);

    char sipPyMethods[4];
};

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)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_jobError);

    if (!meth)
    {
        KIO::FileUndoManager::UiInterface::jobError(a0);
        return;
    }

    extern void sipVH_kio_56(sip_gilstate_t,PyObject *,KIO::Job *);

    sipVH_kio_56(sipGILState,meth,a0);
}

bool sipKIO_FileUndoManager_UiInterface::confirmDeletion(const KUrl::List& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_confirmDeletion);

    if (!meth)
        return KIO::FileUndoManager::UiInterface::confirmDeletion(a0);

    extern bool sipVH_kio_88(sip_gilstate_t,PyObject *,const KUrl::List&);

    return sipVH_kio_88(sipGILState,meth,a0);
}

bool sipKIO_FileUndoManager_UiInterface::copiedFileWasModified(const KUrl& a0,const KUrl& a1,const KDateTime& a2,const KDateTime& a3)
{
    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);

    extern bool sipVH_kio_87(sip_gilstate_t,PyObject *,const KUrl&,const KUrl&,const KDateTime&,const KDateTime&);

    return sipVH_kio_87(sipGILState,meth,a0,a1,a2,a3);
}

void sipKIO_FileUndoManager_UiInterface::virtual_hook(int a0,void *a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_virtual_hook);

    if (!meth)
    {
        KIO::FileUndoManager::UiInterface::virtual_hook(a0,a1);
        return;
    }

    extern void sipVH_kio_75(sip_gilstate_t,PyObject *,int,void *);

    sipVH_kio_75(sipGILState,meth,a0,a1);
}


extern "C" {static PyObject *meth_KIO_FileUndoManager_UiInterface_setShowProgressInfo(PyObject *, PyObject *);}
static PyObject *meth_KIO_FileUndoManager_UiInterface_setShowProgressInfo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KIO::FileUndoManager::UiInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_UiInterface, sipName_setShowProgressInfo, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_FileUndoManager_UiInterface_showProgressInfo(PyObject *, PyObject *);}
static PyObject *meth_KIO_FileUndoManager_UiInterface_showProgressInfo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KIO::FileUndoManager::UiInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_UiInterface, sipName_showProgressInfo, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_FileUndoManager_UiInterface_setParentWidget(PyObject *, PyObject *);}
static PyObject *meth_KIO_FileUndoManager_UiInterface_setParentWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget * a0;
        KIO::FileUndoManager::UiInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_UiInterface, sipName_setParentWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_FileUndoManager_UiInterface_parentWidget(PyObject *, PyObject *);}
static PyObject *meth_KIO_FileUndoManager_UiInterface_parentWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KIO::FileUndoManager::UiInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_UiInterface, sipName_parentWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_FileUndoManager_UiInterface_jobError(PyObject *, PyObject *);}
static PyObject *meth_KIO_FileUndoManager_UiInterface_jobError(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KIO::Job * a0;
        KIO::FileUndoManager::UiInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_UiInterface, sipName_jobError, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_FileUndoManager_UiInterface_confirmDeletion(PyObject *, PyObject *);}
static PyObject *meth_KIO_FileUndoManager_UiInterface_confirmDeletion(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KUrl::List * a0;
        KIO::FileUndoManager::UiInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_UiInterface, sipName_confirmDeletion, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_FileUndoManager_UiInterface_copiedFileWasModified(PyObject *, PyObject *);}
static PyObject *meth_KIO_FileUndoManager_UiInterface_copiedFileWasModified(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KUrl * a0;
        const KUrl * a1;
        const KDateTime * a2;
        const KDateTime * a3;
        KIO::FileUndoManager::UiInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_UiInterface, sipName_copiedFileWasModified, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIO_FileUndoManager_UiInterface_virtual_hook(PyObject *, PyObject *);}
static PyObject *meth_KIO_FileUndoManager_UiInterface_virtual_hook(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        void * a1;
        KIO::FileUndoManager::UiInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Biv", &sipSelf, sipType_KIO_FileUndoManager_UiInterface, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIO::FileUndoManager::UiInterface::virtual_hook(a0,a1) : sipCpp->virtual_hook(a0,a1));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_UiInterface, sipName_virtual_hook, NULL);

    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 sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & 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 *, SIP_SSIZE_T, const void *);}
static void assign_KIO_FileUndoManager_UiInterface(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KIO::FileUndoManager::UiInterface *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KIO::FileUndoManager::UiInterface *>(sipSrc);
}


extern "C" {static void *array_KIO_FileUndoManager_UiInterface(SIP_SSIZE_T);}
static void *array_KIO_FileUndoManager_UiInterface(SIP_SSIZE_T sipNrElem)
{
    return new KIO::FileUndoManager::UiInterface[sipNrElem];
}


extern "C" {static void *copy_KIO_FileUndoManager_UiInterface(const void *, SIP_SSIZE_T);}
static void *copy_KIO_FileUndoManager_UiInterface(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KIO::FileUndoManager::UiInterface(reinterpret_cast<const KIO::FileUndoManager::UiInterface *>(sipSrc)[sipSrcIdx]);
}


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 *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KIO_FileUndoManager_UiInterface(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_KIO_FileUndoManager_UiInterface(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_KIO_FileUndoManager_UiInterface(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipKIO_FileUndoManager_UiInterface *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKIO_FileUndoManager_UiInterface();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const KIO::FileUndoManager::UiInterface * a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_KIO_FileUndoManager_UiInterface, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKIO_FileUndoManager_UiInterface(*a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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},
    {SIP_MLNAME_CAST(sipName_virtual_hook), meth_KIO_FileUndoManager_UiInterface_virtual_hook, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kio_KIO_FileUndoManager_UiInterface = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KIO__FileUndoManager__UiInterface,
        {0}
    },
    {
        sipNameNr_UiInterface,
        {118, 255, 0},
        8, methods_KIO_FileUndoManager_UiInterface,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    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,
    assign_KIO_FileUndoManager_UiInterface,
    array_KIO_FileUndoManager_UiInterface,
    copy_KIO_FileUndoManager_UiInterface,
    release_KIO_FileUndoManager_UiInterface,
    cast_KIO_FileUndoManager_UiInterface,
    0,
    0,
    0
},
    0,
    0,
    0
};
